diff --git a/static/web/404.html b/static/web/404.html index 87b448659..e97f8f15a 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index 87b448659..e97f8f15a 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/chunks/1053.3ac10ccc5b397acd.js b/static/web/_next/static/chunks/1053.3ac10ccc5b397acd.js deleted file mode 100644 index cc204b1be..000000000 --- a/static/web/_next/static/chunks/1053.3ac10ccc5b397acd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1053],{21053:function(e,t,r){function n(e){var t,r;e?(t=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,r=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(t=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,r=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var n=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,i=/^(n?[zc]|p[oe]?|m)\b/i,l=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,a=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(c,s){if(c.column()||(s.context=0),c.eatSpace())return null;var u;if(c.eatWhile(/\w/)){if(e&&c.eat(".")&&c.eatWhile(/\w/),u=c.current(),!c.indentation())return c.match(a)?"number":null;if((1==s.context||4==s.context)&&n.test(u))return s.context=4,"variable";if(2==s.context&&i.test(u))return s.context=4,"variableName.special";if(t.test(u))return s.context=1,"keyword";if(r.test(u))return s.context=2,"keyword";if(4==s.context&&a.test(u))return"number";if(l.test(u))return"error"}else{if(c.eat(";"))return c.skipToEnd(),"comment";if(c.eat('"')){for(;(u=c.next())&&'"'!=u;)"\\"==u&&c.next();return"string"}if(c.eat("'")){if(c.match(/\\?.'/))return"number"}else if(c.eat(".")||c.sol()&&c.eat("#")){if(s.context=5,c.eatWhile(/\w/))return"def"}else if(c.eat("$")){if(c.eatWhile(/[\da-f]/i))return"number"}else if(c.eat("%")){if(c.eatWhile(/[01]/))return"number"}else c.next()}return null}}}r.r(t),r.d(t,{ez80:function(){return l},z80:function(){return i}});const i=n(!1),l=n(!0)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1053.adb29a47c34b267a.js b/static/web/_next/static/chunks/1053.adb29a47c34b267a.js new file mode 100644 index 000000000..ed6c62a8a --- /dev/null +++ b/static/web/_next/static/chunks/1053.adb29a47c34b267a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1053],{21053:function(e,t,r){function n(e){e?(t=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,r=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(t=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,r=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var t,r,n=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,i=/^(n?[zc]|p[oe]?|m)\b/i,l=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,a=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(s,c){var u;if(s.column()||(c.context=0),s.eatSpace())return null;if(s.eatWhile(/\w/)){if(e&&s.eat(".")&&s.eatWhile(/\w/),u=s.current(),s.indentation()){if((1==c.context||4==c.context)&&n.test(u))return c.context=4,"variable";if(2==c.context&&i.test(u))return c.context=4,"variableName.special";if(t.test(u))return c.context=1,"keyword";if(r.test(u))return c.context=2,"keyword";if(4==c.context&&a.test(u))return"number";if(l.test(u))return"error"}else if(s.match(a))return"number"}else if(s.eat(";"))return s.skipToEnd(),"comment";else if(s.eat('"')){for(;(u=s.next())&&'"'!=u;)"\\"==u&&s.next();return"string"}else if(s.eat("'")){if(s.match(/\\?.'/))return"number"}else if(s.eat(".")||s.sol()&&s.eat("#")){if(c.context=5,s.eatWhile(/\w/))return"def"}else if(s.eat("$")){if(s.eatWhile(/[\da-f]/i))return"number"}else if(s.eat("%")){if(s.eatWhile(/[01]/))return"number"}else s.next();return null}}}r.r(t),r.d(t,{ez80:function(){return l},z80:function(){return i}});let i=n(!1),l=n(!0)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1064-3812a0a7dd7bd728.js b/static/web/_next/static/chunks/1064-3812a0a7dd7bd728.js deleted file mode 100644 index 419c111be..000000000 --- a/static/web/_next/static/chunks/1064-3812a0a7dd7bd728.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1064],{83818:function(e,t,n){"use strict";n.r(t),n.d(t,{OwncastPlayer:function(){return U},default:function(){return Q}});var i=n(47568),r=n(828),a=n(70655),s=n(85893),o=n(67294),u=n(4480),l=n(49218),c=n(85215),h=n(55206),f=n.n(h);n(33108);var d=function(e){var t=e.options,n=e.onReady,i=o.useRef(null),r=o.useRef(null);return o.useEffect((function(){if(!r.current){var e=i.current,a=r.current=(0,c.Z)(e,t,(function(){return a.log("player is ready"),n&&n(a,c.Z)}));a.autoplay(t.autoplay),a.src(t.sources)}}),[t,i]),o.useEffect((function(){var e=r.current;return function(){e&&(e.dispose(),r.current=null)}}),[r]),(0,s.jsx)("div",{"data-vjs-player":!0,children:(0,s.jsx)("video",{ref:i,className:"video-js vjs-big-play-centered vjs-show-big-play-button-on-pause ".concat(f().player," vjs-owncast")})})},y=n(51438);var p=function(){function e(){(0,y.Z)(this,e)}var t=e.prototype;return t.start=function(){this.stop(),this.timer=setInterval((function(){!function(){try{fetch("/api/ping")}catch(e){console.error(e)}}()}),4e3)},t.stop=function(){clearInterval(this.timer)},e}(),g=n(26042),m=n(69396),v=n(29815),b={position:"absolute",width:"100%",height:"100%"},k=function(e){var t=e.src,n=void 0===t?"":t,i=e.width,r=e.height,a=e.objectFit,u=void 0===a?"fill":a,l=e.duration,c=void 0===l?"1s":l,h=(0,o.useMemo)((function(){return{display:"inline-block",position:"relative",width:i,height:r}}),[i,r]),f=(0,o.useMemo)((function(){return[(0,m.Z)((0,g.Z)({},b),{objectFit:u,opacity:0,transition:"opacity ".concat(c)}),(0,m.Z)((0,g.Z)({},b),{objectFit:u,opacity:1,transition:"opacity ".concat(c)}),(0,m.Z)((0,g.Z)({},b),{objectFit:u,opacity:0})]}),[u,c]),d=(0,o.useState)(0),y=d[0],p=d[1],k=(0,o.useState)(["",""]),T=k[0],w=k[1],C=n!==T[1]?n:"",B=function(){p((y+1)%3),w([T[1],C])};return(0,s.jsx)("span",{style:h,children:(0,v.Z)(T).concat([C]).map((function(e,t){return""!==e&&(0,s.jsx)("img",{src:e,alt:"",style:f[t],onLoad:2===t?B:void 0},e)}))})};k.defaultProps={objectFit:"fill",duration:"3s"};var T=n(1125),w=n.n(T),C=function(e){var t,n=e.online,i=e.initialSrc,r=e.src,a=(0,o.useState)(i),u=a[0],l=a[1],c=(0,o.useState)("0s"),h=c[0],f=c[1];return(0,o.useEffect)((function(){clearInterval(t),t=setInterval((function(){"0s"===h&&f("3s"),l("".concat(r,"?").concat(Date.now()))}),2e4)}),[]),(0,s.jsxs)("div",{className:w().poster,children:[!n&&(0,s.jsx)("img",{src:i,alt:"logo"}),n&&(0,s.jsx)(k,{src:u,duration:h,objectFit:"cover",width:"100%",height:"100%"})]})},B=n(73682),I=n(1899),j=n(52951);var E=function(){function e(t,n){var i=this;(0,y.Z)(this,e),this.player=t,this.supportsDetailedMetrics=!1,this.hasPerformedInitialVariantChange=!1,this.clockSkewMs=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[],this.errors=0,this.qualityVariantChanges=0,this.isBuffering=!1,this.bufferingDurationTimer=0,this.collectPlaybackMetricsTimer=0,this.videoJSReady=this.videoJSReady.bind(this),this.handlePlaying=this.handlePlaying.bind(this),this.handleBuffering=this.handleBuffering.bind(this),this.handleEnded=this.handleEnded.bind(this),this.handleError=this.handleError.bind(this),this.send=this.send.bind(this),this.collectPlaybackMetrics=this.collectPlaybackMetrics.bind(this),this.handleNoLongerBuffering=this.handleNoLongerBuffering.bind(this),this.sendMetricsTimer=0,this.player.on("canplaythrough",this.handleNoLongerBuffering),this.player.on("error",this.handleError),this.player.on("stalled",this.handleBuffering),this.player.on("waiting",this.handleBuffering),this.player.on("playing",this.handlePlaying),this.player.on("ended",this.handleEnded);var r=n.xhr;n.Vhs.xhr=function(){for(var e=arguments.length,t=new Array(e),n=0;n=40)return;this.trackLatency(a)}catch(s){console.warn(s)}}}},{key:"send",value:function(){var e=this;return(0,i.Z)((function(){var t,n,i,r,s,o,u,l,c,h,f;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:if(0===e.segmentDownloadTime.length)return[2];if(!e.player||e.player.paused())return[2];t=e.errors,e.supportsDetailedMetrics?(r=(i=function(e){return e.reduce((function(e,t){return e+t}),0)/e.length})(e.segmentDownloadTime)/1e3,s=Math.round(1e3*r)/1e3,o=i(e.bandwidthTracking)/1e3,u=Math.round(1e3*o)/1e3,l=i(e.latencyTracking)/1e3,c=Math.round(1e3*l)/1e3,n={bandwidth:u,latency:c,downloadDuration:s,errors:t+(e.isBuffering?1:0),qualityVariantChanges:e.qualityVariantChanges}):n={errors:t+(e.isBuffering?1:0)},e.errors=0,e.qualityVariantChanges=0,e.segmentDownloadTime=[],e.bandwidthTracking=[],e.latencyTracking=[],h={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch("/api/metrics/playback",h)];case 2:return a.sent(),[3,4];case 3:return f=a.sent(),console.error(f),[3,4];case 4:return[2]}}))}))()}}]),e}(),M=E,P=n(45785),S=n(82662),x=n(88029),L=n(91224);var D=function(e,t,n,i){var r=t.getComponent("MenuItem"),a=t.getComponent("MenuItem"),s=t.getComponent("MenuButton"),o=function(e){(0,x.Z)(n,e);var t=(0,L.Z)(n);function n(e,i){return(0,y.Z)(this,n),t.call(this,e,i)}return n.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,P.Z)((0,S.Z)(n.prototype),"createEl",this).call(this,e,t,i);return r.innerHTML='
',r},n}(r),u=new a(e,{selectable:!0});u.setAttribute("class","latency-toggle-item"),u.on("click",(function(){i()}));var l=new o(e,{selectable:!1}),c=t.extend(s,{constructor:function(){s.call(this,e)},createItems:function(){var t=e.tech({IWillNotUseThisInPlugins:!0}),i=new a(e,{selectable:!0,label:"Auto"}),r=n.map((function(n){var i=new a(e,{selectable:!0,label:n.name});return i.on("click",(function(){t?(t.vhs.representations().forEach((function(e,t){e.enabled(t===n.index)})),i.selected(!1)):console.warn("Invalid attempt to access null player tech")})),i}));i.on("click",(function(){t.vhs.representations().forEach((function(e){e.enabled(!0)})),i.selected(!1)}));var s=!!t&&!!t.vhs;return n.length<2&&s?[u]:n.length>1&&s?[i].concat((0,v.Z)(r),[l,u]):s||1!==n.length?[i].concat((0,v.Z)(r)):[]}}),h=e.tech({IWillNotUseThisInPlugins:!0});if(!(n.length<2)||h&&h.vhs){var f=new c;return f.addClass("vjs-quality-selector"),f}};var Z=function(){function e(t){(0,y.Z)(this,e),this.player=t,this.playing=!1,this.enabled=!1,this.running=!1,this.inTimeout=!1,this.jumpingToLiveIgnoreBuffer=!1,this.timeoutTimer=0,this.checkTimer=0,this.bufferingCounter=0,this.bufferingTimer=0,this.playbackRate=1,this.lastJumpOccurred=null,this.startupTime=new Date,this.clockSkewMs=0,this.currentLatency=null,this.bufferedAtLatency=[],this.player.on("playing",this.handlePlaying.bind(this)),this.player.on("pause",this.handlePause.bind(this)),this.player.on("error",this.handleError.bind(this)),this.player.on("waiting",this.handleBuffering.bind(this)),this.player.on("stalled",this.handleBuffering.bind(this)),this.player.on("ended",this.handleEnded.bind(this)),this.player.on("canplaythrough",this.handlePlaying.bind(this)),this.player.on("canplay",this.handlePlaying.bind(this)),this.check=this.check.bind(this),this.start=this.start.bind(this),this.enable=this.enable.bind(this),this.countBufferingEvent=this.countBufferingEvent.bind(this)}return(0,j.Z)(e,[{key:"setClockSkew",value:function(e){this.clockSkewMs=e}},{key:"check",value:function(){if(!((new Date).getTime()-this.startupTime.getTime()<1e4)&&!this.player.paused()&&!this.player.seeking()&&!this.inTimeout&&this.enabled){var e=this.player.tech({IWillNotUseThisInPlugins:!0});if(e&&e.vhs)if(2===this.player.networkState()){var t=0;try{if(0===e.vhs.stats.buffered.length)return void this.timeout();e.vhs.stats.buffered.forEach((function(e){t+=e.end-e.start}))}catch(g){console.error(g)}var n=e.vhs.playlists.media().attributes.BANDWIDTH,i=e.vhs.systemBandwidth/n;try{var a=function(e){for(var t,n=e.vhs.playlists.media(),i=e.currentTime(),a=0,s=n.segments.length;a=l&&(l=u+3e3);var c=a.dateTimeObject.getTime(),h=(new Date).getTime()+this.clockSkewMs-c;if(this.currentLatency=h,Math.abs(h)>8e4)return void this.timeout();if(h>l){if(this.shouldJumpToLive()&&h>l+5e3){var f=h/1e3-3*a.duration,d=this.player.currentTime()+f;console.info("latency",h/1e3,"jumping",f,"to live from ",this.player.currentTime()," to ",d);var y=e.vhs.stats.buffered[0].end;if(d>e.vhs.stats.buffered[0].startthis.playbackRate+.02&&(p=this.playbackRate+.02),p=Math.round(p*Math.pow(10,3))/Math.pow(10,3),this.start(p)}else h<=u&&this.stop();console.info("latency",h/1e3,"min",u/1e3,"max",l/1e3,"playback rate",this.playbackRate,"enabled:",this.enabled,"running: ",this.running,"skew: ",this.clockSkewMs,"rebuffer events: ",this.bufferingCounter)}catch(m){}}}}},{key:"shouldJumpToLive",value:function(){return!(this.bufferingCounter>1)&&(new Date).getTime()-this.lastJumpOccurred>2e4}},{key:"jump",value:function(e){var t=this;this.jumpingToLiveIgnoreBuffer=!0,this.performedInitialLiveJump=!0,this.lastJumpOccurred=new Date,console.info("current time",this.player.currentTime(),"seeking to",e),this.player.currentTime(e),setTimeout((function(){t.jumpingToLiveIgnoreBuffer=!1}),5e3)}},{key:"setPlaybackRate",value:function(e){this.playbackRate=e,this.player.playbackRate(e)}},{key:"start",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;!this.inTimeout&&this.enabled&&e!==this.playbackRate&&(this.running=!0,this.setPlaybackRate(e))}},{key:"stop",value:function(){this.running&&console.log("stopping latency compensator..."),this.running=!1,this.setPlaybackRate(1)}},{key:"enable",value:function(){var e=this;this.enabled=!0,clearInterval(this.checkTimer),clearTimeout(this.bufferingTimer),this.checkTimer=setInterval((function(){e.check()}),3e3)}},{key:"disable",value:function(){clearInterval(this.checkTimer),clearTimeout(this.timeoutTimer),this.stop(),this.enabled=!1}},{key:"timeout",value:function(){var e=this;this.jumpingToLiveIgnoreBuffer||(this.inTimeout=!0,this.stop(),clearTimeout(this.timeoutTimer),this.timeoutTimer=setTimeout((function(){e.endTimeout()}),3e4))}},{key:"endTimeout",value:function(){clearTimeout(this.timeoutTimer),this.inTimeout=!1}},{key:"handlePlaying",value:function(){var e=this.playing;this.playing=!0,clearTimeout(this.bufferingTimer),this.enabled&&this.shouldJumpToLive()&&(e||(this.jumpingToLiveIgnoreBuffer=!0,this.player.liveTracker.seekToLiveEdge(),this.lastJumpOccurred=new Date))}},{key:"handlePause",value:function(){this.playing=!1}},{key:"handleEnded",value:function(){this.enabled&&this.disable()}},{key:"handleError",value:function(){this.enabled&&this.timeout()}},{key:"countBufferingEvent",value:function(){var e=this;this.bufferingCounter+=1,this.bufferingCounter>4?this.disable():(this.bufferedAtLatency.push(this.currentLatency),console.log("latency compensation timeout due to buffering:",this.bufferingCounter,"buffering events of",4),setTimeout((function(){e.bufferingCounter>0&&(e.bufferingCounter-=1)}),18e4))}},{key:"handleBuffering",value:function(){var e=this;this.enabled&&!this.inTimeout&&(this.jumpingToLiveIgnoreBuffer?this.jumpingToLiveIgnoreBuffer=!1:(this.timeout(),clearTimeout(this.bufferingTimer),this.bufferingTimer=setTimeout((function(){e.countBufferingEvent()}),200)))}}]),e}(),R=Z,_="/api/video/variants",N="owncast_volume",J="latencyCompensatorEnabled",O=new p,V=null,q=null,F=!1;function A(){return W.apply(this,arguments)}function W(){return(W=(0,i.Z)((function(){var e,t;return(0,a.__generator)(this,(function(n){switch(n.label){case 0:e=[],n.label=1;case 1:return n.trys.push([1,4,,5]),[4,fetch(_)];case 2:return[4,n.sent().json()];case 3:return e=n.sent(),[3,5];case 4:return t=n.sent(),console.error(t),[3,5];case 5:return[2,e]}}))}))).apply(this,arguments)}var U=function(e){var t=e.source,n=e.online,c=o.useRef(null),h=(0,r.Z)((0,u.FV)(I.We),2),f=h[0],y=h[1],p=(0,u.sJ)(I.g8),g=function(){(0,B.qQ)(N,c.current.muted()?0:c.current.volume())},m=function(e){var t=document.querySelector(".latency-toggle-item > .vjs-menu-item-text");t&&(t.innerHTML=e)},v=function(){q&&q.stop(),F=!0,(q=new R(c.current)).setClockSkew(p),q.enable(),(0,B.qQ)(J,!0),m("disable minimized latency")},b=function(){q&&q.disable(),q=null,F=!1,(0,B.qQ)(J,!1),m('enable minimized latency (experimental)')},k=function(){F?b():v()},T=function(){var e=(0,i.Z)((function(e,t){var n,i;return(0,a.__generator)(this,(function(r){switch(r.label){case 0:return[4,A()];case 1:return n=r.sent(),i=D(e,t,n,k),e.controlBar.addChild(i,{},e.controlBar.children_.length-2),function(e){var t=e.tech({IWillNotUseThisInPlugins:!0});t&&t.vhs&&("true"===(0,B.$o)(J)&&t&&t.vhs?v():b())}(e),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}();(0,l.y1)("space",(function(e){e.preventDefault(),c.current.paused()?c.current.play():c.current.pause()})),(0,l.y1)("f",(function(){c.current.isFullscreen()?c.current.exitFullscreen():c.current.requestFullscreen()}),{enableOnContentEditable:!1}),(0,l.y1)("m",(function(){c.current.muted()||0===c.current.volume()?c.current.volume(.7):c.current.volume(0)}),{enableOnContentEditable:!1}),(0,l.y1)("0",(function(){return c.current.volume(c.current.volume()+.1)}),{enableOnContentEditable:!1}),(0,l.y1)("9",(function(){return c.current.volume(c.current.volume()-.1)}),{enableOnContentEditable:!1});var w={autoplay:!1,controls:!0,responsive:!0,fluid:!1,playsinline:!0,liveui:!0,preload:"auto",controlBar:{progressControl:{seekBar:!1}},html5:{vhs:{enableLowInitialPlaylist:!0,experimentalBufferBasedABR:!0,useNetworkInformationApi:!0,maxPlaylistRetries:30}},liveTracker:{trackingThreshold:0,liveTolerance:15},sources:[{src:t,type:"application/x-mpegURL"}]};return(0,o.useEffect)((function(){V&&V.setClockSkew(p)}),[p]),(0,o.useEffect)((function(){return function(){b(),V.stop()}}),[]),(0,s.jsxs)("div",{style:{display:"grid"},children:[n&&(0,s.jsx)("div",{style:{gridColumn:1,gridRow:1},children:(0,s.jsx)(d,{options:w,onReady:function(e,t){c.current=e,function(){try{c.current.volume((0,B.$o)(N)||1)}catch(e){console.warn(e)}}(),function(e,t){if(window.hasOwnProperty("WebKitPlaybackTargetAvailabilityEvent")){var n=t.getComponent("Button"),i=t.extend(n,{constructor:function(){n.call(this,e)},handleClick:function(){try{document.getElementsByTagName("video")[0].webkitShowPlaybackTargetPicker()}catch(e){console.error(e)}}});e.controlBar.addChild(new i).addClass("vjs-airplay")}}(e,t),e.on("waiting",(function(){e.log("player is waiting")})),e.on("dispose",(function(){e.log("player will dispose"),O.stop()})),e.on("playing",(function(){e.log("player is playing"),O.start(),y(!0)})),e.on("pause",(function(){e.log("player is paused"),O.stop(),y(!1)})),e.on("ended",(function(){e.log("player is ended"),O.stop(),y(!1)})),t.hookOnce(),e.on("volumechange",g),(V=new M(e,t)).setClockSkew(p),T(e,t)}})}),(0,s.jsx)("div",{style:{gridColumn:1,gridRow:1},children:!f&&(0,s.jsx)(C,{online:n,initialSrc:"/thumbnail.jpg",src:"/thumbnail.jpg"})})]})},Q=U},55206:function(e){e.exports={player:"VideoJS_player__GT8FN",poster:"VideoJS_poster__nlmqm"}},1125:function(e){e.exports={poster:"VideoPoster_poster__RDkSk"}},25893:function(){}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1084.edbbb8c3ef026b59.js b/static/web/_next/static/chunks/1084.8bd09a422bf924f1.js similarity index 58% rename from static/web/_next/static/chunks/1084.edbbb8c3ef026b59.js rename to static/web/_next/static/chunks/1084.8bd09a422bf924f1.js index 106cee239..397b9b99a 100644 --- a/static/web/_next/static/chunks/1084.edbbb8c3ef026b59.js +++ b/static/web/_next/static/chunks/1084.8bd09a422bf924f1.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1084],{41084:function(e,n,t){t.r(n),t.d(n,{jinja2:function(){return l}});var i=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],a=/^[+\-*&%=<>!?|~^]/,r=/^[:\[\(\{]/,o=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;function s(e,n){var t=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(o))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(o))return"atom";if(e.match(c))return"number"}if(n.instring)return t==n.instring&&(n.instring=!1),e.next(),"string";if("'"==t||'"'==t)return n.instring=t,e.next(),"string";if(n.inbraces>0&&")"==t)e.next(),n.inbraces--;else if("("==t)e.next(),n.inbraces++;else if(n.inbrackets>0&&"]"==t)e.next(),n.inbrackets--;else if("["==t)e.next(),n.inbrackets++;else{if(!n.lineTag&&(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}")))return n.intag=!1,"tag";if(e.match(a))return n.operator=!0,"operator";if(e.match(r))n.sign=!0;else{if(1==e.column()&&n.lineTag&&e.match(i))return"keyword";if(e.eat(" ")||e.sol()){if(e.match(i))return"keyword";if(e.match(o))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next()}}return"variable"}if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(t=e.eat(/\{|%/))return n.intag=t,n.inbraces=0,n.inbrackets=0,"{"==t&&(n.intag="}"),e.eat("-"),"tag"}else if(e.eat("#")){if("#"==e.peek())return e.skipToEnd(),"comment";if(!e.eol())return n.intag=!0,n.lineTag=!0,n.inbraces=0,n.inbrackets=0,"tag"}e.next()}i=new RegExp("(("+i.join(")|(")+"))\\b"),o=new RegExp("(("+o.join(")|(")+"))\\b");const l={name:"jinja2",startState:function(){return{tokenize:s,inbrackets:0,inbraces:0}},token:function(e,n){var t=n.tokenize(e,n);return e.eol()&&n.lineTag&&!n.instring&&0==n.inbraces&&0==n.inbrackets&&(n.intag=!1,n.lineTag=!1),t},languageData:{commentTokens:{block:{open:"{#",close:"#}",line:"##"}}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1084],{41084:function(e,n,t){t.r(n),t.d(n,{jinja2:function(){return l}});var i=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],a=/^[+\-*&%=<>!?|~^]/,r=/^[:\[\(\{]/,o=["true","false"],c=/^(\d[+\-\*\/])?\d+(\.\d+)?/;function s(e,n){var t=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(o))return"atom";if(e.match(c))return"number"}if(n.sign){if(n.sign=!1,e.match(o))return"atom";if(e.match(c))return"number"}if(n.instring)return t==n.instring&&(n.instring=!1),e.next(),"string";if("'"==t||'"'==t)return n.instring=t,e.next(),"string";if(n.inbraces>0&&")"==t)e.next(),n.inbraces--;else if("("==t)e.next(),n.inbraces++;else if(n.inbrackets>0&&"]"==t)e.next(),n.inbrackets--;else if("["==t)e.next(),n.inbrackets++;else if(!n.lineTag&&(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}")))return n.intag=!1,"tag";else if(e.match(a))return n.operator=!0,"operator";else if(e.match(r))n.sign=!0;else{if(1==e.column()&&n.lineTag&&e.match(i))return"keyword";if(e.eat(" ")||e.sol()){if(e.match(i))return"keyword";if(e.match(o))return"atom";if(e.match(c))return"number";e.sol()&&e.next()}else e.next()}return"variable"}if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(t=e.eat(/\{|%/))return n.intag=t,n.inbraces=0,n.inbrackets=0,"{"==t&&(n.intag="}"),e.eat("-"),"tag"}else if(e.eat("#")){if("#"==e.peek())return e.skipToEnd(),"comment";if(!e.eol())return n.intag=!0,n.lineTag=!0,n.inbraces=0,n.inbrackets=0,"tag"}e.next()}i=RegExp("(("+i.join(")|(")+"))\\b"),o=RegExp("(("+o.join(")|(")+"))\\b");let l={name:"jinja2",startState:function(){return{tokenize:s,inbrackets:0,inbraces:0}},token:function(e,n){var t=n.tokenize(e,n);return e.eol()&&n.lineTag&&!n.instring&&0==n.inbraces&&0==n.inbrackets&&(n.intag=!1,n.lineTag=!1),t},languageData:{commentTokens:{block:{open:"{#",close:"#}",line:"##"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1140-ba4b9aae930b4b83.js b/static/web/_next/static/chunks/1140-ba4b9aae930b4b83.js new file mode 100644 index 000000000..8da8c094e --- /dev/null +++ b/static/web/_next/static/chunks/1140-ba4b9aae930b4b83.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1140],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="DeleteOutlined";var l=r.forwardRef(a)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="UploadOutlined";var l=r.forwardRef(a)},58909:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(35524),r=n(47421),s=n(59119),o=(e=>{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret}),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},o[".cm-activeLineGutter"]={backgroundColor:n.lineHighlight}),n.selection&&(o["&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),l=s.Qf.define(i);return[a,(0,s.nF)(l)]})({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){"use strict";n.d(t,{ZP:function(){return nD}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),a=n(47421),l=n(59119),c=n(41113);let h=e=>{let t=p(e.state);return t.line?u(e):!!t.block&&d(e)};function O(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}let u=O(function(e,t,n=t.selection.ranges){let i=[],r=-1;for(let{from:s,to:o}of n){let a=i.length,l=1e9;for(let c=s;c<=o;){let h=t.doc.lineAt(c);if(h.from>r&&(s==o||o>h.from)){r=h.from;let O=p(t,c).line;if(!O)continue;let u=/^\s*/.exec(h.text)[0].length,f=u==h.length,d=h.text.slice(u,u+O.length)==O?u:-1;ue.comment<0&&(!e.empty||e.single))){let g=[];for(let{line:Q,token:b,indent:x,empty:k,single:y}of i)(y||!k)&&g.push({from:Q.from+x,insert:b+" "});let v=t.changes(g);return{changes:v,selection:t.selection.map(v,1)}}if(1!=e&&i.some(e=>e.comment>=0)){let $=[];for(let{line:S,comment:w,token:T}of i)if(w>=0){let P=S.from+w,R=P+T.length;" "==S.text[R-S.from]&&R++,$.push({from:P,to:R})}return{changes:$}}return null},0),f=O(m,0),d=O((e,t)=>m(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t)),0);function p(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function m(e,t,n=t.selection.ranges){let i=n.map(e=>p(t,e.from).block);if(!i.every(e=>e))return null;let r=n.map((e,n)=>(function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-50,i),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,O=a.length-c;if(a.slice(O-t.length,O)==t&&l.slice(h,h+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let u=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,d=o.length-f-n.length;return s.slice(u,u+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:i+u+t.length,margin:/\s/.test(s.charAt(u+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(d-1))?1:0}}:null})(t,i[n],e.from,e.to));if(2!=e&&!r.every(e=>e))return{changes:t.changes(n.map((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}]))};if(1!=e&&r.some(e=>e)){let s=[];for(let o=0,a;o(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}),k=o.QQ.define({create:()=>W.empty,update(e,t){let n=t.state.facet(x),i=t.annotation(g);if(i){var r;let s;let a=t.docChanged?o.jT.single((r=t.changes,s=0,r.iterChangedRanges((e,t)=>s=t),s)):void 0,l=T.fromTransaction(t,a),c=i.side,h=0==c?e.undone:e.done;return h=l?P(h,h.length,n.minDepth,l):Z(h,t.startState.selection),new W(0==c?i.rest:h,0==c?h:i.rest)}let O=t.annotation(Q);if(("full"==O||"before"==O)&&(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let u=T.fromTransaction(t),f=t.annotation(o.YW.time),d=t.annotation(o.YW.userEvent);return u?e=e.addChanges(u,f,d,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,f,d,n.newGroupDelay)),("full"==O||"after"==O)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new W(e.done.map(T.fromJSON),e.undone.map(T.fromJSON))});function y(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(k,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}let v=y(0,!1),$=y(1,!1),S=y(0,!0),w=y(1,!0);class T{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new T(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(e){return new T(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=C;for(let i of e.startState.facet(b)){let r=i(e);r.length&&(n=n.concat(r))}return!n.length&&e.changes.empty?null:new T(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,C)}static selection(e){return new T(void 0,C,void 0,void 0,e)}}function P(e,t,n,i){let r=e.slice(t+1>n+20?t-n-1:0,t);return r.push(i),r}function R(e,t){return e.length?t.length?e.concat(t):e:t}let C=[];function Z(e,t){if(!e.length)return[T.selection([t])];{let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),P(e,e.length-1,1e9,n.setSelAfter(i)))}}function X(e,t){if(!e.length)return e;let n=e.length,i=C;for(;n;){let r=function(e,t,n){let i=R(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):C,n);if(!e.changes)return T.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new T(r,o.Py.mapEffects(e.effects,t),a,e.startSelection.map(s),i)}(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let s=e.slice(0,n);return s[n-1]=r,s}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[T.selection(i)]:C}let j=/^(input\.type|delete)($|\.)/;class W{constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new W(this.done,this.undone):this}addChanges(e,t,n,i,r){var s,o;let a,l,c=this.done,h=c[c.length-1];return c=h&&h.changes&&!h.changes.empty&&e.changes&&(!n||j.test(n))&&(!h.selectionsAfter.length&&t-this.prevTimea.push(e,t)),o.iterChangedRanges((e,t,n,i)=>{for(let r=0;r=s&&n<=o&&(l=!0)}}),l)||"input.type.compose"==n)?P(c,c.length-1,r,new T(e.changes.compose(h.changes),R(e.effects,h.effects),h.mapped,h.startSelection,C)):P(c,c.length,r,e),new W(c,C,t,n)}addSelection(e,t,n,i){var r;let s=this.done.length?this.done[this.done.length-1].selectionsAfter:C;return s.length>0&&t-this.prevTimet.empty!=e.ranges[n].empty).length?this:new W(Z(this.done,e),this.undone,t,n)}addMapping(e){return new W(X(this.done,e),X(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length){var s;let o,a;return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:g.of({side:e,rest:(o=(s=i)[s.length-1],(a=s.slice())[s.length-1]=o.setSelAfter(o.selectionsAfter.slice(0,o.selectionsAfter.length-1)),a)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0})}if(!r.changes)return null;{let l=1==i.length?C:i.slice(0,i.length-1);return r.mapped&&(l=X(l,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:g.of({side:e,rest:l}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}}}W.empty=new W(C,C);let A=[{key:"Mod-z",run:v,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:$,preventDefault:!0},{linux:"Ctrl-Shift-z",run:$,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:w,preventDefault:!0}];function _(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function q(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function z({state:e,dispatch:t},n){let i=_(e.selection,n);return!i.eq(e.selection)&&(t(q(e,i)),!0)}function I(e,t){return o.jT.cursor(t?e.to:e.from)}function E(e,t){return z(e,n=>n.empty?e.moveByChar(n,t):I(n,t))}function G(e){return e.textDirectionAt(e.state.selection.main.head)==a.Nm.LTR}let L=e=>E(e,!G(e)),D=e=>E(e,G(e));function N(e,t){return z(e,n=>n.empty?e.moveByGroup(n,t):I(n,t))}let U=e=>N(e,!G(e)),M=e=>N(e,G(e));function J(e,t,n){let i,r,s=(0,l.qz)(e).resolveInner(t.head),a=n?c.md.closedBy:c.md.openedBy;for(let h=t.head;;){let O=n?s.childAfter(h):s.childBefore(h);if(!O)break;!function(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}(e,O,a)?h=n?O.to:O.from:s=O}return r=s.type.prop(a)&&(i=n?(0,l.Um)(e,s.from,1):(0,l.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}let V=e=>z(e,t=>J(e.state,t,!G(e))),B=e=>z(e,t=>J(e.state,t,G(e)));function Y(e,t){return z(e,n=>{if(!n.empty)return I(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)})}let F=e=>Y(e,!1),H=e=>Y(e,!0);function K(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function ee(e,t){let n,{state:i}=e,r=_(i.selection,n=>n.empty?e.moveVertically(n,t,K(e)):I(n,t));if(r.eq(i.selection))return!1;let s=e.coordsAtPos(i.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomee(e,!1),en=e=>ee(e,!0);function ei(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let s=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;s&&t.head!=i.from+s&&(r=o.jT.cursor(i.from+s))}return r}let er=e=>z(e,t=>ei(e,t,!0)),es=e=>z(e,t=>ei(e,t,!1)),eo=e=>z(e,t=>ei(e,t,!G(e))),ea=e=>z(e,t=>ei(e,t,G(e))),el=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from,1)),ec=e=>z(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1)),eh=({state:e,dispatch:t})=>{let n,i;return n=!1,i=_(e.selection,t=>{let i=(0,l.Um)(e,t.head,-1)||(0,l.Um)(e,t.head,1)||t.head>0&&(0,l.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)});return!n.eq(e.state.selection)&&(e.dispatch(q(e.state,n)),!0)}function eu(e,t){return eO(e,n=>e.moveByChar(n,t))}let ef=e=>eu(e,!G(e)),ed=e=>eu(e,G(e));function ep(e,t){return eO(e,n=>e.moveByGroup(n,t))}let em=e=>ep(e,!G(e)),eg=e=>ep(e,G(e)),eQ=e=>eO(e,t=>J(e.state,t,!G(e))),eb=e=>eO(e,t=>J(e.state,t,G(e)));function ex(e,t){return eO(e,n=>e.moveVertically(n,t))}let ek=e=>ex(e,!1),ey=e=>ex(e,!0);function ev(e,t){return eO(e,n=>e.moveVertically(n,t,K(e)))}let e$=e=>ev(e,!1),eS=e=>ev(e,!0),ew=e=>eO(e,t=>ei(e,t,!0)),eT=e=>eO(e,t=>ei(e,t,!1)),eP=e=>eO(e,t=>ei(e,t,!G(e))),eR=e=>eO(e,t=>ei(e,t,G(e))),eC=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).from)),eZ=e=>eO(e,t=>o.jT.cursor(e.lineBlockAt(t.head).to)),eX=({state:e,dispatch:t})=>(t(q(e,{anchor:0})),!0),ej=({state:e,dispatch:t})=>(t(q(e,{anchor:e.doc.length})),!0),eW=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:0})),!0),eA=({state:e,dispatch:t})=>(t(q(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),e_=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),eq=({state:e,dispatch:t})=>{let n=eH(e).map(({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length)));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0},ez=({state:e,dispatch:t})=>{let n=_(e.selection,t=>{var n;let i=(0,l.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from||!(null===(n=i.parent)||void 0===n?void 0:n.parent));)i=i.parent;return o.jT.range(i.to,i.from)});return t(q(e,n)),!0},eI=({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(q(e,i)),!0)};function eE(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange(i=>{let{from:r,to:s}=i;if(r==s){let a=t(r);ar&&(n="delete.forward",a=eG(e,a,!0)),r=Math.min(r,a),s=Math.max(s,a)}else r=eG(e,r,!1),s=eG(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}});return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?a.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function eG(e,t,n){if(e instanceof a.tk)for(let i of e.state.facet(a.tk.atomicRanges).map(t=>t(e)))i.between(t,t,(e,i)=>{et&&(t=n?i:e)});return t}let eL=(e,t)=>eE(e,n=>{let{state:i}=e,r=i.doc.lineAt(n),s,a;if(!t&&n>r.from&&neL(e,!1),eN=e=>eL(e,!0),eU=(e,t)=>eE(e,n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),a=r.charCategorizer(i);for(let l=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let c=(0,o.cp)(s.text,i-s.from,t)+s.from,h=s.text.slice(Math.min(i,c)-s.from,Math.max(i,c)-s.from),O=a(h);if(null!=l&&O!=l)break;(" "!=h||i!=n)&&(l=O),i=c}return i}),eM=e=>eU(e,!1),eJ=e=>eU(e,!0),eV=e=>eE(e,t=>{let n=e.lineBlockAt(t).to;return teE(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),eY=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},eF=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}});return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function eH(e){let t=[],n=-1;for(let i of e.selection.ranges){let r=e.doc.lineAt(i.from),s=e.doc.lineAt(i.to);if(i.empty||i.to!=s.from||(s=e.doc.lineAt(i.to-1)),n>=r.number){let o=t[t.length-1];o.to=s.to,o.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function eK(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of eH(e)){if(n?s.to==e.doc.length:0==s.from)continue;let a=e.doc.lineAt(n?s.to+1:s.from-1),l=a.length+1;if(n)for(let c of(i.push({from:s.to,to:a.to},{from:s.from,insert:a.text+e.lineBreak}),s.ranges))r.push(o.jT.range(Math.min(e.doc.length,c.anchor+l),Math.min(e.doc.length,c.head+l)));else for(let h of(i.push({from:a.from,to:s.from},{from:s.to,insert:e.lineBreak+a.text}),s.ranges))r.push(o.jT.range(h.anchor-l,h.head-l))}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}let e0=({state:e,dispatch:t})=>eK(e,t,!1),e1=({state:e,dispatch:t})=>eK(e,t,!0);function e2(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of eH(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}let e5=({state:e,dispatch:t})=>e2(e,t,!1),e9=({state:e,dispatch:t})=>e2(e,t,!0),e3=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(eH(t).map(({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0)).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0},e7=e6(!1),e4=e6(!0);function e6(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),a=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,l.qz)(e).resolveInner(t),i=n.childBefore(t),r=n.childAfter(t),s;return i&&r&&i.to<=t&&r.from>=t&&(s=i.type.prop(c.md.closedBy))&&s.indexOf(r.name)>-1&&e.doc.lineAt(i.to).from==e.doc.lineAt(r.from).from?{from:i.to,to:r.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let h=new l.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!a}),O=(0,l.K0)(h,i);for(null==O&&(O=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let s=i.from;s<=i.to;){let a=e.doc.lineAt(s);a.number>n&&(i.empty||i.to>a.from)&&(t(a,r,i),n=a.number),s=a.to+1}let l=e.changes(r);return{changes:r,range:o.jT.range(l.mapPos(i.anchor,1),l.mapPos(i.head,1))}})}let te=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new l.Gn(e,{overrideIndentation(e){let t=n[e];return null==t?-1:t}}),r=e8(e,(t,r,s)=>{let o=(0,l.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.SS)(e,o);(a!=c||s.from!e.readOnly&&(t(e.update(e8(e,(t,n)=>{n.push({from:t.from,insert:e.facet(l.c)})}),{userEvent:"input.indent"})),!0),tn=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(e8(e,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,a=(0,l.SS)(e,Math.max(0,r-(0,l.y1)(e)));for(;s({mac:e.key,run:e.run,shift:e.shift}))),tr=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V,shift:eQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:B,shift:eb},{key:"Alt-ArrowUp",run:e0},{key:"Shift-Alt-ArrowUp",run:e5},{key:"Alt-ArrowDown",run:e1},{key:"Shift-Alt-ArrowDown",run:e9},{key:"Escape",run:eI},{key:"Mod-Enter",run:e4},{key:"Alt-l",mac:"Ctrl-l",run:eq},{key:"Mod-i",run:ez,preventDefault:!0},{key:"Mod-[",run:tn},{key:"Mod-]",run:tt},{key:"Mod-Alt-\\",run:te},{key:"Shift-Mod-k",run:e3},{key:"Shift-Mod-\\",run:eh},{key:"Mod-/",run:h},{key:"Alt-A",run:f}].concat(ti),ts={key:"Tab",run:tt,shift:tn};function to(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class tl{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(ta(e)):ta,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return -1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let a=i.charCodeAt(r),l=this.match(a,s);if(l)return this.value=l,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=tp(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let r=new tf(t,e.sliceString(t,n));return tu.set(e,r),r}if(i.from==t&&i.to==n)return i;let{text:s,from:o}=i;return o>t&&(s=e.sliceString(t,o)+s,o=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=tp(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=tf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function tp(e,t){if(t>=e.length)return t;let n=e.lineAt(t),i;for(;t=56320&&i<57344;)t++;return t}function tm(e){let t=to("input",{class:"cm-textfield",name:"line"}),n=to("form",{class:"cm-gotoLine",onkeydown(t){27==t.keyCode?(t.preventDefault(),e.dispatch({effects:tg.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),i())},onsubmit(e){e.preventDefault(),i()}},to("label",e.state.phrase("Go to line"),": ",t)," ",to("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,a,l,c]=n,h=l?+l.slice(1):0,O=a?+a:r.number;if(a&&c){let u=O/100;s&&(u=u*("-"==s?-1:1)+r.number/i.doc.lines),O=Math.round(i.doc.lines*u)}else a&&s&&(O=O*("-"==s?-1:1)+r.number);let f=i.doc.line(Math.max(1,Math.min(i.doc.lines,O)));e.dispatch({effects:tg.of(!1),selection:o.jT.cursor(f.from+Math.max(0,Math.min(h,f.length))),scrollIntoView:!0}),e.focus()}return{dom:n}}"undefined"!=typeof Symbol&&(tO.prototype[Symbol.iterator]=td.prototype[Symbol.iterator]=function(){return this});let tg=o.Py.define(),tQ=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(tg)&&(e=n.value);return e},provide:e=>a.mH.from(e,e=>e?tm:null)}),tb=e=>{let t=(0,a.Sd)(e,tm);if(!t){let n=[tg.of(!0)];null==e.state.field(tQ,!1)&&n.push(o.Py.appendConfig.of([tQ,tx])),e.dispatch({effects:n}),t=(0,a.Sd)(e,tm)}return t&&t.dom.querySelector("input").focus(),!0},tx=a.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),tk={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ty=o.r$.define({combine:e=>(0,o.BO)(e,tk,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}),tv=a.p.mark({class:"cm-selectionMatch"}),t$=a.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function tS(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}let tw=a.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(ty),{state:n}=e,i=n.selection;if(i.ranges.length>1)return a.p.none;let r=i.main,s,l=null;if(r.empty){if(!t.highlightWordAroundCursor)return a.p.none;let c=n.wordAt(r.head);if(!c)return a.p.none;l=n.charCategorizer(r.head),s=n.sliceDoc(c.from,c.to)}else{let h=r.to-r.from;if(h200)return a.p.none;if(t.wholeWords){var O,u,f;if(s=n.sliceDoc(r.from,r.to),!(tS(l=n.charCategorizer(r.head),n,r.from,r.to)&&(O=l,u=r.from,f=r.to,O(n.sliceDoc(u,u+1))==o.D0.Word&&O(n.sliceDoc(f-1,f))==o.D0.Word)))return a.p.none}else if(!(s=n.sliceDoc(r.from,r.to).trim()))return a.p.none}let d=[];for(let p of e.visibleRanges){let m=new tl(n.doc,s,p.from,p.to);for(;!m.next().done;){let{from:g,to:Q}=m.value;if((!l||tS(l,n,g,Q))&&(r.empty&&g<=r.from&&Q>=r.to?d.push(t$.range(g,Q)):(g>=r.to||Q<=r.from)&&d.push(tv.range(g,Q)),d.length>t.maxMatches))return a.p.none}}return a.p.set(d)}},{decorations:e=>e.decorations}),tT=a.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),tP=({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map(t=>e.wordAt(t.head)||o.jT.cursor(t.head)),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)},tR=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(e=>e.from===e.to))return tP({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(t=>e.sliceDoc(t.from,t.to)!=i))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new tl(e.doc,t,i[i.length-1].to);;)if(a.next(),a.done){if(o)return null;a=new tl(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}else{if(o&&i.some(e=>e.from==a.value.from))continue;if(s){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:a.tk.scrollIntoView(r.to)})),!0)},tC=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new t9(e)})});class tZ{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return RegExp(e,th),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new tz(this):new tW(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?tA(this,i,t,n):tj(this,i,t,n)}}class tX{constructor(e){this.spec=e}}function tj(e,t,n,i){var r,s;return new tl(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tj(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function tA(e,t,n,i){var r;return new tO(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(t_(n.input,n.index))!=o.D0.Word||r(tq(n.input,n.index))!=o.D0.Word)&&(r(tq(n.input,n.index+n[0].length))!=o.D0.Word||r(t_(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i)}function t_(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function tq(e,t){return e.slice(t,(0,o.cp)(e,t))}class tz extends tX{nextMatch(e,t,n){let i=tA(this.spec,e,n,e.doc.length).next();return i.done&&(i=tA(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=tA(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=tA(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}let tI=o.Py.define(),tE=o.Py.define(),tG=o.QQ.define({create:e=>new tL(t0(e).create(),null),update(e,t){for(let n of t.effects)n.is(tI)?e=new tL(n.value.create(),e.panel):n.is(tE)&&(e=new tL(e.query,n.value?tK:null));return e},provide:e=>a.mH.from(e,e=>e.panel)});class tL{constructor(e,t){this.query=e,this.panel=t}}let tD=a.p.mark({class:"cm-searchMatch"}),tN=a.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tU=a.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(tG))}update(e){let t=e.state.field(tG);(t!=e.startState.field(tG)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,l=s.length;rs[r+1].from-500;)h=s[++r].to;e.highlight(n.state,c,h,(e,t)=>{let r=n.state.selection.ranges.some(n=>n.from==e&&n.to==t);i.add(e,t,r?tN:tD)})}return i.finish()}},{decorations:e=>e.decorations});function tM(e){return t=>{let n=t.state.field(tG,!1);return n&&n.query.spec.valid?e(t,n):t1(t)}}let tJ=tM((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:t4(e,i),userEvent:"select.search"}),!0)}),tV=tM((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:t4(e,r),userEvent:"select.search"}),!0)}),tB=tM((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!!n&&!!n.length&&(e.dispatch({selection:o.jT.create(n.map(e=>o.jT.range(e.from,e.to))),userEvent:"select.search.matches"}),!0)}),tY=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],a=0;for(let l=new tl(e.doc,e.sliceDoc(i,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==i&&(a=s.length),s.push(o.jT.range(l.value.from,l.value.to))}return t(e.update({selection:o.jT.create(s,a),userEvent:"select.search.matches"})),!0},tF=tM((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o=[],l,c,h=[];if(s.from==i&&s.to==r&&(c=n.toText(t.getReplacement(s)),o.push({from:s.from,to:s.to,insert:c}),s=t.nextMatch(n,s.from,s.to),h.push(a.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let O=0==o.length||o[0].from>=s.to?0:s.to-s.from-c.length;l={anchor:s.from-O,head:s.to-O},h.push(t4(e,s))}return e.dispatch({changes:o,selection:l,scrollIntoView:!!l,effects:h,userEvent:"input.replace"}),!0}),tH=tM((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}});if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.tk.announce.of(i),userEvent:"input.replace.all"}),!0});function tK(e){return e.state.facet(tC).createPanel(e)}function t0(e,t){var n,i,r,s;let o=e.selection.main,a=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!a)return t;let l=e.facet(tC);return new tZ({search:(null!==(n=null==t?void 0:t.literal)&&void 0!==n?n:l.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null==t?void 0:t.caseSensitive)&&void 0!==i?i:l.caseSensitive,literal:null!==(r=null==t?void 0:t.literal)&&void 0!==r?r:l.literal,wholeWord:null!==(s=null==t?void 0:t.wholeWord)&&void 0!==s?s:l.wholeWord})}let t1=e=>{let t=e.state.field(tG,!1);if(t&&t.panel){let n=(0,a.Sd)(e,tK);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let r=t0(e.state,t.query.spec);r.valid&&e.dispatch({effects:tI.of(r)}),i.focus(),i.select()}}else e.dispatch({effects:[tE.of(!0),t?tI.of(t0(e.state,t.query.spec)):o.Py.appendConfig.of(t8)]});return!0},t2=e=>{let t=e.state.field(tG,!1);if(!t||!t.panel)return!1;let n=(0,a.Sd)(e,tK);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:tE.of(!1)}),!0},t5=[{key:"Mod-f",run:t1,scope:"editor search-panel"},{key:"F3",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:tJ,shift:tV,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:t2,scope:"editor search-panel"},{key:"Mod-Shift-l",run:tY},{key:"Alt-g",run:tb},{key:"Mod-d",run:tR,preventDefault:!0}];class t9{constructor(e){this.view=e;let t=this.query=e.state.field(tG).query.spec;function n(e,t,n){return to("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=to("input",{value:t.search,placeholder:t3(e,"Find"),"aria-label":t3(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=to("input",{value:t.replace,placeholder:t3(e,"Replace"),"aria-label":t3(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=to("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=to("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=to("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=to("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",()=>tJ(e),[t3(e,"next")]),n("prev",()=>tV(e),[t3(e,"previous")]),n("select",()=>tB(e),[t3(e,"all")]),to("label",null,[this.caseField,t3(e,"match case")]),to("label",null,[this.reField,t3(e,"regexp")]),to("label",null,[this.wordField,t3(e,"by word")]),...e.state.readOnly?[]:[to("br"),this.replaceField,n("replace",()=>tF(e),[t3(e,"replace")]),n("replaceAll",()=>tH(e),[t3(e,"replace all")]),to("button",{name:"close",onclick:()=>t2(e),"aria-label":t3(e,"close"),type:"button"},["\xd7"])]])}commit(){let e=new tZ({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:tI.of(e)}))}keydown(e){(0,a.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?tV:tJ)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),tF(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(tI)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(tC).top}}function t3(e,t){return e.state.phrase(t)}let t7=/[\s\.,:;?!]/;function t4(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),l=e.state.sliceDoc(s,o);if(s!=i.from){for(let c=0;c<30;c++)if(!t7.test(l[c+1])&&t7.test(l[c])){l=l.slice(c);break}}if(o!=r){for(let h=l.length-1;h>l.length-30;h--)if(!t7.test(l[h-1])&&t7.test(l[h])){l=l.slice(0,h);break}}return a.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}let t6=a.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),t8=[tG,o.Wl.lowest(tU),t6];var ne=n(34790);class nt{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class nn{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(ng).markerFilter;r&&(i=r(i));let s=a.p.set(i.map(e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?a.p.widget({widget:new nx(e),diagnostic:e}).range(e.from):a.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to)),!0);return new nn(s,t,ni(s))}}function ni(e,t=null,n=0){let i=null;return e.between(n,1e9,(e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new nt(e,n,r.diagnostic),!1}),i}function nr(e,t){return!!(e.effects.some(e=>e.is(no))||e.changes.touchesRange(t.pos))}function ns(e,t){return e.field(nc,!1)?t:t.concat(o.Py.appendConfig.of([nc,a.tk.decorations.compute([nc],e=>{let{selected:t,panel:n}=e.field(nc);return t&&n&&t.from!=t.to?a.p.set([nh.range(t.from,t.to)]):a.p.none}),(0,a.bF)(nO,{hideOn:nr}),n$]))}let no=o.Py.define(),na=o.Py.define(),nl=o.Py.define(),nc=o.QQ.define({create:()=>new nn(a.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=ni(n,e.selected.diagnostic,r)||ni(n,null,r)}e=new nn(n,e.panel,i)}for(let s of t.effects)s.is(no)?e=nn.init(s.value,e.panel,t.state):s.is(na)?e=new nn(e.diagnostics,s.value?ny.open:null,e.selected):s.is(nl)&&(e=new nn(e.diagnostics,e.panel,s.value));return e},provide:e=>[a.mH.from(e,e=>e.panel),a.tk.decorations.from(e,e=>e.diagnostics)]}),nh=a.p.mark({class:"cm-lintRange cm-lintRange-active"});function nO(e,t,n){let{diagnostics:i}=e.state.field(nc),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),(e,i,{spec:a})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:function(e,t){return to("ul",{class:"cm-tooltip-lint"},t.map(t=>nb(e,t,!1)))}(e,r)})}:null}let nu=e=>{let t=e.state.field(nc,!1);t&&t.panel||e.dispatch({effects:ns(e.state,[na.of(!0)])});let n=(0,a.Sd)(e,ny.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},nf=e=>{let t=e.state.field(nc,!1);return!!t&&!!t.panel&&(e.dispatch({effects:na.of(!1)}),!0)},nd=e=>{let t=e.state.field(nc,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return(!!i.value||!!(i=t.diagnostics.iter(0)).value&&(i.from!=n.from||i.to!=n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)},np=[{key:"Mod-Shift-m",run:nu},{key:"F8",run:nd}],nm=a.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(ng);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view)))).then(e=>{let n=e.reduce((e,t)=>e.concat(t));this.view.state.doc==t.doc&&this.view.dispatch({effects:ns(this.view.state,[no.of(n)])})},e=>{(0,a.OO)(this.view.state,e)})}}update(e){let t=e.state.facet(ng);(e.docChanged||t!=e.startState.facet(ng))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),ng=o.r$.define({combine:e=>Object.assign({sources:e.map(e=>e.source)},(0,o.BO)(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null})),enables:nm});function nQ(e){let t=[];if(e)e:for(let{name:n}of e){for(let i=0;ie.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function nb(e,t,n){var i;let r=n?nQ(t.actions):[];return to("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},to("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map((n,i)=>{let s=i=>{i.preventDefault();let r=ni(e.state.field(nc).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,a=r[i]?o.indexOf(r[i]):-1,l=a<0?o:[o.slice(0,a),to("u",o.slice(a,a+1)),o.slice(a+1)];return to("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${a<0?"":` (access key "${r[i]})"`}.`},l)}),t.source&&to("div",{class:"cm-diagnosticSource"},t.source))}class nx extends a.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return to("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class nk{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nb(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class ny{constructor(e){this.view=e,this.items=[];let t=t=>{if(27==t.keyCode)nf(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65)||!(t.keyCode<=90)||!(this.selectedIndex>=0))return;let{diagnostic:n}=this.items[this.selectedIndex],i=nQ(n.actions);for(let r=0;r{for(let t=0;tnf(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(nc).selected;if(!e)return -1;for(let t=0;t{let a=-1,l;for(let c=n;cn&&(this.items.splice(n,a-n),i=!0)),t&&l.diagnostic==t.diagnostic?l.dom.hasAttribute("aria-selected")||(l.dom.setAttribute("aria-selected","true"),r=l):l.dom.hasAttribute("aria-selected")&&l.dom.removeAttribute("aria-selected"),n++});n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=ni(this.view.state.field(nc).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:nl.of(t)})}static open(e){return new ny(e)}}function nv(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}(``,'width="6" height="3"')}let n$=a.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:nv("#d11")},".cm-lintRange-warning":{backgroundImage:nv("orange")},".cm-lintRange-info":{backgroundImage:nv("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});a.SJ;let nS=o.Py.define();var nw=function(e){void 0===e&&(e={});var t,n=[];!1!==e.closeBracketsKeymap&&(n=n.concat(ne.GA)),!1!==e.defaultKeymap&&(n=n.concat(tr)),!1!==e.searchKeymap&&(n=n.concat(t5)),!1!==e.historyKeymap&&(n=n.concat(A)),!1!==e.foldKeymap&&(n=n.concat(l.e7)),!1!==e.completionKeymap&&(n=n.concat(ne.B1)),!1!==e.lintKeymap&&(n=n.concat(np));var i=[];if(!1!==e.lineNumbers&&i.push((0,a.Eu)()),!1!==e.highlightActiveLineGutter&&i.push((0,a.HQ)()),!1!==e.highlightSpecialChars&&i.push((0,a.AE)()),!1!==e.history&&i.push(function(e={}){return[k,x.of(e),a.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?v:"historyRedo"==e.inputType?$:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&i.push((0,l.mi)()),!1!==e.drawSelection&&i.push((0,a.Uw)()),!1!==e.dropCursor&&i.push((0,a.qr)()),!1!==e.allowMultipleSelections&&i.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&i.push((0,l.nY)()),!1!==e.syntaxHighlighting&&i.push((0,l.nF)(l.R_,{fallback:!0})),!1!==e.bracketMatching&&i.push((0,l.n$)()),!1!==e.closeBrackets&&i.push((0,ne.vQ)()),!1!==e.autocompletion&&i.push((0,ne.ys)()),!1!==e.rectangularSelection&&i.push((0,a.Zs)()),!1!==e.crosshairCursor&&i.push((0,a.S2)()),!1!==e.highlightActiveLine&&i.push((0,a.ZO)()),!1!==e.highlightSelectionMatches){let r;i.push((r=[tT,tw],t&&r.push(ty.of(t)),r))}return i.concat([a.$f.of(n.flat())]).filter(Boolean)},nT=n(35524);let nP="#e06c75",nR="#abb2bf",nC="#7d8799",nZ="#d19a66",nX="#2c313a",nj="#282c34",nW="#353a42",nA="#528bff",n_=a.tk.theme({"&":{color:nR,backgroundColor:nj},".cm-content":{caretColor:nA},".cm-cursor, .cm-dropCursor":{borderLeftColor:nA},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"#3E4451"},".cm-panels":{backgroundColor:"#21252b",color:nR},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:nj,color:nC,border:"none"},".cm-activeLineGutter":{backgroundColor:nX},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:nW},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:nW,borderBottomColor:nW},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:nX,color:nR}}},{dark:!0}),nq=l.Qf.define([{tag:nT.pJ.keyword,color:"#c678dd"},{tag:[nT.pJ.name,nT.pJ.deleted,nT.pJ.character,nT.pJ.propertyName,nT.pJ.macroName],color:nP},{tag:[nT.pJ.function(nT.pJ.variableName),nT.pJ.labelName],color:"#61afef"},{tag:[nT.pJ.color,nT.pJ.constant(nT.pJ.name),nT.pJ.standard(nT.pJ.name)],color:nZ},{tag:[nT.pJ.definition(nT.pJ.name),nT.pJ.separator],color:nR},{tag:[nT.pJ.typeName,nT.pJ.className,nT.pJ.number,nT.pJ.changed,nT.pJ.annotation,nT.pJ.modifier,nT.pJ.self,nT.pJ.namespace],color:"#e5c07b"},{tag:[nT.pJ.operator,nT.pJ.operatorKeyword,nT.pJ.url,nT.pJ.escape,nT.pJ.regexp,nT.pJ.link,nT.pJ.special(nT.pJ.string)],color:"#56b6c2"},{tag:[nT.pJ.meta,nT.pJ.comment],color:nC},{tag:nT.pJ.strong,fontWeight:"bold"},{tag:nT.pJ.emphasis,fontStyle:"italic"},{tag:nT.pJ.strikethrough,textDecoration:"line-through"},{tag:nT.pJ.link,color:nC,textDecoration:"underline"},{tag:nT.pJ.heading,fontWeight:"bold",color:nP},{tag:[nT.pJ.atom,nT.pJ.bool,nT.pJ.special(nT.pJ.variableName)],color:nZ},{tag:[nT.pJ.processingInstruction,nT.pJ.string,nT.pJ.inserted],color:"#98c379"},{tag:nT.pJ.invalid,color:"#ffffff"}]),nz=[n_,(0,l.nF)(nq)];var nI=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map(t=>e.state.sliceDoc(t.from,t.to)),selectedText:e.state.selection.ranges.some(e=>!e.empty)}),nE=n(85893),nG=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],nL=(0,s.forwardRef)((e,t)=>{var{className:n,value:l="",selection:c,extensions:h=[],onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,autoFocus:p,theme:m="light",height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,root:P,initialState:R}=e,C=(0,r.Z)(e,nG),Z=(0,s.useRef)(null),{state:X,view:j,container:W,setContainer:A}=function(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:l,onUpdate:c,extensions:h=[],autoFocus:O,theme:u="light",height:f="",minHeight:d="",maxHeight:p="",placeholder:m="",width:g="",minWidth:Q="",maxWidth:b="",editable:x=!0,readOnly:k=!1,indentWithTab:y=!0,basicSetup:v=!0,root:$,initialState:S}=e,[w,T]=(0,s.useState)(),[P,R]=(0,s.useState)(),[C,Z]=(0,s.useState)(),X=a.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),j=a.tk.theme({"&":{height:f,minHeight:d,maxHeight:p,width:g,minWidth:Q,maxWidth:b}}),W=[a.tk.updateListener.of(e=>{e.docChanged&&"function"==typeof i&&i(e.state.doc.toString(),e),r&&r(nI(e))}),j];switch(y&&W.unshift(a.$f.of([ts])),v&&("boolean"==typeof v?W.unshift(nw()):W.unshift(nw(v))),m&&W.unshift((0,a.W$)(m)),u){case"light":W.push(X);break;case"dark":W.push(nz);break;default:W.push(u)}return!1===x&&W.push(a.tk.editable.of(!1)),k&&W.push(o.yy.readOnly.of(!0)),c&&"function"==typeof c&&W.push(a.tk.updateListener.of(c)),W=W.concat(h),(0,s.useEffect)(()=>{if(w&&!C){var e={doc:t,selection:n,extensions:W},i=S?o.yy.fromJSON(S.json,e,S.fields):o.yy.create(e);if(Z(i),!P){var r=new a.tk({state:i,parent:w,root:$});R(r),l&&l(r,i)}}return()=>{P&&(Z(void 0),R(void 0))}},[w,C]),(0,s.useEffect)(()=>T(e.container),[e.container]),(0,s.useEffect)(()=>()=>{P&&(P.destroy(),R(void 0))},[P]),(0,s.useEffect)(()=>{O&&P&&P.focus()},[O,P]),(0,s.useEffect)(()=>{P&&P.dispatch({effects:o.Py.reconfigure.of(W)})},[u,h,f,d,p,g,Q,b,m,x,k,y,v,i,c]),(0,s.useEffect)(()=>{var e=P?P.state.doc.toString():"";P&&t!==e&&P.dispatch({changes:{from:0,to:e.length,insert:t||""}})},[t,P]),{state:C,setState:Z,view:P,setView:R,container:w,setContainer:T}}({container:Z.current,root:P,value:l,autoFocus:p,theme:m,height:g,minHeight:Q,maxHeight:b,width:x,minWidth:k,maxWidth:y,basicSetup:v,placeholder:$,indentWithTab:S,editable:w,readOnly:T,selection:c,onChange:O,onStatistics:u,onCreateEditor:f,onUpdate:d,extensions:h,initialState:R});if((0,s.useImperativeHandle)(t,()=>({editor:Z.current,state:X,view:j}),[Z,W,X,j]),"string"!=typeof l)throw Error("value must be typeof string but got "+typeof l);return(0,nE.jsx)("div",(0,i.Z)({ref:Z,className:("string"==typeof m?"cm-theme-"+m:"cm-theme")+(n?" "+n:"")},C))});nL.displayName="CodeMirror";var nD=nL},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(87462),r=n(4942),s=n(50888),o=n(94184),a=n.n(o),l=n(97685),c=n(45987),h=n(67294),O=n(21770),u=n(15105),f=h.forwardRef(function(e,t){var n,i=e.prefixCls,s=void 0===i?"rc-switch":i,o=e.className,f=e.checked,d=e.defaultChecked,p=e.disabled,m=e.loadingIcon,g=e.checkedChildren,Q=e.unCheckedChildren,b=e.onClick,x=e.onChange,k=e.onKeyDown,y=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),v=(0,O.Z)(!1,{value:f,defaultValue:d}),$=(0,l.Z)(v,2),S=$[0],w=$[1];function T(e,t){var n=S;return p||(w(n=e),null==x||x(n,t)),n}var P=a()(s,o,(n={},(0,r.Z)(n,"".concat(s,"-checked"),S),(0,r.Z)(n,"".concat(s,"-disabled"),p),n));return h.createElement("button",Object.assign({},y,{type:"button",role:"switch","aria-checked":S,disabled:p,className:P,ref:t,onKeyDown:function(e){e.which===u.Z.LEFT?T(!1,e):e.which===u.Z.RIGHT&&T(!0,e),null==k||k(e)},onClick:function(e){var t=T(!S,e);null==b||b(t,e)}}),m,h.createElement("span",{className:"".concat(s,"-inner")},S?g:Q))});f.displayName="Switch";var d=n(53124),p=n(98866),m=n(97647),g=n(68349),Q=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},b=h.forwardRef(function(e,t){var n,o=e.prefixCls,l=e.size,c=e.disabled,O=e.loading,u=e.className,b=Q(e,["prefixCls","size","disabled","loading","className"]),x=h.useContext(d.E_),k=x.getPrefixCls,y=x.direction,v=h.useContext(m.Z),$=h.useContext(p.Z),S=k("switch",o),w=h.createElement("div",{className:"".concat(S,"-handle")},O&&h.createElement(s.Z,{className:"".concat(S,"-loading-icon")})),T=a()((n={},(0,r.Z)(n,"".concat(S,"-small"),"small"===(l||v)),(0,r.Z)(n,"".concat(S,"-loading"),O),(0,r.Z)(n,"".concat(S,"-rtl"),"rtl"===y),n),void 0===u?"":u);return h.createElement(g.Z,{insertExtraNode:!0},h.createElement(f,(0,i.Z)({},b,{prefixCls:S,className:T,disabled:c||$||O,ref:t,loadingIcon:w})))});b.__ANT_SWITCH=!0;var x=b},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(4942),r=n(87462),s=n(97685),o=n(97937),a=n(94184),l=n.n(a),c=n(98423),h=n(67294),O=n(53124),u=n(98787),f=n(68349),d=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},p=function(e){var t,n=e.prefixCls,s=e.className,o=e.checked,a=e.onChange,c=e.onClick,u=d(e,["prefixCls","className","checked","onChange","onClick"]),f=h.useContext(O.E_).getPrefixCls,p=function(e){null==a||a(!o),null==c||c(e)},m=f("tag",n),g=l()(m,(t={},(0,i.Z)(t,"".concat(m,"-checkable"),!0),(0,i.Z)(t,"".concat(m,"-checkable-checked"),o),t),s);return h.createElement("span",(0,r.Z)({},u,{className:g,onClick:p}))},m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},g=RegExp("^(".concat(u.Y.join("|"),")(-inverse)?$")),Q=RegExp("^(".concat(u.E.join("|"),")$")),b=function(e,t){var n,a=e.prefixCls,u=e.className,d=e.style,p=e.children,b=e.icon,x=e.color,k=e.onClose,y=e.closeIcon,v=e.closable,$=m(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),S=h.useContext(O.E_),w=S.getPrefixCls,T=S.direction,P=h.useState(!0),R=(0,s.Z)(P,2),C=R[0],Z=R[1];h.useEffect(function(){"visible"in $&&Z($.visible)},[$.visible]);var X=function(){return!!x&&(g.test(x)||Q.test(x))},j=(0,r.Z)({backgroundColor:x&&!X()?x:void 0},d),W=X(),A=w("tag",a),_=l()(A,(n={},(0,i.Z)(n,"".concat(A,"-").concat(x),W),(0,i.Z)(n,"".concat(A,"-has-color"),x&&!W),(0,i.Z)(n,"".concat(A,"-hidden"),!C),(0,i.Z)(n,"".concat(A,"-rtl"),"rtl"===T),n),u),q=function(e){e.stopPropagation(),null==k||k(e),!e.defaultPrevented&&("visible"in $||Z(!1))},z="onClick"in $||p&&"a"===p.type,I=(0,c.Z)($,["visible"]),E=b||null,G=E?h.createElement(h.Fragment,null,E,h.createElement("span",null,p)):p,L=h.createElement("span",(0,r.Z)({},I,{ref:t,className:_,style:j}),G,void 0!==v&&v?y?h.createElement("span",{className:"".concat(A,"-close-icon"),onClick:q},y):h.createElement(o.Z,{className:"".concat(A,"-close-icon"),onClick:q}):null);return z?h.createElement(f.Z,null,L):L},x=h.forwardRef(b);x.CheckableTag=p;var k=x},77916:function(e,t,n){"use strict";n.d(t,{Z:function(){return e$}});var i=n(87462),r=n(67294),s=n(4942),o=n(74165),a=n(71002),l=n(74902),c=n(97685),h=n(94184),O=n.n(h),u=n(15671),f=n(43144),d=n(60136),p=n(33643),m=n(45987),g=n(15861),Q=n(64217);function b(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function x(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(t){var i=e.data[t];if(Array.isArray(i)){i.forEach(function(e){n.append("".concat(t,"[]"),e)});return}n.append(t,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300){var n;return e.onError(((n=Error("cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"))).status=t.status,n.method=e.method,n.url=e.action,n),b(t))}return e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};return null!==i["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(i).forEach(function(e){null!==i[e]&&t.setRequestHeader(e,i[e])}),t.send(n),{abort:function(){t.abort()}}}var k=+new Date,y=0;function v(){return"rc-upload-".concat(k,"-").concat(++y)}var $=n(80334),S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",s=r.replace(/\/.*$/,"");return n.some(function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=i.toLowerCase(),o=t.toLowerCase(),a=[o];return(".jpg"===o||".jpeg"===o)&&(a=[".jpg",".jpeg"]),a.some(function(e){return n.endsWith(e)})}return/\/\*$/.test(t)?s===t.replace(/\/.*$/,""):r===t||!!/^\w+$/.test(t)&&((0,$.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)})}return!0},w=function(e,t,n){var i=function e(i,r){if(i.path=r||"",i.isFile)i.file(function(e){n(e)&&(i.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))});else if(i.isDirectory){var s,o,a;s=function(t){t.forEach(function(t){e(t,"".concat(r).concat(i.name,"/"))})},o=i.createReader(),a=[],function e(){o.readEntries(function(t){var n=Array.prototype.slice.apply(t);a=a.concat(n),n.length?e():s(a)})}()}};e.forEach(function(e){i(e.webkitGetAsEntry())})},T=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],P=function(e){(0,d.Z)(n,e);var t=(0,p.Z)(n);function n(){(0,u.Z)(this,n);for(var e,i,r=arguments.length,s=Array(r),c=0;c0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(n)||[""])[0]},er=function(e){return 0===e.indexOf("image/")},es=function(e){if(e.type&&!e.thumbUrl)return er(e.type);var t=e.thumbUrl||e.url||"",n=ei(t);return!!(/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n};function eo(e){return new Promise(function(t){if(!e.type||!er(e.type)){t("");return}var n=document.createElement("canvas");n.width=200,n.height=200,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(200,"px; height: ").concat(200,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var i=n.getContext("2d"),r=new Image;if(r.onload=function(){var e=r.width,s=r.height,o=200,a=200,l=0,c=0;e>s?c=-((a=s*(200/e))-o)/2:l=-((o=e*(200/s))-a)/2,i.drawImage(r,l,c,o,a);var h=n.toDataURL();document.body.removeChild(n),t(h)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var s=new FileReader;s.addEventListener("load",function(){s.result&&(r.src=s.result)}),s.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var ea=n(48689),el={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ec=function(e,t){return r.createElement(I.Z,(0,q.Z)((0,q.Z)({},e),{},{ref:t,icon:el}))};ec.displayName="DownloadOutlined";var eh=r.forwardRef(ec),eO=n(99611),eu=n(97910),ef=n(94199),ed=r.forwardRef(function(e,t){var n,o=e.prefixCls,a=e.className,l=e.style,h=e.locale,u=e.listType,f=e.file,d=e.items,p=e.progress,m=e.iconRender,g=e.actionIconRender,Q=e.itemRender,b=e.isImgUrl,x=e.showPreviewIcon,k=e.showRemoveIcon,y=e.showDownloadIcon,v=e.previewIcon,$=e.removeIcon,S=e.downloadIcon,w=e.onPreview,T=e.onDownload,P=e.onClose,R=f.status,C=r.useState(R),Z=(0,c.Z)(C,2),X=Z[0],W=Z[1];r.useEffect(function(){"removed"!==R&&W(R)},[R]);var A=r.useState(!1),_=(0,c.Z)(A,2),q=_[0],z=_[1],I=r.useRef();r.useEffect(function(){return I.current=setTimeout(function(){z(!0)},300),function(){window.clearTimeout(I.current)}},[]);var E=m(f),G=r.createElement("div",{className:"".concat(o,"-text-icon")},E);if("picture"===u||"picture-card"===u){if("uploading"!==X&&(f.thumbUrl||f.url)){var L,D=(null==b?void 0:b(f))?r.createElement("img",{src:f.thumbUrl||f.url,alt:f.name,className:"".concat(o,"-list-item-image"),crossOrigin:f.crossOrigin}):E,N=O()((L={},(0,s.Z)(L,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(L,"".concat(o,"-list-item-file"),b&&!b(f)),L));G=r.createElement("a",{className:N,onClick:function(e){return w(f,e)},href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer"},D)}else{var U,M,J,V,Y=O()((V={},(0,s.Z)(V,"".concat(o,"-list-item-thumbnail"),!0),(0,s.Z)(V,"".concat(o,"-list-item-file"),"uploading"!==X),V));G=r.createElement("div",{className:Y},E)}}var F=O()((U={},(0,s.Z)(U,"".concat(o,"-list-item"),!0),(0,s.Z)(U,"".concat(o,"-list-item-").concat(X),!0),(0,s.Z)(U,"".concat(o,"-list-item-list-type-").concat(u),!0),U)),H="string"==typeof f.linkProps?JSON.parse(f.linkProps):f.linkProps,K=k?g(("function"==typeof $?$(f):$)||r.createElement(ea.Z,null),function(){return P(f)},o,h.removeFile):null,ee=y&&"done"===X?g(("function"==typeof S?S(f):S)||r.createElement(eh,null),function(){return T(f)},o,h.downloadFile):null,et="picture-card"!==u&&r.createElement("span",{key:"download-delete",className:O()("".concat(o,"-list-item-card-actions"),{picture:"picture"===u})},ee,K),en=O()("".concat(o,"-list-item-name")),ei=f.url?[r.createElement("a",(0,i.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:en,title:f.name},H,{href:f.url,onClick:function(e){return w(f,e)}}),f.name),et]:[r.createElement("span",{key:"view",className:en,onClick:function(e){return w(f,e)},title:f.name},f.name),et],er=x?r.createElement("a",{href:f.url||f.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:f.url||f.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return w(f,e)},title:h.previewFile},"function"==typeof v?v(f):v||r.createElement(eO.Z,null)):null,es="picture-card"===u&&"uploading"!==X&&r.createElement("span",{className:"".concat(o,"-list-item-actions")},er,"done"===X&&ee,K);n=f.response&&"string"==typeof f.response?f.response:(null===(M=f.error)||void 0===M?void 0:M.statusText)||(null===(J=f.error)||void 0===J?void 0:J.message)||h.uploadError;var eo=r.createElement("span",{className:"".concat(o,"-span")},G,ei),el=(0,r.useContext(j.E_).getPrefixCls)(),ec=r.createElement("div",{className:F},r.createElement("div",{className:"".concat(o,"-list-item-info")},eo),es,q&&r.createElement(B.Z,{motionName:"".concat(el,"-fade"),visible:"uploading"===X,motionDeadline:2e3},function(e){var t=e.className,n="percent"in f?r.createElement(eu.Z,(0,i.Z)({},p,{type:"line",percent:f.percent})):null;return r.createElement("div",{className:O()("".concat(o,"-list-item-progress"),t)},n)})),ed=O()("".concat(o,"-list-").concat(u,"-container"),a),ep="error"===X?r.createElement(ef.Z,{title:n,getPopupContainer:function(e){return e.parentNode}},ec):ec;return r.createElement("div",{className:ed,style:l,ref:t},Q?Q(ep,f,d,{download:T.bind(null,f),preview:w.bind(null,f),remove:P.bind(null,f)}):ep)}),ep=(0,i.Z)({},H.ZP);delete ep.onAppearEnd,delete ep.onEnterEnd,delete ep.onLeaveEnd;var em=function(e,t){var n,o=e.listType,a=void 0===o?"text":o,h=e.previewFile,u=void 0===h?eo:h,f=e.onPreview,d=e.onDownload,p=e.onRemove,m=e.locale,g=e.iconRender,Q=e.isImageUrl,b=void 0===Q?es:Q,x=e.prefixCls,k=e.items,y=void 0===k?[]:k,v=e.showPreviewIcon,$=void 0===v||v,S=e.showRemoveIcon,w=void 0===S||S,T=e.showDownloadIcon,P=void 0!==T&&T,R=e.removeIcon,C=e.previewIcon,Z=e.downloadIcon,X=e.progress,W=void 0===X?{strokeWidth:2,showInfo:!1}:X,A=e.appendAction,_=e.appendActionVisible,q=e.itemRender,z=(0,F.Z)(),I=r.useState(!1),E=(0,c.Z)(I,2),D=E[0],N=E[1];r.useEffect(function(){("picture"===a||"picture-card"===a)&&(y||[]).forEach(function(e){"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",u&&u(e.originFileObj).then(function(t){e.thumbUrl=t||"",z()}))})},[a,y,u]),r.useEffect(function(){N(!0)},[]);var M=function(e,t){if(f)return null==t||t.preventDefault(),f(e)},J=function(e){"function"==typeof d?d(e):e.url&&window.open(e.url)},H=function(e){null==p||p(e)},ee=function(e){if(g)return g(e,a);var t="uploading"===e.status,n=b&&b(e)?r.createElement(V,null):r.createElement(G,null),i=t?r.createElement(L.Z,null):r.createElement(U,null);return"picture"===a?i=t?r.createElement(L.Z,null):n:"picture-card"===a&&(i=t?m.uploading:n),i},et=function(e,t,n,s){var o={type:"text",size:"small",title:s,onClick:function(n){t(),(0,K.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if((0,K.l$)(e)){var a=(0,K.Tm)(e,(0,i.Z)((0,i.Z)({},e.props),{onClick:function(){}}));return r.createElement(Y.Z,(0,i.Z)({},o,{icon:a}))}return r.createElement(Y.Z,(0,i.Z)({},o),r.createElement("span",null,e))};r.useImperativeHandle(t,function(){return{handlePreview:M,handleDownload:J}});var en=r.useContext(j.E_),ei=en.getPrefixCls,er=en.direction,ea=ei("upload",x),el=O()((n={},(0,s.Z)(n,"".concat(ea,"-list"),!0),(0,s.Z)(n,"".concat(ea,"-list-").concat(a),!0),(0,s.Z)(n,"".concat(ea,"-list-rtl"),"rtl"===er),n)),ec=(0,l.Z)(y.map(function(e){return{key:e.uid,file:e}})),eh={motionDeadline:2e3,motionName:"".concat(ea,"-").concat("picture-card"===a?"animate-inline":"animate"),keys:ec,motionAppear:D};return"picture-card"!==a&&(eh=(0,i.Z)((0,i.Z)({},ep),eh)),r.createElement("div",{className:el},r.createElement(B.V,(0,i.Z)({},eh,{component:!1}),function(e){var t=e.key,n=e.file,i=e.className,s=e.style;return r.createElement(ed,{key:t,locale:m,prefixCls:ea,className:i,style:s,file:n,items:y,progress:W,listType:a,isImgUrl:b,showPreviewIcon:$,showRemoveIcon:w,showDownloadIcon:P,removeIcon:R,previewIcon:C,downloadIcon:Z,iconRender:ee,actionIconRender:et,itemRender:q,onPreview:M,onDownload:J,onClose:H})}),A&&r.createElement(B.Z,(0,i.Z)({},eh,{visible:void 0===_||_,forceRender:!0}),function(e){var t=e.className,n=e.style;return(0,K.Tm)(A,function(e){return{className:O()(e.className,t),style:(0,i.Z)((0,i.Z)((0,i.Z)({},n),{pointerEvents:t?"none":void 0}),e.style)}})}))},eg=r.forwardRef(em),eQ="__LIST_IGNORE_".concat(Date.now(),"__"),eb=function(e,t){var n,h=e.fileList,u=e.defaultFileList,f=e.onRemove,d=e.showUploadList,p=void 0===d||d,m=e.listType,g=void 0===m?"text":m,Q=e.onPreview,b=e.onDownload,x=e.onChange,k=e.onDrop,y=e.previewFile,v=e.disabled,$=e.locale,S=e.iconRender,w=e.isImageUrl,T=e.progress,P=e.prefixCls,R=e.className,q=e.type,z=e.children,I=e.style,E=e.itemRender,G=e.maxCount,L=e.data,D=e.multiple,N=e.action,U=e.accept,M=e.supportServerRender,J=r.useContext(W.Z),V=void 0!==v&&v||J,B=(0,Z.Z)(u||[],{value:h,postState:function(e){return null!=e?e:[]}}),Y=(0,c.Z)(B,2),F=Y[0],H=Y[1],K=r.useState("drop"),ei=(0,c.Z)(K,2),er=ei[0],es=ei[1],eo=r.useRef();r.useMemo(function(){var e=Date.now();(h||[]).forEach(function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))})},[h]);var ea=function(e,t,n){var i=(0,l.Z)(t);1===G?i=i.slice(-1):G&&(i=i.slice(0,G)),(0,X.flushSync)(function(){H(i)});var r={file:e,fileList:i};n&&(r.event=n),null==x||x(r)},el=function(t,n){var i,r,s,l;return i=void 0,r=void 0,s=void 0,l=(0,o.Z)().mark(function i(){var r,s,l,c;return(0,o.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(r=e.beforeUpload,s=e.transformFile,l=t,!r){i.next=13;break}return i.next=5,r(t,n);case 5:if(!1!==(c=i.sent)){i.next=8;break}return i.abrupt("return",!1);case 8:if(delete t[eQ],c!==eQ){i.next=12;break}return Object.defineProperty(t,eQ,{value:!0,configurable:!0}),i.abrupt("return",!1);case 12:"object"===(0,a.Z)(c)&&c&&(l=c);case 13:if(!s){i.next=17;break}return i.next=16,s(l);case 16:l=i.sent;case 17:return i.abrupt("return",l);case 18:case"end":return i.stop()}},i)}),new(s||(s=Promise))(function(e,t){function n(e){try{a(l.next(e))}catch(n){t(n)}}function o(e){try{a(l.throw(e))}catch(n){t(n)}}function a(t){var i;t.done?e(t.value):((i=t.value)instanceof s?i:new s(function(e){e(i)})).then(n,o)}a((l=l.apply(i,r||[])).next())})},ec=function(e){var t=e.filter(function(e){return!e.file[eQ]});if(t.length){var n=t.map(function(e){return ee(e.file)}),i=(0,l.Z)(F);n.forEach(function(e){i=et(e,i)}),n.forEach(function(e,n){var r=e;if(t[n].parsedFile)e.status="uploading";else{var s,o=e.originFileObj;try{s=new File([o],o.name,{type:o.type})}catch(a){(s=new Blob([o],{type:o.type})).name=o.name,s.lastModifiedDate=new Date,s.lastModified=new Date().getTime()}s.uid=e.uid,r=s}ea(r,i)})}},eh=function(e,t,n){try{"string"==typeof e&&(e=JSON.parse(e))}catch(i){}if(en(t,F)){var r=ee(t);r.status="done",r.percent=100,r.response=e,r.xhr=n;var s=et(r,F);ea(r,s)}},eO=function(e,t){if(en(t,F)){var n=ee(t);n.status="uploading",n.percent=e.percent;var i=et(n,F);ea(n,i,e)}},eu=function(e,t,n){if(en(n,F)){var i=ee(n);i.error=e,i.response=t,i.status="error";var r=et(i,F);ea(i,r)}},ef=function(e){var t;Promise.resolve("function"==typeof f?f(e):f).then(function(n){if(!1!==n){var r,s,o,a=(r=void 0!==e.uid?"uid":"name",(s=F.filter(function(t){return t[r]!==e[r]})).length===F.length?null:s);a&&(t=(0,i.Z)((0,i.Z)({},e),{status:"removed"}),null==F||F.forEach(function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")}),null===(o=eo.current)||void 0===o||o.abort(t),ea(t,a))}})},ed=function(e){es(e.type),"drop"===e.type&&(null==k||k(e))};r.useImperativeHandle(t,function(){return{onBatchStart:ec,onSuccess:eh,onProgress:eO,onError:eu,fileList:F,upload:eo.current}});var ep=r.useContext(j.E_),em=ep.getPrefixCls,eb=ep.direction,ex=em("upload",P),ek=(0,i.Z)((0,i.Z)({onBatchStart:ec,onError:eu,onProgress:eO,onSuccess:eh},e),{data:void 0===L?{}:L,multiple:void 0!==D&&D,action:void 0===N?"":N,accept:void 0===U?"":U,supportServerRender:void 0===M||M,prefixCls:ex,disabled:V,beforeUpload:el,onChange:void 0});delete ek.className,delete ek.style,(!z||V)&&delete ek.id;var ey=function(e,t){return p?r.createElement(A.Z,{componentName:"Upload",defaultLocale:_.Z.Upload},function(n){var s="boolean"==typeof p?{}:p,o=s.showRemoveIcon,a=s.showPreviewIcon,l=s.showDownloadIcon,c=s.removeIcon,h=s.previewIcon,O=s.downloadIcon;return r.createElement(eg,{prefixCls:ex,listType:g,items:F,previewFile:y,onPreview:Q,onDownload:b,onRemove:ef,showRemoveIcon:!V&&o,showPreviewIcon:a,showDownloadIcon:l,removeIcon:c,previewIcon:h,downloadIcon:O,iconRender:S,locale:(0,i.Z)((0,i.Z)({},n),$),isImageUrl:w,progress:T,appendAction:e,appendActionVisible:t,itemRender:E})}):e};if("drag"===(void 0===q?"select":q)){var ev,e$,eS=O()(ex,(e$={},(0,s.Z)(e$,"".concat(ex,"-drag"),!0),(0,s.Z)(e$,"".concat(ex,"-drag-uploading"),F.some(function(e){return"uploading"===e.status})),(0,s.Z)(e$,"".concat(ex,"-drag-hover"),"dragover"===er),(0,s.Z)(e$,"".concat(ex,"-disabled"),V),(0,s.Z)(e$,"".concat(ex,"-rtl"),"rtl"===eb),e$),R);return r.createElement("span",null,r.createElement("div",{className:eS,onDrop:ed,onDragOver:ed,onDragLeave:ed,style:I},r.createElement(C,(0,i.Z)({},ek,{ref:eo,className:"".concat(ex,"-btn")}),r.createElement("div",{className:"".concat(ex,"-drag-container")},z))),ey())}var ew=O()(ex,(ev={},(0,s.Z)(ev,"".concat(ex,"-select"),!0),(0,s.Z)(ev,"".concat(ex,"-select-").concat(g),!0),(0,s.Z)(ev,"".concat(ex,"-disabled"),V),(0,s.Z)(ev,"".concat(ex,"-rtl"),"rtl"===eb),ev)),eT=(n=z?void 0:{display:"none"},r.createElement("div",{className:ew,style:n},r.createElement(C,(0,i.Z)({},ek,{ref:eo}))));return"picture-card"===g?r.createElement("span",{className:O()("".concat(ex,"-picture-card-wrapper"),R)},ey(eT,!!z)):r.createElement("span",{className:R},eT,ey())},ex=r.forwardRef(eb),ek=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},ey=r.forwardRef(function(e,t){var n=e.style,s=e.height,o=ek(e,["style","height"]);return r.createElement(ex,(0,i.Z)({ref:t},o,{type:"drag",style:(0,i.Z)((0,i.Z)({},n),{height:s})}))}),ev=ex;ev.Dragger=ey,ev.LIST_IGNORE=eQ;var e$=ev},27561:function(e,t,n){var i=n(67990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var i=n(13218),r=n(7771),s=n(14841),o=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,h,O,u,f,d=0,p=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function Q(t){var n=l,i=c;return l=c=void 0,d=t,O=e.apply(i,n)}function b(e){var n=e-f,i=e-d;return void 0===f||n>=t||n<0||m&&i>=h}function x(){var e,n,i,s=r();if(b(s))return k(s);u=setTimeout(x,(e=s-f,n=s-d,i=t-e,m?a(i,h-n):i))}function k(e){return(u=void 0,g&&l)?Q(e):(l=c=void 0,O)}function y(){var e,n=r(),i=b(n);if(l=arguments,c=this,f=n,i){if(void 0===u)return d=e=f,u=setTimeout(x,t),p?Q(e):O;if(m)return clearTimeout(u),u=setTimeout(x,t),Q(f)}return void 0===u&&(u=setTimeout(x,t)),O}return t=s(t)||0,i(n)&&(p=!!n.leading,h=(m="maxWait"in n)?o(s(n.maxWait)||0,t):h,g="trailing"in n?!!n.trailing:g),y.cancel=function(){void 0!==u&&clearTimeout(u),d=0,l=f=c=u=void 0},y.flush=function(){return void 0===u?O:k(r())},y}},33448:function(e,t,n){var i=n(44239),r=n(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,t,n){var i=n(55639),r=function(){return i.Date.now()};e.exports=r},14841:function(e,t,n){var i=n(27561),r=n(13218),s=n(33448),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,h=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||c.test(e)?h(e.slice(2),n?2:8):a.test(e)?o:+e}},34790:function(e,t,n){"use strict";n.d(t,{B1:function(){return e$},GA:function(){return eQ},Gn:function(){return er},Mb:function(){return l},eC:function(){return c},vQ:function(){return eO},ys:function(){return ev}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&0>e.indexOf(t.name);)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(u(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function a(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[n,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let r=1;r{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let i=(0,s.qz)(n.state).resolveInner(n.pos,-1);i;i=i.parent)if(e.indexOf(i.name)>-1)return null;return t(n)}}class h{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function O(e){return e.selection.main.head}function u(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function f(e,t){let n=t.completion.apply||t.completion.label,r=t.source;if("string"==typeof n){var s,o,a;e.dispatch((s=e.state,o=r.from,a=r.to,Object.assign(Object.assign({},s.changeByRange(e=>{if(e==s.selection.main)return{changes:{from:o,to:a,insert:n},range:i.jT.cursor(o+n.length)};let t=a-o;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(o,a)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:n},range:i.jT.cursor(e.from-t+n.length)}})),{userEvent:"input.complete"})))}else n(e,t.completion,r.from,r.to)}let d=new WeakMap;function p(e){if(!Array.isArray(e))return e;let t=d.get(e);return t||d.set(e,t=l(e)),t}class m{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&S<=57||S>=97&&S<=122?2:S>=65&&S<=90?1:0:(w=(0,i.bg)(S))!=w.toLowerCase()?1:w!=w.toUpperCase()?2:0;(!y||1==T&&x||0==$&&0!=T)&&(t[p]==S||n[p]==S&&(m=!0)?o[p++]=y:o.length&&(k=!1)),$=T,y+=(0,i.nZ)(S)}return p==c&&0==o[0]&&k?this.result(-100+(m?-200:0),o,e):g==c&&0==Q?[-200-e.length,0,b]:l>-1?[-700-e.length,l,l+this.pattern.length]:g==c?[-900-e.length,Q,b]:p==c?this.result(-100+(m?-200:0)+-700+(k?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let a=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=a:(r[s++]=o,r[s++]=a)}return r}}let g=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>{var i,r;return i=e(n),r=t(n),i?r?i+" "+r:i:r},addToOptions:(e,t)=>e.concat(t)})});function Q(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class b{constructor(e,t){let n;this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this};let i=e.state.field(t),{options:r,selected:s}=i.open,o=e.state.facet(g);this.optionContent=(n=o.addToOptions.slice(),o.icons&&n.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),n.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,a)));let c=i.appendChild(document.createElement("span"));c.appendChild(document.createTextNode(r.slice(a,l))),c.className="cm-completionMatchedText",s=l}return se.position-t.position).map(e=>e.render)),this.optionClass=o.optionClass,this.range=Q(r.length,s,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",t=>{for(let n=t.target,i;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(i=/-(\d+)$/.exec(n.id))&&+i[1]{this.info&&this.view.requestMeasure(this.placeInfo)})}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Q(t.options.length,t.selected,this.view.state.facet(g).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfo)})),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"==typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)}).catch(e=>(0,r.OO)(this.view.state,e,"completion info")):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){var t,n;let i,r,s=null;for(let o=this.list.firstChild,a=this.range.from;o;o=o.nextSibling,a++)a==e?o.hasAttribute("aria-selected")||(o.setAttribute("aria-selected","true"),s=o):o.hasAttribute("aria-selected")&&o.removeAttribute("aria-selected");return s&&(t=this.list,n=s,i=t.getBoundingClientRect(),(r=n.getBoundingClientRect()).topi.bottom&&(t.scrollTop+=r.bottom-i.bottom)),s}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,n.bottom)-10||s.bottom=i.height||d>n.top?h=s.bottom-n.top+"px":O=n.bottom-s.top+"px"}return{top:h,bottom:O,maxWidth:c,class:l?o?"left-narrow":"right-narrow":a?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){let i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new k(this.options,$(t,e),this.tooltip,this.timestamp,e)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let r of e)if(r.hasResult()){if(!1===r.result.filter){let s=r.result.getMatch;for(let o of r.result.options){let a=[1e9-i++];if(s)for(let l of s(o))a.push(l);n.push(new h(o,r,a))}}else{let c=new m(t.sliceDoc(r.from,r.to)),O;for(let u of r.result.options)(O=c.match(u.label))&&(null!=u.boost&&(O[0]+=u.boost),n.push(new h(u,r,O)))}}let f=[],d=null,p=t.facet(g).compareCompletions;for(let Q of n.sort((e,t)=>t.match[0]-e.match[0]||p(e.completion,t.completion)))d&&d.label==Q.completion.label&&d.detail==Q.completion.detail&&(null==d.type||null==Q.completion.type||d.type==Q.completion.type)&&d.apply==Q.completion.apply?x(Q.completion)>x(d)&&(f[f.length-1]=Q):f.push(Q),d=Q.completion;return f}(e,t);if(!s.length)return null;let o=t.facet(g).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let a=i.options[i.selected].completion;for(let l=0;lt.hasResult()?Math.min(e,t.from):e,1e8),create:e=>new b(e,j),above:r.aboveCursor},i?i.timestamp:Date.now(),o)}map(e){return new k(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class y{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new y(S,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(g),i=(n.override||t.languageDataAt("autocomplete",O(t)).map(p)).map(t=>(this.active.find(e=>e.source==t)||new T(t,this.active.some(e=>0!=e.state)?1:0)).update(e,n));i.length==this.active.length&&i.every((e,t)=>e==this.active[t])&&(i=this.active);let r=e.selection||i.some(t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1!=e.state)&&i.some(e=>e.hasResult())&&(i=i.map(e=>e.hasResult()?new T(e.source,0):e)),e.effects))s.is(X)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new y(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:v}}let v={"aria-autocomplete":"list"};function $(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}let S=[];function w(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class T{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=w(e),i=this;for(let r of(n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new T(i.source,0)),e.effects))if(r.is(R))i=new T(i.source,1,r.value?O(e.state):-1);else if(r.is(C))i=new T(i.source,0);else if(r.is(Z))for(let s of r.value)s.source==i.source&&(i=s);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new T(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(O(e.startState))?new T(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new T(this.source,this.state,e.mapPos(this.explicitPos))}}class P extends T{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=O(e.state);if((this.explicitPos<0?a<=r:as||"delete"==t&&O(e.startState)==this.from)return new T(this.source,"input"==t&&n.activateOnTyping?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),c;return!function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):u(e,!0).test(r)}(this.result.validFor,e.state,r,s)?this.result.update&&(c=this.result.update(this.result,r,s,new o(e.state,a,l>=0)))?new P(this.source,l,c,c.from,null!==(i=c.to)&&void 0!==i?i:O(e.state)):new T(this.source,1,l):new P(this.source,l,this.result,r,s)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new T(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new P(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}let R=i.Py.define(),C=i.Py.define(),Z=i.Py.define({map:(e,t)=>e.map(e=>e.map(t))}),X=i.Py.define(),j=i.QQ.define({create:()=>y.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,e=>e.tooltip),r.tk.contentAttributes.from(e,e=>e.attrs)]});function W(e,t="option"){return n=>{let i=n.state.field(j,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+s*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),n.dispatch({effects:X.of(l)}),!0}}let A=e=>{let t=e.state.field(j,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestamp!!e.state.field(j,!1)&&(e.dispatch({effects:R.of(!0)}),!0),q=e=>{let t=e.state.field(j,!1);return!!(t&&t.active.some(e=>0!=e.state))&&(e.dispatch({effects:C.of(null)}),!0)};class z{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}let I=r.lg.fromClass(class{constructor(e){for(let t of(this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0,e.state.field(j).active))1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(j);if(!e.selectionSet&&!e.docChanged&&e.startState.field(j)==t)return;let n=e.transactions.some(e=>(e.selection||e.docChanged)&&!w(e));for(let i=0;i50&&Date.now()-s.time>1e3){for(let o of s.context.abortListeners)try{o()}catch(a){(0,r.OO)(this.view.state,a)}s.context.abortListeners=null,this.running.splice(i--,1)}else s.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some(e=>1==e.state&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),50):-1,0!=this.composing)for(let l of e.transactions)"input"==w(l)?this.composing=2:2==this.composing&&l.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(j);for(let n of t.active)1!=n.state||this.running.some(e=>e.active.source==n.source)||this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=O(t),i=new o(t,n,e.explicitPos==n),s=new z(e,i);this.running.push(s),Promise.resolve(e.source(i)).then(e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:C.of(null)}),(0,r.OO)(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(g);for(let i=0;ie.source==r.active.source);if(a&&1==a.state){if(null==r.done){let l=new T(r.active.source,0);for(let c of r.updates)l=l.update(c,n);1!=l.state&&t.push(l)}else this.startQuery(a)}}t.length&&this.view.dispatch({effects:Z.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field(j,!1);e&&e.tooltip&&this.view.state.facet(g).closeOnBlur&&this.view.dispatch({effects:C.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:R.of(!1)}),20),this.composing=0}}}),E=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'\uD835\uDC65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\uD835\uDC36'"}},".cm-completionIcon-type":{"&:after":{content:"'\uD835\uDC61'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\uD83D\uDD11︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class G{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class L{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new L(this.field,t,n)}}class D{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let a of this.lines){if(n.length){let l=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew L(e.field,i[e.line]+e.from,i[e.line]+e.to));return{text:n,ranges:O}}static parse(e){let t=[],n=[],i=[],r;for(let s of e.split(/\r\n?|\n/)){for(;r=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let o=r[1]?+r[1]:null,a=r[2]||r[3]||"",l=-1;for(let c=0;c=l&&O.field++}i.push(new G(l,n.length,r.index,r.index+a.length)),s=s.slice(0,r.index)+a+s.slice(r.index+r[0].length)}for(let u;u=/([$#])\\{/.exec(s);)for(let f of(s=s.slice(0,u.index)+u[1]+"{"+s.slice(u.index+u[0].length),i))f.line==n.length&&f.from>u.index&&(f.from--,f.to--);n.push(s)}return new D(n,i)}}let N=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),U=r.p.mark({class:"cm-snippetField"});class M{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map(e=>(e.from==e.to?N:U).range(e.from,e.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new M(t,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}}let J=i.Py.define({map:(e,t)=>e&&e.map(t)}),V=i.Py.define(),B=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(J))return n.value;if(n.is(V)&&e)return new M(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,e=>e?e.deco:r.p.none)});function Y(e,t){return i.jT.create(e.filter(e=>e.field==t).map(e=>i.jT.range(e.from,e.to)))}function F(e){return({state:t,dispatch:n})=>{let i=t.field(B,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some(t=>t.field==r+e);return n(t.update({selection:Y(i.ranges,r),effects:J.of(s?null:new M(i.ranges,r))})),!0}}let H=({state:e,dispatch:t})=>!!e.field(B,!1)&&(t(e.update({effects:J.of(null)})),!0),K=F(1),ee=F(-1),et=[{key:"Tab",run:K,shift:ee},{key:"Escape",run:H}],en=i.r$.define({combine:e=>e.length?e[0]:et}),ei=i.Wl.highest(r.$f.compute([en],e=>e.facet(en)));function er(e,t){let n;return Object.assign(Object.assign({},t),{apply:(n=D.parse(e),(e,t,r,s)=>{let{text:o,ranges:a}=n.instantiate(e.state,r),l={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=Y(a,0)),a.length>1){let c=new M(a,0),h=l.effects=[J.of(c)];void 0===e.state.field(B,!1)&&h.push(i.Py.appendConfig.of([B,ei,es,E]))}e.dispatch(e.state.update(l))})})}let es=r.tk.domEventHandlers({mousedown(e,t){let n=t.state.field(B,!1),i;if(!n||null==(i=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=n.ranges.find(e=>e.from<=i&&e.to>=i);return!!r&&r.field!=n.active&&(t.dispatch({selection:Y(n.ranges,r.field),effects:J.of(n.ranges.some(e=>e.field>r.field)?new M(n.ranges,r.field):null)}),!0)}}),eo={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ea=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),el=i.Py.define({map:(e,t)=>t.mapPos(e)}),ec=new class extends i.uU{};ec.startSide=1,ec.endSide=-1;let eh=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}for(let s of(e=e.map(t.changes),t.effects))s.is(ea)?e=e.update({add:[ec.range(s.value,s.value+1)]}):s.is(el)&&(e=e.update({filter:e=>e!=s.value}));return e}});function eO(){return[em,eh]}let eu="()[]{}<>";function ef(e){for(let t=0;t{if((ep?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=o.from||n!=o.to)return!1;let a=function(e,t){let n=ed(e,e.selection.main.head),r=n.brackets||eo.brackets;for(let o of r){let a=ef((0,i.gm)(o,0));if(t==o)return a==o?function(e,t,n,r){let o=r.stringPrefixes||eo.stringPrefixes,a=null,l=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ea.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let l=r.head,c=ex(e.doc,l),h;if(c==t){if(ek(e,l))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};if(eb(e,l)){let O=n&&e.sliceDoc(l,l+3*t.length)==t+t+t;return{range:i.jT.cursor(l+t.length*(O?3:1)),effects:el.of(l)}}}else if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(h=ey(e,l-2*t.length,o))>-1&&ek(e,h))return{changes:{insert:t+t+t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};else if(e.charCategorizer(l)(c)!=i.D0.Word&&ey(e,l,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce((e,t)=>Math.max(e,t.length),0);for(let a=0;a<5;a++){let l=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),c=l.indexOf(n);if(!c||c>-1&&i.indexOf(l.slice(0,c))>-1){let h=r.firstChild;for(;h&&h.from==r.from&&h.to-h.from>n.length+c;){if(e.sliceDoc(h.to-n.length,h.to)==n)return!1;h=h.firstChild}return!0}let O=r.to==t&&r.parent;if(!O)break;r=O}return!1}(e,l,t,o))return{changes:{insert:t+t,from:l},effects:ea.of(l+t.length),range:i.jT.cursor(l+t.length)};return{range:a=r}});return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,r.indexOf(o+o+o)>-1,n):function(e,t,n,r){let s=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ea.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let a=ex(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:ea.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}});return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}(e,o,a,n.before||eo.before);if(t==a&&eb(e,e.selection.main.from))return function(e,t,n){let r=null,s=e.selection.ranges.map(t=>t.empty&&ex(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t);return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map(({from:e})=>el.of(e))})}(e,0,a)}return null}(e.state,r);return!!a&&(e.dispatch(a),!0)}),eg=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ed(e,e.selection.main.head).brackets||eo.brackets,r=null,s=e.changeByRange(t=>{if(t.empty){var s,o;let a;let l=(s=e.doc,o=t.head,a=s.sliceString(o-2,o),(0,i.nZ)((0,i.gm)(a,0))==a.length?a:a.slice(1));for(let c of n)if(c==l&&ex(e.doc,t.head)==ef((0,i.gm)(c,0)))return{changes:{from:t.head-c.length,to:t.head+c.length},range:i.jT.cursor(t.head-c.length)}}return{range:r=t}});return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},eQ=[{key:"Backspace",run:eg}];function eb(e,t){let n=!1;return e.field(eh).between(0,e.doc.length,e=>{e==t&&(n=!0)}),n}function ex(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function ek(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function ey(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let o=t-s.length;if(e.sliceDoc(o,t)==s&&r(e.sliceDoc(o-1,o))!=i.D0.Word)return o}return -1}function ev(e={}){return[j,g.of(e),I,eS,E]}let e$=[{key:"Ctrl-Space",run:_},{key:"Escape",run:q},{key:"ArrowDown",run:W(!0)},{key:"ArrowUp",run:W(!1)},{key:"PageDown",run:W(!0,"page")},{key:"PageUp",run:W(!1,"page")},{key:"Enter",run:A}],eS=i.Wl.highest(r.$f.computeN([g],e=>e.facet(g).defaultKeymap?[e$]:[]))},61426:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return $},cssCompletionSource:function(){return y},cssLanguage:function(){return v}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}let a=new i.Jq((e,t)=>{for(let n=!1,i=0,r=0;;r++){var s;let{next:a}=e;if(o(a)||45==a||95==a||n&&(s=a)>=48&&s<=57)!n&&(45!=a||r>0)&&(n=!0),i===r&&45==a&&i++,e.advance();else{n&&e.acceptToken(40==a?94:2==i&&t.canShift(2)?2:95);break}}}),l=new i.Jq(e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}}),c=new i.Jq(e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do e.advance();while(o(e.next));e.acceptToken(1)}}}),h=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),O={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},u={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},f={__proto__:null,not:128,only:128,from:158,to:160},d=i.WQ.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ[O'#DoO*OQWO'#EiO$xQ[O'#DmO*^QWO'#DpOOQO'#Ej'#EjO%|QWO,5:^O*cQpO,5:`OOQS'#Dx'#DxO*kQWO,5:bO*pQ[O,5:bOOQO'#D{'#D{O*xQWO,5:eO*}QWO,5:kO+VQWO,5:mOOQS-E8Q-E8QOOQP1G.l1G.lO+yQXO,5:qOOQO-E8T-E8TOOQS1G.g1G.gOO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b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[l,c,a,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:e=>O[e]||-1},{term:56,get:e=>u[e]||-1},{term:95,get:e=>f[e]||-1}],tokenPrec:1078});var p=n(59119);let m=null;function g(){if(!m&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);m=e.sort().map(e=>({type:"property",label:e}))}return m||[]}let Q=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),b=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),x=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),k=/^[\w-]*/,y=e=>{let{state:t,pos:n}=e,i=(0,p.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:g(),validFor:k};if("ValueName"==i.name)return{from:i.from,options:b,validFor:k};if("PseudoClassName"==i.name)return{from:i.from,options:Q,validFor:k};if("TagName"==i.name){for(let{parent:r}=i;r;r=r.parent)if("Block"==r.name)return{from:i.from,options:g(),validFor:k};return{from:i.from,options:x,validFor:k}}if(!e.explicit)return null;let s=i.resolve(n),o=s.childBefore(n);return o&&":"==o.name&&"PseudoClassSelector"==s.name?{from:n,options:Q,validFor:k}:o&&":"==o.name&&"Declaration"==s.name||"ArgList"==s.name?{from:n,options:b,validFor:k}:"Block"==s.name?{from:n,options:g(),validFor:k}:null},v=p.qp.define({name:"css",parser:d.configure({props:[p.uj.add({Declaration:(0,p.tC)()}),p.x0.add({Block:p.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function $(){return new p.ri(v,v.data.of({autocomplete:y}))}},13804:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return ee},html:function(){return K},htmlCompletionSource:function(){return Y},htmlCompletionSourceWith:function(){return F},htmlLanguage:function(){return H}});var i=n(53105),r=n(35524),s=n(41113);let o={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},a={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function c(e){return 9==e||10==e||13==e||32==e}let h=null,O=null,u=0;function f(e,t){var n;let i=e.pos+t;if(u==i&&O==e)return h;let r=e.peek(t);for(;c(r);)r=e.peek(++t);let s="";for(;45==(n=r)||46==n||58==n||n>=65&&n<=90||95==n||n>=97&&n<=122||n>=161;)s+=String.fromCharCode(r),r=e.peek(++t);return O=e,u=i,h=s?s.toLowerCase():r==d||r==p?void 0:null}let d=63,p=33;function m(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;ng.indexOf(t)>-1?new m(f(i,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,n,i){let r=t.type.id;return 4==r||35==r?new m(f(i,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),b=new i.Jq((e,t)=>{if(60!=e.next){e.next<0&&t.context&&e.acceptToken(56);return}e.advance();let n=47==e.next;n&&e.advance();let i=f(e,0);if(void 0===i)return;if(!i)return e.acceptToken(n?12:4);let r=t.context?t.context.name:null;if(n){if(i==r)return e.acceptToken(9);if(r&&a[r])return e.acceptToken(56,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let s=t.context;s;s=s.parent)if(s.name==i)return;e.acceptToken(11)}else{if("script"==i)return e.acceptToken(5);if("style"==i)return e.acceptToken(6);if("textarea"==i)return e.acceptToken(7);if(o.hasOwnProperty(i))return e.acceptToken(8);r&&l[r]&&l[r][i]?e.acceptToken(56,-1):e.acceptToken(4)}},{contextual:!0}),x=new i.Jq(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(57);break}if(45==e.next)t++;else if(62==e.next&&t>=2){n>3&&e.acceptToken(57,-2);break}else t=0;e.advance()}});function k(e,t,n){let r=2+e.length;return new i.Jq(i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(t);break}if(0==s&&60==i.next||1==s&&47==i.next||s>=2&&so?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}else if((10==i.next||13==i.next)&&a){i.acceptToken(t,1);break}else s=o=0;i.advance()}})}let y=k("script",53,1),v=k("style",54,2),$=k("textarea",55,3),S=(0,r.Gv)({"Text RawText":r.pJ.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/TagName":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,"AttributeValue UnquotedAttributeValue":r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta}),w=i.WQ.deser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1G.z1G.zOOOO-E7Y-E7Y",stateData:"+h~O!]OS~OSSOTPOUQOVROWTOY]OZ[O[^O^^O_^O`^Oa^Ow^Oz_O!cZO~OdaO~OdbO~OdcO~OddO~OdeO~O!VfOPkP!YkP~O!WiOQnP!YnP~O!XlORqP!YqP~OSSOTPOUQOVROWTOXqOY]OZ[O[^O^^O_^O`^Oa^Ow^O!cZO~O!YrO~P#dO!ZsO!duO~OdvO~OdwO~OfyOj|O~OfyOj!OO~OfyOj!QO~OfyOj!SO~OfyOj!UO~O!VfOPkX!YkX~OP!WO!Y!XO~O!WiOQnX!YnX~OQ!ZO!Y!XO~O!XlORqX!YqX~OR!]O!Y!XO~O!Y!XO~P#dOd!_O~O!ZsO!d!aO~Oj!bO~Oj!cO~Og!dOfeXjeX~OfyOj!fO~OfyOj!gO~OfyOj!hO~OfyOj!iO~OfyOj!jO~Od!kO~Od!lO~Od!mO~Oj!nO~Oi!qO!_!oO!a!pO~Oj!rO~Oj!sO~Oj!tO~O_!uO`!uOa!uO!_!wO!`!uO~O_!xO`!xOa!xO!a!wO!b!xO~O_!uO`!uOa!uO!_!{O!`!uO~O_!xO`!xOa!xO!a!{O!b!xO~O`_a!cwz!c~",goto:"%o!_PPPPPPPPPPPPPPPPPP!`!fP!lPP!xPP!{#O#R#X#[#_#e#h#k#q#w!`P!`!`P#}$T$k$q$w$}%T%Z%aPPPPPPPP%gX^OX`pXUOX`pezabcde{}!P!R!TR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Q,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[S],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:jiW!``!bpOq(kqr?Rrs'gsv(kwx(]x!a(k!a!bKj!b~(k!R?YZ!``!bpOr(krs'gsv(kwx(]x}(k}!O?{!O!f(k!f!gAR!g#W(k#W#XGz#X~(k!R@SV!``!bpOr(krs'gsv(kwx(]x}(k}!O@i!O~(k!R@rT!``!bp!cPOr(krs'gsv(kwx(]x~(k!RAYV!``!bpOr(krs'gsv(kwx(]x!q(k!q!rAo!r~(k!RAvV!``!bpOr(krs'gsv(kwx(]x!e(k!e!fB]!f~(k!RBdV!``!bpOr(krs'gsv(kwx(]x!v(k!v!wBy!w~(k!RCQV!``!bpOr(krs'gsv(kwx(]x!{(k!{!|Cg!|~(k!RCnV!``!bpOr(krs'gsv(kwx(]x!r(k!r!sDT!s~(k!RD[V!``!bpOr(krs'gsv(kwx(]x!g(k!g!hDq!h~(k!RDxW!``!bpOrDqrsEbsvDqvwEvwxFfx!`Dq!`!aGb!a~DqqEgT!bpOvEbvxEvx!`Eb!`!aFX!a~EbPEyRO!`Ev!`!aFS!a~EvPFXOzPqF`Q!bpzPOv'gx~'gaFkV!``OrFfrsEvsvFfvwEvw!`Ff!`!aGQ!a~FfaGXR!``zPOr(]sv(]w~(]!RGkT!``!bpzPOr(krs'gsv(kwx(]x~(k!RHRV!``!bpOr(krs'gsv(kwx(]x#c(k#c#dHh#d~(k!RHoV!``!bpOr(krs'gsv(kwx(]x#V(k#V#WIU#W~(k!RI]V!``!bpOr(krs'gsv(kwx(]x#h(k#h#iIr#i~(k!RIyV!``!bpOr(krs'gsv(kwx(]x#m(k#m#nJ`#n~(k!RJgV!``!bpOr(krs'gsv(kwx(]x#d(k#d#eJ|#e~(k!RKTV!``!bpOr(krs'gsv(kwx(]x#X(k#X#YDq#Y~(k!RKqW!``!bpOrKjrsLZsvKjvwLowxNPx!aKj!a!b! g!b~KjqL`T!bpOvLZvxLox!aLZ!a!bM^!b~LZPLrRO!aLo!a!bL{!b~LoPMORO!`Lo!`!aMX!a~LoPM^OwPqMcT!bpOvLZvxLox!`LZ!`!aMr!a~LZqMyQ!bpwPOv'gx~'gaNUV!``OrNPrsLosvNPvwLow!aNP!a!bNk!b~NPaNpV!``OrNPrsLosvNPvwLow!`NP!`!a! V!a~NPa! ^R!``wPOr(]sv(]w~(]!R! nW!``!bpOrKjrsLZsvKjvwLowxNPx!`Kj!`!a!!W!a~Kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[y,v,$,b,x,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:476});function T(e,t,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=function(e,t){let n=Object.create(null);for(let i of e.firstChild.getChildren("Attribute")){let r=i.getChild("AttributeName"),s=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");r&&(n[t.read(r.from,r.to)]=s?"AttributeValue"==s.name?t.read(s.from+1,s.to-1):t.read(s.from,s.to):"")}return n}(e.node.parent,t))))return{parser:r.parser};return null}var P=n(61426),R=n(58037),C=n(47421),Z=n(78120),X=n(59119);let j=["_blank","_self","_top","_parent"],W=["ascii","utf-8","utf-16","latin1","latin1"],A=["get","post","put","delete"],_=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],q=["true","false"],z={},I={a:{attrs:{href:null,ping:null,type:null,media:null,target:j,hreflang:null}},abbr:z,address:z,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:z,aside:z,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:z,base:{attrs:{href:null,target:j}},bdi:z,bdo:z,blockquote:{attrs:{cite:null}},body:z,br:z,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:z,center:z,cite:z,code:z,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:z,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:z,div:z,dl:z,dt:z,em:z,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:z,figure:z,footer:z,form:{attrs:{action:null,name:null,"accept-charset":W,autocomplete:["on","off"],enctype:_,method:A,novalidate:["novalidate"],target:j}},h1:z,h2:z,h3:z,h4:z,h5:z,h6:z,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:z,hgroup:z,hr:z,html:{attrs:{manifest:null}},i:z,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:_,formmethod:A,formnovalidate:["novalidate"],formtarget:j,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:z,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:z,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:z,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:W,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:z,noscript:z,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:z,param:{attrs:{name:null,value:null}},pre:z,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:z,rt:z,ruby:z,samp:z,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:W}},section:z,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:z,source:{attrs:{src:null,type:null,media:null}},span:z,strong:z,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:z,summary:z,sup:z,table:z,tbody:z,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:z,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:z,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:z,time:{attrs:{datetime:null}},title:z,tr:z,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:z,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:z},E={accesskey:null,class:null,contenteditable:q,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:q,autocorrect:q,autocapitalize:q,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":q,"aria-autocomplete":["inline","list","both","none"],"aria-busy":q,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":q,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":q,"aria-hidden":q,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":q,"aria-multiselectable":q,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":q,"aria-relevant":null,"aria-required":q,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class G{constructor(e,t){this.tags=Object.assign(Object.assign({},I),e),this.globalAttrs=Object.assign(Object.assign({},E),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function L(e,t,n=e.length){if(!t)return"";let i=t.firstChild,r=i&&i.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,n)):""}function D(e,t=!1){for(let n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function N(e,t,n){let i=n.tags[L(e,D(t,!0))];return(null==i?void 0:i.children)||n.allTags}function U(e,t){let n=[];for(let i=t;i=D(i);){let r=L(e,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&0>n.indexOf(r)&&("EndTag"==t.name||t.from>=i.firstChild.to)&&n.push(r)}return n}G.default=new G;let M=/^[:\-\.\w\u00b7-\uffff]*$/;function J(e,t,n,i,r){let s=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:N(e.doc,n,t).map(e=>({label:e,type:"type"})).concat(U(e.doc,n).map((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function V(e,t,n,i){let r=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:U(e.doc,t).map((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t})),validFor:M}}function B(e,t){let{state:n,pos:i}=t,r=(0,X.qz)(n).resolveInner(i),s=r.resolve(i,-1);for(let o=i,a;r==s&&(a=s.childBefore(o));){let l=a.lastChild;if(!l||!l.type.isError||l.from({label:e,type:"property"})),validFor:M}}return"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.name?function(e,t,n,i,r){var s;let o=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),a=[],l;if(o){let c=e.sliceDoc(o.from,o.to),h=t.globalAttrs[c];if(!h){let O=D(n),u=O?t.tags[L(e.doc,O)]:null;h=(null==u?void 0:u.attrs)&&u.attrs[c]}if(h){let f=e.sliceDoc(i,r).toLowerCase(),d='"',p='"';for(let m of(/^['"]/.test(f)?(l='"'==f[0]?/^[^"]*$/:/^[^']*$/,d="",p=e.sliceDoc(r,r+1)==f[0]?"":f[0],f=f.slice(1),i++):l=/^[^\s<>='"]*$/,h))a.push({label:m,apply:d+m+p,type:"constant"})}}return{from:i,to:r,options:a,validFor:l}}(n,e,s,"Is"==s.name?i:s.from,i):t.explicit&&("Element"==r.name||"Text"==r.name||"Document"==r.name)?function(e,t,n,i){let r=[],s=0;for(let o of N(e.doc,n,t))r.push({label:"<"+o,type:"type"});for(let a of U(e.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,s,i):null}function Y(e){return B(G.default,e)}function F(e){let{extraTags:t,extraGlobalAttributes:n}=e,i=n||t?new G(t,n):G.default;return e=>B(i,e)}let H=X.qp.define({name:"html",parser:w.configure({props:[X.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length{let s=e.type.id;return 27==s?T(e,r,t):30==s?T(e,r,n):33==s?T(e,r,i):null})}([{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:R.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:P.cssLanguage.parser}])}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function K(e={}){let t=H;return!1===e.matchClosingTags&&(t=t.configure({dialect:"noMatch"})),new X.ri(t,[H.data.of({autocomplete:F(e)}),!1!==e.autoCloseTags?ee:[],(0,R.javascript)().support,(0,P.css)().support])}let ee=C.tk.inputHandler.of((e,t,n,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!H.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(t=>{var n,s,o;let{head:a}=t,l=(0,X.qz)(r).resolveInner(a,-1),c;if(("TagName"==l.name||"StartTag"==l.name)&&(l=l.parent),">"==i&&"OpenTag"==l.name){if((null===(s=null===(n=l.parent)||void 0===n?void 0:n.lastChild)||void 0===s?void 0:s.name)!="CloseTag"&&(c=L(r.doc,l.parent,a))){let h=">"===e.state.doc.sliceString(a,a+1),O=`${h?"":">"}`;return{range:Z.jT.cursor(a+1),changes:{from:a+(h?1:0),insert:O}}}}else if("/"==i&&"OpenTag"==l.name){let u=l.parent,f=null==u?void 0:u.parent;if(u.from==a-1&&(null===(o=f.lastChild)||void 0===o?void 0:o.name)!="CloseTag"&&(c=L(r.doc,f,a))){let d=">"===e.state.doc.sliceString(a,a+1),p=`/${c}${d?"":">"}`,m=a+p.length+(d?1:0);return{range:Z.jT.cursor(m),changes:{from:a,insert:p}}}}return{range:t}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)})},58037:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return L},completionPath:function(){return X},esLint:function(){return D},javascript:function(){return I},javascriptLanguage:function(){return W},jsxLanguage:function(){return _},localCompletionSource:function(){return C},scopeCompletionSource:function(){return j},snippets:function(){return y},tsxLanguage:function(){return q},typescriptLanguage:function(){return A}});var i=n(53105),r=n(35524);let s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],o=new i.IK({start:!1,shift:(e,t)=>5==t||6==t||286==t?e:287==t,strict:!1}),a=new i.Jq((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&t.canShift(284)&&e.acceptToken(284)},{contextual:!0,fallback:!0}),l=new i.Jq((e,t)=>{let{next:n}=e,i;!(s.indexOf(n)>-1)&&(47!=n||47!=(i=e.peek(1))&&42!=i)&&125!=n&&59!=n&&-1!=n&&!t.context&&t.canShift(281)&&e.acceptToken(281)},{contextual:!0}),c=new i.Jq((e,t)=>{let{next:n}=e;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();let i=!t.context&&t.canShift(2);e.acceptToken(i?2:3)}},{contextual:!0}),h=new i.Jq(e=>{for(let t=!1,n=0;;n++){let{next:i}=e;if(i<0){n&&e.acceptToken(282);break}if(96==i){n?e.acceptToken(282):e.acceptToken(283,1);break}if(123==i&&t){1==n?e.acceptToken(4,1):e.acceptToken(282,-1);break}if(10==i&&n){e.advance(),e.acceptToken(282);break}else 92==i&&e.advance();t=36==i,e.advance()}}),O=new i.Jq((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let n=0;n<6;n++){if(e.next!="xtends".charCodeAt(n))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}}),u=(0,r.Gv)({"get set async static":r.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"in of await yield void typeof delete instanceof":r.pJ.operatorKeyword,"let var const function class extends":r.pJ.definitionKeyword,"import export from":r.pJ.moduleKeyword,"with debugger as new":r.pJ.keyword,TemplateString:r.pJ.special(r.pJ.string),super:r.pJ.atom,BooleanLiteral:r.pJ.bool,this:r.pJ.self,null:r.pJ.null,Star:r.pJ.modifier,VariableName:r.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":r.pJ.function(r.pJ.variableName),VariableDefinition:r.pJ.definition(r.pJ.variableName),Label:r.pJ.labelName,PropertyName:r.pJ.propertyName,PrivatePropertyName:r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":r.pJ.function(r.pJ.propertyName),"FunctionDeclaration/VariableDefinition":r.pJ.function(r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/VariableDefinition":r.pJ.definition(r.pJ.className),PropertyDefinition:r.pJ.definition(r.pJ.propertyName),PrivatePropertyDefinition:r.pJ.definition(r.pJ.special(r.pJ.propertyName)),UpdateOp:r.pJ.updateOperator,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Number:r.pJ.number,String:r.pJ.string,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,RegExp:r.pJ.regexp,Equals:r.pJ.definitionOperator,Arrow:r.pJ.function(r.pJ.punctuation),": Spread":r.pJ.punctuation,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,"InterpolationStart InterpolationEnd":r.pJ.special(r.pJ.brace),".":r.pJ.derefOperator,", ;":r.pJ.separator,TypeName:r.pJ.typeName,TypeDefinition:r.pJ.definition(r.pJ.typeName),"type enum interface implements namespace module declare":r.pJ.definitionKeyword,"abstract global Privacy readonly override":r.pJ.modifier,"is keyof unique infer":r.pJ.operatorKeyword,JSXAttributeValue:r.pJ.attributeValue,JSXText:r.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":r.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":r.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":r.pJ.attributeName}),f={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},d={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},p={__proto__:null,"<":129},m=i.WQ.deserialize({version:14,states:"$8SO`QdOOO'QQ(C|O'#ChO'XOWO'#DVO)dQdO'#D]O)tQdO'#DhO){QdO'#DrO-xQdO'#DxOOQO'#E]'#E]O.]Q`O'#E[O.bQ`O'#E[OOQ(C['#Ef'#EfO0aQ(C|O'#ItO2wQ(C|O'#IuO3eQ`O'#EzO3jQ!bO'#FaOOQ(C['#FS'#FSO3rO#tO'#FSO4QQ&jO'#FhO5bQ`O'#FgOOQ(C['#Iu'#IuOOQ(CW'#It'#ItOOQS'#J^'#J^O5gQ`O'#HpO5lQ(ChO'#HqOOQS'#Ih'#IhOOQS'#Hr'#HrQ`QdOOO){QdO'#DjO5tQ`O'#G[O5yQ&jO'#CmO6XQ`O'#EZO6dQ`O'#EgO6iQ,UO'#FRO7TQ`O'#G[O7YQ`O'#G`O7eQ`O'#G`O7sQ`O'#GcO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tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"⚠ extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:o,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[u],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a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!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[O,l,c,h,0,1,2,3,4,5,6,7,8,9,a],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:e=>f[e]||-1},{term:299,get:e=>d[e]||-1},{term:63,get:e=>p[e]||-1}],tokenPrec:12130});var g=n(59119),Q=n(78120),b=n(47421),x=n(34790),k=n(41113);let y=[(0,x.Gn)("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,x.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,x.Gn)("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,x.Gn)("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,x.Gn)("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,x.Gn)("try {\n ${}\n} catch (${error}) {\n ${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,x.Gn)("if (${}) {\n ${}\n} else {\n ${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,x.Gn)("class ${name} {\n constructor(${params}) {\n ${}\n }\n}",{label:"class",detail:"definition",type:"keyword"}),(0,x.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,x.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],v=new k.hr,$=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function S(e){return(t,n)=>{let i=t.node.getChild("VariableDefinition");return i&&n(i,e),!0}}let w=["FunctionDeclaration"],T={FunctionDeclaration:S("function"),ClassDeclaration:S("class"),ClassExpression:()=>!0,EnumDeclaration:S("constant"),TypeAliasDeclaration:S("type"),NamespaceDeclaration:S("namespace"),VariableDefinition(e,t){e.matchContext(w)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},P=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,R=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function C(e){let t=(0,g.qz)(e.state).resolveInner(e.pos,-1);if(R.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&P.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let i=[];for(let r=t;r;r=r.parent)$.has(r.name)&&(i=i.concat(function e(t,n){let i=v.get(n);if(i)return i;let r=[],s=!0;function o(e,n){let i=t.sliceString(e.from,e.to);r.push({label:i,type:n})}return n.cursor(k.vj.IncludeAnonymous).iterate(n=>{if(s)s=!1;else if(n.name){let i=T[n.name];if(i&&i(n,o)||$.has(n.name))return!1}else if(n.to-n.from>8192){for(let a of e(t,n.node))r.push(a);return!1}}),v.set(n,r),r}(e.state.doc,r)));return{options:i,from:n?t.from:e.pos,validFor:P}}function Z(e,t,n){var i;let r=[];for(;;){let s=t.firstChild,o;if((null==s?void 0:s.name)=="VariableName")return r.push(e(s)),{path:r.reverse(),name:n};if((null==s?void 0:s.name)!="MemberExpression"||(null===(i=o=s.lastChild)||void 0===i?void 0:i.name)!="PropertyName")return null;r.push(e(o)),t=s}}function X(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,g.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?Z(t,n.parent,t(n)):R.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&P.test(t(n))?{path:[],name:t(n)}:("."==n.name||"?."==n.name)&&"MemberExpression"==n.parent.name?Z(t,n.parent,""):"MemberExpression"==n.name?Z(t,n,""):e.explicit?{path:[],name:""}:null}function j(e){let t=new Map;return n=>{let i=X(n);if(!i)return null;let r=e;for(let s of i.path)if(!(r=r[s]))return null;let o=t.get(r);return o||t.set(r,o=function(e,t){let n=[],i=new Set;for(let r=0;;r++){for(let s of(Object.getOwnPropertyNames||Object.keys)(e)){let o;if(!i.has(s)){i.add(s);try{o=e[s]}catch(a){continue}n.push({label:s,type:"function"==typeof o?/^[A-Z]/.test(s)?"class":t?"function":"method":t?"variable":"property",boost:-r})}}let l=Object.getPrototypeOf(e);if(!l)return n;e=l}}(r,!i.path.length)),{from:n.pos-i.name.length,options:o,validFor:P}}}let W=g.qp.define({name:"javascript",parser:m.configure({props:[g.uj.add({IfStatement:(0,g.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,g.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:g.ze,SwitchBody(e){let t=e.textAfter,n=/^\s*\}/.test(t),i=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:i?1:2)*e.unit},Block:(0,g.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,g.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":g.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),A=W.configure({dialect:"ts"},"typescript"),_=W.configure({dialect:"jsx"}),q=W.configure({dialect:"jsx ts"},"typescript"),z="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(e=>({label:e,type:"keyword"}));function I(e={}){let t=e.jsx?e.typescript?q:_:e.typescript?A:W;return new g.ri(t,[W.data.of({autocomplete:(0,x.eC)(R,(0,x.Mb)(y.concat(z)))}),W.data.of({autocomplete:C}),e.jsx?L:[]])}function E(e,t,n=e.length){if(!t)return"";let i=t.getChild("JSXIdentifier");return i?e.sliceString(i.from,Math.min(i.to,n)):""}let G="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),L=b.tk.inputHandler.of((e,t,n,i)=>{if((G?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!W.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange(e=>{var t,n,s;let{head:o}=e,a=(0,g.qz)(r).resolveInner(o,-1),l;if("JSXStartTag"==a.name&&(a=a.parent),">"==i&&"JSXFragmentTag"==a.name)return{range:Q.jT.cursor(o+1),changes:{from:o,insert:"><>"}};if(">"==i&&"JSXIdentifier"==a.name){if((null===(n=null===(t=a.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)!="JSXEndTag"&&(l=E(r.doc,a.parent,o)))return{range:Q.jT.cursor(o+1),changes:{from:o,insert:`>`}}}else if("/"==i&&"JSXFragmentTag"==a.name){let c=a.parent,h=null==c?void 0:c.parent;if(c.from==o-1&&(null===(s=h.lastChild)||void 0===s?void 0:s.name)!="JSXEndTag"&&(l=E(r.doc,null==h?void 0:h.firstChild,o))){let O=`/${l}>`;return{range:Q.jT.cursor(o+O.length),changes:{from:o,insert:O}}}}return{range:e}});return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)});function D(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach((e,n)=>{e.meta.docs.recommended&&(t.rules[n]=2)})),n=>{let{state:i}=n,r=[];for(let{from:s,to:o}of W.findRegions(i)){let a=i.doc.lineAt(s),l={line:a.number-1,col:s-a.from,pos:s};for(let c of e.verify(i.sliceDoc(s,o),t))r.push(function(e,t,n){let i=N(e.line,e.column,t,n),r={from:i,to:null!=e.endLine&&1!=e.endColumn?N(e.endLine,e.endColumn,t,n):i,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:s,text:o}=e.fix,a=s[0]+n.pos-i,l=s[1]+n.pos-i;r.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+a,to:t+l,insert:o},scrollIntoView:!0})}}]}return r}(c,i.doc,l))}return r}}function N(e,t,n,i){return n.line(e+i.line).from+t+(1==e?i.col-1:-1)}},48825:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return eX},deleteMarkupBackward:function(){return eL},insertNewlineContinueMarkup:function(){return eE},markdown:function(){return eU},markdownKeymap:function(){return eD},markdownLanguage:function(){return eW}});var i,r,s=n(78120),o=n(47421),a=n(59119),l=n(41113),c=n(35524);class h{constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[l.md.contextHash,i]]}static create(e,t,n,i,r){return new h(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}addChild(e,t){e.prop(l.md.contextHash)!=this.hash&&(e=new l.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new l.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new l.mp(l.Jq.none,e,t,n,this.hashProp)})}}(i=r||(r={}))[i.Document=1]="Document",i[i.CodeBlock=2]="CodeBlock",i[i.FencedCode=3]="FencedCode",i[i.Blockquote=4]="Blockquote",i[i.HorizontalRule=5]="HorizontalRule",i[i.BulletList=6]="BulletList",i[i.OrderedList=7]="OrderedList",i[i.ListItem=8]="ListItem",i[i.ATXHeading1=9]="ATXHeading1",i[i.ATXHeading2=10]="ATXHeading2",i[i.ATXHeading3=11]="ATXHeading3",i[i.ATXHeading4=12]="ATXHeading4",i[i.ATXHeading5=13]="ATXHeading5",i[i.ATXHeading6=14]="ATXHeading6",i[i.SetextHeading1=15]="SetextHeading1",i[i.SetextHeading2=16]="SetextHeading2",i[i.HTMLBlock=17]="HTMLBlock",i[i.LinkReference=18]="LinkReference",i[i.Paragraph=19]="Paragraph",i[i.CommentBlock=20]="CommentBlock",i[i.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",i[i.Escape=22]="Escape",i[i.Entity=23]="Entity",i[i.HardBreak=24]="HardBreak",i[i.Emphasis=25]="Emphasis",i[i.StrongEmphasis=26]="StrongEmphasis",i[i.Link=27]="Link",i[i.Image=28]="Image",i[i.InlineCode=29]="InlineCode",i[i.HTMLTag=30]="HTMLTag",i[i.Comment=31]="Comment",i[i.ProcessingInstruction=32]="ProcessingInstruction",i[i.URL=33]="URL",i[i.HeaderMark=34]="HeaderMark",i[i.QuoteMark=35]="QuoteMark",i[i.ListMark=36]="ListMark",i[i.LinkMark=37]="LinkMark",i[i.EmphasisMark=38]="EmphasisMark",i[i.CodeMark=39]="CodeMark",i[i.CodeText=40]="CodeText",i[i.CodeInfo=41]="CodeInfo",i[i.LinkTitle=42]="LinkTitle",i[i.LinkLabel=43]="LinkLabel";class O{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class u{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return m(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let i=(e.type==r.OrderedList?v:y)(n,t,!1);return i>0&&(e.type!=r.BulletList||0>x(n,t,!1))&&n.text.charCodeAt(n.pos+i-1)==e.value}let d={[r.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(Y(r.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(p(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[r.ListItem]:(e,t,n)=>(!(n.indent-1))&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[r.OrderedList]:f,[r.BulletList]:f,[r.Document]:()=>!0};function p(e){return 32==e||9==e||10==e||13==e}function m(e,t=0){for(;tn&&p(e.charCodeAt(t-1));)t--;return t}function Q(e){if(96!=e.next&&126!=e.next)return -1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length?-1:i<3?-1:1}function k(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function y(e,t,n){return(45==e.next||43==e.next||42==e.next)&&(e.pos==e.text.length-1||p(e.text.charCodeAt(e.pos+1)))&&(!n||k(t,r.BulletList)||e.skipSpace(e.pos+2)=48&&s<=57;){if(++i==e.text.length)return -1;s=e.text.charCodeAt(i)}return i==e.pos||i>e.pos+9||46!=s&&41!=s||ie.pos+1||49!=e.next)?-1:i+1-e.pos}function $(e){if(35!=e.next)return -1;let t=e.pos+1;for(;t6?-1:n}function S(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return -1;let t=e.pos+1;for(;t/,P=/\?>/,R=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(i);if(o)return e.append(Y(r.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(i);if(a)return e.append(Y(r.ProcessingInstruction,n,n+1+a[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?e.append(Y(r.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return -1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=ei.test(r),a=ei.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),h=!c&&(!a||l||o),O=!l&&(!o||c||a);return e.append(new et(95==t?F:H,n,i,(h&&(42==t||!O||o)?1:0)|(O&&(42==t||!h||a)?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(Y(r.HardBreak,n,n+2));if(32==t){let i=n+1;for(;32==e.char(i);)i++;if(10==e.char(i)&&i>=n+2)return e.append(Y(r.HardBreak,n,i+1))}return -1},Link:(e,t,n)=>91==t?e.append(new et(K,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new et(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return -1;for(let i=e.parts.length-1;i>=0;i--){let s=e.parts[i];if(s instanceof et&&(s.type==K||s.type==ee)){if(!s.side||e.skipSpace(s.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[i]=null,-1;let o=e.takeContent(i),a=e.parts[i]=function(e,t,n,i,s){let{text:o}=e,a=e.char(s),l=s;if(t.unshift(Y(r.LinkMark,i,i+(n==r.Image?2:1))),t.push(Y(r.LinkMark,s-1,s)),40==a){let c=e.skipSpace(s+1),h=eo(o,c-e.offset,e.offset),O;h&&(c=e.skipSpace(h.to),(O=ea(o,c-e.offset,e.offset))&&(c=e.skipSpace(O.to))),41==e.char(c)&&(t.push(Y(r.LinkMark,s,s+1)),l=c+1,h&&t.push(h),O&&t.push(O),t.push(Y(r.LinkMark,c,l)))}else if(91==a){let u=el(o,s-e.offset,e.offset,!1);u&&(t.push(u),l=u.to)}return Y(n,i,l,t)}(e,o,s.type==K?r.Link:r.Image,s.from,n+1);if(s.type==K)for(let l=0;lt?Y(r.URL,t+n,a+n):a==e.length&&null}}function ea(e,t,n){let i=e.charCodeAt(t);if(39!=i&&34!=i&&40!=i)return!1;let s=40==i?41:i;for(let o=t+1,a=!1;o=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new et(e,t,n,(i?1:0)|(r?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let t=e;t=e;o--){let a=this.parts[o];if(a instanceof et&&1&a.side&&a.type==n.type&&!(i&&(1&n.side||2&a.side)&&(a.to-a.from+r)%3==0&&((a.to-a.from)%3||r%3))){s=a;break}}if(!s)continue;let l=n.type.resolve,c=[],h=s.from,O=n.to;if(i){let u=Math.min(2,s.to-s.from,r);h=s.to-u,O=n.from+u,l=1==u?"Emphasis":"StrongEmphasis"}s.type.mark&&c.push(this.elt(s.type.mark,h,s.to));for(let f=o+1;f=0;t--){let n=this.parts[t];if(n instanceof et&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return m(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?Y(this.parser.getNodeType(e),t,n,i):new B(e,t)}}function eh(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let r of t){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let n=this.fragment.to;for(;n>0&&"\n"!=this.input.read(n-1,n);)n--;this.fragmentEnd=n?n-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor()).firstChild();let r=e+this.fragment.offset;for(;i.to<=r;)if(!i.parent())return!1;for(;;){if(i.from>=r)return this.fragment.from<=t;if(!i.childAfter(r))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(l.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,s=r,o=e.block.children.length,a=s,l=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(0>eO.indexOf(t.type.id)?(s=t.to-n,o=e.block.children.length):(s=a,o=l,a=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-r}}let ef=(0,c.Gv)({"Blockquote/...":c.pJ.quote,HorizontalRule:c.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":c.pJ.heading1,"ATXHeading2/... SetextHeading2/...":c.pJ.heading2,"ATXHeading3/...":c.pJ.heading3,"ATXHeading4/...":c.pJ.heading4,"ATXHeading5/...":c.pJ.heading5,"ATXHeading6/...":c.pJ.heading6,"Comment CommentBlock":c.pJ.comment,Escape:c.pJ.escape,Entity:c.pJ.character,"Emphasis/...":c.pJ.emphasis,"StrongEmphasis/...":c.pJ.strong,"Link/... Image/...":c.pJ.link,"OrderedList/... BulletList/...":c.pJ.list,"BlockQuote/...":c.pJ.quote,"InlineCode CodeText":c.pJ.monospace,URL:c.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":c.pJ.processingInstruction,"CodeInfo LinkLabel":c.pJ.labelName,LinkTitle:c.pJ.string,Paragraph:c.pJ.content}),ed=new E(new l.Lj(D).extend(ef),Object.keys(j).map(e=>j[e]),Object.keys(j).map(e=>q[e]),Object.keys(j),[(e,t)=>$(t)>=0,(e,t)=>Q(t)>=0,(e,t)=>b(t)>=0,(e,t)=>y(t,e,!0)>=0,(e,t)=>v(t,e,!0)>=0,(e,t)=>x(t,e,!0)>=0,(e,t)=>C(t,e,!0)>=0],d,Object.keys(es).map(e=>es[e]),Object.keys(es),[]),ep={resolve:"Strikethrough",mark:"StrikethroughMark"},em={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":c.pJ.strikethrough}},{name:"StrikethroughMark",style:c.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return -1;let i=e.slice(n-1,n),r=e.slice(n+2,n+3),s=/\s|^$/.test(i),o=/\s|^$/.test(r),a=ei.test(i),l=ei.test(r);return e.addDelimiter(ep,n,n+2,!o&&(!l||s||a),!s&&(!a||o||l))},after:"Emphasis"}]};function eg(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,h=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let O=n;O-1)&&s++,o=!1,i&&(a>-1&&h(),i.push(e.elt("TableDelimiter",O+r,O+r+1))),a=l=-1),c=!c&&92==u}return a>-1&&(s++,i&&h()),s}function eQ(e,t){for(let n=t;neQ(t.content,0)?new ex:null,endLeaf(e,t,n){if(n.parsers.some(e=>e instanceof ex)||!eQ(t.text,t.basePos))return!1;let i=e.scanLine(e.absoluteLineEnd+1).text;return eb.test(i)&&eg(e,t.text,t.basePos)==eg(e,i,t.basePos)},before:"SetextHeading"}]};class ey{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}let ev={defineNodes:[{name:"Task",block:!0,style:c.pJ.list},{name:"TaskMarker",style:c.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new ey:null,after:"SetextHeading"}]};function e$(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return -1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a"}}),eC=ed.configure({props:[a.x0.add(e=>{if(!(!e.is("Block")||e.is("Document")))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})}),a.uj.add({Document:()=>null}),a.pp.add({Document:eR})]});function eZ(e){return new a.SQ(eR,e,[],"markdown")}let eX=eZ(eC),ej=eC.configure([[ek,ev,em],ew,eS,eT]),eW=eZ(ej);function eA(e,t){return t.sliceString(e.from,e.from+50)}class e_{constructor(e,t,n,i,r,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=r,this.type=s,this.item=o}blank(e=!0){let t=this.spaceBefore;if("Blockquote"==this.node.name)t+=">";else for(let n=this.to-this.from-t.length-this.spaceAfter.length;n>0;n--)t+=" ";return t+(e?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+ez(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function eq(e,t,n){let i=[];for(let r=e;r&&"Document"!=r.name;r=r.parent)("ListItem"==r.name||"Blockquote"==r.name||"FencedCode"==r.name)&&i.push(r);let s=[],o=0;for(let a=i.length-1;a>=0;a--){let l=i[a],c,h=o;if("FencedCode"==l.name)s.push(new e_(l,o,o,"","","",null));else if("Blockquote"==l.name&&(c=/^[ \t]*>( ?)/.exec(t.slice(o))))o+=c[0].length,s.push(new e_(l,h,o,"",c[1],">",null));else if("ListItem"==l.name&&"OrderedList"==l.parent.name&&(c=/^([ \t]*)\d+([.)])([ \t]*)/.exec(eA(l,n)))){let O=c[3],u=c[0].length;O.length>=4&&(O=O.slice(0,O.length-4),u-=4),o+=u,s.push(new e_(l.parent,h,o,c[1],O,c[2],l))}else if("ListItem"==l.name&&"BulletList"==l.parent.name&&(c=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(eA(l,n)))){let f=c[4],d=c[0].length;f.length>4&&(f=f.slice(0,f.length-4),d-=4);let p=c[2];c[3]&&(p+=c[3].replace(/[xX]/," ")),o+=d,s.push(new e_(l.parent,h,o,c[1],f,p,l))}}return s}function ez(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function eI(e,t,n,i=0){for(let r=-1,s=e;;){if("ListItem"==s.name){let o=ez(s,t),a=+o[2];if(r>=0){if(a!=r+1)return;n.push({from:s.from+o[1].length,to:s.from+o[0].length,insert:String(r+2+i)})}r=a}let l=s.nextSibling;if(!l)break;s=l}}let eE=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),{doc:i}=e,r=null,o=e.changeByRange(t=>{if(!t.empty||!eW.isActiveAt(e,t.from))return r={range:t};let o=t.from,a=i.lineAt(o),l=eq(n.resolveInner(o,-1),a.text,i);for(;l.length&&l[l.length-1].from>o-a.from;)l.pop();if(!l.length)return r={range:t};let c=l[l.length-1];if(c.to-c.spaceAfter.length>o-a.from)return r={range:t};let h=o>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){if(c.node.firstChild.to>=o||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let O=l.length>1?l[l.length-2]:null,u,f="";O&&O.item?(u=a.from+O.from,f=O.marker(i,1)):u=a.from+(O?O.to:0);let d=[{from:u,to:o,insert:f}];return"OrderedList"==c.node.name&&eI(c.item,i,d,-2),O&&"OrderedList"==O.node.name&&eI(O.item,i,d),{range:s.jT.cursor(u+f.length),changes:d}}{let p="";for(let m=0,g=l.length-2;m<=g;m++)p+=l[m].blank(m\s*$/.exec(Q.text);if(b&&b.index==c.from){let x=e.changes([{from:Q.from+b.index,to:Q.to},{from:a.from+c.from,to:a.to}]);return{range:t.map(x),changes:x}}}let k=[];"OrderedList"==c.node.name&&eI(c.item,i,k);let y=e.lineBreak,v=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let $=0,S=l.length-1;$<=S;$++)y+=$!=S||v?l[$].blank():l[$].marker(i,1);let w=o;for(;w>a.from&&/\s/.test(a.text.charAt(w-a.from-1));)w--;return k.push({from:w,to:o,insert:y}),{range:s.jT.cursor(w+y.length),changes:k}});return!r&&(t(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)};function eG(e){return"QuoteMark"==e.name||"ListMark"==e.name}let eL=({state:e,dispatch:t})=>{let n=(0,a.qz)(e),i=null,r=e.changeByRange(t=>{let r=t.from,{doc:o}=e;if(t.empty&&eW.isActiveAt(e,t.from)){let a=o.lineAt(r),l=eq(function(e,t){let n=e.resolveInner(t,-1),i=t;eG(n)&&(i=n.from,n=n.parent);for(let r;r=n.childBefore(i);)if(eG(r))i=r.from;else if("OrderedList"==r.name||"BulletList"==r.name)i=(n=r.lastChild).to;else break;return n}(n,r),a.text,o);if(l.length){let c=l[l.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(r-a.from>h&&!/\S/.test(a.text.slice(h,r-a.from)))return{range:s.jT.cursor(a.from+h),changes:{from:a.from+h,to:r}};if(r-a.from==h){let O=a.from+c.from;if(c.item&&c.node.from{if(e&&n){let i=null;if(e=/\S*/.exec(e)[0],(i="function"==typeof n?n(e):a.c6.matchLanguageName(n,e,!0))instanceof a.c6)return i.support?i.support.language.parser:a.Be.getSkippingParser(i.load());if(i)return i.parser}return t?t.parser:null}):void 0;return O.push(function(e){let{codeParser:t,htmlParser:n}=e,i=(0,l.FE)((e,i)=>{let s=e.type.id;if(t&&(s==r.CodeBlock||s==r.FencedCode)){let o="";if(s==r.FencedCode){let a=e.node.getChild(r.CodeInfo);a&&(o=i.read(a.from,a.to))}let l=t(o);if(l)return{parser:l,overlay:e=>e.type.id==r.CodeText}}else if(n&&(s==r.HTMLBlock||s==r.HTMLTag))return{parser:n,overlay:function(e,t,n){let i=[];for(let r=e.firstChild,s=t;;r=r.nextSibling){let o=r?r.from:n;if(o>s&&i.push({from:s,to:o}),!r)break;s=r.to}return i}(e.node,e.from,e.to)};return null});return{wrap:i}}({codeParser:d,htmlParser:eN.language.parser})),c&&u.push(s.Wl.high(o.$f.of(eD))),new a.ri(eZ(h.configure(O)),u)}},76538:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(59119);function r(e){return new i.ri(i.il.define(e))}function s(e){return n.e(1390).then(n.bind(n,21390)).then(t=>t.sql({dialect:t[e]}))}let o=[i.c6.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(2750).then(n.bind(n,12750)).then(e=>e.cpp())}),i.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>s("Cassandra")}),i.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,61426)).then(e=>e.css())}),i.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,13804)).then(e=>e.html())}),i.c6.of({name:"Java",extensions:["java"],load:()=>n.e(4778).then(n.bind(n,44778)).then(e=>e.java())}),i.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript())}),i.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(4732).then(n.bind(n,44732)).then(e=>e.json())}),i.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0}))}),i.c6.of({name:"MariaDB SQL",load:()=>s("MariaSQL")}),i.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,48825)).then(e=>e.markdown())}),i.c6.of({name:"MS SQL",load:()=>s("MSSQL")}),i.c6.of({name:"MySQL",load:()=>s("MySQL")}),i.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(2386).then(n.bind(n,12386)).then(e=>e.php())}),i.c6.of({name:"PLSQL",extensions:["pls"],load:()=>s("PLSQL")}),i.c6.of({name:"PostgreSQL",load:()=>s("PostgreSQL")}),i.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(8088).then(n.bind(n,28088)).then(e=>e.python())}),i.c6.of({name:"Rust",extensions:["rs"],load:()=>n.e(4920).then(n.bind(n,24920)).then(e=>e.rust())}),i.c6.of({name:"SQL",extensions:["sql"],load:()=>s("StandardSQL")}),i.c6.of({name:"SQLite",load:()=>s("SQLite")}),i.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({jsx:!0,typescript:!0}))}),i.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(n.bind(n,58037)).then(e=>e.javascript({typescript:!0}))}),i.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(9972).then(n.bind(n,9972)).then(e=>e.wast())}),i.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(5122).then(n.bind(n,5122)).then(e=>e.xml())}),i.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(870).then(n.bind(n,90870)).then(e=>r(e.apl))}),i.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(8029).then(n.bind(n,58029)).then(e=>r(e.asciiArmor))}),i.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(3203).then(n.bind(n,93203)).then(e=>r(e.asn1({})))}),i.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(5648).then(n.bind(n,15648)).then(e=>r(e.asterisk))}),i.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(2675).then(n.bind(n,9521)).then(e=>r(e.brainfuck))}),i.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(8915).then(n.bind(n,68915)).then(e=>r(e.cobol))}),i.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.csharp))}),i.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.gss))}),i.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(889).then(n.bind(n,70889)).then(e=>r(e.cmake))}),i.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(9558).then(n.bind(n,29558)).then(e=>r(e.coffeeScript))}),i.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(1446).then(n.bind(n,61446)).then(e=>r(e.commonLisp))}),i.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(673).then(n.bind(n,20673)).then(e=>r(e.cypher))}),i.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(4323).then(n.bind(n,74323)).then(e=>r(e.cython))}),i.c6.of({name:"Crystal",extensions:["cr"],load:()=>n.e(2602).then(n.bind(n,62602)).then(e=>r(e.crystal))}),i.c6.of({name:"D",extensions:["d"],load:()=>n.e(1660).then(n.bind(n,11660)).then(e=>r(e.d))}),i.c6.of({name:"Dart",extensions:["dart"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.dart))}),i.c6.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(7475).then(n.bind(n,87475)).then(e=>r(e.diff))}),i.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(4812).then(n.bind(n,34812)).then(e=>r(e.dockerFile))}),i.c6.of({name:"DTD",extensions:["dtd"],load:()=>n.e(6991).then(n.bind(n,76991)).then(e=>r(e.dtd))}),i.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>n.e(4144).then(n.bind(n,24144)).then(e=>r(e.dylan))}),i.c6.of({name:"EBNF",load:()=>n.e(2040).then(n.bind(n,82040)).then(e=>r(e.ebnf))}),i.c6.of({name:"ECL",extensions:["ecl"],load:()=>n.e(7315).then(n.bind(n,37315)).then(e=>r(e.ecl))}),i.c6.of({name:"edn",extensions:["edn"],load:()=>n.e(2406).then(n.bind(n,72406)).then(e=>r(e.clojure))}),i.c6.of({name:"Eiffel",extensions:["e"],load:()=>n.e(7525).then(n.bind(n,87525)).then(e=>r(e.eiffel))}),i.c6.of({name:"Elm",extensions:["elm"],load:()=>n.e(8770).then(n.bind(n,28770)).then(e=>r(e.elm))}),i.c6.of({name:"Erlang",extensions:["erl"],load:()=>n.e(7590).then(n.bind(n,53482)).then(e=>r(e.erlang))}),i.c6.of({name:"Esper",load:()=>n.e(9607).then(n.bind(n,54050)).then(e=>r(e.esper))}),i.c6.of({name:"Factor",extensions:["factor"],load:()=>n.e(7001).then(n.bind(n,87001)).then(e=>r(e.factor))}),i.c6.of({name:"FCL",load:()=>n.e(7663).then(n.bind(n,77663)).then(e=>r(e.fcl))}),i.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(8393).then(n.bind(n,68393)).then(e=>r(e.forth))}),i.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(8283).then(n.bind(n,8283)).then(e=>r(e.fortran))}),i.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.fSharp))}),i.c6.of({name:"Gas",extensions:["s"],load:()=>n.e(9781).then(n.bind(n,39781)).then(e=>r(e.gas))}),i.c6.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(2542).then(n.bind(n,2542)).then(e=>r(e.gherkin))}),i.c6.of({name:"Go",extensions:["go"],load:()=>n.e(8910).then(n.bind(n,48910)).then(e=>r(e.go))}),i.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(3883).then(n.bind(n,23883)).then(e=>r(e.groovy))}),i.c6.of({name:"Haskell",extensions:["hs"],load:()=>n.e(5372).then(n.bind(n,95372)).then(e=>r(e.haskell))}),i.c6.of({name:"Haxe",extensions:["hx"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.haxe))}),i.c6.of({name:"HXML",extensions:["hxml"],load:()=>n.e(3509).then(n.bind(n,63509)).then(e=>r(e.hxml))}),i.c6.of({name:"HTTP",load:()=>n.e(7558).then(n.bind(n,36395)).then(e=>r(e.http))}),i.c6.of({name:"IDL",extensions:["pro"],load:()=>n.e(2314).then(n.bind(n,22314)).then(e=>r(e.idl))}),i.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(9296).then(n.bind(n,59296)).then(e=>r(e.jsonld))}),i.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>n.e(1084).then(n.bind(n,41084)).then(e=>r(e.jinja2))}),i.c6.of({name:"Julia",extensions:["jl"],load:()=>n.e(6092).then(n.bind(n,76092)).then(e=>r(e.julia))}),i.c6.of({name:"Kotlin",extensions:["kt"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.kotlin))}),i.c6.of({name:"LESS",extensions:["less"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.less))}),i.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(402).then(n.bind(n,60402)).then(e=>r(e.liveScript))}),i.c6.of({name:"Lua",extensions:["lua"],load:()=>n.e(3519).then(n.bind(n,3519)).then(e=>r(e.lua))}),i.c6.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(5134).then(n.bind(n,65134)).then(e=>r(e.mirc))}),i.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(7213).then(n.bind(n,37213)).then(e=>r(e.mathematica))}),i.c6.of({name:"Modelica",extensions:["mo"],load:()=>n.e(305).then(n.bind(n,40305)).then(e=>r(e.modelica))}),i.c6.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(7988).then(n.bind(n,17988)).then(e=>r(e.mumps))}),i.c6.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(9121).then(n.bind(n,29121)).then(e=>r(e.mbox))}),i.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(8561).then(n.bind(n,78561)).then(e=>r(e.nginx))}),i.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(7370).then(n.bind(n,67370)).then(e=>r(e.nsis))}),i.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(3314).then(n.bind(n,43314)).then(e=>r(e.ntriples))}),i.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveC))}),i.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.objectiveCpp))}),i.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.oCaml))}),i.c6.of({name:"Octave",extensions:["m"],load:()=>n.e(3283).then(n.bind(n,33283)).then(e=>r(e.octave))}),i.c6.of({name:"Oz",extensions:["oz"],load:()=>n.e(4796).then(n.bind(n,94796)).then(e=>r(e.oz))}),i.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(4163).then(n.bind(n,44163)).then(e=>r(e.pascal))}),i.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(4293).then(n.bind(n,94293)).then(e=>r(e.perl))}),i.c6.of({name:"Pig",extensions:["pig"],load:()=>n.e(3482).then(n.bind(n,33482)).then(e=>r(e.pig))}),i.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(7421).then(n.bind(n,37421)).then(e=>r(e.powerShell))}),i.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(9071).then(n.bind(n,69071)).then(e=>r(e.properties))}),i.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(8142).then(n.bind(n,78142)).then(e=>r(e.protobuf))}),i.c6.of({name:"Puppet",extensions:["pp"],load:()=>n.e(3993).then(n.bind(n,83993)).then(e=>r(e.puppet))}),i.c6.of({name:"Q",extensions:["q"],load:()=>n.e(228).then(n.bind(n,10228)).then(e=>r(e.q))}),i.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(7365).then(n.bind(n,57365)).then(e=>r(e.r))}),i.c6.of({name:"RPM Changes",load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmChanges))}),i.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(8171).then(n.bind(n,48171)).then(e=>r(e.rpmSpec))}),i.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>n.e(4439).then(n.bind(n,24439)).then(e=>r(e.ruby))}),i.c6.of({name:"SAS",extensions:["sas"],load:()=>n.e(1770).then(n.bind(n,1770)).then(e=>r(e.sas))}),i.c6.of({name:"Sass",extensions:["sass"],load:()=>n.e(9809).then(n.bind(n,49809)).then(e=>r(e.sass))}),i.c6.of({name:"Scala",extensions:["scala"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.scala))}),i.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(5879).then(n.bind(n,95879)).then(e=>r(e.scheme))}),i.c6.of({name:"SCSS",extensions:["scss"],load:()=>n.e(2136).then(n.bind(n,62136)).then(e=>r(e.sCSS))}),i.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(4879).then(n.bind(n,44879)).then(e=>r(e.shell))}),i.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(9713).then(n.bind(n,9713)).then(e=>r(e.sieve))}),i.c6.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(1873).then(n.bind(n,11873)).then(e=>r(e.smalltalk))}),i.c6.of({name:"Solr",load:()=>n.e(7762).then(n.bind(n,17762)).then(e=>r(e.solr))}),i.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(6121).then(n.bind(n,96121)).then(e=>r(e.sml))}),i.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(370).then(n.bind(n,70370)).then(e=>r(e.sparql))}),i.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(7601).then(n.bind(n,97601)).then(e=>r(e.spreadsheet))}),i.c6.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(7917).then(n.bind(n,63821)).then(e=>r(e.squirrel))}),i.c6.of({name:"Stylus",extensions:["styl"],load:()=>n.e(8007).then(n.bind(n,28007)).then(e=>r(e.stylus))}),i.c6.of({name:"Swift",extensions:["swift"],load:()=>n.e(6062).then(n.bind(n,66062)).then(e=>r(e.swift))}),i.c6.of({name:"sTeX",load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(6732).then(n.bind(n,86732)).then(e=>r(e.stex))}),i.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(3465).then(n.bind(n,43465)).then(e=>r(e.tcl))}),i.c6.of({name:"Textile",extensions:["textile"],load:()=>n.e(177).then(n.bind(n,90177)).then(e=>r(e.textile))}),i.c6.of({name:"TiddlyWiki",load:()=>n.e(4511).then(n.bind(n,34511)).then(e=>r(e.tiddlyWiki))}),i.c6.of({name:"Tiki wiki",load:()=>n.e(6471).then(n.bind(n,36471)).then(e=>r(e.tiki))}),i.c6.of({name:"TOML",extensions:["toml"],load:()=>n.e(6443).then(n.bind(n,96443)).then(e=>r(e.toml))}),i.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(1920).then(n.bind(n,71920)).then(e=>r(e.troff))}),i.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(6665).then(n.bind(n,66665)).then(e=>r(e.ttcn))}),i.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(9831).then(n.bind(n,29831)).then(e=>r(e.ttcnCfg))}),i.c6.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(5815).then(n.bind(n,15815)).then(e=>r(e.turtle))}),i.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(6692).then(n.bind(n,26692)).then(e=>r(e.webIDL))}),i.c6.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(4212).then(n.bind(n,44212)).then(e=>r(e.vb))}),i.c6.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(1650).then(n.bind(n,31650)).then(e=>r(e.vbScript))}),i.c6.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(617).then(n.bind(n,90617)).then(e=>r(e.velocity))}),i.c6.of({name:"Verilog",extensions:["v"],load:()=>n.e(2119).then(n.bind(n,52119)).then(e=>r(e.verilog))}),i.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(5819).then(n.bind(n,5819)).then(e=>r(e.vhdl))}),i.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>n.e(5753).then(n.bind(n,35753)).then(e=>r(e.xQuery))}),i.c6.of({name:"Yacas",extensions:["ys"],load:()=>n.e(9232).then(n.bind(n,69232)).then(e=>r(e.yacas))}),i.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(2877).then(n.bind(n,82877)).then(e=>r(e.yaml))}),i.c6.of({name:"Z80",extensions:["z80"],load:()=>n.e(1053).then(n.bind(n,21053)).then(e=>r(e.z80))}),i.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.mscgen))}),i.c6.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.xu))}),i.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(758).then(n.bind(n,30758)).then(e=>r(e.msgenny))})]},59119:function(e,t,n){"use strict";n.d(t,{Be:function(){return g},Dv:function(){return D},Gn:function(){return Z},K0:function(){return C},Qf:function(){return eu},R_:function(){return eQ},SQ:function(){return O},SS:function(){return R},Um:function(){return eR},c:function(){return T},c6:function(){return S},e7:function(){return ei},il:function(){return ej},kU:function(){return h},mi:function(){return eh},n$:function(){return eT},nF:function(){return em},nY:function(){return E},pp:function(){return c},qp:function(){return f},qz:function(){return d},ri:function(){return $},tC:function(){return I},uj:function(){return X},vw:function(){return _},x0:function(){return L},y1:function(){return P},ze:function(){return z}});var i,r=n(41113),s=n(78120),o=n(47421),a=n(35524),l=n(28699);let c=new r.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class O{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[v.of(this),s.yy.languageData.of((e,t,n)=>e.facet(u(e,t,n)))].concat(n)}isActiveAt(e,t,n=-1){return u(e,t,n)==this.data}findRegions(e){let t=e.facet(v);if((null==t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(c)==this.data){n.push({from:t,to:t+e.length});return}let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let o of s.overlay)n.push({from:o.from+t,to:o.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let a=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>a)return}}for(let l=0;le.isTop?t:void 0)]}),e.name)}configure(e,t){return new f(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(O.state,!1);return t?t.tree:r.mp.empty}class p{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return(null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!=t?t:this.state.doc.length))?(this.takeTree(),!0):this.withContext(()=>{var n;if("number"==typeof e){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Q(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((e,t,n,i)=>l.push({fromA:e,toA:t,fromB:n,toB:i})),n=r.i9.applyChanges(n,l),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length)for(let c of(a=[],this.skipped)){let h=e.mapPos(c.from,1),O=e.mapPos(c.to,-1);he.from&&(this.fragments=Q(this.fragments,i,r),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=m;if(t){for(let n of i)t.tempSkipped.push(n);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function Q(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class b{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new b(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(v).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new b(n)}}O.state=s.QQ.define({create:b.init,update(e,t){for(let n of t.effects)if(n.is(O.setState))return n.value;return t.startState.facet(v)!=t.state.facet(v)?b.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});let k="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,y=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(O.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(O.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,a=r.context.work(()=>k&&k()||Date.now()>s,i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:O.setState.of(new b(r.context))})),this.chunkBudget>0&&!(a&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>(0,o.OO)(this.view.state,e)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),v=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[O.state,y,o.tk.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class ${constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class S{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new S(e.name,(e.alias||[]).concat(e.name).map(e=>e.toLowerCase()),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let n of e)if(n.filename&&n.filename.test(t))return n;let i=/\.([^.]+)$/.exec(t);if(i){for(let r of e)if(r.extensions.indexOf(i[1])>-1)return r}return null}static matchLanguageName(e,t,n=!0){for(let i of(t=t.toLowerCase(),e))if(i.alias.some(e=>e==t))return i;if(n)for(let r of e)for(let s of r.alias){let o=t.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(t[o-1])&&!/\w/.test(t[o+s.length])))return r}return null}}let w=s.r$.define(),T=s.r$.define({combine(e){if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function P(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function R(e,t){let n="",i=e.tabSize;if(9==e.facet(T).charCodeAt(0))for(;t>=i;)n+=" ",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let s=r(i);if(s>-1)return s}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}let X=new r.md;function j(e,t,n){for(;e;e=e.parent){let i=function(e){let t=e.type.prop(X);if(t)return t;let n=e.firstChild,i;if(n&&(i=n.type.prop(r.md.closedBy))){let s=e.lastChild,o=s&&i.indexOf(s.name)>-1;return e=>q(e,!0,1,void 0,o&&!(e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak)?s.from:void 0)}return null==e.parent?W:null}(e);if(i)return i(A.create(n,t,e))}return null}function W(){return 0}class A extends Z{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new A(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(function(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?j(e,this.pos,this.base):0}}function _({closing:e,align:t=!0,units:n=1}){return i=>q(i,t,n,e)}function q(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let l=t.childAfter(a);if(!l||l==i)return null;if(!l.type.isSkipped)return l.frome.baseIndent;function I({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function E(){return s.yy.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some(e=>e.test(s)))return e;let{state:o}=e,a=-1,l=[];for(let{head:c}of o.selection.ranges){let h=o.doc.lineAt(c);if(h.from==a)continue;a=h.from;let O=C(o,h.from);if(null==O)continue;let u=/^\s*/.exec(h.text)[0],f=R(o,O);u!=f&&l.push({from:h.from,to:h.from+u.length,insert:f})}return l.length?[e,{changes:l,sequential:!0}]:e})}let G=s.r$.define(),L=new r.md;function D(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&l.to>n&&(s=l)}}return s}(e,t,n)}function U(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}let M=s.Py.define({map:U}),J=s.Py.define({map:U});function V(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(e=>e.from<=n&&e.to>=n)||t.push(e.lineBlockAt(n));return t}let B=s.QQ.define({create:()=>o.p.none,update(e,t){for(let n of(e=e.map(t.changes),t.effects))n.is(M)&&!function(e,t,n){let i=!1;return e.between(t,t,(e,r)=>{e==t&&r==n&&(i=!0)}),i}(e,n.value.from,n.value.to)?e=e.update({add:[ea.range(n.value.from,n.value.to)]}):n.is(J)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let i=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{er&&(i=!0)}),i&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(e,t)=>{n.push(e,t)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})}),r}function F(e,t){return e.field(B,!1)?t:t.concat(s.Py.appendConfig.of(eo()))}let H=e=>{for(let t of V(e)){let n=N(e.state,t.from,t.to);if(n)return e.dispatch({effects:F(e.state,[M.of(n),ee(e,n)])}),!0}return!1},K=e=>{if(!e.state.field(B,!1))return!1;let t=[];for(let n of V(e)){let i=Y(e.state,n.from,n.to);i&&t.push(J.of(i),ee(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function ee(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}let et=e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(B,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(e,t)=>{n.push(J.of({from:e,to:t}))}),e.dispatch({effects:n}),!0},ei=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:H},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:K},{key:"Ctrl-Alt-[",run:et},{key:"Ctrl-Alt-]",run:en}],er={placeholderDOM:null,placeholderText:"…"},es=s.r$.define({combine:e=>(0,s.BO)(e,er)});function eo(e){let t=[B,eO];return e&&t.push(es.of(e)),t}let ea=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(es),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=Y(e.state,n.from,n.to);i&&e.dispatch({effects:J.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),el={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ec extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function eh(e={}){let t=Object.assign(Object.assign({},el),e),n=new ec(t,!0),i=new ec(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(v)!=e.state.facet(v)||e.startState.field(B,!1)!=e.state.field(B,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let o=Y(e.state,r.from,r.to)?i:N(e.state,r.from,r.to)?n:null;o&&t.add(r.from,r.from,o)}return t.finish()}}),{domEventHandlers:a}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new ec(t,!1),domEventHandlers:Object.assign(Object.assign({},a),{click(e,t,n){if(a.click&&a.click(e,t,n))return!0;let i=Y(e.state,t.from,t.to);if(i)return e.dispatch({effects:J.of(i)}),!0;let r=N(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:M.of(r)}),!0)}})}),eo()]}let eO=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class eu{constructor(e,t){let n;function i(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;let r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof O?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map(e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))})),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new eu(e,t||{})}}let ef=s.r$.define(),ed=s.r$.define({combine:e=>e.length?[e[0]]:null});function ep(e){let t=e.facet(ef);return t.length?t:e.facet(ed)}function em(e,t){let n=[eg],i;return e instanceof eu&&(e.module&&n.push(o.tk.styleModule.of(e.module)),i=e.themeType),(null==t?void 0:t.fallback)?n.push(ed.of(e)):i?n.push(ef.computeN([o.tk.darkTheme],t=>t.facet(o.tk.darkTheme)==("dark"==i)?[e]:[])):n.push(ef.of(e)),n}let eg=s.Wl.high(o.lg.fromClass(class{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,ep(e.state))}update(e){let t=d(e.state),n=ep(e.state),i=n!=ep(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))},i,r);return n.finish()}},{decorations:e=>e.decorations})),eQ=eu.define([{tag:a.pJ.meta,color:"#7a757a"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),eb=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ex="()[]{}",ek=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ex,maxScanDistance:1e4,renderMatch:e$})}),ey=o.p.mark({class:"cm-matchingBracket"}),ev=o.p.mark({class:"cm-nonmatchingBracket"});function e$(e){let t=[],n=e.matched?ey:ev;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}let eS=s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(ek);for(let r of t.state.selection.ranges){if(!r.empty)continue;let s=eR(t.state,r.head,-1,i)||r.head>0&&eR(t.state,r.head-1,1,i)||i.afterCursor&&(eR(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),ew=[eS,eb];function eT(e={}){return[ek.of(e),ew]}function eP(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let s=n.indexOf(e.name);if(s>-1&&s%2==(t<0?1:0))return[n[s+t]]}return null}function eR(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ex,o=d(e),a=o.resolveInner(t,n);for(let l=a;l;l=l.parent){let c=eP(l.type,n,s);if(c&&l.from=i.to){if(0==l&&r.indexOf(c.type.name)>-1&&c.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),O=0;for(let u=0;!h.next().done&&u<=s;){let f=h.value;n<0&&(u+=f.length);let d=t+u*n;for(let p=n>0?0:f.length-1,m=n>0?f.length:-1;p!=m;p+=n){let g=o.indexOf(f[p]);if(!(g<0)&&i.resolveInner(d+p,1).type==r){if(g%2==0==n>0)O++;else{if(1==O)return{start:c,end:{from:d+p,to:d+p+1},matched:g>>1==l>>1};O--}}}n>0&&(u+=f.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}function eC(e,t,n,i=0,r=0){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);let s=r;for(let o=i;o=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function eX(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class ej extends O{constructor(e){let t,n=h(e.languageData),i={name:e.name||"",token:e.token,blankLine:e.blankLine||(()=>{}),startState:e.startState||(()=>!0),copyState:e.copyState||eX,indent:e.indent||(()=>null),languageData:e.languageData||{},tokenTable:e.tokenTable||eq},s;super(n,new class extends r._b{createParse(e,t,n){return new eA(s,e,t,n)}},[w.of((e,t)=>this.getIndent(e,t))],e.name),this.topNode=(t=r.Jq.define({id:ez.length,name:"Document",props:[c.add(()=>n)]}),ez.push(t),t),s=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new eN(i.tokenTable):eU}static define(e){return new ej(e)}getIndent(e,t){let n=d(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r=eW(this,n,0,i.from,t),s,o;if(r?(o=r.state,s=r.pos+1):(o=this.streamParser.startState(e.unit),s=0),t-s>1e4)return null;for(;s=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let l=t.children[a],c=n+t.positions[a],h=l instanceof r.mp&&cn&&eW(e,s.tree,0-s.offset,n,a),c;if(l&&(c=function e(t,n,i,s,o){if(o&&i<=0&&s>=n.length)return n;o||n.type!=t.topNode||(o=!0);for(let a=n.children.length-1;a>=0;a--){let l=n.positions[a],c=n.children[a],h;if(l=t)?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let n=t.indexOf("\n");n>-1&&(t=t.slice(0,n))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let r=this.ranges[i].to;if(r>=n||(t=t.slice(0,r-(n-t.length)),++i==this.ranges.length))break;let s=this.ranges[i].from,o=this.lineAfter(s);t+=o,n=s+o.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(t,r,1),t+=r;let s=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,i+=this.chunk.length-s}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new eZ(t,e?e.state.tabSize:4,e?P(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let o=e_(r.token,s,this.state);if(o&&(i=this.emitToken(this.lang.tokenTable.resolve(o),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return r}throw Error("Stream parser failed to advance stream.")}let eq=Object.create(null),ez=[r.Jq.none],eI=new r.Lj(ez),eE=[],eG=Object.create(null);for(let[eL,eD]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])eG[eL]=eJ(eq,eD);class eN{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),eG)}resolve(e){return e?this.table[e]||(this.table[e]=eJ(this.extra,e)):0}}let eU=new eN(eq);function eM(e,t){eE.indexOf(e)>-1||(eE.push(e),console.warn(t))}function eJ(e,t){let n=null;for(let i of t.split(".")){let s=e[i]||a.pJ[i];s?"function"==typeof s?n?n=s(n):eM(i,`Modifier ${i} used at start of tag`):n?eM(i,`Tag ${i} used as modifier`):n=s:eM(i,`Unknown highlighting tag ${i}`)}if(!n)return 0;let o=t.replace(/ /g,"_"),l=r.Jq.define({id:ez.length,name:o,props:[(0,a.Gv)({[o]:n})]});return ez.push(l),l.id}},78120:function(e,t,n){"use strict";let i;n.d(t,{BO:function(){return ek},D0:function(){return eg},Gz:function(){return eI},IS:function(){return ez},Py:function(){return eO},QQ:function(){return U},Wl:function(){return V},Xs:function(){return ew},YW:function(){return eu},as:function(){return P},bg:function(){return k},cp:function(){return p},f_:function(){return eT},gc:function(){return w},gm:function(){return x},jT:function(){return _},n0:function(){return T},nZ:function(){return y},q6:function(){return el},r$:function(){return I},uU:function(){return ey},xv:function(){return r},yy:function(){return ex}});class r{constructor(){}lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),o.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),o.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new l(this),r=new l(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new h(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new s(e):o.from(s.split(e,[])):r.empty}}class s extends r{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new O(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let r=e<=0&&t>=this.length?this:new s(a(this.text,[""],e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let o=n.pop(),l=a(r.text,o.text.slice(),0,r.length);if(l.length<=32)n.push(new s(l,o.length+r.length));else{let c=l.length>>1;n.push(new s(l.slice(0,c)),new s(l.slice(c)))}}else n.push(r)}replace(e,t,n){if(!(n instanceof s))return super.replace(e,t,n);let i=a(this.text,a(n.text,a(this.text,[""],0,e)),t),r=this.length+n.length-(t-e);return i.length<=32?new s(i,r):o.from(s.split(i,[]),r)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let r of e)n.push(r),i+=r.length+1,32==n.length&&(t.push(new s(n,i)),n=[],i=-1);return i>-1&&t.push(new s(n,i)),t}}class o extends r{constructor(e,t){for(let n of(super(),this.children=e,this.length=t,this.lines=0,e))this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let l=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!l?n.push(o):o.decompose(e-s,t-s,n,l)}s=a+1}}replace(e,t,n){if(n.lines=r&&t<=a){let l=s.replace(e-r,t-r,n),c=this.lines-s.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let h=this.children.slice();return h[i]=l,new o(h,this.length-(t-e)+n.length)}return super.replace(r,a,l)}r=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof o))return 0;let n=0,[i,r,s,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==s||r==a)return n;let l=this.children[i],c=e.children[r];if(l!=c)return n+l.scanIdentical(c,t);n+=l.length+1}}static from(e,t=e.reduce((e,t)=>e+t.length+1,-1)){let n=0;for(let i of e)n+=i.lines;if(n<32){let r=[];for(let a of e)a.flatten(r);return new s(r,t)}let l=Math.max(32,n>>5),c=l<<1,h=l>>1,O=[],u=0,f=-1,d=[];function p(){0!=u&&(O.push(1==d.length?d[0]:o.from(d,f)),f=-1,u=d.length=0)}for(let m of e)!function e(t){let n;if(t.lines>c&&t instanceof o)for(let i of t.children)e(i);else t.lines>h&&(u>h||!u)?(p(),O.push(t)):t instanceof s&&u&&(n=d[d.length-1])instanceof s&&t.lines+n.lines<=32?(u+=t.lines,f+=t.length+1,d[d.length-1]=new s(n.text.concat(t.text),n.length+1+t.length)):(u+t.lines>l&&p(),u+=t.lines,f+=t.length+1,d.push(t))}(m);return p(),1==O.length?O[0]:new o(O,t)}}function a(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof s?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],r=this.offsets[n],o=r>>1,a=i instanceof s?i.text.length:i.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&r)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof s){let l=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,l.length>Math.max(0,e))return this.value=0==e?l:t>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let c=i.children[o+(t<0?-1:0)];e>c.length?(e-=c.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(c),this.offsets.push(t>0?1:(c instanceof s?c.text.length:c.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new l(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class h{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(r.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=function(){return this});class O{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let u="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let f=1;f=127462&&e<=127487}function p(e,t,n=!0,i=!0){return(n?m:g)(e,t,i)}function m(e,t,n){if(t==e.length)return t;t&&Q(e.charCodeAt(t))&&b(e.charCodeAt(t-1))&&t--;let i=x(e,t);for(t+=y(i);te)return u[t-1]<=e;return!1}(r))t+=y(r),i=r;else if(d(r)){let s=0,o=t-2;for(;o>=0&&d(x(e,o));)s++,o-=2;if(s%2==0)break;t+=2}else break}return t}function g(e,t,n){for(;t>0;){let i=m(e,t-2,n);if(i=56320&&e<57344}function b(e){return e>=55296&&e<56320}function x(e,t){let n=e.charCodeAt(t);if(!b(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return Q(i)?(n-55296<<10)+(i-56320)+65536:n}function k(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function y(e){return e<65536?1:2}let v=/\r\n?|\n/;var $,S,w=(($=w||(w={}))[$.Simple=0]="Simple",$[$.TrackDel=1]="TrackDel",$[$.TrackBefore=2]="TrackBefore",$[$.TrackAfter=3]="TrackAfter",$);class T{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=w.Simple&&l>=e&&(n==w.TrackDel&&ie||n==w.TrackBefore&&ie))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&o>=e)return!(it)||"cover";i=o}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new T(e)}static create(e){return new T(e)}}class P extends T{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return Z(this,(t,n,i,r,s)=>e=e.replace(i,i+(n-t),s),!1),e}mapDesc(e,t=!1){return X(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i=0){t[i]=a,t[i+1]=o;let l=i>>1;for(;n.length0&&C(n,t,r.text),r.forward(l),o+=l}let h=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!i.length)return;ou||O<0||u>t)throw RangeError(`Invalid change range ${O} to ${u} (in doc of length ${t})`);let d=f?"string"==typeof f?r.of(f.split(n||v)):f:r.empty,p=d.length;if(O==u&&0==p)return;Oo&&R(i,O-o,-1),R(i,u-O,p),C(s,i,d),o=u}}(e),l(!a),a}static empty(e){return new P(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;it&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");else if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function C(e,t,n){if(0==n.length)return;let i=t.length-2>>1;if(i>1])),!n&&a!=e.sections.length&&!(e.sections[a+1]<0);)l=e.sections[a++],c=e.sections[a++];t(s,h,o,O,u),s=h,o=O}}}function X(e,t,n,i=!1){let r=[],s=i?[]:null,o=new W(e),a=new W(t);for(let l=-1;;)if(-1==o.ins&&-1==a.ins){let c=Math.min(o.len,a.len);R(r,c,-1),o.forward(c),a.forward(c)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len=0&&l=0){let u=0,f=o.len;for(;f;)if(-1==a.ins){let d=Math.min(f,a.len);u+=d,f-=d,a.forward(d)}else if(0==a.ins&&a.lenl||o.ins>=0&&o.len>l)&&(a||i.length>c),s.forward2(l),o.forward(l)}}else R(i,0,o.ins,a),r&&C(r,i,o.text),o.next()}}class W{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?r.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?r.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class A{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new A(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return _.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return _.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return _.range(e.anchor,e.head)}static create(e,t,n){return new A(e,t,n)}}class _{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:_.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new _(e.ranges.map(e=>A.fromJSON(e)),e.main)}static single(e,t=e){return new _([_.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort((e,t)=>e.from-t.from),t=e.indexOf(n);for(let i=1;ir.head?_.range(a,o):_.range(o,a))}}return new _(e,t)}}function q(e,t){for(let n of e.ranges)if(n.to>t)throw RangeError("Selection points outside of document")}let z=0;class I{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=z++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new I(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:E),!!e.static,e.enables)}of(e){return new G([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new G(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],n=>t(n.field(e)))}}function E(e,t){return e==t||e.length==t.length&&e.every((e,n)=>e===t[n])}class G{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=z++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let h of this.dependencies)"doc"==h?a=!0:"selection"==h?l=!0:((null!==(t=e[h.id])&&void 0!==t?t:1)&1)==0&&c.push(e[h.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||D(e,c)){let r=n(e);if(o?!L(r,e.values[s],i):!i(r,e.values[s]))return e.values[s]=r,1}return 0},reconfigure:(e,t)=>{let a=n(e),l=t.config.address[r];if(null!=l){let c=ee(t,l);if(this.dependencies.every(n=>n instanceof I?t.facet(n)===e.facet(n):!(n instanceof U)||t.field(n,!1)==e.field(n,!1))||(o?L(a,c,i):i(a,c)))return e.values[s]=c,0}return e.values[s]=a,1}}}}function L(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(N).find(e=>e.field==this);return((null==t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,N.of({field:this,create:e})]}get extension(){return this}}let M={lowest:4,low:3,default:2,high:1,highest:0};function J(e){return t=>new B(t,e)}let V={highest:J(M.highest),high:J(M.high),default:J(M.default),low:J(M.low),lowest:J(M.lowest)};class B{constructor(e,t){this.inner=e,this.prec=t}}class Y{of(e){return new F(this,e)}reconfigure(e){return Y.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class F{constructor(e,t){this.compartment=e,this.inner=t}}class H{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i,r,s=[],o=Object.create(null),a=new Map;for(let l of(i=[[],[],[],[],[]],r=new Map,!function e(n,s){let o=r.get(n);if(null!=o){if(o<=s)return;let l=i[o].indexOf(n);l>-1&&i[o].splice(l,1),n instanceof F&&a.delete(n.compartment)}if(r.set(n,s),Array.isArray(n))for(let c of n)e(c,s);else if(n instanceof F){if(a.has(n.compartment))throw RangeError("Duplicate use of compartment in extensions");let h=t.get(n.compartment)||n.inner;a.set(n.compartment,h),e(h,s)}else if(n instanceof B)e(n.inner,n.prec);else if(n instanceof U)i[s].push(n),n.provides&&e(n.provides,s);else if(n instanceof G)i[s].push(n),n.facet.extensions&&e(n.facet.extensions,M.default);else{let O=n.extension;if(!O)throw Error(`Unrecognized extension value in extension set (${n}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(O,s)}}(e,M.default),i.reduce((e,t)=>e.concat(t))))l instanceof U?s.push(l):(o[l.facet.id]||(o[l.facet.id]=[])).push(l);let c=Object.create(null),h=[],O=[];for(let u of s)c[u.id]=O.length<<1,O.push(e=>u.slot(e));let f=null==n?void 0:n.config.facets;for(let d in o){let p=o[d],m=p[0].facet,g=f&&f[d]||[];if(p.every(e=>0==e.type)){if(c[m.id]=h.length<<1|1,E(g,p))h.push(n.facet(m));else{let Q=m.combine(p.map(e=>e.value));h.push(n&&m.compare(Q,n.facet(m))?n.facet(m):Q)}}else{for(let b of p)0==b.type?(c[b.id]=h.length<<1|1,h.push(b.value)):(c[b.id]=O.length<<1,O.push(e=>b.dynamicSlot(e)));c[m.id]=O.length<<1,O.push(e=>(function(e,t,n){let i=n.map(t=>e[t.id]),r=n.map(e=>e.type),s=i.filter(e=>!(1&e)),o=e[t.id]>>1;function a(e){let n=[];for(let s=0;se(c));return new H(e,a,x,c,h,o)}}function K(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ee(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}let et=I.define(),en=I.define({combine:e=>e.some(e=>e),static:!0}),ei=I.define({combine:e=>e.length?e[0]:void 0,static:!0}),er=I.define(),es=I.define(),eo=I.define(),ea=I.define({combine:e=>!!e.length&&e[0]});class el{constructor(e,t){this.type=e,this.value=t}static define(){return new ec}}class ec{of(e){return new el(this,e)}}class eh{constructor(e){this.map=e}of(e){return new eO(this,e)}}class eO{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new eO(this.type,t)}is(e){return this.type==e}static define(e={}){return new eh(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let r=i.map(t);r&&n.push(r)}return n}}eO.reconfigure=eO.define(),eO.appendConfig=eO.define();class eu{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&q(n,t.newLength),r.some(e=>e.type==eu.time)||(this.annotations=r.concat(eu.time.of(Date.now())))}static create(e,t,n,i,r,s){return new eu(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(eu.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function ef(e,t,n){var i;let r,s,o;return n?(r=t.changes,s=P.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),s=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(s):null===(i=e.selection)||void 0===i?void 0:i.map(r),effects:eO.mapEffects(e.effects,r).concat(eO.mapEffects(t.effects,s)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function ed(e,t,n){let i=t.selection,r=em(t.annotations);return t.userEvent&&(r=r.concat(eu.userEvent.of(t.userEvent))),{changes:t.changes instanceof P?t.changes:P.of(t.changes||[],n,e.facet(ei)),selection:i&&(i instanceof _?i:_.single(i.anchor,i.head)),effects:em(t.effects),annotations:r,scrollIntoView:!!t.scrollIntoView}}eu.time=el.define(),eu.userEvent=el.define(),eu.addToHistory=el.define(),eu.remote=el.define();let ep=[];function em(e){return null==e?ep:Array.isArray(e)?e:[e]}var eg=((S=eg||(eg={}))[S.Word=0]="Word",S[S.Space=1]="Space",S[S.Other=2]="Other",S);let eQ=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{i=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(eb){}class ex{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;o=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=ef(i,ed(t,s,e.changes.newLength),!0))}return i==e?e:eu.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(i?function(t){let n=t.startState,i=!0;for(let r of n.facet(er)){let s=r(t);if(!1===s){i=!1;break}Array.isArray(s)&&(i=!0===i?s:function(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;h--){let O=c[h](t);t=O instanceof eu?O:Array.isArray(O)&&1==O.length&&O[0]instanceof eu?O[0]:e(n,em(O),!1)}return t}(a):a)}(this,e,!0)}applyTransaction(e){let t,n=this.config,{base:i,compartments:r}=n;for(let s of e.effects)s.is(Y.reconfigure)?(n&&(r=new Map,n.compartments.forEach((e,t)=>r.set(t,e)),n=null),r.set(s.value.compartment,s.value.extension)):s.is(eO.reconfigure)?(n=null,i=s.value):s.is(eO.appendConfig)&&(n=null,i=em(i).concat(s.value));n?t=e.startState.values.slice():(n=H.resolve(i,r,this),t=new ex(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values),new ex(n,e.newDoc,e.newSelection,t,(t,n)=>n.update(t,e),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:_.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=em(n.effects);for(let o=1;os.spec.fromJSON(o,e)))}}return ex.create({doc:e.doc,selection:_.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=H.resolve(e.extensions||[],new Map),n=e.doc instanceof r?e.doc:r.of((e.doc||"").split(t.staticFacet(ex.lineSeparator)||v)),i=e.selection?e.selection instanceof _?e.selection:_.single(e.selection.anchor,e.selection.head):_.single(0);return q(i,n.length),t.staticFacet(en)||(i=i.asSingle()),new ex(t,n,i,t.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(ex.tabSize)}get lineBreak(){return this.facet(ex.lineSeparator)||"\n"}get readOnly(){return this.facet(ea)}phrase(e,...t){for(let n of this.facet(ex.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(et))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){var t;return t=this.languageDataAt("wordChars",e).join(""),e=>{if(!/\S/.test(e))return eg.Space;if(function(e){if(i)return i.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||eQ.test(n)))return!0}return!1}(e))return eg.Word;for(let n=0;n-1)return eg.Word;return eg.Other}}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let a=p(t,s,!1);if(r(t.slice(a,s))!=eg.Word)break;s=a}for(;oe.length?e[0]:4}),ex.lineSeparator=ei,ex.readOnly=ea,ex.phrases=I.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every(n=>e[n]==t[n])}}),ex.languageData=et,ex.changeFilter=er,ex.transactionFilter=es,ex.transactionExtender=eo,Y.reconfigure=eO.define();class ey{eq(e){return this==e}range(e,t=e){return ev.create(e,t,this)}}ey.prototype.startSide=ey.prototype.endSide=0,ey.prototype.point=!1,ey.prototype.mapMode=w.TrackDel;class ev{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new ev(e,t,n)}}function e$(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class eS{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let a=s+o>>1,l=r[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-t;if(a==s)return l>=0?s:o;l>=0?o=a:s=a+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);r(u=t.mapPos(h,l.endSide))||O==u&&l.startSide>0&&l.endSide<=0)continue;0>(u-O||l.endSide-l.startSide)||(s<0&&(s=O),l.point&&(o=Math.max(o,u-O)),n.push(l),i.push(O-s),r.push(u-s))}return{mapped:n.length?new eS(i,r,n,o):null,pos:s}}}class ew{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new ew(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(e$)),this.isEmpty)return t.length?ew.of(t):this;let o=new eR(this,null,-1).goto(0),a=0,l=[],c=new eT;for(;o.value||a=0){let h=t[a++];c.addInner(h.from,h.to,h.value)||l.push(h)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return eC.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return eC.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),o=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r),a=eP(s,o,n),l=new eX(s,a,r),c=new eX(o,a,r);n.iterGaps((e,t,n)=>ej(l,e,c,t,n,i)),n.empty&&0==n.length&&ej(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=1e9);let r=e.filter(e=>!e.isEmpty&&0>t.indexOf(e)),s=t.filter(t=>!t.isEmpty&&0>e.indexOf(t));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=eP(r,s),a=new eX(r,o,0).goto(n),l=new eX(s,o,0).goto(n);for(;;){if(a.to!=l.to||!eW(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new eX(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let l=Math.min(s.to,n);if(s.point?(i.point(o,l,s.point,s.activeForPoint(s.to),a,s.pointRank),a=s.openEnd(l)+(s.to>l?1:0)):l>o&&(i.span(o,l,s.active,a),a=s.openEnd(l)),s.to>n)break;o=s.to,s.next()}return a}static of(e,t=!1){let n=new eT;for(let i of e instanceof ev?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(e$);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}ew.empty=new ew([],[],null,-1),ew.empty.nextLayer=ew.empty;class eT{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new eS(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new eT)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&0>(e-this.lastFrom||n.startSide-this.last.startSide))throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if(0>(e-this.lastTo||t.value[0].startSide-this.last.endSide))return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(ew.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=ew.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function eP(e,t,n){let i=new Map;for(let r of e)for(let s=0;s(this.to-e||this.endSide-t)&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new eR(s,t,n,r));return 1==i.length?i[0]:new eC(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let i=this.heap.length>>1;i>=0;i--)eZ(this.heap,i);0>(this.to-e||this.value.endSide-t)&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),eZ(this.heap,0)}}}function eZ(e,t){for(let n=e[t];;){let i=(t<<1)+1;if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),0>n.compare(r))break;e[i]=n,e[t]=r,t=i}}class eX{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=eC.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&0>(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t);)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){eA(this.active,e),eA(this.activeTo,e),eA(this.activeRank,e),this.minActive=eq(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&0>(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&eA(n,r)}else if(this.cursor.value){if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let s=this.cursor.value;if(s.point){if(t&&this.cursor.to==this.to&&this.cursor.frome&&i++,this.cursor.next()}}else{this.to=this.endSide=1e9;break}}if(n){let o=0;for(;o=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function ej(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t;for(;;){let c=e.to+l-n.to||e.endSide-n.endSide,h=c<0?e.to+l:n.to,O=Math.min(h,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&eW(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||s.comparePoint(a,O,e.point,n.point):O>a&&!eW(e.active,n.active)&&s.compareRange(a,O,e.active,n.active),h>o)break;a=h,c<=0&&e.next(),c>=0&&n.next()}}function eW(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function eq(e,t){let n=-1,i=1e9;for(let r=0;r(t[r]-i||e[r].endSide-e[n].endSide)&&(n=r,i=t[r]);return n}function ez(e,t,n=e.length){let i=0;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=p(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){"use strict";var i,r;n.d(t,{FE:function(){return A},Jq:function(){return O},L3:function(){return s},Lj:function(){return u},_b:function(){return j},hr:function(){return Z},i9:function(){return X},md:function(){return l},mp:function(){return p},vj:function(){return i}});let s=1024,o=0;class a{constructor(e,t){this.from=e,this.to=t}}class l{constructor(e={}){this.id=o++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=O.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}l.closedBy=new l({deserialize:e=>e.split(" ")}),l.openedBy=new l({deserialize:e=>e.split(" ")}),l.group=new l({deserialize:e=>e.split(" ")}),l.contextHash=new l({perNode:!0}),l.lookAhead=new l({perNode:!0}),l.mounted=new l({perNode:!0});class c{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}let h=Object.create(null);class O{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):h,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new O(e.name||"",t,e.id,n);if(e.props){for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(l.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(l.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}O.none=new O("",Object.create(null),0,8);class u{constructor(e){this.types=e;for(let t=0;t=r&&(o.type.isAnonymous||!1!==t(o))){if(o.firstChild())continue;a=!0}for(;a&&n&&!o.type.isAnonymous&&n(o),!o.nextSibling();){if(!o.parent())return;a=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:C(O.none,this.children,this.positions,0,this.children.length,0,this.length,(e,t,n)=>new p(this.type,e,t,n,this.propValues),e.makeTree||((e,t,n)=>new p(O.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:i,maxBufferLength:r=s,reused:o=[],minRepeatType:a=i.types.length}=e,c=Array.isArray(n)?new m(n,n.length):n,h=i.types,O=0,u=0;function f(e,t,n,r,s,o,a,l){let c=[],h=[];for(;e.length>r;)c.push(e.pop()),h.push(t.pop()+n-s);e.push(d(i.types[a],c,h,o-s,l-o)),t.push(s-n)}function d(e,t,n,i,r=0,s){if(O){let o=[l.contextHash,O];s=s?[o].concat(s):[o]}if(r>25){let a=[l.lookAhead,r];s=s?[a].concat(s):[a]}return new p(e,t,n,i,s)}let Q=[],b=[];for(;c.pos>0;)!function e(t,n,s,m,Q){let{id:b,start:x,end:k,size:y}=c,v=u;for(;y<0;){if(c.next(),-1==y){let $=o[b];s.push($),m.push(x-t);return}if(-3==y){O=b;return}if(-4==y){u=b;return}throw RangeError(`Unrecognized record size: ${y}`)}let S=h[b],w,T,P=x-t;if(k-x<=r&&(T=function(e,t){let n=c.fork(),i=0,s=0,o=0,l=n.end-r,h={size:0,start:0,skip:0};s:for(let O=n.pos-e;n.pos>O;){let u=n.size;if(n.id==t&&u>=0){h.size=i,h.start=s,h.skip=o,o+=4,i+=4,n.next();continue}let f=n.pos-u;if(u<0||f=a?4:0,p=n.start;for(n.next();n.pos>f;){if(n.size<0){if(-3==n.size)d+=4;else break s}else n.id>=a&&(d+=4);n.next()}s=p,i+=u,o+=d}return(t<0||i==e)&&(h.size=i,h.start=s,h.skip=o),h.size>4?h:void 0}(c.pos-n,Q))){let R=new Uint16Array(T.size-T.skip),Z=c.pos-T.size,X=R.length;for(;c.pos>Z;)X=function e(t,n,i){let{id:r,start:s,end:o,size:l}=c;if(c.next(),l>=0&&r4){let f=c.pos-(l-4);for(;c.pos>f;)i=e(t,n,i)}n[--i]=h,n[--i]=o-t,n[--i]=s-t,n[--i]=r}else -3==l?O=r:-4==l&&(u=r);return i}(T.start,R,X);w=new g(R,k-T.start,i),P=T.start-t}else{let j=c.pos-y;c.next();let W=[],A=[],_=b>=a?b:-1,q=0,z=k;for(;c.pos>j;)_>=0&&c.id==_&&c.size>=0?(c.end<=z-r&&(f(W,A,x,q,c.end,z,_,v),q=W.length,z=c.end),c.next()):e(x,j,W,A,_);if(_>=0&&q>0&&q-1&&q>0){let I=function(e){return(t,n,i)=>{let r=0,s=t.length-1,o,a;if(s>=0&&(o=t[s])instanceof p){if(!s&&o.type==e&&o.length==i)return o;(a=o.prop(l.lookAhead))&&(r=n[s]+o.length+a)}return d(e,t,n,i,r)}}(S);w=C(S,W,A,0,W.length,0,k-x,I,I)}else w=d(S,W,A,k-x,v-k)}s.push(w),m.push(P)}(e.start||0,e.bufferStart||0,Q,b,-1);let x=null!==(t=e.length)&&void 0!==t?t:Q.length?b[0]+Q[0].length:0;return new p(h[e.topID],Q.reverse(),b.reverse(),x)}(e)}}p.empty=new p(O.none,[],[],0);class m{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new m(this.buffer,this.index)}}class g{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return O.none}toString(){let e=[];for(let t=0;t0)));a=s[a+3]);return o}slice(e,t,n,i){let r=this.buffer,s=new Uint16Array(t-e);for(let o=e,a=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function b(e,t){let n=e.childBefore(t);for(;n;){let i=n.lastChild;if(!i||i.to!=n.to)break;i.type.isError&&i.from==i.to?(e=n,n=i.prevSibling):n=i}return e}function x(e,t,n,r){for(var s;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;e!=h;e+=t){let O=a[e],u=c[e]+o.from;if(Q(r,n,u,u+O.length)){if(O instanceof g){if(s&i.ExcludeBuffers)continue;let f=O.findChild(0,O.buffer.length,t,n-u,r);if(f>-1)return new S(new $(o,O,e,u),null,f)}else if(s&i.IncludeAnonymous||!O.type.isAnonymous||T(O)){let d;if(!(s&i.IgnoreMounts)&&O.props&&(d=O.prop(l.mounted))&&!d.overlay)return new k(d.tree,u,e,o);let p=new k(O,u,e,o);return s&i.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(t<0?O.children.length-1:0,t,n,r)}}}if(s&i.IncludeAnonymous||!o.type.isAnonymous||(e=o.index>=0?o.index+t:t<0?-1:o._parent._tree.children.length,!(o=o._parent)))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let r;if(!(n&i.IgnoreOverlays)&&(r=this._tree.prop(l.mounted))&&r.overlay){let s=e-this.from;for(let{from:o,to:a}of r.overlay)if((t>0?o<=s:o=s:a>s))return new k(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new w(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return v(this,e)}}function y(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n){for(;!r.type.is(n);)if(!r.nextSibling())return s}for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function v(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class ${constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class S{constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new S(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&i.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new S(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new S(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new S(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new w(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(i,r,s,o)),t.push(0)}return new p(this.type,e,t,this.to-this.from)}resolve(e,t=0){return x(this,e,t,!1)}resolveInner(e,t=0){return x(this,e,t,!0)}enterUnfinishedNodesBefore(e){return b(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=y(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return y(this,e,t,n)}get node(){return this}matchContext(e){return v(this,e)}}class w{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof k)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof k?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&i.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&i.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&i.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let r=t.buffer[this.index+3];if(r<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let o=t+e,a=e<0?-1:n._tree.children.length;o!=a;o+=e){let l=n._tree.children[o];if(this.mode&i.IncludeAnonymous||l instanceof g||!l.type.isAnonymous||T(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break s}i=this.stack[--r]}for(let o=n;o=0;r--){if(r<0)return v(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function T(e){return e.children.some(e=>e instanceof g||!e.type.isAnonymous||T(e))}let P=new WeakMap;function R(e,t){if(!e.isAnonymous||t instanceof g||t.type!=e)return 1;let n=P.get(t);if(null==n){for(let i of(n=1,t.children)){if(i.type!=e||!(i instanceof p)){n=1;break}n+=R(e,i)}P.set(t,n)}return n}function C(e,t,n,i,r,s,o,a,l){let c=0;for(let h=i;h=O)break;p+=m}if(c==h+1){if(p>O){let g=n[h];t(g.children,g.positions,0,g.children.length,i[h]+a);continue}u.push(n[h])}else{let Q=i[c-1]+n[c-1].length-d;u.push(C(e,n,i,h,c,d,Q,null,l))}f.push(d+a-s)}}(t,n,i,r,0),(a||l)(u,f,o)}class Z{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof S?this.setBuffer(e.context.buffer,e.index,t):e instanceof k&&this.map.set(e.tree,t)}get(e){return e instanceof S?this.getBuffer(e.context.buffer,e.index):e instanceof k?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class X{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new X(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o=n)for(;s&&s.from=O.from||h<=O.to||l){let u=Math.max(O.from,a)-l,f=Math.min(O.to,h)-l;O=u>=f?null:new X(u,f,O.tree,O.offset+l,o>0,!!c)}if(O&&i.push(O),s.to>h)break;s=rnew a(e.from,e.to)):[new a(0,0)]:[new a(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let r=i.advance();if(r)return r}}}class W{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function A(e){return(t,n,i,r)=>new I(t,e,n,i,r)}class _{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class q{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}let z=new l({perNode:!0});class I{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return null!=this.stoppedAt&&(n=new p(n.type,n.children,n.positions,n.length,n.propValues.concat([[z,this.stoppedAt]]))),n}let i=this.inner[this.innerDone],r=i.parse.advance();if(r){this.innerDone++;let s=Object.assign(Object.create(null),i.target.props);s[l.mounted.id]=new c(r,i.overlay,i.parser),i.target.props=s}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(h)for(let u of h.mount.overlay){let f=u.from+h.pos,d=u.to+h.pos;f>=r.from&&d<=r.to&&!t.ranges.some(e=>e.fromf)&&t.ranges.push({from:f,to:d})}}l=!1}else if(n&&(o=function(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}(n.ranges,r.from,r.to)))l=2!=o;else if(!r.type.isAnonymous&&r.from=t.to);i++);let o=r.children[i],a=o.buffer;r.children[i]=function e(n,i,r,l,c){let h=n;for(;a[h+2]+s<=t.from;)h=a[h+3];let O=[],u=[];E(o,n,h,O,u,l);let f=a[h+1],d=a[h+2],m=f+s==t.from&&d+s==t.to&&a[h]==t.type.id;return O.push(m?t.toTree():e(h+4,a[h+3],o.set.types[a[h]],f,d-f)),u.push(f-l),E(o,a[h+3],i,O,u,l),new p(r,O,u,c)}(0,a.length,O.none,0,o.length);for(let l=0;l<=n;l++)e.childAfter(t.from)}(r);let m=e.findMounts(r.from,s.parser);if("function"==typeof s.overlay)t=new q(s.parser,s.overlay,m,this.inner.length,r.from,r.tree,t);else{let g=D(this.ranges,s.overlay||[new a(r.from,r.to)]);g.length&&this.inner.push(new _(s.parser,s.parser.startParse(this.input,N(m,g),g),s.overlay?s.overlay.map(e=>new a(e.from-r.from,e.to-r.from)):null,r.tree,g)),s.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):l=!1}}else t&&(c=t.predicate(r))&&(!0===c&&(c=new a(r.from,r.to)),c.fromnew a(e.from-t.start,e.to-t.start)),t.target,Q)),t=t.prev}!n||--n.depth||(n=n.prev)}}}}function E(e,t,n,i,r,s){if(t=e&&t.enter(n,1,i.IgnoreOverlays|i.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&0==t.positions[0]&&t.children[0]instanceof p)t=t.children[0];else break}return!1}}class L{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(z))&&void 0!==t?t:n.to,this.inner=new G(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(z))&&void 0!==e?e:t.to,this.inner=new G(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let r=this.inner.cursor.node;r;r=r.parent){let s=null===(n=r.tree)||void 0===n?void 0:n.prop(l.mounted);if(s&&s.parser==t)for(let o=this.fragI;o=r.to)break;a.tree==this.curFrag.tree&&i.push({frag:a,pos:r.from-a.offset,mount:s})}}}return i}}function D(e,t){let n=null,i=t;for(let r=1,s=0;r=l)break;!(c.to<=o)&&(n||(i=n=t.slice()),c.froml&&n.splice(s+1,0,new a(l,c.to))):c.to>l?n[s--]=new a(l,c.to):n.splice(s--,1))}}return i}function N(e,t){let n=[];for(let{pos:i,mount:r,frag:s}of e){let o=i+(r.overlay?r.overlay[0].from:0),l=o+r.tree.length,c=Math.max(s.from,o),h=Math.min(s.to,l);if(r.overlay){let O=function(e,t,n,i){let r=0,s=0,o=!1,l=!1,c=-1e9,h=[];for(;;){let O=r==e.length?1e9:o?e[r].to:e[r].from,u=s==t.length?1e9:l?t[s].to:t[s].from;if(o!=l){let f=Math.max(c,n),d=Math.min(O,u,i);fnew a(e.from+i,e.to+i)),c,h);for(let u=0,f=c;;u++){let d=u==O.length,p=d?h:O[u].from;if(p>f&&n.push(new X(f,p,r.tree,-o,s.from>=f||s.openStart,s.to<=p||s.openEnd)),d)break;f=O[u].to}}else n.push(new X(c,h,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return n}},35524:function(e,t,n){"use strict";n.d(t,{Gv:function(){return l},QR:function(){return O},Vp:function(){return s},bW:function(){return u},pJ:function(){return R}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null==e?void 0:e.base)throw Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new a;return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort((e,t)=>e.id-t.id))}}let o=0;class a{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(n=>{var i;return n.base==e&&(i=n.modified,t.length==i.length&&t.every((e,t)=>e==i[t]))});if(n)return n;let i=[],r=new s(i,e,t);for(let o of t)o.instances.push(r);let l=function(e){let t=[[]];for(let n=0;nt.length-e.length)}(t);for(let c of e.set)if(!c.modified.length)for(let h of l)i.push(a.get(c,h));return r}}function l(e){let t=Object.create(null);for(let n in e){let i=e[n];for(let r of(Array.isArray(i)||(i=[i]),n.split(" ")))if(r){let s=[],o=2,a=r;for(let l=0;;){if("..."==a&&l>0&&l+3==r.length){o=1;break}let O=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!O)throw RangeError("Invalid path: "+r);if(s.push("*"==O[0]?"":'"'==O[0][0]?JSON.parse(O[0]):O[0]),(l+=O[0].length)==r.length)break;let u=r[l++];if(l==r.length&&"!"==u){o=0;break}if("/"!=u)throw RangeError("Invalid path: "+r);a=r.slice(l)}let f=s.length-1,d=s[f];if(!d)throw RangeError("Invalid path: "+r);let p=new h(i,o,f>0?s.slice(0,f):null);t[d]=p.sort(t[d])}}return c.add(t)}let c=new i.md;class h{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depththis.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter(e=>!e.scope||e.scope(o)));let O=r,u=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,f=function(e,t){let n=null;for(let i of e){let r=i.style(t);r&&(n=n?n+" "+r:r)}return n}(s,u.tags);if(f&&(O&&(O+=" "),O+=f,1==u.mode&&(r+=(r?" ":"")+f)),this.startSpan(e.from,O),u.opaque)return;let d=e.tree&&e.tree.prop(i.md.mounted);if(d&&d.overlay){let p=e.node.enter(d.overlay[0].from+a,1),m=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),g=e.firstChild();for(let Q=0,b=a;;Q++){let x=Q=k)&&e.nextSibling()););if(!x||k>n)break;(b=x.to+a)>t&&(this.highlightRange(p.cursor(),Math.max(t,x.from+a),Math.min(n,b),r,m),this.startSpan(b,O))}g&&e.parent()}else if(e.firstChild()){do{if(e.to<=t)continue;if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),O)}while(e.nextSibling());e.parent()}}}let d=s.define,p=d(),m=d(),g=d(m),Q=d(m),b=d(),x=d(b),k=d(b),y=d(),v=d(y),$=d(),S=d(),w=d(),T=d(w),P=d(),R={comment:p,lineComment:d(p),blockComment:d(p),docComment:d(p),name:m,variableName:d(m),typeName:g,tagName:d(g),propertyName:Q,attributeName:d(Q),className:d(m),labelName:d(m),namespace:d(m),macroName:d(m),literal:b,string:x,docString:d(x),character:d(x),attributeValue:d(x),number:k,integer:d(k),float:d(k),bool:d(b),regexp:d(b),escape:d(b),color:d(b),url:d(b),keyword:$,self:d($),null:d($),atom:d($),unit:d($),modifier:d($),operatorKeyword:d($),controlKeyword:d($),definitionKeyword:d($),moduleKeyword:d($),operator:S,derefOperator:d(S),arithmeticOperator:d(S),logicOperator:d(S),bitwiseOperator:d(S),compareOperator:d(S),updateOperator:d(S),definitionOperator:d(S),typeOperator:d(S),controlOperator:d(S),punctuation:w,separator:d(w),bracket:T,angleBracket:d(T),squareBracket:d(T),paren:d(T),brace:d(T),content:y,heading:v,heading1:d(v),heading2:d(v),heading3:d(v),heading4:d(v),heading5:d(v),heading6:d(v),contentSeparator:d(y),list:d(y),quote:d(y),emphasis:d(y),strong:d(y),link:d(y),monospace:d(y),strikethrough:d(y),inserted:d(),deleted:d(),changed:d(),invalid:d(),meta:P,documentMeta:d(P),annotation:d(P),processingInstruction:d(P),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};O([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){"use strict";n.d(t,{IK:function(){return C},Jq:function(){return b},WQ:function(){return Z}});var i,r,s,o,a,l,c=n(41113),h=n(34155);class O{constructor(e,t,n,i,r,s,o,a,l,c=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new O(e,[],t,n,n,0,[],0,i?new u(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t){this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==s.buffer[o-4]&&s.buffer[o-1]>-1){if(t==n)return;if(s.buffer[o-2]>=t){s.buffer[o-2]=n;return}}}if(r&&this.pos!=n){let a=this.buffer.length;if(a>0&&0!=this.buffer[a-4])for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if((262144&e)==0){let{parser:r}=this.p;(n>this.pos||t<=r.maxNode)&&(this.pos=n,r.stateFlag(e,1)||(this.reducePos=n)),this.pushState(e,i),this.shiftContext(t,i),t<=r.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new O(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new f(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if((65536&n)==0)return!0;if(0==n)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i=0,r;i1&t&&e==o)||n.push(t[s],o)}t=n}let a=[];for(let l=0;l>19);if(n<0||0>t.getGoto(this.stack[n],65535&e,!1))return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class u{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}(i=o||(o={}))[i.Insert=200]="Insert",i[i.Delete=190]="Delete",i[i.Reduce=100]="Reduce",i[i.MaxNext=4]="MaxNext",i[i.MaxInsertStackDepth=300]="MaxInsertStackDepth",i[i.DampenInsertStackDepth=120]="DampenInsertStackDepth";class f{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e>>19;0==t?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(t-1)*3;let n=this.start.p.parser.getGoto(this.stack[this.base-3],65535&e,!0);this.state=n}}class d{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new d(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new d(this.stack,this.pos,this.index)}}class p{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}let m=new p;class g{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=m,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let o=this.ranges[++i];r+=o.from-n.to,n=o}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t=this.chunk2Pos&&no.to&&(this.chunk2=this.chunk2.slice(0,o.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?n.slice(0,this.range.to-this.pos):n,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=m,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Q{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let h=e[c];if(a.allows(h)&&(-1==t.token.value||t.token.value==h||o.overrides(h,t.token.value))){t.acceptToken(h);break}}let O=t.next,u=0,f=e[r+2];if(t.next<0&&f>u&&65535==e[l+3*f-3]){r=e[l+3*f-1];continue s}for(;u>1,p=l+d+(d<<1),m=e[p],g=e[p+1];if(O=g)u=d+1;else{r=e[p+2],t.advance();continue s}}break}}(this.data,e,t,this.id)}}Q.prototype.contextual=Q.prototype.fallback=Q.prototype.extend=!1;class b{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function x(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&o--,o>=34&&o--;let l=o-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}n?n[r++]=s:n=new t(s)}return n}let k=void 0!==h&&h.env&&/\bparse\b/.test(h.env.LOG),y=null;function v(e,t,n){let i=e.cursor(c.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}(r=a||(a={}))[r.Margin=25]="Margin";class ${constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?v(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?v(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(r instanceof c.mp){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(r),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+r.length}}}class S{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new p)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let l=0;lh.end+25&&(a=Math.max(h.lookAhead,a)),0!=h.value)){let O=t;if(h.extended>-1&&(t=this.addActions(e,h.extended,h.end,t)),t=this.addActions(e,h.value,h.end,t),!c.extend&&(n=h,t>O))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||((n=new p).value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new p,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:r}=n.p;for(let s=0;s=0&&n.p.parser.dialect.allows(o>>1)){(1&o)==0?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new $(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;e||(e=[],t=[]),e.push(o);let a=this.tokens.getMainToken(o);t.push(a.value,a.end)}break}}if(!r.length){let l=e&&function(e){let t=null;for(let n of e){let i=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=i&&n.pos>i)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(c)return this.stackToTree(c.forceAll())}if(this.recovering){let h=1==this.recovering?1:3*this.recovering;if(r.length>h)for(r.sort((e,t)=>t.score-e.score);r.length>h;)r.pop();r.some(e=>e.reducePos>i)&&this.recovering--}else if(r.length>1)i:for(let O=0;O500&&d.buffer.length>500){if((u.score-d.score||u.buffer.length-d.buffer.length)>0)r.splice(f--,1);else{r.splice(O--,1);continue i}}}}this.minStackPos=r[0].pos;for(let p=1;p ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let o=e.curContext&&e.curContext.tracker.strict,a=o?e.curContext.hash:0;for(let l=this.fragments.nodeAt(i);l;){let h=this.parser.nodeSet.types[l.type.id]==l.type?r.getGoto(e.state,l.type.id):-1;if(h>-1&&l.length&&(!o||(l.prop(c.md.contextHash)||0)==a))return e.useNode(l,h),k&&console.log(s+this.stackID(e)+` (via reuse of ${r.getName(l.type.id)})`),!0;if(!(l instanceof c.mp)||0==l.children.length||l.positions[0]>0)break;let O=l.children[0];if(O instanceof c.mp&&0==l.positions[0])l=O;else break}}let u=r.stateSlot(e.state,4);if(u>0)return e.reduce(u),k&&console.log(s+this.stackID(e)+` (via always-reduce ${r.getName(65535&u)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let f=this.tokens.getActions(e);for(let d=0;di?t.push(b):n.push(b)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return T(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd&&(r||(r=!0,o.restart(),k&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))))continue;let h=o.split(),O=c;for(let u=0;h.forceReduce()&&u<10&&(k&&console.log(O+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));u++)k&&(O=this.stackID(h)+" -> ");for(let f of o.recoverByInsert(a))k&&console.log(c+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),k&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),T(o,n)):(!i||i.scoree;class C{constructor(e){this.start=e.start,this.shift=e.shift||R,this.reduce=e.reduce||R,this.reuse=e.reuse||R,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class Z extends c._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let n=0;ne.topRules[t][1]),r=[];for(let s=0;s=0)o(O,l,a[h++]);else{let u=a[h+-O];for(let f=-O;f>0;f--)o(a[h++],l,u);h++}}}this.nodeSet=new c.Lj(t.map((t,n)=>c.Jq.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:i.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=c.L3;let d=x(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let p=0;p"number"==typeof e?new Q(d,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new w(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return -1;for(let r=i[t+1];;){let s=i[r++],o=1&s,a=i[r++];if(o&&n)return a;for(let l=r+(s>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=X(this.data,n+2)}if(t==X(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1==this.data[n+1])n=X(this.data,n+2);else break}if((1&this.data[n+2])==0){let i=this.data[n+1];t.some((e,t)=>1&t&&e==i)||t.push(this.data[n],i)}}return t}overrides(e,t){let n=j(this.data,this.tokenPrecTable,t);return n<0||j(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find(e=>e.from==t);return n?n.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let r=e.specializers.find(e=>e.from==n.external);if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=W(s),s})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let i of e.split(" ")){let r=t.indexOf(i);r>=0&&(n[r]=!0)}let s=null;for(let o=0;oe.external(n,i)<<1|t}return e.get}},28699:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});let i="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),r="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}for(let r in e)!function e(t,r,s,o){let a=[],l=/^@(\w+)\b/.exec(t[0]),c=l&&"keyframes"==l[1];if(l&&null==r)return s.push(t[0]+";");for(let h in r){let O=r[h];if(/&/.test(h))e(h.split(/,\s*/).map(e=>t.map(t=>e.replace(/&/,t))).reduce((e,t)=>e.concat(t)),O,s);else if(O&&"object"==typeof O){if(!l)throw RangeError("The value of a property ("+h+") should be a primitive value.");e(i(h),O,a,c)}else null!=O&&a.push(h.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+O+";")}(a.length||c)&&s.push((!n||l||o?t:t.map(n)).join(", ")+" {"+a.join(" ")+"}")}(i(r),e[r],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"ͼ"+e.toString(36)}static mount(e,t){(e[r]||new l(e)).mount(Array.isArray(t)?t:[t])}}let a=null;class l{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(a)return e.adoptedStyleSheets=[a.sheet].concat(e.adoptedStyleSheets),e[r]=a;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),a=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let a=0;a",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent);"undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent);for(var o="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&57>+s[1],c=0;c<10;c++)i[48+c]=i[96+c]=String(c);for(var c=1;c<=24;c++)i[c+111]="F"+c;for(var c=65;c<=90;c++)i[c]=String.fromCharCode(c+32),r[c]=String.fromCharCode(c);for(var h in i)r.hasOwnProperty(h)||(r[h]=i[h]);function O(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1300.4b32175d5676e8df.js b/static/web/_next/static/chunks/1300.4b32175d5676e8df.js deleted file mode 100644 index 1d4cda6b6..000000000 --- a/static/web/_next/static/chunks/1300.4b32175d5676e8df.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1300],{48689:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="DeleteOutlined";var i=r.forwardRef(l)},64942:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M112 476h72v72h-72zm182 0h72v72h-72zm364 0h72v72h-72zm182 0h72v72h-72zm-364 0h72v72h-72z"}}]},name:"small-dash",theme:"outlined"},o=n(42135),l=function(e,t){return r.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:c}))};l.displayName="SmallDashOutlined";var i=r.forwardRef(l)},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0){var R=h[0]/2;K.paddingLeft=R,K.paddingRight=R}if(h&&h[1]>0&&!y){var S=h[1]/2;K.paddingTop=S,K.paddingBottom=S}return P&&(K.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(P),!1!==Z||K.minWidth||(K.minWidth=0)),i.createElement("div",(0,r.Z)({},I,{style:(0,r.Z)((0,r.Z)({},K),O),className:A,ref:t}),k)}))},54907:function(e,t,n){n.d(t,{Z:function(){return A}});var a=n(87462),r=n(4942),c=n(18073),o=n(94184),l=n.n(o),i=n(74902),s=n(15671),u=n(43144),f=n(60136),d=n(33643),p=n(71002),v=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),x=n(97685),C=v.forwardRef((function(e,t){var n,a=e.prefixCls,c=e.forceRender,o=e.className,i=e.style,s=e.children,u=e.isActive,f=e.role,d=v.useState(u||c),p=(0,x.Z)(d,2),m=p[0],h=p[1];return v.useEffect((function(){(c||u)&&h(!0)}),[c,u]),m?v.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),o),style:i,role:f},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));C.displayName="PanelContent";var g=C,b=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=new Array(a),c=0;c-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,c=r.prefixCls,o=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,u=r.collapsible,f=e.key||String(t),d=e.props,p=d.header,m=d.headerClass,h=d.destroyInactivePanel,Z=d.collapsible,y=null!==Z&&void 0!==Z?Z:u,x={key:f,panelKey:f,header:p,headerClass:m,isActive:l?n[0]===f:n.indexOf(f)>-1,prefixCls:c,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:o,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(x).forEach((function(e){"undefined"===typeof x[e]&&delete x[e]})),v.cloneElement(e,x))},a.getItems=function(){var e=a.props.children;return(0,Z.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,c=e.defaultActiveKey;return"activeKey"in e&&(c=r),a.state={activeKey:N(c)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,c=t.style,o=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:c,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=N(e.activeKey)),t}}]),n}(v.Component);w.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},w.Panel=E;var k=w,P=(w.Panel,n(98423)),O=n(53124),I=n(33603),j=n(96159),z=function(e){var t,n=v.useContext(O.E_),o=n.getPrefixCls,i=n.direction,s=e.prefixCls,u=e.className,f=void 0===u?"":u,d=e.bordered,p=void 0===d||d,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,x=o("collapse",s),C=v.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),g=l()("".concat(x,"-icon-position-").concat(C),(t={},(0,r.Z)(t,"".concat(x,"-borderless"),!p),(0,r.Z)(t,"".concat(x,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(x,"-ghost"),!!m),t),f),b=(0,a.Z)((0,a.Z)({},I.ZP),{motionAppear:!1,leavedClassName:"".concat(x,"-content-hidden")});return v.createElement(k,(0,a.Z)({openMotion:b},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(c.Z,{rotate:t.isActive?90:void 0});return(0,j.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(x,"-arrow"))}}))},prefixCls:x,className:g}),function(){var t=e.children;return(0,Z.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),c=e.props,o=c.disabled,l=c.collapsible,i=(0,a.Z)((0,a.Z)({},(0,P.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:o?"disabled":void 0});return(0,j.Tm)(e,i)}return e}))}())};z.Panel=function(e){var t=v.useContext(O.E_).getPrefixCls,n=e.prefixCls,c=e.className,o=void 0===c?"":c,i=e.showArrow,s=void 0===i||i,u=t("collapse",n),f=l()((0,r.Z)({},"".concat(u,"-no-arrow"),!s),o);return v.createElement(k.Panel,(0,a.Z)({},e,{prefixCls:u,className:f}))};var A=z},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(87462),r=n(4942),c=n(71002),o=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),v=n(99134),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0?R[0]/-2:void 0,q=null!=R[1]&&R[1]>0?R[1]/-2:void 0;if(_&&(M.marginLeft=_,M.marginRight=_),z){var B=(0,o.Z)(R,2);M.rowGap=B[1]}else q&&(M.marginTop=q,M.marginBottom=q);var T=(0,o.Z)(R,2),H=T[0],D=T[1],F=s.useMemo((function(){return{gutter:[H,D],wrap:b,supportFlexGap:z}}),[H,D,b,z]);return s.createElement(v.Z.Provider,{value:F},s.createElement("div",(0,a.Z)({},E,{className:S,style:(0,a.Z)((0,a.Z)({},M),y),ref:t}),x))}))},26303:function(e,t,n){n.d(t,{Z:function(){return P}});var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(98423),f=function(e){var t,n,c=e.prefixCls,o=e.className,s=e.style,u=e.size,f=e.shape,d=l()((t={},(0,a.Z)(t,"".concat(c,"-lg"),"large"===u),(0,a.Z)(t,"".concat(c,"-sm"),"small"===u),t)),p=l()((n={},(0,a.Z)(n,"".concat(c,"-circle"),"circle"===f),(0,a.Z)(n,"".concat(c,"-square"),"square"===f),(0,a.Z)(n,"".concat(c,"-round"),"round"===f),n)),v=i.useMemo((function(){return"number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}}),[u]);return i.createElement("span",{className:l()(c,d,p,o),style:(0,r.Z)((0,r.Z)({},v),s)})},d=function(e){var t=e.prefixCls,n=e.className,c=e.active,o=e.shape,d=void 0===o?"circle":o,p=e.size,v=void 0===p?"default":p,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),h=(0,u.Z)(e,["prefixCls","className"]),Z=l()(m,"".concat(m,"-element"),(0,a.Z)({},"".concat(m,"-active"),c),n);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-avatar"),shape:d,size:v},h)))},p=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=void 0!==d&&d,v=e.size,m=void 0===v?"default":v,h=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),Z=(0,u.Z)(e,["prefixCls"]),y=l()(h,"".concat(h,"-element"),(t={},(0,a.Z)(t,"".concat(h,"-active"),o),(0,a.Z)(t,"".concat(h,"-block"),p),t),c);return i.createElement("div",{className:y},i.createElement(f,(0,r.Z)({prefixCls:"".concat(h,"-button"),size:m},Z)))},v=n(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=n(42135),Z=function(e,t){return i.createElement(h.Z,(0,v.Z)((0,v.Z)({},e),{},{ref:t,icon:m}))};Z.displayName="DotChartOutlined";var y=i.forwardRef(Z),x=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=l()(u,"".concat(u,"-element"),(0,a.Z)({},"".concat(u,"-active"),c),n),d=null!==o&&void 0!==o?o:i.createElement(y,null);return i.createElement("div",{className:f},i.createElement("div",{className:l()("".concat(u,"-image"),n),style:r},d))},C=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=l()(o,"".concat(o,"-element"),(0,a.Z)({},"".concat(o,"-active"),c),n);return i.createElement("div",{className:u},i.createElement("div",{className:l()("".concat(o,"-image"),n),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},g=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,v=void 0===p?"default":p,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),h=(0,u.Z)(e,["prefixCls"]),Z=l()(m,"".concat(m,"-element"),(t={},(0,a.Z)(t,"".concat(m,"-active"),o),(0,a.Z)(t,"".concat(m,"-block"),d),t),c);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(m,"-input"),size:v},h)))},b=n(74902),E=function(e){var t=function(t){var n=e.width,a=e.rows,r=void 0===a?2:a;return Array.isArray(n)?n[t]:r-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,c=e.rows,o=(0,b.Z)(Array(c)).map((function(e,n){return i.createElement("li",{key:n,style:{width:t(n)}})}));return i.createElement("ul",{className:l()(n,a),style:r},o)},N=function(e){var t=e.prefixCls,n=e.className,a=e.width,c=e.style;return i.createElement("h3",{className:l()(t,n),style:(0,r.Z)({width:a},c)})};function w(e){return e&&"object"===(0,c.Z)(e)?e:{}}var k=function(e){var t=e.prefixCls,n=e.loading,c=e.className,o=e.style,u=e.children,d=e.avatar,p=void 0!==d&&d,v=e.title,m=void 0===v||v,h=e.paragraph,Z=void 0===h||h,y=e.active,x=e.round,C=i.useContext(s.E_),g=C.getPrefixCls,b=C.direction,k=g("skeleton",t);if(n||!("loading"in e)){var P,O,I,j=!!p,z=!!m,A=!!Z;if(j){var K=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(z,A)),w(p));O=i.createElement("div",{className:"".concat(k,"-header")},i.createElement(f,(0,r.Z)({},K)))}if(z||A){var R,S;if(z){var M=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(j,A)),w(m));R=i.createElement(N,(0,r.Z)({},M))}if(A){var _=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-paragraph")},function(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(j,z)),w(Z));S=i.createElement(E,(0,r.Z)({},_))}I=i.createElement("div",{className:"".concat(k,"-content")},R,S)}var q=l()(k,(P={},(0,a.Z)(P,"".concat(k,"-with-avatar"),j),(0,a.Z)(P,"".concat(k,"-active"),y),(0,a.Z)(P,"".concat(k,"-rtl"),"rtl"===b),(0,a.Z)(P,"".concat(k,"-round"),x),P),c);return i.createElement("div",{className:q,style:o},O,I)}return"undefined"!==typeof u?u:null};k.Button=p,k.Avatar=d,k.Input=g,k.Image=C,k.Node=x;var P=k},20550:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(4942),r=n(87462),c=n(97685),o=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);rt.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,o=i.useContext(s.E_),p=o.getPrefixCls,v=o.direction,m=i.useContext(u.Z),h=m.gutter,Z=m.wrap,y=m.supportFlexGap,x=e.prefixCls,C=e.span,g=e.order,b=e.offset,E=e.push,N=e.pull,w=e.className,k=e.children,P=e.flex,O=e.style,I=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),j=p("col",x),z={};d.forEach(function(t){var n,o={},l=e[t];"number"==typeof l?o.span=l:"object"===(0,c.Z)(l)&&(o=l||{}),delete I[t],z=(0,r.Z)((0,r.Z)({},z),(n={},(0,a.Z)(n,"".concat(j,"-").concat(t,"-").concat(o.span),void 0!==o.span),(0,a.Z)(n,"".concat(j,"-").concat(t,"-order-").concat(o.order),o.order||0===o.order),(0,a.Z)(n,"".concat(j,"-").concat(t,"-offset-").concat(o.offset),o.offset||0===o.offset),(0,a.Z)(n,"".concat(j,"-").concat(t,"-push-").concat(o.push),o.push||0===o.push),(0,a.Z)(n,"".concat(j,"-").concat(t,"-pull-").concat(o.pull),o.pull||0===o.pull),(0,a.Z)(n,"".concat(j,"-rtl"),"rtl"===v),n))});var A=l()(j,(n={},(0,a.Z)(n,"".concat(j,"-").concat(C),void 0!==C),(0,a.Z)(n,"".concat(j,"-order-").concat(g),g),(0,a.Z)(n,"".concat(j,"-offset-").concat(b),b),(0,a.Z)(n,"".concat(j,"-push-").concat(E),E),(0,a.Z)(n,"".concat(j,"-pull-").concat(N),N),n),w,z),K={};if(h&&h[0]>0){var R=h[0]/2;K.paddingLeft=R,K.paddingRight=R}if(h&&h[1]>0&&!y){var S=h[1]/2;K.paddingTop=S,K.paddingBottom=S}return P&&(K.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==Z||K.minWidth||(K.minWidth=0)),i.createElement("div",(0,r.Z)({},I,{style:(0,r.Z)((0,r.Z)({},K),O),className:A,ref:t}),k)})},54907:function(e,t,n){n.d(t,{Z:function(){return j}});var a=n(87462),r=n(4942),c=n(18073),o=n(94184),l=n.n(o),i=n(74902),s=n(15671),u=n(43144),f=n(60136),d=n(33643),p=n(71002),v=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),x=n(97685),C=v.forwardRef(function(e,t){var n,a=e.prefixCls,c=e.forceRender,o=e.className,i=e.style,s=e.children,u=e.isActive,f=e.role,d=v.useState(u||c),p=(0,x.Z)(d,2),m=p[0],h=p[1];return(v.useEffect(function(){(c||u)&&h(!0)},[c,u]),m)?v.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),o),style:i,role:f},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null});C.displayName="PanelContent";var g=function(e){(0,f.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=Array(a),c=0;c-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,c=r.prefixCls,o=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,u=r.collapsible,f=e.key||String(t),d=e.props,p=d.header,m=d.headerClass,h=d.destroyInactivePanel,Z=d.collapsible,y=!1;y=l?n[0]===f:n.indexOf(f)>-1;var x=null!=Z?Z:u,C={key:f,panelKey:f,header:p,headerClass:m,isActive:y,prefixCls:c,destroyInactivePanel:null!=h?h:i,openMotion:o,accordion:l,children:e.props.children,onItemClick:"disabled"===x?null:a.onClickItem,expandIcon:s,collapsible:x};return"string"==typeof e.type?e:(Object.keys(C).forEach(function(e){void 0===C[e]&&delete C[e]}),v.cloneElement(e,C))},a.getItems=function(){var e=a.props.children;return(0,Z.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,c=e.defaultActiveKey;return"activeKey"in e&&(c=r),a.state={activeKey:b(c)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,c=t.style,o=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:c,role:o?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=b(e.activeKey)),t}}]),n}(v.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=g,E.Panel;var N=n(98423),w=n(53124),k=n(33603),P=n(96159),O=function(e){var t=v.useContext(w.E_).getPrefixCls,n=e.prefixCls,c=e.className,o=e.showArrow,i=t("collapse",n),s=l()((0,r.Z)({},"".concat(i,"-no-arrow"),!(void 0===o||o)),void 0===c?"":c);return v.createElement(E.Panel,(0,a.Z)({},e,{prefixCls:i,className:s}))},I=function(e){var t,n,o=v.useContext(w.E_),i=o.getPrefixCls,s=o.direction,u=e.prefixCls,f=e.className,d=e.bordered,p=e.ghost,m=e.expandIconPosition,h=void 0===m?"start":m,y=i("collapse",u),x=v.useMemo(function(){return"left"===h?"start":"right"===h?"end":h},[h]),C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(c.Z,{rotate:t.isActive?90:void 0});return(0,P.Tm)(a,function(){return{className:l()(a.props.className,"".concat(y,"-arrow"))}})},g=l()("".concat(y,"-icon-position-").concat(x),(n={},(0,r.Z)(n,"".concat(y,"-borderless"),!(void 0===d||d)),(0,r.Z)(n,"".concat(y,"-rtl"),"rtl"===s),(0,r.Z)(n,"".concat(y,"-ghost"),!!p),n),void 0===f?"":f),b=(0,a.Z)((0,a.Z)({},k.ZP),{motionAppear:!1,leavedClassName:"".concat(y,"-content-hidden")});return v.createElement(E,(0,a.Z)({openMotion:b},e,{expandIcon:C,prefixCls:y,className:g}),(t=e.children,(0,Z.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),c=e.props,o=c.disabled,l=c.collapsible,i=(0,a.Z)((0,a.Z)({},(0,N.Z)(e.props,["disabled"])),{key:r,collapsible:null!=l?l:o?"disabled":void 0});return(0,P.Tm)(e,i)}return e})))};I.Panel=O;var j=I},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(87462),r=n(4942),c=n(71002),o=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),v=n(99134),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,p.b)("top","middle","bottom","stretch"),(0,p.b)("start","end","center","space-around","space-between","space-evenly");var h=s.forwardRef(function(e,t){var n,l,p=e.prefixCls,h=e.justify,Z=e.align,y=e.className,x=e.style,C=e.children,g=e.gutter,b=void 0===g?0:g,E=e.wrap,N=m(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),w=s.useContext(u.E_),k=w.getPrefixCls,P=w.direction,O=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),I=(0,o.Z)(O,2),j=I[0],z=I[1],A=(0,f.Z)(),K=s.useRef(b);s.useEffect(function(){var e=d.ZP.subscribe(function(e){var t=K.current||0;(!Array.isArray(t)&&"object"===(0,c.Z)(t)||Array.isArray(t)&&("object"===(0,c.Z)(t[0])||"object"===(0,c.Z)(t[1])))&&z(e)});return function(){return d.ZP.unsubscribe(e)}},[]);var R=k("row",p),S=(n=[void 0,void 0],(Array.isArray(b)?b:[b,void 0]).forEach(function(e,t){if("object"===(0,c.Z)(e))for(var a=0;a0?-(S[0]/2):void 0,B=null!=S[1]&&S[1]>0?-(S[1]/2):void 0;if(q&&(_.marginLeft=q,_.marginRight=q),A){var T=(0,o.Z)(S,2);_.rowGap=T[1]}else B&&(_.marginTop=B,_.marginBottom=B);var H=(0,o.Z)(S,2),D=H[0],F=H[1],G=s.useMemo(function(){return{gutter:[D,F],wrap:E,supportFlexGap:A}},[D,F,E,A]);return s.createElement(v.Z.Provider,{value:G},s.createElement("div",(0,a.Z)({},N,{className:M,style:(0,a.Z)((0,a.Z)({},_),x),ref:t}),C))})},26303:function(e,t,n){n.d(t,{Z:function(){return P}});var a=n(4942),r=n(87462),c=n(71002),o=n(94184),l=n.n(o),i=n(67294),s=n(53124),u=n(98423),f=function(e){var t,n,c=e.prefixCls,o=e.className,s=e.style,u=e.size,f=e.shape,d=l()((t={},(0,a.Z)(t,"".concat(c,"-lg"),"large"===u),(0,a.Z)(t,"".concat(c,"-sm"),"small"===u),t)),p=l()((n={},(0,a.Z)(n,"".concat(c,"-circle"),"circle"===f),(0,a.Z)(n,"".concat(c,"-square"),"square"===f),(0,a.Z)(n,"".concat(c,"-round"),"round"===f),n)),v=i.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return i.createElement("span",{className:l()(c,d,p,o),style:(0,r.Z)((0,r.Z)({},v),s)})},d=function(e){var t=e.prefixCls,n=e.className,c=e.active,o=e.shape,d=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),v=(0,u.Z)(e,["prefixCls","className"]),m=l()(p,"".concat(p,"-element"),(0,a.Z)({},"".concat(p,"-active"),c),n);return i.createElement("div",{className:m},i.createElement(f,(0,r.Z)({prefixCls:"".concat(p,"-avatar"),shape:void 0===o?"circle":o,size:void 0===d?"default":d},v)))},p=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,v=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),m=(0,u.Z)(e,["prefixCls"]),h=l()(v,"".concat(v,"-element"),(t={},(0,a.Z)(t,"".concat(v,"-active"),o),(0,a.Z)(t,"".concat(v,"-block"),void 0!==d&&d),t),c);return i.createElement("div",{className:h},i.createElement(f,(0,r.Z)({prefixCls:"".concat(v,"-button"),size:void 0===p?"default":p},m)))},v=n(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=n(42135),Z=function(e,t){return i.createElement(h.Z,(0,v.Z)((0,v.Z)({},e),{},{ref:t,icon:m}))};Z.displayName="DotChartOutlined";var y=i.forwardRef(Z),x=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=l()(u,"".concat(u,"-element"),(0,a.Z)({},"".concat(u,"-active"),c),n),d=null!=o?o:i.createElement(y,null);return i.createElement("div",{className:f},i.createElement("div",{className:l()("".concat(u,"-image"),n),style:r},d))},C=function(e){var t=e.prefixCls,n=e.className,r=e.style,c=e.active,o=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=l()(o,"".concat(o,"-element"),(0,a.Z)({},"".concat(o,"-active"),c),n);return i.createElement("div",{className:u},i.createElement("div",{className:l()("".concat(o,"-image"),n),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))},g=function(e){var t,n=e.prefixCls,c=e.className,o=e.active,d=e.block,p=e.size,v=(0,i.useContext(s.E_).getPrefixCls)("skeleton",n),m=(0,u.Z)(e,["prefixCls"]),h=l()(v,"".concat(v,"-element"),(t={},(0,a.Z)(t,"".concat(v,"-active"),o),(0,a.Z)(t,"".concat(v,"-block"),d),t),c);return i.createElement("div",{className:h},i.createElement(f,(0,r.Z)({prefixCls:"".concat(v,"-input"),size:void 0===p?"default":p},m)))},b=n(74902),E=function(e){var t=function(t){var n=e.width,a=e.rows;return Array.isArray(n)?n[t]:(void 0===a?2:a)-1===t?n:void 0},n=e.prefixCls,a=e.className,r=e.style,c=e.rows,o=(0,b.Z)(Array(c)).map(function(e,n){return i.createElement("li",{key:n,style:{width:t(n)}})});return i.createElement("ul",{className:l()(n,a),style:r},o)},N=function(e){var t=e.prefixCls,n=e.className,a=e.width,c=e.style;return i.createElement("h3",{className:l()(t,n),style:(0,r.Z)({width:a},c)})};function w(e){return e&&"object"===(0,c.Z)(e)?e:{}}var k=function(e){var t=e.prefixCls,n=e.loading,c=e.className,o=e.style,u=e.children,d=e.avatar,p=void 0!==d&&d,v=e.title,m=void 0===v||v,h=e.paragraph,Z=void 0===h||h,y=e.active,x=e.round,C=i.useContext(s.E_),g=C.getPrefixCls,b=C.direction,k=g("skeleton",t);if(n||!("loading"in e)){var P=!!p,O=!!m,I=!!Z;if(P){var j=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-avatar")},O&&!I?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),w(p));A=i.createElement("div",{className:"".concat(k,"-header")},i.createElement(f,(0,r.Z)({},j)))}if(O||I){if(O){var z,A,K,R,S,M=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-title")},!P&&I?{width:"38%"}:P&&I?{width:"50%"}:{}),w(m));R=i.createElement(N,(0,r.Z)({},M))}if(I){var _,q=(0,r.Z)((0,r.Z)({prefixCls:"".concat(k,"-paragraph")},(_={},P&&O||(_.width="61%"),!P&&O?_.rows=3:_.rows=2,_)),w(Z));S=i.createElement(E,(0,r.Z)({},q))}K=i.createElement("div",{className:"".concat(k,"-content")},R,S)}var B=l()(k,(z={},(0,a.Z)(z,"".concat(k,"-with-avatar"),P),(0,a.Z)(z,"".concat(k,"-active"),y),(0,a.Z)(z,"".concat(k,"-rtl"),"rtl"===b),(0,a.Z)(z,"".concat(k,"-round"),x),z),c);return i.createElement("div",{className:B,style:o},A,K)}return void 0!==u?u:null};k.Button=p,k.Avatar=d,k.Input=g,k.Image=C,k.Node=x;var P=k},20550:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(4942),r=n(87462),c=n(97685),o=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},m=function(e){var t,n=e.prefixCls,c=e.className,o=e.checked,l=e.onChange,s=e.onClick,d=v(e,["prefixCls","className","checked","onChange","onClick"]),p=u.useContext(f.E_).getPrefixCls,m=function(e){null==l||l(!o),null==s||s(e)},h=p("tag",n),Z=i()(h,(t={},(0,a.Z)(t,"".concat(h,"-checkable"),!0),(0,a.Z)(t,"".concat(h,"-checkable-checked"),o),t),c);return u.createElement("span",(0,r.Z)({},d,{className:Z,onClick:m}))},h=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},Z=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),y=RegExp("^(".concat(d.E.join("|"),")$")),x=function(e,t){var n,l=e.prefixCls,d=e.className,v=e.style,m=e.children,x=e.icon,C=e.color,g=e.onClose,b=e.closeIcon,E=e.closable,N=h(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),w=u.useContext(f.E_),k=w.getPrefixCls,P=w.direction,O=u.useState(!0),I=(0,c.Z)(O,2),j=I[0],z=I[1];u.useEffect(function(){"visible"in N&&z(N.visible)},[N.visible]);var A=function(){return!!C&&(Z.test(C)||y.test(C))},K=(0,r.Z)({backgroundColor:C&&!A()?C:void 0},v),R=A(),S=k("tag",l),M=i()(S,(n={},(0,a.Z)(n,"".concat(S,"-").concat(C),R),(0,a.Z)(n,"".concat(S,"-has-color"),C&&!R),(0,a.Z)(n,"".concat(S,"-hidden"),!j),(0,a.Z)(n,"".concat(S,"-rtl"),"rtl"===P),n),d),_=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in N||z(!1))},q="onClick"in N||m&&"a"===m.type,B=(0,s.Z)(N,["visible"]),T=x||null,H=T?u.createElement(u.Fragment,null,T,u.createElement("span",null,m)):m,D=u.createElement("span",(0,r.Z)({},B,{ref:t,className:M,style:K}),H,void 0!==E&&E?b?u.createElement("span",{className:"".concat(S,"-close-icon"),onClick:_},b):u.createElement(o.Z,{className:"".concat(S,"-close-icon"),onClick:_}):null);return q?u.createElement(p.Z,null,D):D},C=u.forwardRef(x);C.CheckableTag=m;var g=C}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1390.6886ba2b271d6f82.js b/static/web/_next/static/chunks/1390.6886ba2b271d6f82.js deleted file mode 100644 index 5775eb5f1..000000000 --- a/static/web/_next/static/chunks/1390.6886ba2b271d6f82.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1390],{21390:function(e,t,n){n.r(t),n.d(t,{Cassandra:function(){return A},MSSQL:function(){return W},MariaSQL:function(){return N},MySQL:function(){return $},PLSQL:function(){return Y},PostgreSQL:function(){return V},SQLDialect:function(){return X},SQLite:function(){return G},StandardSQL:function(){return L},keywordCompletion:function(){return j},keywordCompletionSource:function(){return B},schemaCompletion:function(){return R},schemaCompletionSource:function(){return J},sql:function(){return Z}});var r=n(59119),a=n(35524),i=n(53105),o=n(34790);function s(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function l(e,t,n){for(let r=!1;;){if(e.next<0)return;if(e.next==t&&!r)return void e.advance();r=n&&!r&&92==e.next,e.advance()}}function c(e,t){for(;95==e.next||s(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function d(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function u(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),43!=e.next&&45!=e.next||e.advance();e.next>=48&&e.next<=57;)e.advance()}function m(e){for(;!(e.next<0||10==e.next);)e.advance()}function p(e,t){for(let n=0;n!=&|~^/",specialVar:"?",identifierQuotes:'"',words:g(_,h)};function v(e){return new i.Jq((t=>{var n;let{next:r}=t;if(t.advance(),p(r,f)){for(;p(t.next,f);)t.advance();t.acceptToken(36)}else if(36==r&&36==t.next&&e.doubleDollarStrings)!function(e){for(;;){if(e.next<0||e.peek(1)<0)return;if(36==e.next&&36==e.peek(1))return void e.advance(2);e.advance()}}(t),t.acceptToken(3);else if(39==r||34==r&&e.doubleQuotedStrings)l(t,r,e.backslashEscapes),t.acceptToken(3);else if(35==r&&e.hashComments||47==r&&47==t.next&&e.slashComments)m(t),t.acceptToken(1);else if(45!=r||45!=t.next||e.spaceAfterDashes&&32!=t.peek(1))if(47==r&&42==t.next){t.advance();for(let e=-1,n=1;!(t.next<0);)if(t.advance(),42==e&&47==t.next){if(n--,!n){t.advance();break}e=-1}else 47==e&&42==t.next?(n++,e=-1):e=t.next;t.acceptToken(2)}else if(101!=r&&69!=r||39!=t.next)if(110!=r&&78!=r||39!=t.next||!e.charSetCasts)if(95==r&&e.charSetCasts)for(let i=0;;i++){if(39==t.next&&i>1){t.advance(),l(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!s(t.next))break;t.advance()}else if(40==r)t.acceptToken(7);else if(41==r)t.acceptToken(8);else if(123==r)t.acceptToken(9);else if(125==r)t.acceptToken(10);else if(91==r)t.acceptToken(11);else if(93==r)t.acceptToken(12);else if(59==r)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==r&&98==t.next)t.advance(),d(t),t.acceptToken(22);else if(98!=r&&66!=r||39!=t.next&&34!=t.next){if(48==r&&(120==t.next||88==t.next)||(120==r||88==r)&&39==t.next){let e=39==t.next;for(t.advance();(a=t.next)>=48&&a<=57||a>=97&&a<=102||a>=65&&a<=70;)t.advance();e&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==r&&t.next>=48&&t.next<=57)u(t,!0),t.acceptToken(4);else if(46==r)t.acceptToken(14);else if(r>=48&&r<=57)u(t,!1),t.acceptToken(4);else if(p(r,e.operatorChars)){for(;p(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(p(r,e.specialVar))t.next==r&&t.advance(),function(e){if(39==e.next||34==e.next||96==e.next){let t=e.next;e.advance(),l(e,t,!1)}else c(e)}(t),t.acceptToken(17);else if(p(r,e.identifierQuotes))l(t,r,!1),t.acceptToken(19);else if(58==r||44==r)t.acceptToken(16);else if(s(r)){let a=c(t,String.fromCharCode(r));t.acceptToken(46==t.next?18:null!==(n=e.words[a.toLowerCase()])&&void 0!==n?n:18)}}else{const n=t.next;t.advance(),e.treatBitsAsBytes?(l(t,n,e.backslashEscapes),t.acceptToken(23)):(d(t,n),t.acceptToken(22))}else t.advance(),l(t,39,e.backslashEscapes),t.acceptToken(3);else t.advance(),l(t,39,!0);else m(t),t.acceptToken(1);var a}))}const y=v(b),k=i.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"\u26a0 LineComment BlockComment String Number Bool Null ( ) [ ] { } ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,y],topRules:{Script:[0,25]},tokenPrec:0});function O(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function x(e,t){let n=e.sliceString(t.from,t.to),r=/^([`'"])(.*)\1$/.exec(n);return r?r[2]:n}function w(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function Q(e,t){if("CompositeIdentifier"==t.name){let n=[];for(let r=t.firstChild;r;r=r.nextSibling)w(r)&&n.push(x(e,r));return n}return[x(e,t)]}function C(e,t){for(let n=[];;){if(!t||"."!=t.name)return n;let r=O(t);if(!w(r))return n;n.unshift(x(e,r)),t=O(r)}}function S(e,t){let n=(0,r.qz)(e).resolveInner(t,-1),a=function(e,t){let n;for(let a=t;!n;a=a.parent){if(!a)return null;"Statement"==a.name&&(n=a)}let r=null;for(let a=n.firstChild,i=!1,o=null;a;a=a.nextSibling){let t="Keyword"==a.name?e.sliceString(a.from,a.to).toLowerCase():null,n=null;if(i)if("as"==t&&o&&w(a.nextSibling))n=x(e,a.nextSibling);else{if(t&&q.has(t))break;o&&w(a)&&(n=x(e,a))}else i="from"==t;n&&(r||(r=Object.create(null)),r[n]=Q(e,o)),o=/Identifier$/.test(a.name)?a:null}return r}(e.doc,n);return"Identifier"==n.name||"QuotedIdentifier"==n.name||"Keyword"==n.name?{from:n.from,quoted:"QuotedIdentifier"==n.name?e.doc.sliceString(n.from,n.from+1):null,parents:C(e.doc,O(n)),aliases:a}:"."==n.name?{from:t,quoted:null,parents:C(e.doc,n),aliases:a}:{from:t,quoted:null,parents:[],empty:!0,aliases:a}}const q=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));const P=/^\w*$/,T=/^[`'"]?\w*[`'"]?$/;class U{constructor(){this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null));return t[e]||(t[e]=new U)}childCompletions(e){return this.children?Object.keys(this.children).filter((e=>e)).map((t=>({label:t,type:e}))):[]}}let z=k.configure({props:[r.uj.add({Statement:(0,r.tC)()}),r.x0.add({Statement:e=>({from:e.firstChild.to,to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,a.Gv)({Keyword:a.pJ.keyword,Type:a.pJ.typeName,Builtin:a.pJ.standard(a.pJ.name),Bits:a.pJ.number,Bytes:a.pJ.string,Bool:a.pJ.bool,Null:a.pJ.null,Number:a.pJ.number,String:a.pJ.string,Identifier:a.pJ.name,QuotedIdentifier:a.pJ.special(a.pJ.string),SpecialVar:a.pJ.special(a.pJ.name),LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Operator:a.pJ.operator,"Semi Punctuation":a.pJ.punctuation,"( )":a.pJ.paren,"{ }":a.pJ.brace,"[ ]":a.pJ.squareBracket})]});class X{constructor(e,t){this.dialect=e,this.language=t}get extension(){return this.language.extension}static define(e){let t=function(e,t,n,r){let a={};for(let i in b)a[i]=(e.hasOwnProperty(i)?e:b)[i];return t&&(a.words=g(t,n||"",r)),a}(e,e.keywords,e.types,e.builtin),n=r.qp.define({name:"sql",parser:z.configure({tokenizers:[{from:y,to:v(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new X(t,n)}}function B(e,t=!1){return function(e,t){let n=Object.keys(e).map((n=>({label:t?n.toUpperCase():n,type:21==e[n]?"type":20==e[n]?"keyword":"variable",boost:-1})));return(0,o.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,o.Mb)(n))}(e.dialect.words,t)}function j(e,t=!1){return e.language.data.of({autocomplete:B(e,t)})}function J(e){return e.schema?function(e,t,n,r){let a=new U,i=a.child(r||"");for(let o in e){let t=o.indexOf(".");(t>-1?a.child(o.slice(0,t)):i).child(t>-1?o.slice(t+1):o).list=e[o].map((e=>"string"==typeof e?{label:e,type:"property"}:e))}i.list=(t||i.childCompletions("type")).concat(n?i.child(n).list:[]);for(let o in a.children){let e=a.child(o);e.list.length||(e.list=e.childCompletions("type"))}return a.list=i.list.concat(a.childCompletions("type")),e=>{let{parents:t,from:r,quoted:o,empty:s,aliases:l}=S(e.state,e.pos);if(s&&!e.explicit)return null;l&&1==t.length&&(t=l[t[0]]||t);let c=a;for(let f of t){for(;!c.children||!c.children[f];)if(c==a)c=i;else{if(c!=i||!n)return null;c=c.child(n)}c=c.child(f)}let d=o&&e.state.sliceDoc(e.pos,e.pos+1)==o,u=c.list;return c==a&&l&&(u=u.concat(Object.keys(l).map((e=>({label:e,type:"constant"}))))),{from:r,to:d?e.pos+1:void 0,options:(m=o,p=u,m?p.map((e=>Object.assign(Object.assign({},e),{label:m+e.label+m,apply:void 0}))):p),validFor:o?T:P};var m,p}}(e.schema,e.tables,e.defaultTable,e.defaultSchema):()=>null}function R(e){return e.schema?(e.dialect||L).language.data.of({autocomplete:J(e)}):[]}function Z(e={}){let t=e.dialect||L;return new r.ri(t.language,[R(e),j(t,!!e.upperCaseKeywords)])}const L=X.define({}),V=X.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:_+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),D="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",I=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",E="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",$=X.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"group_concat "+D,types:I,builtin:E}),N=X.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"always generated groupby_concat hard persistent shutdown soft virtual "+D,types:I,builtin:E}),W=X.define({keywords:_+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:h+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),G=X.define({keywords:_+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),A=X.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),Y=X.define({keywords:_+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1390.d7a1061cbe003f66.js b/static/web/_next/static/chunks/1390.d7a1061cbe003f66.js new file mode 100644 index 000000000..34c5a698f --- /dev/null +++ b/static/web/_next/static/chunks/1390.d7a1061cbe003f66.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1390],{21390:function(e,t,n){n.r(t),n.d(t,{Cassandra:function(){return W},MSSQL:function(){return $},MariaSQL:function(){return E},MySQL:function(){return I},PLSQL:function(){return G},PostgreSQL:function(){return Z},SQLDialect:function(){return U},SQLite:function(){return N},StandardSQL:function(){return R},keywordCompletion:function(){return X},keywordCompletionSource:function(){return z},schemaCompletion:function(){return j},schemaCompletionSource:function(){return B},sql:function(){return J}});var r=n(59119),a=n(35524),i=n(53105),o=n(34790);function s(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function l(e,t,n){for(let r=!1;;){if(e.next<0)return;if(e.next==t&&!r){e.advance();return}r=n&&!r&&92==e.next,e.advance()}}function c(e,t){for(;95==e.next||s(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function d(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function u(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),(43==e.next||45==e.next)&&e.advance();e.next>=48&&e.next<=57;)e.advance()}function m(e){for(;!(e.next<0||10==e.next);)e.advance()}function p(e,t){for(let n=0;n!=&|~^/",specialVar:"?",identifierQuotes:'"',words:g(_,h)};function v(e){return new i.Jq(t=>{var n,r;let{next:a}=t;if(t.advance(),p(a,f)){for(;p(t.next,f);)t.advance();t.acceptToken(36)}else if(36==a&&36==t.next&&e.doubleDollarStrings)!function(e){for(;;){if(e.next<0||0>e.peek(1))return;if(36==e.next&&36==e.peek(1)){e.advance(2);return}e.advance()}}(t),t.acceptToken(3);else if(39==a||34==a&&e.doubleQuotedStrings)l(t,a,e.backslashEscapes),t.acceptToken(3);else if(35==a&&e.hashComments||47==a&&47==t.next&&e.slashComments)m(t),t.acceptToken(1);else if(45!=a||45!=t.next||e.spaceAfterDashes&&32!=t.peek(1)){if(47==a&&42==t.next){t.advance();for(let i=-1,o=1;!(t.next<0);)if(t.advance(),42==i&&47==t.next){if(!--o){t.advance();break}i=-1}else 47==i&&42==t.next?(o++,i=-1):i=t.next;t.acceptToken(2)}else if((101==a||69==a)&&39==t.next)t.advance(),l(t,39,!0);else if((110==a||78==a)&&39==t.next&&e.charSetCasts)t.advance(),l(t,39,e.backslashEscapes),t.acceptToken(3);else if(95==a&&e.charSetCasts)for(let g=0;;g++){if(39==t.next&&g>1){t.advance(),l(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!s(t.next))break;t.advance()}else if(40==a)t.acceptToken(7);else if(41==a)t.acceptToken(8);else if(123==a)t.acceptToken(9);else if(125==a)t.acceptToken(10);else if(91==a)t.acceptToken(11);else if(93==a)t.acceptToken(12);else if(59==a)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==a&&98==t.next)t.advance(),d(t),t.acceptToken(22);else if((98==a||66==a)&&(39==t.next||34==t.next)){let h=t.next;t.advance(),e.treatBitsAsBytes?(l(t,h,e.backslashEscapes),t.acceptToken(23)):(d(t,h),t.acceptToken(22))}else if(48==a&&(120==t.next||88==t.next)||(120==a||88==a)&&39==t.next){let _=39==t.next;for(t.advance();(r=t.next)>=48&&r<=57||r>=97&&r<=102||r>=65&&r<=70;)t.advance();_&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==a&&t.next>=48&&t.next<=57)u(t,!0),t.acceptToken(4);else if(46==a)t.acceptToken(14);else if(a>=48&&a<=57)u(t,!1),t.acceptToken(4);else if(p(a,e.operatorChars)){for(;p(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(p(a,e.specialVar))t.next==a&&t.advance(),function(e){if(39==e.next||34==e.next||96==e.next){let t=e.next;e.advance(),l(e,t,!1)}else c(e)}(t),t.acceptToken(17);else if(p(a,e.identifierQuotes))l(t,a,!1),t.acceptToken(19);else if(58==a||44==a)t.acceptToken(16);else if(s(a)){let b=c(t,String.fromCharCode(a));t.acceptToken(46==t.next?18:null!==(n=e.words[b.toLowerCase()])&&void 0!==n?n:18)}}else m(t),t.acceptToken(1)})}let y=v(b),k=i.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) [ ] { } ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,y],topRules:{Script:[0,25]},tokenPrec:0});function O(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function x(e,t){let n=e.sliceString(t.from,t.to),r=/^([`'"])(.*)\1$/.exec(n);return r?r[2]:n}function w(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function Q(e,t){for(let n=[];;){if(!t||"."!=t.name)return n;let r=O(t);if(!w(r))return n;n.unshift(x(e,r)),t=O(r)}}let C=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" ")),S=/^\w*$/,q=/^[`'"]?\w*[`'"]?$/;class P{constructor(){this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null));return t[e]||(t[e]=new P)}childCompletions(e){return this.children?Object.keys(this.children).filter(e=>e).map(t=>({label:t,type:e})):[]}}let T=k.configure({props:[r.uj.add({Statement:(0,r.tC)()}),r.x0.add({Statement:e=>({from:e.firstChild.to,to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,a.Gv)({Keyword:a.pJ.keyword,Type:a.pJ.typeName,Builtin:a.pJ.standard(a.pJ.name),Bits:a.pJ.number,Bytes:a.pJ.string,Bool:a.pJ.bool,Null:a.pJ.null,Number:a.pJ.number,String:a.pJ.string,Identifier:a.pJ.name,QuotedIdentifier:a.pJ.special(a.pJ.string),SpecialVar:a.pJ.special(a.pJ.name),LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Operator:a.pJ.operator,"Semi Punctuation":a.pJ.punctuation,"( )":a.pJ.paren,"{ }":a.pJ.brace,"[ ]":a.pJ.squareBracket})]});class U{constructor(e,t){this.dialect=e,this.language=t}get extension(){return this.language.extension}static define(e){let t=function(e,t,n,r){let a={};for(let i in b)a[i]=(e.hasOwnProperty(i)?e:b)[i];return t&&(a.words=g(t,n||"",r)),a}(e,e.keywords,e.types,e.builtin),n=r.qp.define({name:"sql",parser:T.configure({tokenizers:[{from:y,to:v(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new U(t,n)}}function z(e,t=!1){var n;let r;return r=Object.keys(n=e.dialect.words).map(e=>({label:t?e.toUpperCase():e,type:21==n[e]?"type":20==n[e]?"keyword":"variable",boost:-1})),(0,o.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,o.Mb)(r))}function X(e,t=!1){return e.language.data.of({autocomplete:z(e,t)})}function B(e){return e.schema?function(e,t,n,a){let i=new P,o=i.child(a||"");for(let s in e){let l=s.indexOf(".");(l>-1?i.child(s.slice(0,l)):o).child(l>-1?s.slice(l+1):s).list=e[s].map(e=>"string"==typeof e?{label:e,type:"property"}:e)}for(let c in o.list=(t||o.childCompletions("type")).concat(n?o.child(n).list:[]),i.children){let d=i.child(c);d.list.length||(d.list=d.childCompletions("type"))}return i.list=o.list.concat(i.childCompletions("type")),e=>{var t,a,s;let l,c;let{parents:d,from:u,quoted:m,empty:p,aliases:f}=(t=e.state,a=e.pos,l=(0,r.qz)(t).resolveInner(a,-1),c=function(e,t){let n;for(let r=t;!n;r=r.parent){if(!r)return null;"Statement"==r.name&&(n=r)}let a=null;for(let i=n.firstChild,o=!1,s=null;i;i=i.nextSibling){let l="Keyword"==i.name?e.sliceString(i.from,i.to).toLowerCase():null,c=null;if(o){if("as"==l&&s&&w(i.nextSibling))c=x(e,i.nextSibling);else if(l&&C.has(l))break;else s&&w(i)&&(c=x(e,i))}else o="from"==l;c&&(a||(a=Object.create(null)),a[c]=function(e,t){if("CompositeIdentifier"==t.name){let n=[];for(let r=t.firstChild;r;r=r.nextSibling)w(r)&&n.push(x(e,r));return n}return[x(e,t)]}(e,s)),s=/Identifier$/.test(i.name)?i:null}return a}(t.doc,l),"Identifier"==l.name||"QuotedIdentifier"==l.name||"Keyword"==l.name?{from:l.from,quoted:"QuotedIdentifier"==l.name?t.doc.sliceString(l.from,l.from+1):null,parents:Q(t.doc,O(l)),aliases:c}:"."==l.name?{from:a,quoted:null,parents:Q(t.doc,l),aliases:c}:{from:a,quoted:null,parents:[],empty:!0,aliases:c});if(p&&!e.explicit)return null;f&&1==d.length&&(d=f[d[0]]||d);let g=i;for(let h of d){for(;!g.children||!g.children[h];)if(g==i)g=o;else{if(g!=o||!n)return null;g=g.child(n)}g=g.child(h)}let _=m&&e.state.sliceDoc(e.pos,e.pos+1)==m,b=g.list;return g==i&&f&&(b=b.concat(Object.keys(f).map(e=>({label:e,type:"constant"})))),{from:u,to:_?e.pos+1:void 0,options:(s=b,m?s.map(e=>Object.assign(Object.assign({},e),{label:m+e.label+m,apply:void 0})):s),validFor:m?q:S}}}(e.schema,e.tables,e.defaultTable,e.defaultSchema):()=>null}function j(e){return e.schema?(e.dialect||R).language.data.of({autocomplete:B(e)}):[]}function J(e={}){let t=e.dialect||R;return new r.ri(t.language,[j(e),X(t,!!e.upperCaseKeywords)])}let R=U.define({}),Z=U.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:_+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),L="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",V=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",D="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",I=U.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"group_concat "+L,types:V,builtin:D}),E=U.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:_+"always generated groupby_concat hard persistent shutdown soft virtual "+L,types:V,builtin:D}),$=U.define({keywords:_+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:h+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),N=U.define({keywords:_+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),W=U.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),G=U.define({keywords:_+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1446.667613b348c34471.js b/static/web/_next/static/chunks/1446.667613b348c34471.js deleted file mode 100644 index d651cf0e0..000000000 --- a/static/web/_next/static/chunks/1446.667613b348c34471.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1446],{61446:function(t,e,n){n.r(e),n.d(e,{commonLisp:function(){return d}});var r,o=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,c=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,l=/[^\s'`,@()\[\]";]/;function i(t){for(var e;e=t.next();)if("\\"==e)t.next();else if(!l.test(e)){t.backUp(1);break}return t.current()}function u(t,e){if(t.eatSpace())return r="ws",null;if(t.match(a))return"number";var n;if("\\"==(n=t.next())&&(n=t.next()),'"'==n)return(e.tokenize=s)(t,e);if("("==n)return r="open","bracket";if(")"==n||"]"==n)return r="close","bracket";if(";"==n)return t.skipToEnd(),r="ws","comment";if(/['`,@]/.test(n))return null;if("|"==n)return t.skipTo("|")?(t.next(),"variableName"):(t.skipToEnd(),"error");if("#"==n)return"("==(n=t.next())?(r="open","bracket"):/[+\-=\.']/.test(n)||/\d/.test(n)&&t.match(/^\d*#/)?null:"|"==n?(e.tokenize=f)(t,e):":"==n?(i(t),"meta"):"\\"==n?(t.next(),i(t),"string.special"):"error";var l=i(t);return"."==l?null:(r="symbol","nil"==l||"t"==l||":"==l.charAt(0)?"atom":"open"==e.lastType&&(o.test(l)||c.test(l))?"keyword":"&"==l.charAt(0)?"variableName.special":"variableName")}function s(t,e){for(var n,r=!1;n=t.next();){if('"'==n&&!r){e.tokenize=u;break}r=!r&&"\\"==n}return"string"}function f(t,e){for(var n,o;n=t.next();){if("#"==n&&"|"==o){e.tokenize=u;break}o=n}return r="ws","comment"}const d={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:u}},token:function(t,e){t.sol()&&"number"!=typeof e.ctx.indentTo&&(e.ctx.indentTo=e.ctx.start+1),r=null;var n=e.tokenize(t,e);return"ws"!=r&&(null==e.ctx.indentTo?"symbol"==r&&c.test(t.current())?e.ctx.indentTo=e.ctx.start+t.indentUnit:e.ctx.indentTo="next":"next"==e.ctx.indentTo&&(e.ctx.indentTo=t.column()),e.lastType=r),"open"==r?e.ctx={prev:e.ctx,start:t.column(),indentTo:null}:"close"==r&&(e.ctx=e.ctx.prev||e.ctx),n},indent:function(t){var e=t.ctx.indentTo;return"number"==typeof e?e:t.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1446.729b459281b981b9.js b/static/web/_next/static/chunks/1446.729b459281b981b9.js new file mode 100644 index 000000000..15cad9753 --- /dev/null +++ b/static/web/_next/static/chunks/1446.729b459281b981b9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1446],{61446:function(e,t,n){n.r(t),n.d(t,{commonLisp:function(){return d}});var r,o=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,l=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,i=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,a=/[^\s'`,@()\[\]";]/;function c(e){for(var t;t=e.next();)if("\\"==t)e.next();else if(!a.test(t)){e.backUp(1);break}return e.current()}function u(e,t){if(e.eatSpace())return r="ws",null;if(e.match(i))return"number";var n=e.next();if("\\"==n&&(n=e.next()),'"'==n)return(t.tokenize=s)(e,t);if("("==n)return r="open","bracket";if(")"==n||"]"==n)return r="close","bracket";if(";"==n)return e.skipToEnd(),r="ws","comment";if(/['`,@]/.test(n))return null;if("|"==n)return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if("#"==n){var n=e.next();if("("==n)return r="open","bracket";if(/[+\-=\.']/.test(n))return null;if(/\d/.test(n)&&e.match(/^\d*#/))return null;if("|"==n)return(t.tokenize=f)(e,t);else if(":"==n)return c(e),"meta";else if("\\"==n)return e.next(),c(e),"string.special";else return"error"}else{var a=c(e);return"."==a?null:(r="symbol","nil"==a||"t"==a||":"==a.charAt(0))?"atom":"open"==t.lastType&&(o.test(a)||l.test(a))?"keyword":"&"==a.charAt(0)?"variableName.special":"variableName"}}function s(e,t){for(var n,r=!1;n=e.next();){if('"'==n&&!r){t.tokenize=u;break}r=!r&&"\\"==n}return"string"}function f(e,t){for(var n,o;n=e.next();){if("#"==n&&"|"==o){t.tokenize=u;break}o=n}return r="ws","comment"}let d={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:u}},token:function(e,t){e.sol()&&"number"!=typeof t.ctx.indentTo&&(t.ctx.indentTo=t.ctx.start+1),r=null;var n=t.tokenize(e,t);return"ws"!=r&&(null==t.ctx.indentTo?"symbol"==r&&l.test(e.current())?t.ctx.indentTo=t.ctx.start+e.indentUnit:t.ctx.indentTo="next":"next"==t.ctx.indentTo&&(t.ctx.indentTo=e.column()),t.lastType=r),"open"==r?t.ctx={prev:t.ctx,start:e.column(),indentTo:null}:"close"==r&&(t.ctx=t.ctx.prev||t.ctx),n},indent:function(e){var t=e.ctx.indentTo;return"number"==typeof t?t:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1559.e17bdaf1734dc553.js b/static/web/_next/static/chunks/1559.e17bdaf1734dc553.js new file mode 100644 index 000000000..d87686db2 --- /dev/null +++ b/static/web/_next/static/chunks/1559.e17bdaf1734dc553.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1559],{51559:function(e,t,r){r.r(t),r.d(t,{EmojiPicker:function(){return s}});var n=r(85893),c=r(67294),o=r(57741);let s=e=>{let{onEmojiSelect:t,onCustomEmojiSelect:r}=e,[s,a]=(0,c.useState)([]),u=(0,c.useRef)(),i=async()=>{try{let e=await fetch("/api/emoji"),t=await e.json();a(t)}catch(r){console.error("cannot fetch custom emoji",r)}};return(0,c.useEffect)(()=>{i()},[]),(0,c.useEffect)(()=>{let e=s.map(e=>({emoji:e.name,label:e.name,url:e.url})),n=(0,o.wU)({rootElement:u.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0});n.addEventListener("emoji:select",e=>{e.url?r(e.name,e.url):t(e.emoji)})},[s]),(0,n.jsx)("div",{ref:u})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1650.06a77268379b94b2.js b/static/web/_next/static/chunks/1650.06a77268379b94b2.js new file mode 100644 index 000000000..a7e460565 --- /dev/null +++ b/static/web/_next/static/chunks/1650.06a77268379b94b2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1650],{31650:function(e,t,n){function r(e){var t="error";function n(e){return RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),a=RegExp("^((<>)|(<=)|(>=))"),i=RegExp("^[\\.,]"),o=RegExp("^[\\(\\)]"),c=RegExp("^[A-Za-z][_A-Za-z0-9]*"),b=n(["and","or","not","xor","is","mod","eqv","imp"]),u=["WScript","err","debug","RegExp"],l=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);u=u.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(u=u.concat(["server","response","request","session","application"]),l=l.concat(["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"]));var s=n(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),v=n(["true","false","nothing","empty","null"]),d=n(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),m=n(u),p=n(l),h=n(["class","sub","select","while","if","function","property","with","for"]),f=n(["else","elseif","case"]),y=n(["next","loop","wend"]),g=n(["end"]),k=n(["do"]),x=n(["on error resume next","exit"]),w=n(["rem"]);function C(e,t){t.currentIndent++}function I(e,t){t.currentIndent--}function L(e,n){if(e.eatSpace())return null;if("'"===e.peek()||e.match(w))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var u,l,S,D=!1;if(e.match(/^\d*\.\d+/i)?D=!0:e.match(/^\d+\.\d*/)?D=!0:e.match(/^\.\d+/)&&(D=!0),D)return e.eat(/J/i),"number";var E=!1;if(e.match(/^&H[0-9a-f]+/i)?E=!0:e.match(/^&O[0-7]+/i)?E=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),E=!0):e.match(/^0(?![\dx])/i)&&(E=!0),E)return e.eat(/L/i),"number"}return e.match('"')?(n.tokenize=(l=1==(u=e.current()).length,S="string",function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(u))return t.tokenize=L,S;e.eat(/['"]/)}return l&&(t.tokenize=L),S}),n.tokenize(e,n)):e.match(a)||e.match(r)||e.match(b)?"operator":e.match(i)?null:e.match(o)?"bracket":e.match(x)?(n.doInCurrentLine=!0,"keyword"):e.match(k)?(C(e,n),n.doInCurrentLine=!0,"keyword"):e.match(h)?(n.doInCurrentLine?n.doInCurrentLine=!1:C(e,n),"keyword"):e.match(f)?"keyword":e.match(g)?(I(e,n),I(e,n),"keyword"):e.match(y)?(n.doInCurrentLine?n.doInCurrentLine=!1:I(e,n),"keyword"):e.match(s)?"keyword":e.match(v)?"atom":e.match(p)?"variableName.special":e.match(d)||e.match(m)?"builtin":e.match(c)?"variable":(e.next(),t)}return{name:"vbscript",startState:function(){return{tokenize:L,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=function(e,n){var r=n.tokenize(e,n),a=e.current();if("."===a){if(r=n.tokenize(e,n),a=e.current(),!r||"variable"!==r.substr(0,8)&&"builtin"!==r&&"keyword"!==r)return t;("builtin"===r||"keyword"===r)&&(r="variable"),l.indexOf(a.substr(1))>-1&&(r="keyword")}return r}(e,n);return n.lastToken={style:r,content:e.current()},null===r&&(r=null),r},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(y)||r.match(g)||r.match(f)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit}}}n.r(t),n.d(t,{vbScript:function(){return a},vbScriptASP:function(){return i}});let a=r({}),i=r({isASP:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1650.f188217c0688f71d.js b/static/web/_next/static/chunks/1650.f188217c0688f71d.js deleted file mode 100644 index 063fccc0f..000000000 --- a/static/web/_next/static/chunks/1650.f188217c0688f71d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1650],{31650:function(e,t,n){function r(e){var t="error";function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),a=new RegExp("^((<>)|(<=)|(>=))"),i=new RegExp("^[\\.,]"),o=new RegExp("^[\\(\\)]"),c=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),u=n(["and","or","not","xor","is","mod","eqv","imp"]),b=["WScript","err","debug","RegExp"],l=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);b=b.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(b=b.concat(["server","response","request","session","application"]),l=l.concat(["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"]));var s=n(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),v=n(["true","false","nothing","empty","null"]),d=n(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),m=n(b),p=n(l),h=n(["class","sub","select","while","if","function","property","with","for"]),f=n(["else","elseif","case"]),y=n(["next","loop","wend"]),g=n(["end"]),k=n(["do"]),x=n(["on error resume next","exit"]),w=n(["rem"]);function C(e,t){t.currentIndent++}function I(e,t){t.currentIndent--}function L(e,n){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(w))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var b=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(b=!0),b)return e.eat(/J/i),"number";var l=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?l=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),l=!0):e.match(/^0(?![\dx])/i)&&(l=!0),l)return e.eat(/L/i),"number"}return e.match('"')?(n.tokenize=function(e){var t=1==e.length,n="string";return function(r,a){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return a.tokenize=L,n;r.eat(/['"]/)}return t&&(a.tokenize=L),n}}(e.current()),n.tokenize(e,n)):e.match(a)||e.match(r)||e.match(u)?"operator":e.match(i)?null:e.match(o)?"bracket":e.match(x)?(n.doInCurrentLine=!0,"keyword"):e.match(k)?(C(0,n),n.doInCurrentLine=!0,"keyword"):e.match(h)?(n.doInCurrentLine?n.doInCurrentLine=!1:C(0,n),"keyword"):e.match(f)?"keyword":e.match(g)?(I(0,n),I(0,n),"keyword"):e.match(y)?(n.doInCurrentLine?n.doInCurrentLine=!1:I(0,n),"keyword"):e.match(s)?"keyword":e.match(v)?"atom":e.match(p)?"variableName.special":e.match(d)||e.match(m)?"builtin":e.match(c)?"variable":(e.next(),t)}return{name:"vbscript",startState:function(){return{tokenize:L,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=function(e,n){var r=n.tokenize(e,n),a=e.current();return"."===a?(r=n.tokenize(e,n),a=e.current(),!r||"variable"!==r.substr(0,8)&&"builtin"!==r&&"keyword"!==r?t:("builtin"!==r&&"keyword"!==r||(r="variable"),l.indexOf(a.substr(1))>-1&&(r="keyword"),r)):r}(e,n);return n.lastToken={style:r,content:e.current()},null===r&&(r=null),r},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(y)||r.match(g)||r.match(f)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit}}}n.r(t),n.d(t,{vbScript:function(){return a},vbScriptASP:function(){return i}});const a=r({}),i=r({isASP:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1660.76cc05d00e5034ad.js b/static/web/_next/static/chunks/1660.76cc05d00e5034ad.js new file mode 100644 index 000000000..f78e85754 --- /dev/null +++ b/static/web/_next/static/chunks/1660.76cc05d00e5034ad.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1660],{11660:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function h(e,t){var n=e.next();if(d[n]){var r=d[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n||"`"==n)return t.tokenize=function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!(i||p))&&(t.tokenize=null),"string"},t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return i=n,null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("/"==n){if(e.eat("+"))return t.tokenize=k,k(e,t);if(e.eat("*"))return t.tokenize=y,y(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(m.test(n))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return l.propertyIsEnumerable(o)?(c.propertyIsEnumerable(o)&&(i="newstatement"),"keyword"):s.propertyIsEnumerable(o)?(c.propertyIsEnumerable(o)&&(i="newstatement"),"builtin"):f.propertyIsEnumerable(o)?"atom":"variable"}function y(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function k(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="+"==n}return"comment"}function b(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function v(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new b(r,t,n,null,e.context)}function _(e){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}let w={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;i=null;var r=(t.tokenize||h)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),(";"==i||":"==i||","==i)&&"statement"==n.type)_(t);else if("{"==i)v(t,e.column(),"}");else if("["==i)v(t,e.column(),"]");else if("("==i)v(t,e.column(),")");else if("}"==i){for(;"statement"==n.type;)n=_(t);for("}"==n.type&&(n=_(t));"statement"==n.type;)n=_(t)}else i==n.type?_(t):(("}"==n.type||"top"==n.type)&&";"!=i||"statement"==n.type&&"newstatement"==i)&&v(t,e.column(),"statement");return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=h&&null!=e.tokenize)return null;var r=e.context,i=t&&t.charAt(0);"statement"==r.type&&"}"==i&&(r=r.prev);var o=i==r.type;return"statement"==r.type?r.indented+("{"==i?0:u||n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1660.8c7f80755e58bb2a.js b/static/web/_next/static/chunks/1660.8c7f80755e58bb2a.js deleted file mode 100644 index f80e882ec..000000000 --- a/static/web/_next/static/chunks/1660.8c7f80755e58bb2a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1660],{11660:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function h(e,t){var n,r=e.next();if(d[r]){var i=d[r](e,t);if(!1!==i)return i}if('"'==r||"'"==r||"`"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){o=!0;break}i=!i&&"\\"==r}return(o||!i&&!p)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return a=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("+"))return t.tokenize=k,k(e,t);if(e.eat("*"))return t.tokenize=y,y(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(m.test(r))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return l.propertyIsEnumerable(o)?(c.propertyIsEnumerable(o)&&(a="newstatement"),"keyword"):s.propertyIsEnumerable(o)?(c.propertyIsEnumerable(o)&&(a="newstatement"),"builtin"):f.propertyIsEnumerable(o)?"atom":"variable"}function y(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function k(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="+"==n}return"comment"}function b(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function v(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new b(r,t,n,null,e.context)}function _(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const w={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;a=null;var r=(t.tokenize||h)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=a&&":"!=a&&","!=a||"statement"!=n.type)if("{"==a)v(t,e.column(),"}");else if("["==a)v(t,e.column(),"]");else if("("==a)v(t,e.column(),")");else if("}"==a){for(;"statement"==n.type;)n=_(t);for("}"==n.type&&(n=_(t));"statement"==n.type;)n=_(t)}else a==n.type?_(t):(("}"==n.type||"top"==n.type)&&";"!=a||"statement"==n.type&&"newstatement"==a)&&v(t,e.column(),"statement");else _(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=h&&null!=e.tokenize)return null;var r=e.context,i=t&&t.charAt(0);"statement"==r.type&&"}"==i&&(r=r.prev);var o=i==r.type;return"statement"==r.type?r.indented+("{"==i?0:u||n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/177.e02a5f10f43ddece.js b/static/web/_next/static/chunks/177.e02a5f10f43ddece.js deleted file mode 100644 index e32cd2540..000000000 --- a/static/web/_next/static/chunks/177.e02a5f10f43ddece.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{90177:function(t,e,n){n.r(e),n.d(e,{textile:function(){return p}});var i={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function a(t,e,n){if("_"===n)return t.eat("_")?r(t,e,"italic",/__/,2):r(t,e,"em",/_/,1);if("*"===n)return t.eat("*")?r(t,e,"bold",/\*\*/,2):r(t,e,"strong",/\*/,1);if("["===n)return t.match(/\d+\]/)&&(e.footCite=!0),l(e);if("("===n&&t.match(/^(r|tm|c)\)/))return i.specialChar;if("<"===n&&t.match(/(\w+)[^>]+>[^<]+<\/\1>/))return i.html;if("?"===n&&t.eat("?"))return r(t,e,"cite",/\?\?/,2);if("="===n&&t.eat("="))return r(t,e,"notextile",/==/,2);if("-"===n&&!t.eat("-"))return r(t,e,"deletion",/-/,1);if("+"===n)return r(t,e,"addition",/\+/,1);if("~"===n)return r(t,e,"sub",/~/,1);if("^"===n)return r(t,e,"sup",/\^/,1);if("%"===n)return r(t,e,"span",/%/,1);if("@"===n)return r(t,e,"code",/@/,1);if("!"===n){var a=r(t,e,"image",/(?:\([^\)]+\))?!/,1);return t.match(/^:\S+/),a}return l(e)}function r(t,e,n,i,a){var r=t.pos>a?t.string.charAt(t.pos-a-1):null,o=t.peek();if(e[n]){if((!o||/\W/.test(o))&&r&&/\S/.test(r)){var u=l(e);return e[n]=!1,u}}else(!r||/\W/.test(r))&&o&&/\S/.test(o)&&t.match(new RegExp("^.*\\S"+i.source+"(?:\\W|$)"),!1)&&(e[n]=!0,e.mode=c.attributes);return l(e)}function l(t){var e=o(t);if(e)return e;var n=[];return t.layoutType&&n.push(i[t.layoutType]),n=n.concat(function(t){for(var e=[],n=1;n]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(t){switch(t){case"drawTable":return u.makeRe("^",u.single.drawTable,"$");case"html":return u.makeRe("^",u.single.html,"(?:",u.single.html,")*","$");case"linkDefinition":return u.makeRe("^",u.single.linkDefinition,"$");case"listLayout":return u.makeRe("^",u.single.list,s("allAttributes"),"*\\s+");case"tableCellAttributes":return u.makeRe("^",u.choiceRe(u.single.tableCellAttributes,s("allAttributes")),"+\\.");case"type":return u.makeRe("^",s("allTypes"));case"typeLayout":return u.makeRe("^",s("allTypes"),s("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return u.makeRe("^",s("allAttributes"),"+");case"allTypes":return u.choiceRe(u.single.div,u.single.foot,u.single.header,u.single.bc,u.single.bq,u.single.notextile,u.single.pre,u.single.table,u.single.para);case"allAttributes":return u.choiceRe(u.attributes.selector,u.attributes.css,u.attributes.lang,u.attributes.align,u.attributes.pad);default:return u.makeRe("^",u.single[t])}},makeRe:function(){for(var t="",e=0;e]+>[^<]+<\/\1>/))return i.html;if("?"===n&&t.eat("?"))return r(t,e,"cite",/\?\?/,2);if("="===n&&t.eat("="))return r(t,e,"notextile",/==/,2);if("-"===n&&!t.eat("-"))return r(t,e,"deletion",/-/,1);if("+"===n)return r(t,e,"addition",/\+/,1);if("~"===n)return r(t,e,"sub",/~/,1);if("^"===n)return r(t,e,"sup",/\^/,1);if("%"===n)return r(t,e,"span",/%/,1);if("@"===n)return r(t,e,"code",/@/,1);if("!"===n){var a=r(t,e,"image",/(?:\([^\)]+\))?!/,1);return t.match(/^:\S+/),a}return l(e)}function r(t,e,n,i,a){var r=t.pos>a?t.string.charAt(t.pos-a-1):null,o=t.peek();if(e[n]){if((!o||/\W/.test(o))&&r&&/\S/.test(r)){var u=l(e);return e[n]=!1,u}}else(!r||/\W/.test(r))&&o&&/\S/.test(o)&&t.match(RegExp("^.*\\S"+i.source+"(?:\\W|$)"),!1)&&(e[n]=!0,e.mode=c.attributes);return l(e)}function l(t){var e=o(t);if(e)return e;var n=[];return t.layoutType&&n.push(i[t.layoutType]),n=n.concat(function(t){for(var e=[],n=1;n]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(t){switch(t){case"drawTable":return u.makeRe("^",u.single.drawTable,"$");case"html":return u.makeRe("^",u.single.html,"(?:",u.single.html,")*","$");case"linkDefinition":return u.makeRe("^",u.single.linkDefinition,"$");case"listLayout":return u.makeRe("^",u.single.list,s("allAttributes"),"*\\s+");case"tableCellAttributes":return u.makeRe("^",u.choiceRe(u.single.tableCellAttributes,s("allAttributes")),"+\\.");case"type":return u.makeRe("^",s("allTypes"));case"typeLayout":return u.makeRe("^",s("allTypes"),s("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return u.makeRe("^",s("allAttributes"),"+");case"allTypes":return u.choiceRe(u.single.div,u.single.foot,u.single.header,u.single.bc,u.single.bq,u.single.notextile,u.single.pre,u.single.table,u.single.para);case"allAttributes":return u.choiceRe(u.attributes.selector,u.attributes.css,u.attributes.lang,u.attributes.align,u.attributes.pad);default:return u.makeRe("^",u.single[t])}},makeRe:function(){for(var t="",e=0;e=|!=|<>)/,a=/[=\(:\),{}.*<>+\-\/^\[\]]/;function i(e,t,n){if(n)for(var s=t.split(" "),o=0;o=|!=|<>)/,a=/[=\(:\),{}.*<>+\-\/^\[\]]/;function i(e,t,n){if(n)for(var s=t.split(" "),o=0;o=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],c=e.matchHandlers[n];null==c||c.mql.removeListener(null==c?void 0:c.listener)}),l.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)})}}},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},d=["xs","sm","md","lg","xl","xxl"],p=i.forwardRef(function(e,t){var n,a=i.useContext(s.E_),p=a.getPrefixCls,m=a.direction,h=i.useContext(u.Z),b=h.gutter,v=h.wrap,y=h.supportFlexGap,Z=e.prefixCls,x=e.span,g=e.order,C=e.offset,w=e.push,O=e.pull,E=e.className,k=e.children,j=e.flex,N=e.style,P=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=p("col",Z),I={};d.forEach(function(t){var n,a={},l=e[t];"number"==typeof l?a.span=l:"object"===(0,o.Z)(l)&&(a=l||{}),delete P[t],I=(0,r.Z)((0,r.Z)({},I),(n={},(0,c.Z)(n,"".concat(S,"-").concat(t,"-").concat(a.span),void 0!==a.span),(0,c.Z)(n,"".concat(S,"-").concat(t,"-order-").concat(a.order),a.order||0===a.order),(0,c.Z)(n,"".concat(S,"-").concat(t,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,c.Z)(n,"".concat(S,"-").concat(t,"-push-").concat(a.push),a.push||0===a.push),(0,c.Z)(n,"".concat(S,"-").concat(t,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,c.Z)(n,"".concat(S,"-rtl"),"rtl"===m),n))});var _=l()(S,(n={},(0,c.Z)(n,"".concat(S,"-").concat(x),void 0!==x),(0,c.Z)(n,"".concat(S,"-order-").concat(g),g),(0,c.Z)(n,"".concat(S,"-offset-").concat(C),C),(0,c.Z)(n,"".concat(S,"-push-").concat(w),w),(0,c.Z)(n,"".concat(S,"-pull-").concat(O),O),n),E,I),R={};if(b&&b[0]>0){var A=b[0]/2;R.paddingLeft=A,R.paddingRight=A}if(b&&b[1]>0&&!y){var T=b[1]/2;R.paddingTop=T,R.paddingBottom=T}return j&&(R.flex="number"==typeof j?"".concat(j," ").concat(j," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(j)?"0 0 ".concat(j):j,!1!==v||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),k)})},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return b}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),h=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n};(0,p.b)("top","middle","bottom","stretch"),(0,p.b)("start","end","center","space-around","space-between","space-evenly");var b=s.forwardRef(function(e,t){var n,l,p=e.prefixCls,b=e.justify,v=e.align,y=e.className,Z=e.style,x=e.children,g=e.gutter,C=void 0===g?0:g,w=e.wrap,O=h(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),E=s.useContext(u.E_),k=E.getPrefixCls,j=E.direction,N=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),P=(0,a.Z)(N,2),S=P[0],I=P[1],_=(0,f.Z)(),R=s.useRef(C);s.useEffect(function(){var e=d.ZP.subscribe(function(e){var t=R.current||0;(!Array.isArray(t)&&"object"===(0,o.Z)(t)||Array.isArray(t)&&("object"===(0,o.Z)(t[0])||"object"===(0,o.Z)(t[1])))&&I(e)});return function(){return d.ZP.unsubscribe(e)}},[]);var A=k("row",p),T=(n=[void 0,void 0],(Array.isArray(C)?C:[C,void 0]).forEach(function(e,t){if("object"===(0,o.Z)(e))for(var c=0;c0?-(T[0]/2):void 0,F=null!=T[1]&&T[1]>0?-(T[1]/2):void 0;if(L&&(H.marginLeft=L,H.marginRight=L),_){var G=(0,a.Z)(T,2);H.rowGap=G[1]}else F&&(H.marginTop=F,H.marginBottom=F);var D=(0,a.Z)(T,2),K=D[0],M=D[1],W=s.useMemo(function(){return{gutter:[K,M],wrap:w,supportFlexGap:_}},[K,M,w,_]);return s.createElement(m.Z.Provider,{value:W},s.createElement("div",(0,c.Z)({},O,{className:z,style:(0,c.Z)((0,c.Z)({},H),Z),ref:t}),x))})},94594:function(e,t,n){n.d(t,{Z:function(){return x}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(45987),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef(function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,h=e.disabled,b=e.loadingIcon,v=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,f.Z)(!1,{value:p,defaultValue:m}),O=(0,i.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return h||(k(n=e),null==x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),h),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:h,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?j(!1,e):e.which===d.Z.RIGHT&&j(!0,e),null==g||g(e)},onClick:function(e){var t=j(!E,e);null==Z||Z(t,e)}}),b,u.createElement("span",{className:"".concat(o,"-inner")},E?v:y))});p.displayName="Switch";var m=n(53124),h=n(98866),b=n(97647),v=n(68349),y=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},Z=u.forwardRef(function(e,t){var n,a=e.prefixCls,i=e.size,s=e.disabled,f=e.loading,d=e.className,Z=y(e,["prefixCls","size","disabled","loading","className"]),x=u.useContext(m.E_),g=x.getPrefixCls,C=x.direction,w=u.useContext(b.Z),O=u.useContext(h.Z),E=g("switch",a),k=u.createElement("div",{className:"".concat(E,"-handle")},f&&u.createElement(o.Z,{className:"".concat(E,"-loading-icon")})),j=l()((n={},(0,r.Z)(n,"".concat(E,"-small"),"small"===(i||w)),(0,r.Z)(n,"".concat(E,"-loading"),f),(0,r.Z)(n,"".concat(E,"-rtl"),"rtl"===C),n),void 0===d?"":d);return u.createElement(v.Z,{insertExtraNode:!0},u.createElement(p,(0,c.Z)({},Z,{prefixCls:E,className:j,disabled:s||O||f,ref:t,loadingIcon:k})))});Z.__ANT_SWITCH=!0;var x=Z},20550:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(4942),r=n(87462),o=n(97685),a=n(97937),l=n(94184),i=n.n(l),s=n(98423),u=n(67294),f=n(53124),d=n(98787),p=n(68349),m=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},h=function(e){var t,n=e.prefixCls,o=e.className,a=e.checked,l=e.onChange,s=e.onClick,d=m(e,["prefixCls","className","checked","onChange","onClick"]),p=u.useContext(f.E_).getPrefixCls,h=function(e){null==l||l(!a),null==s||s(e)},b=p("tag",n),v=i()(b,(t={},(0,c.Z)(t,"".concat(b,"-checkable"),!0),(0,c.Z)(t,"".concat(b,"-checkable-checked"),a),t),o);return u.createElement("span",(0,r.Z)({},d,{className:v,onClick:h}))},b=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(n[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,c=Object.getOwnPropertySymbols(e);rt.indexOf(c[r])&&Object.prototype.propertyIsEnumerable.call(e,c[r])&&(n[c[r]]=e[c[r]]);return n},v=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),y=RegExp("^(".concat(d.E.join("|"),")$")),Z=function(e,t){var n,l=e.prefixCls,d=e.className,m=e.style,h=e.children,Z=e.icon,x=e.color,g=e.onClose,C=e.closeIcon,w=e.closable,O=b(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),E=u.useContext(f.E_),k=E.getPrefixCls,j=E.direction,N=u.useState(!0),P=(0,o.Z)(N,2),S=P[0],I=P[1];u.useEffect(function(){"visible"in O&&I(O.visible)},[O.visible]);var _=function(){return!!x&&(v.test(x)||y.test(x))},R=(0,r.Z)({backgroundColor:x&&!_()?x:void 0},m),A=_(),T=k("tag",l),z=i()(T,(n={},(0,c.Z)(n,"".concat(T,"-").concat(x),A),(0,c.Z)(n,"".concat(T,"-has-color"),x&&!A),(0,c.Z)(n,"".concat(T,"-hidden"),!S),(0,c.Z)(n,"".concat(T,"-rtl"),"rtl"===j),n),d),H=function(e){e.stopPropagation(),null==g||g(e),!e.defaultPrevented&&("visible"in O||I(!1))},L="onClick"in O||h&&"a"===h.type,F=(0,s.Z)(O,["visible"]),G=Z||null,D=G?u.createElement(u.Fragment,null,G,u.createElement("span",null,h)):h,K=u.createElement("span",(0,r.Z)({},F,{ref:t,className:z,style:R}),D,void 0!==w&&w?C?u.createElement("span",{className:"".concat(T,"-close-icon"),onClick:H},C):u.createElement(a.Z,{className:"".concat(T,"-close-icon"),onClick:H}):null);return L?u.createElement(p.Z,null,K):K},x=u.forwardRef(Z);x.CheckableTag=h;var g=x}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js b/static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js deleted file mode 100644 index 9e179f1c3..000000000 --- a/static/web/_next/static/chunks/1829-b015b4e5cd814fc8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1829],{24308:function(e,t,n){n.d(t,{c4:function(){return o}});var c=n(4942),r=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,i=-1,s={},u={matchHandlers:{},dispatch:function(e){return s=e,l.forEach((function(e){return e(s)})),l.size>=1},subscribe:function(e){return l.size||this.register(),i+=1,l.set(i,e),e(s),i},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],c=e.matchHandlers[n];null===c||void 0===c||c.mql.removeListener(null===c||void 0===c?void 0:c.listener)})),l.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,c.Z)({},t,o)))},l=window.matchMedia(n);l.addListener(o),e.matchHandlers[n]={mql:l,listener:o},o(l)}))}};t.ZP=u},6226:function(e,t,n){n.d(t,{Z:function(){return p}});var c=n(4942),r=n(87462),o=n(71002),a=n(94184),l=n.n(a),i=n(67294),s=n(53124),u=n(99134),f=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0){var A=h[0]/2;R.paddingLeft=A,R.paddingRight=A}if(h&&h[1]>0&&!y){var T=h[1]/2;R.paddingTop=T,R.paddingBottom=T}return j&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(j),!1!==b||R.minWidth||(R.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},R),N),className:_,ref:t}),k)}))},99134:function(e,t,n){var c=(0,n(67294).createContext)({});t.Z=c},25968:function(e,t,n){n.d(t,{Z:function(){return h}});var c=n(87462),r=n(4942),o=n(71002),a=n(97685),l=n(94184),i=n.n(l),s=n(67294),u=n(53124),f=n(98082),d=n(24308),p=n(93355),m=n(99134),v=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r0?A[0]/-2:void 0,L=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(H&&(z.marginLeft=H,z.marginRight=H),I){var F=(0,a.Z)(A,2);z.rowGap=F[1]}else L&&(z.marginTop=L,z.marginBottom=L);var G=(0,a.Z)(A,2),D=G[0],K=G[1],M=s.useMemo((function(){return{gutter:[D,K],wrap:C,supportFlexGap:I}}),[D,K,C,I]);return s.createElement(m.Z.Provider,{value:M},s.createElement("div",(0,c.Z)({},w,{className:T,style:(0,c.Z)((0,c.Z)({},z),y),ref:t}),Z))}))},94594:function(e,t,n){n.d(t,{Z:function(){return g}});var c=n(87462),r=n(4942),o=n(50888),a=n(94184),l=n.n(a),i=n(97685),s=n(45987),u=n(67294),f=n(21770),d=n(15105),p=u.forwardRef((function(e,t){var n,c=e.prefixCls,o=void 0===c?"rc-switch":c,a=e.className,p=e.checked,m=e.defaultChecked,v=e.disabled,h=e.loadingIcon,b=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,x=e.onChange,g=e.onKeyDown,C=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,f.Z)(!1,{value:p,defaultValue:m}),O=(0,i.Z)(w,2),E=O[0],k=O[1];function j(e,t){var n=E;return v||(k(n=e),null===x||void 0===x||x(n,t)),n}var N=l()(o,a,(n={},(0,r.Z)(n,"".concat(o,"-checked"),E),(0,r.Z)(n,"".concat(o,"-disabled"),v),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:v,className:N,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?j(!1,e):e.which===d.Z.RIGHT&&j(!0,e),null===g||void 0===g||g(e)},onClick:function(e){var t=j(!E,e);null===Z||void 0===Z||Z(t,e)}}),h,u.createElement("span",{className:"".concat(o,"-inner")},E?b:y))}));p.displayName="Switch";var m=p,v=n(53124),h=n(98866),b=n(97647),y=n(68349),Z=function(e,t){var n={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(n[c]=e[c]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r=@%|&?!.,:;^]/,i=/true|false|nil|self|super|thisContext/,r=function(e,t){this.next=e,this.parent=t},s=function(e,t,n){this.name=e,this.context=t,this.eos=n},o=function(){this.context=new r(u,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};o.prototype.userIndent=function(e,t){this.userIndentationDelta=e>0?e/t-this.indentation:0};var u=function(e,t,n){var o=new s(null,t,!1),u=e.next();return'"'===u?o=l(e,new r(l,t)):"'"===u?o=c(e,new r(c,t)):"#"===u?"'"===e.peek()?(e.next(),o=h(e,new r(h,t))):e.eatWhile(/[^\s.{}\[\]()]/)?o.name="string.special":o.name="meta":"$"===u?("<"===e.next()&&(e.eatWhile(/[^\s>]/),e.next()),o.name="string.special"):"|"===u&&n.expectVariable?o.context=new r(x,t):/[\[\]{}()]/.test(u)?(o.name="bracket",o.eos=/[\[{(]/.test(u),"["===u?n.indentation++:"]"===u&&(n.indentation=Math.max(0,n.indentation-1))):a.test(u)?(e.eatWhile(a),o.name="operator",o.eos=";"!==u):/\d/.test(u)?(e.eatWhile(/[\w\d]/),o.name="number"):/[\w_]/.test(u)?(e.eatWhile(/[\w\d_]/),o.name=n.expectVariable?i.test(e.current())?"keyword":"variable":null):o.eos=n.expectVariable,o},l=function(e,t){return e.eatWhile(/[^"]/),new s("comment",e.eat('"')?t.parent:t,!0)},c=function(e,t){return e.eatWhile(/[^']/),new s("string",e.eat("'")?t.parent:t,!1)},h=function(e,t){return e.eatWhile(/[^']/),new s("string.special",e.eat("'")?t.parent:t,!1)},x=function(e,t){var n=new s(null,t,!1);return"|"===e.next()?(n.context=t.parent,n.eos=!0):(e.eatWhile(/[^|]/),n.name="variable"),n};const p={name:"smalltalk",startState:function(){return new o},token:function(e,t){if(t.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var n=t.context.next(e,t.context,t);return t.context=n.context,t.expectVariable=n.eos,n.name},blankLine:function(e,t){e.userIndent(0,t)},indent:function(e,t,n){var a=e.context.next===u&&t&&"]"===t.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+a)*n.unit},languageData:{indentOnInput:/^\s*\]$/}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1873],{11873:function(e,t,n){n.r(t),n.d(t,{smalltalk:function(){return p}});var a=/[+\-\/\\*~<>=@%|&?!.,:;^]/,i=/true|false|nil|self|super|thisContext/,r=function(e,t){this.next=e,this.parent=t},s=function(e,t,n){this.name=e,this.context=t,this.eos=n},o=function(){this.context=new r(u,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};o.prototype.userIndent=function(e,t){this.userIndentationDelta=e>0?e/t-this.indentation:0};var u=function(e,t,n){var o=new s(null,t,!1),u=e.next();return'"'===u?o=l(e,new r(l,t)):"'"===u?o=c(e,new r(c,t)):"#"===u?"'"===e.peek()?(e.next(),o=h(e,new r(h,t))):e.eatWhile(/[^\s.{}\[\]()]/)?o.name="string.special":o.name="meta":"$"===u?("<"===e.next()&&(e.eatWhile(/[^\s>]/),e.next()),o.name="string.special"):"|"===u&&n.expectVariable?o.context=new r(x,t):/[\[\]{}()]/.test(u)?(o.name="bracket",o.eos=/[\[{(]/.test(u),"["===u?n.indentation++:"]"===u&&(n.indentation=Math.max(0,n.indentation-1))):a.test(u)?(e.eatWhile(a),o.name="operator",o.eos=";"!==u):/\d/.test(u)?(e.eatWhile(/[\w\d]/),o.name="number"):/[\w_]/.test(u)?(e.eatWhile(/[\w\d_]/),o.name=n.expectVariable?i.test(e.current())?"keyword":"variable":null):o.eos=n.expectVariable,o},l=function(e,t){return e.eatWhile(/[^"]/),new s("comment",e.eat('"')?t.parent:t,!0)},c=function(e,t){return e.eatWhile(/[^']/),new s("string",e.eat("'")?t.parent:t,!1)},h=function(e,t){return e.eatWhile(/[^']/),new s("string.special",e.eat("'")?t.parent:t,!1)},x=function(e,t){var n=new s(null,t,!1);return"|"===e.next()?(n.context=t.parent,n.eos=!0):(e.eatWhile(/[^|]/),n.name="variable"),n};let p={name:"smalltalk",startState:function(){return new o},token:function(e,t){if(t.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var n=t.context.next(e,t.context,t);return t.context=n.context,t.expectVariable=n.eos,n.name},blankLine:function(e,t){e.userIndent(0,t)},indent:function(e,t,n){var a=e.context.next===u&&t&&"]"===t.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+a)*n.unit},languageData:{indentOnInput:/^\s*\]$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1899-4d44c9446e3a1c58.js b/static/web/_next/static/chunks/1899-4d44c9446e3a1c58.js deleted file mode 100644 index b5545aae4..000000000 --- a/static/web/_next/static/chunks/1899-4d44c9446e3a1c58.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1899],{1899:function(e,t,n){n.d(t,{me:function(){return W},FI:function(){return k},Q:function(){return G},L4:function(){return Z},j$:function(){return D},ZA:function(){return F},g1:function(){return T},g8:function(){return P},db:function(){return m},ap:function(){return H},di:function(){return J},pT:function(){return Y},hz:function(){return M},YW:function(){return j},We:function(){return U},RI:function(){return I},pH:function(){return B},Gt:function(){return L}});var r=n(47568),o=n(26042),a=n(69396),i=n(828),c=n(29815),s=n(70655),u=n(67294),l=n(4480),f=n(23917);var d=n(51438),h=function(){function e(){(0,d.Z)(this,e)}return e.getConfig=function(){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return[4,fetch("/api/config")];case 1:return[4,e.sent().json()];case 2:return[2,e.sent()]}}))}))()},e}(),E=n(58827),g=function(){function e(){(0,d.Z)(this,e)}return e.getChatHistory=function(e){return(0,r.Z)((function(){return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,E.$l)("".concat("/api/chat","?accessToken=").concat(e))];case 1:return[2,t.sent()]}}))}))()},e.registerUser=function(e){return(0,r.Z)((function(){var t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({displayName:e})},[4,(0,E.$l)("/api/chat/register",t)];case 1:return[2,n.sent()]}}))}))()},e}(),v=n(11622),p=function(){function e(t,n,r){(0,d.Z)(this,e),this.isShutdown=!1,this.backOff=1e3,this.accessToken=t,this.path=n,this.websocketReconnectTimer=null,this.isShutdown=!1,this.createAndConnect=this.createAndConnect.bind(this),this.shutdown=this.shutdown.bind(this),this.createAndConnect(r)}var t=e.prototype;return t.createAndConnect=function(e){var t=new URL(e);t.protocol="https:"===window.location.protocol?"wss:":"ws:",t.pathname="/ws",t.port="3000"===window.location.port?"8080":window.location.port,t.searchParams.append("accessToken",this.accessToken),console.debug("connecting to ",t.toString());var n=new WebSocket(t.toString());n.onopen=this.onOpen.bind(this),n.onerror=this.onError.bind(this),n.onmessage=this.onMessage.bind(this),this.websocket=n},t.onOpen=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer)},t.onError=function(e){var t;t="Socket error: ".concat(e),console.error("Chat has been disconnected and is likely not working for you. It's possible you were removed from chat. If this is a server configuration issue, visit troubleshooting steps to resolve. https://owncast.online/docs/troubleshooting/#chat-is-disabled: ".concat(t)),this.websocket.close(),this.isShutdown||this.scheduleReconnect()},t.scheduleReconnect=function(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer),this.backOff*=2,this.websocketReconnectTimer=setTimeout(this.createAndConnect,5e3+Math.min(this.backOff,1e4))},t.shutdown=function(){this.isShutdown=!0,this.websocket.close()},t.onMessage=function(e){for(var t,n=e.data.split("\n"),r=0;r getConfig() ERROR: \n".concat(t)),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),he=function(){var e=(0,r.Z)((function(){var e,t,n,r;return(0,s.__generator)(this,(function(o){switch(o.label){case 0:if(ae)return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,A.getStatus()];case 2:return e=o.sent(),j(e),ie(!0),t=e.serverTime,n=new Date(t).getTime()-Date.now(),B(n),e.online?fe(y.Online):e.online||fe(y.Offline),z(null),[3,4];case 3:return r=o.sent(),fe(y.Fail),le("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running."),console.error("serverStatusState -> getStatus() ERROR: \n".concat(r)),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=(0,r.Z)((function(e){var t,n,r,i,c,u;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:if(t=(0,O.$o)(_))return x(t),[2];s.label=1;case 1:return s.trys.push([1,3,,4]),fe(y.NeedsRegister),[4,g.registerUser(e)];case 2:return n=s.sent(),console.log("ChatService -> registerUser() response: \n".concat(n)),r=n.accessToken,i=n.displayName,c=n.displayColor,r?(console.log("setting access token",r),M((0,a.Z)((0,o.Z)({},S),{displayName:i,displayColor:c})),x(r),(0,O.qQ)(_,r),[3,4]):[2];case 3:return u=s.sent(),fe(y.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(u)),[3,4];case 4:return[2]}}))}));return function(t){return e.apply(this,arguments)}}(),ge=function(e){switch(e.type){case v.C.ERROR_NEEDS_REGISTRATION:(0,O.qQ)(_,""),x(null),Ee();break;case v.C.CONNECTED_USER_INFO:R(e,F,M),$((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.CHAT:$((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.NAME_CHANGE:w(e,X,$);break;case v.C.USER_JOINED:case v.C.SYSTEM:case v.C.CHAT_ACTION:$((function(t){return(0,c.Z)(t).concat([e])}));break;case v.C.VISIBILITY_UPDATE:!function(e){var t=e.ids;if(e.visible){var n=ne.filter((function(e){return!t.includes(e)}));re(n)}else{var r=(0,c.Z)(ne).concat((0,c.Z)(t));re(r)}}(e);break;default:console.error("Unknown socket message type: ",e.type)}},ve=function(){var e=(0,r.Z)((function(){var e,t;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,g.getChatHistory(q)];case 1:return e=n.sent(),$((function(t){return(0,c.Z)(t).concat((0,c.Z)(e))})),[3,3];case 2:return t=n.sent(),console.error("ChatService -> getChatHistory() ERROR: \n".concat(t)),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),pe=function(){var t=(0,r.Z)((function(){var t,n;return(0,s.__generator)(this,(function(r){try{t=Y.socketHostOverride,n=t||window.location.toString(),(e=new p(q,"/ws",n)).handleMessage=ge,ee(e)}catch(o){console.error("ChatService -> startChat() ERROR: \n".concat(o))}return[2]}))}));return function(){return t.apply(this,arguments)}}();return(0,u.useEffect)((function(){try{if(window.configHydration){fe(y.Loaded);var e=JSON.parse(window.configHydration);J(e),ue(!0)}}catch(n){console.error("Error parsing config hydration",n)}try{if(window.statusHydration){var t=JSON.parse(window.statusHydration);j(t),ie(!0)}}catch(r){console.error("error parsing status hydration",r)}}),[]),(0,u.useEffect)((function(){ae&&se&&fe(y.Loaded)}),[ae,se]),(0,u.useEffect)((function(){!Y.chatDisabled&&q&&se&&pe()}),[se,q]),(0,u.useEffect)((function(){}),[X]),(0,u.useEffect)((function(){return de(),Ee(),he(),clearInterval(C),C=setInterval((function(){he()}),5e3),function(){clearInterval(C)}}),[]),(0,u.useEffect)((function(){q&&ve()}),[q]),(0,u.useEffect)((function(){d.onTransition((function(e){if(e.changed){var t=(0,N.YR)(e.meta);K(t)}}))}),[]),null}},11622:function(e,t,n){var r;n.d(t,{C:function(){return r}}),function(e){e.CHAT="CHAT",e.PING="PING",e.NAME_CHANGE="NAME_CHANGE",e.COLOR_CHANGE="COLOR_CHANGE",e.PONG="PONG",e.SYSTEM="SYSTEM",e.USER_JOINED="USER_JOINED",e.CHAT_ACTION="CHAT_ACTION",e.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",e.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",e.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",e.CONNECTED_USER_INFO="CONNECTED_USER_INFO",e.ERROR_USER_DISABLED="ERROR_USER_DISABLED",e.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",e.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",e.VISIBILITY_UPDATE="VISIBILITY-UPDATE"}(r||(r={}))},44108:function(e,t,n){function r(e){var t="string"===typeof e?new Date(e):e;return(new Date-t)/864e5}n.d(t,{Xb:function(){return r},YR:function(){return o}});function o(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return Object.assign(t,r),t}),{})}},73682:function(e,t,n){n.d(t,{$o:function(){return o},dA:function(){return r},qQ:function(){return a}});var r={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function o(e){try{return localStorage.getItem(e)}catch(t){}return null}function a(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1920.b5a15fcdcd35faf5.js b/static/web/_next/static/chunks/1920.b5a15fcdcd35faf5.js deleted file mode 100644 index 4f615c3ab..000000000 --- a/static/web/_next/static/chunks/1920.b5a15fcdcd35faf5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1920],{71920:function(t,n,a){a.r(n),a.d(n,{troff:function(){return h}});var r={};function e(t){if(t.eatSpace())return null;var n=t.sol(),a=t.next();if("\\"===a)return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")?"string":t.match("m[")?(t.skipTo("]"),t.next(),"string"):t.match("s+")||t.match("s-")?(t.eatWhile(/[\d-]/),"string"):t.match("(")||t.match("*(")?(t.eatWhile(/[\w-]/),"string"):"string";if(n&&("."===a||"'"===a)&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(n&&"."===a){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);var e=t.current();return r.hasOwnProperty(e)?r[e]:null}function c(t,n){return(n.tokens[0]||e)(t,n)}const h={name:"troff",startState:function(){return{tokens:[]}},token:function(t,n){return c(t,n)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/1920.e6bf04b81039b68b.js b/static/web/_next/static/chunks/1920.e6bf04b81039b68b.js new file mode 100644 index 000000000..22e03e43e --- /dev/null +++ b/static/web/_next/static/chunks/1920.e6bf04b81039b68b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1920],{71920:function(t,a,e){e.r(a),e.d(a,{troff:function(){return c}});var n={};function r(t){if(t.eatSpace())return null;var a=t.sol(),e=t.next();if("\\"===e)return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")?"string":t.match("m[")?(t.skipTo("]"),t.next(),"string"):t.match("s+")||t.match("s-")?(t.eatWhile(/[\d-]/),"string"):((t.match("(")||t.match("*("))&&t.eatWhile(/[\w-]/),"string");if(a&&("."===e||"'"===e)&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(a&&"."===e){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);var r=t.current();return n.hasOwnProperty(r)?n[r]:null}let c={name:"troff",startState:function(){return{tokens:[]}},token:function(t,a){return(a.tokens[0]||r)(t,a)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/204-6ae122010850efb7.js b/static/web/_next/static/chunks/204-6ae122010850efb7.js deleted file mode 100644 index dd59235a9..000000000 --- a/static/web/_next/static/chunks/204-6ae122010850efb7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[204],{25413:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},77307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},54067:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(45799))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},68229:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(7500))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},67638:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(r=n(86994))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},71578:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},i=n(42135),c=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="BellFilled";var l=a.forwardRef(c)},60198:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},i=n(42135),c=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="BellOutlined";var l=a.forwardRef(c)},34447:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},i=n(42135),c=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="HeartFilled";var l=a.forwardRef(c)},49647:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},i=n(42135),c=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="HeartOutlined";var l=a.forwardRef(c)},45799:function(e,t,n){"use strict";var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),c=a(n(25413)),l=a(n(92074)),s=function(e,t){return i.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};s.displayName="BarsOutlined";var u=i.forwardRef(s);t.default=u},7500:function(e,t,n){"use strict";var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),c=a(n(6594)),l=a(n(92074)),s=function(e,t){return i.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};s.displayName="LeftOutlined";var u=i.forwardRef(s);t.default=u},86994:function(e,t,n){"use strict";var r=n(75263),a=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(42122)),i=r(n(67294)),c=a(n(77307)),l=a(n(92074)),s=function(e,t){return i.createElement(l.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};s.displayName="RightOutlined";var u=i.forwardRef(s);t.default=u},79361:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},24093:function(e,t,n){"use strict";n.d(t,{C:function(){return z}});var r=n(87462),a=n(4942),o=n(71002),i=n(97685),c=n(94184),l=n.n(c),s=n(48555),u=n(42550),d=n(67294),f=n(53124),m=n(25378),v=n(24308),p=d.createContext("default"),g=function(e){var t=e.children,n=e.size;return d.createElement(p.Consumer,null,(function(e){return d.createElement(p.Provider,{value:n||e},t)}))},h=p,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var _=g[0]/2;R.paddingLeft=_,R.paddingRight=_}if(g&&g[1]>0&&!y){var A=g[1]/2;R.paddingTop=A,R.paddingBottom=A}return O&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(O),!1!==h||R.minWidth||(R.minWidth=0)),l.createElement("div",(0,a.Z)({},P,{style:(0,a.Z)((0,a.Z)({},R),S),className:M,ref:t}),z)}))},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},79216:function(e,t,n){"use strict";n.d(t,{Z:function(){return ce}});var r=n(87462),a=n(71002),o=n(99611),i=n(1413),c=n(4942),l=n(97685),s=n(45987),u=n(67294),d=n(94184),f=n.n(d),m=n(27678),v=n(21770),p=n(95173),g=n(64019),h=n(15105),y=n(80334),w=n(75164);function b(e,t,n,r){var a=t+n,o=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,o);if(t<0&&ar)return(0,c.Z)({},e,t<0?o:-o);return{}}var x=["visible","onVisibleChange","getContainer","current","countRender"],Z=u.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),C=Z.Provider,E=function(e){var t=e.previewPrefixCls,n=void 0===t?"rc-image-preview":t,o=e.children,i=e.icons,c=void 0===i?{}:i,d=e.preview,f="object"===(0,a.Z)(d)?d:{},m=f.visible,p=void 0===m?void 0:m,g=f.onVisibleChange,h=void 0===g?void 0:g,y=f.getContainer,w=void 0===y?void 0:y,b=f.current,Z=void 0===b?0:b,E=f.countRender,N=void 0===E?void 0:E,z=(0,s.Z)(f,x),O=(0,u.useState)(new Map),S=(0,l.Z)(O,2),P=S[0],k=S[1],j=(0,u.useState)(),R=(0,l.Z)(j,2),_=R[0],A=R[1],I=(0,v.Z)(!!p,{value:p,onChange:h}),L=(0,l.Z)(I,2),H=L[0],B=L[1],q=(0,u.useState)(null),V=(0,l.Z)(q,2),W=V[0],T=V[1],D=void 0!==p,F=Array.from(P.keys())[Z],G=new Map(Array.from(P).filter((function(e){return!!(0,l.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,l.Z)(e,2);return[t[0],t[1].url]})));return u.useEffect((function(){A(F)}),[F]),u.useEffect((function(){!H&&D&&A(F)}),[F,D,H]),u.createElement(C,{value:{isPreviewGroup:!0,previewUrls:G,setPreviewUrls:k,current:_,setCurrent:A,setShowPreview:B,setMousePosition:T,registerImage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=function(){k((function(t){var n=new Map(t);return n.delete(e)?n:t}))};return k((function(r){return new Map(r).set(e,{url:t,canPreview:n})})),r}}},o,u.createElement(M,(0,r.Z)({"aria-hidden":!H,visible:H,prefixCls:n,onClose:function(e){e.stopPropagation(),B(!1),T(null)},mousePosition:W,src:G.get(_),icons:c,getContainer:w,countRender:N},z)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],z=u.useState,O=u.useEffect,S=u.useCallback,P=u.useRef,k=u.useContext,j={x:0,y:0},M=function(e){var t,n=e.prefixCls,a=e.src,o=e.alt,d=e.onClose,v=(e.afterClose,e.visible),x=e.icons,C=void 0===x?{}:x,E=e.rootClassName,M=e.countRender,R=(0,s.Z)(e,N),_=C.rotateLeft,A=C.rotateRight,I=C.zoomIn,L=C.zoomOut,H=C.close,B=C.left,q=C.right,V=z(1),W=(0,l.Z)(V,2),T=W[0],D=W[1],F=z(0),G=(0,l.Z)(F,2),U=G[0],X=G[1],Y=function(e){var t=u.useRef(null),n=u.useState(e),r=(0,l.Z)(n,2),a=r[0],o=r[1],c=u.useRef([]);return u.useEffect((function(){return function(){return t.current&&w.Z.cancel(t.current)}}),[]),[a,function(e){null===t.current&&(c.current=[],t.current=(0,w.Z)((function(){o((function(e){var n=e;return c.current.forEach((function(e){n=(0,i.Z)((0,i.Z)({},n),e)})),t.current=null,n}))}))),c.current.push(e)}]}(j),J=(0,l.Z)(Y,2),Q=J[0],K=J[1],$=P(),ee=P({originX:0,originY:0,deltaX:0,deltaY:0}),te=z(!1),ne=(0,l.Z)(te,2),re=ne[0],ae=ne[1],oe=k(Z),ie=oe.previewUrls,ce=oe.current,le=oe.isPreviewGroup,se=oe.setCurrent,ue=ie.size,de=Array.from(ie.keys()),fe=de.indexOf(ce),me=le?ie.get(ce):a,ve=le&&ue>1,pe=z({wheelDirection:0}),ge=(0,l.Z)(pe,2),he=ge[0],ye=ge[1],we=function(){D((function(e){return e+1})),K(j)},be=function(){T>1&&D((function(e){return e-1})),K(j)},xe=f()((0,c.Z)({},"".concat(n,"-moving"),re)),Ze="".concat(n,"-operations-operation"),Ce="".concat(n,"-operations-icon"),Ee=[{icon:H,onClick:d,type:"close"},{icon:I,onClick:we,type:"zoomIn"},{icon:L,onClick:be,type:"zoomOut",disabled:1===T},{icon:A,onClick:function(){X((function(e){return e+90}))},type:"rotateRight"},{icon:_,onClick:function(){X((function(e){return e-90}))},type:"rotateLeft"}],Ne=function(){if(v&&re){var e=$.current.offsetWidth*T,t=$.current.offsetHeight*T,n=$.current.getBoundingClientRect(),r=n.left,a=n.top,o=U%180!==0;ae(!1);var c=function(e,t,n,r){var a=(0,m.g1)(),o=a.width,c=a.height,l=null;return e<=o&&t<=c?l={x:0,y:0}:(e>o||t>c)&&(l=(0,i.Z)((0,i.Z)({},b("x",n,e,o)),b("y",r,t,c))),l}(o?t:e,o?e:t,r,a);c&&K((0,i.Z)({},c))}},ze=function(e){v&&re&&K({x:e.pageX-ee.current.deltaX,y:e.pageY-ee.current.deltaY})},Oe=function(e){if(v){e.preventDefault();var t=e.deltaY;ye({wheelDirection:t})}},Se=S((function(e){v&&ve&&(e.preventDefault(),e.keyCode===h.Z.LEFT?fe>0&&se(de[fe-1]):e.keyCode===h.Z.RIGHT&&fe0?be():e<0&&we()}),[he]),O((function(){var e,t,n=(0,g.Z)(window,"mouseup",Ne,!1),r=(0,g.Z)(window,"mousemove",ze,!1),a=(0,g.Z)(window,"wheel",Oe,{passive:!1}),o=(0,g.Z)(window,"keydown",Se,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",Ne,!1),t=(0,g.Z)(window.top,"mousemove",ze,!1))}catch(i){(0,y.Kp)(!1,"[rc-image] ".concat(i))}return function(){n.remove(),r.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[v,re,Se]),u.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:n,onClose:d,afterClose:function(){D(1),X(0),K(j)},visible:v,wrapClassName:xe,rootClassName:E},R),u.createElement("ul",{className:"".concat(n,"-operations")},ve&&u.createElement("li",{className:"".concat(n,"-operations-progress")},null!==(t=null===M||void 0===M?void 0:M(fe+1,ue))&&void 0!==t?t:"".concat(fe+1," / ").concat(ue)),Ee.map((function(e){var t=e.icon,r=e.onClick,a=e.type,o=e.disabled;return u.createElement("li",{className:f()(Ze,(0,c.Z)({},"".concat(n,"-operations-operation-disabled"),!!o)),onClick:r,key:a},u.isValidElement(t)?u.cloneElement(t,{className:Ce}):t)}))),u.createElement("div",{className:"".concat(n,"-img-wrapper"),style:{transform:"translate3d(".concat(Q.x,"px, ").concat(Q.y,"px, 0)")}},u.createElement("img",{width:e.width,height:e.height,onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),ee.current.deltaX=e.pageX-Q.x,ee.current.deltaY=e.pageY-Q.y,ee.current.originX=Q.x,ee.current.originY=Q.y,ae(!0))},onDoubleClick:function(){v&&(1!==T&&D(1),Q.x===j.x&&Q.y===j.y||K(j))},ref:$,className:"".concat(n,"-img"),src:me,alt:o,style:{transform:"scale3d(".concat(T,", ").concat(T,", 1) rotate(").concat(U,"deg)")}})),ve&&u.createElement("div",{className:f()("".concat(n,"-switch-left"),(0,c.Z)({},"".concat(n,"-switch-left-disabled"),0===fe)),onClick:function(e){e.preventDefault(),e.stopPropagation(),fe>0&&se(de[fe-1])}},B),ve&&u.createElement("div",{className:f()("".concat(n,"-switch-right"),(0,c.Z)({},"".concat(n,"-switch-right-disabled"),fe===ue-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),fe0?_[0]/-2:void 0,H=null!=_[1]&&_[1]>0?_[1]/-2:void 0;if(L&&(I.marginLeft=L,I.marginRight=L),j){var B=(0,i.Z)(_,2);I.rowGap=B[1]}else H&&(I.marginTop=H,I.marginBottom=H);var q=(0,i.Z)(_,2),V=q[0],W=q[1],T=s.useMemo((function(){return{gutter:[V,W],wrap:Z,supportFlexGap:j}}),[V,W,Z,j]);return s.createElement(v.Z.Provider,{value:T},s.createElement("div",(0,r.Z)({},C,{className:A,style:(0,r.Z)((0,r.Z)({},I),y),ref:t}),w))}))},26303:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(4942),a=n(87462),o=n(71002),i=n(94184),c=n.n(i),l=n(67294),s=n(53124),u=n(98423),d=function(e){var t,n,o=e.prefixCls,i=e.className,s=e.style,u=e.size,d=e.shape,f=c()((t={},(0,r.Z)(t,"".concat(o,"-lg"),"large"===u),(0,r.Z)(t,"".concat(o,"-sm"),"small"===u),t)),m=c()((n={},(0,r.Z)(n,"".concat(o,"-circle"),"circle"===d),(0,r.Z)(n,"".concat(o,"-square"),"square"===d),(0,r.Z)(n,"".concat(o,"-round"),"round"===d),n)),v=l.useMemo((function(){return"number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}}),[u]);return l.createElement("span",{className:c()(o,f,m,i),style:(0,a.Z)((0,a.Z)({},v),s)})},f=function(e){var t=e.prefixCls,n=e.className,o=e.active,i=e.shape,f=void 0===i?"circle":i,m=e.size,v=void 0===m?"default":m,p=(0,l.useContext(s.E_).getPrefixCls)("skeleton",t),g=(0,u.Z)(e,["prefixCls","className"]),h=c()(p,"".concat(p,"-element"),(0,r.Z)({},"".concat(p,"-active"),o),n);return l.createElement("div",{className:h},l.createElement(d,(0,a.Z)({prefixCls:"".concat(p,"-avatar"),shape:f,size:v},g)))},m=function(e){var t,n=e.prefixCls,o=e.className,i=e.active,f=e.block,m=void 0!==f&&f,v=e.size,p=void 0===v?"default":v,g=(0,l.useContext(s.E_).getPrefixCls)("skeleton",n),h=(0,u.Z)(e,["prefixCls"]),y=c()(g,"".concat(g,"-element"),(t={},(0,r.Z)(t,"".concat(g,"-active"),i),(0,r.Z)(t,"".concat(g,"-block"),m),t),o);return l.createElement("div",{className:y},l.createElement(d,(0,a.Z)({prefixCls:"".concat(g,"-button"),size:p},h)))},v=n(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},g=n(42135),h=function(e,t){return l.createElement(g.Z,(0,v.Z)((0,v.Z)({},e),{},{ref:t,icon:p}))};h.displayName="DotChartOutlined";var y=l.forwardRef(h),w=function(e){var t=e.prefixCls,n=e.className,a=e.style,o=e.active,i=e.children,u=(0,l.useContext(s.E_).getPrefixCls)("skeleton",t),d=c()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),o),n),f=null!==i&&void 0!==i?i:l.createElement(y,null);return l.createElement("div",{className:d},l.createElement("div",{className:c()("".concat(u,"-image"),n),style:a},f))},b=function(e){var t=e.prefixCls,n=e.className,a=e.style,o=e.active,i=(0,l.useContext(s.E_).getPrefixCls)("skeleton",t),u=c()(i,"".concat(i,"-element"),(0,r.Z)({},"".concat(i,"-active"),o),n);return l.createElement("div",{className:u},l.createElement("div",{className:c()("".concat(i,"-image"),n),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(i,"-image-svg")},l.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(i,"-image-path")}))))},x=function(e){var t,n=e.prefixCls,o=e.className,i=e.active,f=e.block,m=e.size,v=void 0===m?"default":m,p=(0,l.useContext(s.E_).getPrefixCls)("skeleton",n),g=(0,u.Z)(e,["prefixCls"]),h=c()(p,"".concat(p,"-element"),(t={},(0,r.Z)(t,"".concat(p,"-active"),i),(0,r.Z)(t,"".concat(p,"-block"),f),t),o);return l.createElement("div",{className:h},l.createElement(d,(0,a.Z)({prefixCls:"".concat(p,"-input"),size:v},g)))},Z=n(74902),C=function(e){var t=function(t){var n=e.width,r=e.rows,a=void 0===r?2:r;return Array.isArray(n)?n[t]:a-1===t?n:void 0},n=e.prefixCls,r=e.className,a=e.style,o=e.rows,i=(0,Z.Z)(Array(o)).map((function(e,n){return l.createElement("li",{key:n,style:{width:t(n)}})}));return l.createElement("ul",{className:c()(n,r),style:a},i)},E=function(e){var t=e.prefixCls,n=e.className,r=e.width,o=e.style;return l.createElement("h3",{className:c()(t,n),style:(0,a.Z)({width:r},o)})};function N(e){return e&&"object"===(0,o.Z)(e)?e:{}}var z=function(e){var t=e.prefixCls,n=e.loading,o=e.className,i=e.style,u=e.children,f=e.avatar,m=void 0!==f&&f,v=e.title,p=void 0===v||v,g=e.paragraph,h=void 0===g||g,y=e.active,w=e.round,b=l.useContext(s.E_),x=b.getPrefixCls,Z=b.direction,z=x("skeleton",t);if(n||!("loading"in e)){var O,S,P,k=!!m,j=!!p,M=!!h;if(k){var R=(0,a.Z)((0,a.Z)({prefixCls:"".concat(z,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(j,M)),N(m));S=l.createElement("div",{className:"".concat(z,"-header")},l.createElement(d,(0,a.Z)({},R)))}if(j||M){var _,A;if(j){var I=(0,a.Z)((0,a.Z)({prefixCls:"".concat(z,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(k,M)),N(p));_=l.createElement(E,(0,a.Z)({},I))}if(M){var L=(0,a.Z)((0,a.Z)({prefixCls:"".concat(z,"-paragraph")},function(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(k,j)),N(h));A=l.createElement(C,(0,a.Z)({},L))}P=l.createElement("div",{className:"".concat(z,"-content")},_,A)}var H=c()(z,(O={},(0,r.Z)(O,"".concat(z,"-with-avatar"),k),(0,r.Z)(O,"".concat(z,"-active"),y),(0,r.Z)(O,"".concat(z,"-rtl"),"rtl"===Z),(0,r.Z)(O,"".concat(z,"-round"),w),O),o);return l.createElement("div",{className:H,style:i},S,P)}return"undefined"!==typeof u?u:null};z.Button=m,z.Avatar=f,z.Input=x,z.Image=b,z.Node=w;var O=z},63406:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};t.default=n},87412:function(e,t,n){"use strict";var r=n(75263).default,a=n(64836).default;t.ZP=void 0;var o=a(n(38416)),i=a(n(10434)),c=a(n(27424)),l=a(n(54067)),s=a(n(68229)),u=a(n(67638)),d=a(n(94184)),f=a(n(18475)),m=r(n(67294)),v=n(31929),p=a(n(63406)),g=n(62704),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}();var x=m.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,a=e.trigger,x=e.children,Z=e.defaultCollapsed,C=void 0!==Z&&Z,E=e.theme,N=void 0===E?"dark":E,z=e.style,O=void 0===z?{}:z,S=e.collapsible,P=void 0!==S&&S,k=e.reverseArrow,j=void 0!==k&&k,M=e.width,R=void 0===M?200:M,_=e.collapsedWidth,A=void 0===_?80:_,I=e.zeroWidthTriggerStyle,L=e.breakpoint,H=e.onCollapse,B=e.onBreakpoint,q=h(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),V=(0,m.useContext)(g.LayoutContext).siderHook,W=(0,m.useState)("collapsed"in q?q.collapsed:C),T=(0,c.default)(W,2),D=T[0],F=T[1],G=(0,m.useState)(!1),U=(0,c.default)(G,2),X=U[0],Y=U[1];(0,m.useEffect)((function(){"collapsed"in q&&F(q.collapsed)}),[q.collapsed]);var J=function(e,t){"collapsed"in q||F(e),null===H||void 0===H||H(e,t)},Q=(0,m.useRef)();Q.current=function(e){Y(e.matches),null===B||void 0===B||B(e.matches),D!==e.matches&&J(e.matches,"responsive")},(0,m.useEffect)((function(){function e(e){return Q.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&L&&L in y){t=n("(max-width: ".concat(y[L],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[L]),(0,m.useEffect)((function(){var e=b("ant-sider-");return V.addSider(e),function(){return V.removeSider(e)}}),[]);var K=function(){J(!D,"clickTrigger")},$=(0,m.useContext)(v.ConfigContext).getPrefixCls,ee=m.useMemo((function(){return{siderCollapsed:D}}),[D]);return m.createElement(w.Provider,{value:ee},function(){var e,c=$("layout-sider",n),v=(0,f.default)(q,["collapsed"]),g=D?A:R,h=(0,p.default)(g)?"".concat(g,"px"):String(g),y=0===parseFloat(String(A||0))?m.createElement("span",{onClick:K,className:(0,d.default)("".concat(c,"-zero-width-trigger"),"".concat(c,"-zero-width-trigger-").concat(j?"right":"left")),style:I},a||m.createElement(l.default,null)):null,w={expanded:j?m.createElement(u.default,null):m.createElement(s.default,null),collapsed:j?m.createElement(s.default,null):m.createElement(u.default,null)}[D?"collapsed":"expanded"],b=null!==a?y||m.createElement("div",{className:"".concat(c,"-trigger"),onClick:K,style:{width:h}},a||w):null,Z=(0,i.default)((0,i.default)({},O),{flex:"0 0 ".concat(h),maxWidth:h,minWidth:h,width:h}),C=(0,d.default)(c,"".concat(c,"-").concat(N),(e={},(0,o.default)(e,"".concat(c,"-collapsed"),!!D),(0,o.default)(e,"".concat(c,"-has-trigger"),P&&null!==a&&!y),(0,o.default)(e,"".concat(c,"-below"),!!X),(0,o.default)(e,"".concat(c,"-zero-width"),0===parseFloat(h)),e),r);return m.createElement("aside",(0,i.default)({className:C},v,{style:Z,ref:t}),m.createElement("div",{className:"".concat(c,"-children")},x),P||X&&y?b:null)}())}));t.ZP=x},62704:function(e,t,n){"use strict";var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var o=a(n(861)),i=a(n(38416)),c=a(n(27424)),l=a(n(10434)),s=a(n(94184)),u=r(n(67294)),d=n(31929),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0),(0,i.default)(n,"".concat(h,"-rtl"),"rtl"===r),n),y),E=u.useMemo((function(){return{siderHook:{addSider:function(e){g((function(t){return[].concat((0,o.default)(t),[e])}))},removeSider:function(e){g((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return u.createElement(m.Provider,{value:E},u.createElement(x,(0,l.default)({ref:t,className:C},Z),w))})),h=v({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=v({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(p);t.Header=y;var w=v({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(p);t.Footer=w;var b=v({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(p);t.Content=b;var x=h;t.default=x},28045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(79361).Z,a=n(94941).Z,o=n(53929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,c=e.unoptimized,l=void 0!==c&&c,p=e.priority,g=void 0!==p&&p,b=e.loading,N=e.lazyRoot,O=void 0===N?null:N,S=e.lazyBoundary,P=e.className,k=e.quality,j=e.width,M=e.height,R=e.style,_=e.objectFit,A=e.objectPosition,I=e.onLoadingComplete,L=e.placeholder,H=void 0===L?"empty":L,B=e.blurDataURL,q=s(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),V=u.useContext(v.ImageConfigContext),W=u.useMemo((function(){var e=h||V||f.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return i({},e,{allSizes:t,deviceSizes:n})}),[V]),T=q,D=n?"responsive":"intrinsic";"layout"in T&&(T.layout&&(D=T.layout),delete T.layout);var F=E;if("loader"in T){if(T.loader){var G=T.loader;F=function(e){e.config;var t=s(e,["config"]);return G(t)}}delete T.loader}var U="";if(function(e){return"object"===typeof e&&(x(e)||function(e){return void 0!==e.src}(e))}(t)){var X=x(t)?t.default:t;if(!X.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(X)));if(B=B||X.blurDataURL,U=X.src,(!D||"fill"!==D)&&(M=M||X.height,j=j||X.width,!X.height||!X.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(X)))}var Y=!g&&("lazy"===b||"undefined"===typeof b);((t="string"===typeof t?t:U).startsWith("data:")||t.startsWith("blob:"))&&(l=!0,Y=!1);y.has(t)&&(Y=!1);W.unoptimized&&(l=!0);var J,Q=a(u.useState(!1),2),K=Q[0],$=Q[1],ee=a(m.useIntersection({rootRef:O,rootMargin:S||"200px",disabled:!Y}),3),te=ee[0],ne=ee[1],re=ee[2],ae=!Y||ne,oe={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ie={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ce=!1,le={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:_,objectPosition:A},se=C(j),ue=C(M),de=C(k);0;var fe=Object.assign({},R,le),me="blur"!==H||K?{}:{backgroundSize:_||"cover",backgroundPosition:A||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(B,'")')};if("fill"===D)oe.display="block",oe.position="absolute",oe.top=0,oe.left=0,oe.bottom=0,oe.right=0;else if("undefined"!==typeof se&&"undefined"!==typeof ue){var ve=ue/se,pe=isNaN(ve)?"100%":"".concat(100*ve,"%");"responsive"===D?(oe.display="block",oe.position="relative",ce=!0,ie.paddingTop=pe):"intrinsic"===D?(oe.display="inline-block",oe.position="relative",oe.maxWidth="100%",ce=!0,ie.maxWidth="100%",J="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(se,"%27%20height=%27").concat(ue,"%27/%3e")):"fixed"===D&&(oe.display="inline-block",oe.position="relative",oe.width=se,oe.height=ue)}else 0;var ge={src:w,srcSet:void 0,sizes:void 0};ae&&(ge=Z({config:W,src:t,unoptimized:l,layout:D,width:se,quality:de,sizes:n,loader:F}));var he=t;0;var ye,we="imagesrcset",be="imagesizes";we="imageSrcSet",be="imageSizes";var xe=(r(ye={},we,ge.srcSet),r(ye,be,ge.sizes),r(ye,"crossOrigin",T.crossOrigin),ye),Ze=u.default.useLayoutEffect,Ce=u.useRef(I),Ee=u.useRef(t);u.useEffect((function(){Ce.current=I}),[I]),Ze((function(){Ee.current!==t&&(re(),Ee.current=t)}),[re,t]);var Ne=i({isLazy:Y,imgAttributes:ge,heightInt:ue,widthInt:se,qualityInt:de,layout:D,className:P,imgStyle:fe,blurStyle:me,loading:b,config:W,unoptimized:l,placeholder:H,loader:F,srcString:he,onLoadingCompleteRef:Ce,setBlurComplete:$,setIntersection:te,isVisible:ae,noscriptSizes:n},T);return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{style:oe},ce?u.default.createElement("span",{style:ie},J?u.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:J}):null):null,u.default.createElement(z,Object.assign({},Ne))),g?u.default.createElement(d.default,null,u.default.createElement("link",Object.assign({key:"__nimg-"+ge.src+ge.srcSet+ge.sizes,rel:"preload",as:"image",href:ge.srcSet?void 0:ge.src},xe))):null)};var i=n(6495).Z,c=n(92648).Z,l=n(91598).Z,s=n(17273).Z,u=l(n(67294)),d=c(n(5443)),f=n(99309),m=n(57190),v=n(59977),p=(n(63794),n(82392));function g(e){return"/"===e[0]?e.slice(1):e}var h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0},y=new Set,w=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var b=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,a=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(p.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(a||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,a=e.quality,o=new URL("".concat(t.path).concat(g(n))),i=o.searchParams;return i.set("auto",i.getAll("auto").join(",")||"format"),i.set("fit",i.get("fit")||"max"),i.set("w",i.get("w")||r.toString()),a&&i.set("q",a.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(g(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(g(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function x(e){return void 0!==e.default}function Z(e){var t=e.config,n=e.src,r=e.unoptimized,a=e.layout,i=e.width,c=e.quality,l=e.sizes,s=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var u=function(e,t,n,r){var a=e.deviceSizes,i=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var c,l=/(^|\s)(1?\d?\d)vw/g,s=[];c=l.exec(r);c)s.push(parseInt(c[2]));if(s.length){var u,d=.01*(u=Math).min.apply(u,o(s));return{widths:i.filter((function(e){return e>=a[0]*d})),kind:"w"}}return{widths:i,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:a,kind:"w"}:{widths:o(new Set([t,2*t].map((function(e){return i.find((function(t){return t>=e}))||i[i.length-1]})))),kind:"x"}}(t,i,a,l),d=u.widths,f=u.kind,m=d.length-1;return{sizes:l||"w"!==f?l:"100vw",srcSet:d.map((function(e,r){return"".concat(s({config:t,src:n,quality:c,width:e})," ").concat("w"===f?e:r+1).concat(f)})).join(", "),src:s({config:t,src:n,quality:c,width:d[m]})}}function C(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function E(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=b.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(f.VALID_LOADERS.join(", "),". Received: ").concat(n))}function N(e,t,n,r,a,o){e&&e.src!==w&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(y.add(t),"blur"===r&&o(!0),null==a?void 0:a.current)){var n=e.naturalWidth,i=e.naturalHeight;a.current({naturalWidth:n,naturalHeight:i})}})))}var z=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,a=e.layout,o=e.className,c=e.imgStyle,l=e.blurStyle,d=e.isLazy,f=e.placeholder,m=e.loading,v=e.srcString,p=e.config,g=e.unoptimized,h=e.loader,y=e.onLoadingCompleteRef,w=e.setBlurComplete,b=e.setIntersection,x=e.onLoad,C=e.onError,E=(e.isVisible,e.noscriptSizes),z=s(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return m=d?"lazy":m,u.default.createElement(u.default.Fragment,null,u.default.createElement("img",Object.assign({},z,t,{decoding:"async","data-nimg":a,className:o,style:i({},c,l),ref:u.useCallback((function(e){b(e),(null==e?void 0:e.complete)&&N(e,v,0,f,y,w)}),[b,v,a,f,y,w]),onLoad:function(e){N(e.currentTarget,v,0,f,y,w),x&&x(e)},onError:function(e){"blur"===f&&w(!0),C&&C(e)}})),(d||"blur"===f)&&u.default.createElement("noscript",null,u.default.createElement("img",Object.assign({},z,Z({config:p,src:v,unoptimized:g,layout:a,width:n,quality:r,sizes:E,loader:h}),{decoding:"async","data-nimg":a,style:c,className:o,loading:m}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25675:function(e,t,n){e.exports=n(28045)},82670:function(e,t,n){"use strict";function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}n.d(t,{Z:function(){return r}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2040.2b48b43e5c9bbd94.js b/static/web/_next/static/chunks/2040.2b48b43e5c9bbd94.js new file mode 100644 index 000000000..c18b8370e --- /dev/null +++ b/static/web/_next/static/chunks/2040.2b48b43e5c9bbd94.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2040],{82040:function(e,t,a){a.r(t),a.d(t,{ebnf:function(){return r}});var c={slash:0,parenthesis:1},n={comment:0,_string:1,characterClass:2};let r={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'==e.peek()||"'"==e.peek()?(t.stringType=e.peek(),e.next(),t.stack.unshift(n._string)):e.match("/*")?(t.stack.unshift(n.comment),t.commentType=c.slash):e.match("(*")&&(t.stack.unshift(n.comment),t.commentType=c.parenthesis)),t.stack[0]){case n._string:for(;t.stack[0]===n._string&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property":"string";case n.comment:for(;t.stack[0]===n.comment&&!e.eol();)t.commentType===c.slash&&e.match("*/")?(t.stack.shift(),t.commentType=null):t.commentType===c.parenthesis&&e.match("*)")?(t.stack.shift(),t.commentType=null):e.match(/^.[^\*]*/);return"comment";case n.characterClass:for(;t.stack[0]===n.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift(n.characterClass),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(a))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2040.2fb636c89fcb5fd3.js b/static/web/_next/static/chunks/2040.2fb636c89fcb5fd3.js deleted file mode 100644 index 76400398a..000000000 --- a/static/web/_next/static/chunks/2040.2fb636c89fcb5fd3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2040],{82040:function(e,t,a){a.r(t),a.d(t,{ebnf:function(){return m}});var c=0,n=1,r=0,s=1,i=2;const m={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'==e.peek()||"'"==e.peek()?(t.stringType=e.peek(),e.next(),t.stack.unshift(s)):e.match("/*")?(t.stack.unshift(r),t.commentType=c):e.match("(*")&&(t.stack.unshift(r),t.commentType=n)),t.stack[0]){case s:for(;t.stack[0]===s&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property":"string";case r:for(;t.stack[0]===r&&!e.eol();)t.commentType===c&&e.match("*/")||t.commentType===n&&e.match("*)")?(t.stack.shift(),t.commentType=null):e.match(/^.[^\*]*/);return"comment";case i:for(;t.stack[0]===i&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift(i),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(a))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2069-45eeb5cd16bd7089.js b/static/web/_next/static/chunks/2069-45eeb5cd16bd7089.js new file mode 100644 index 000000000..68916cec6 --- /dev/null +++ b/static/web/_next/static/chunks/2069-45eeb5cd16bd7089.js @@ -0,0 +1,14 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2069],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,l=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!i)return!1;for(r in e);return void 0===r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(l)return l(e,t).value}return e[t]};e.exports=function e(){var n,t,r,l,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p + * @license MIT + */ e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},27561:function(e,n,t){var r=t(67990),l=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(l,""):e}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),l=t(7771),i=t(14841),o=Math.max,u=Math.min;e.exports=function(e,n,t){var a,s,c,f,p,d,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(n){var t=a,r=s;return a=s=void 0,h=n,f=e.apply(r,t)}function k(e){var t=e-d,r=e-h;return void 0===d||t>=n||t<0||g&&r>=c}function v(){var e,t,r,i=l();if(k(i))return b(i);p=setTimeout(v,(e=i-d,t=i-h,r=n-e,g?u(r,c-t):r))}function b(e){return(p=void 0,y&&a)?x(e):(a=s=void 0,f)}function S(){var e,t=l(),r=k(t);if(a=arguments,s=this,d=t,r){if(void 0===p)return h=e=d,p=setTimeout(v,n),m?x(e):f;if(g)return clearTimeout(p),p=setTimeout(v,n),x(d)}return void 0===p&&(p=setTimeout(v,n)),f}return n=i(n)||0,r(t)&&(m=!!t.leading,c=(g="maxWait"in t)?o(i(t.maxWait)||0,n):c,y="trailing"in t?!!t.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,a=d=s=p=void 0},S.flush=function(){return void 0===p?f:b(l())},S}},33448:function(e,n,t){var r=t(44239),l=t(37005);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639),l=function(){return r.Date.now()};e.exports=l},14841:function(e,n,t){var r=t(27561),l=t(13218),i=t(33448),o=0/0,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(l(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=l(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||s.test(e)?c(e.slice(2),t?2:8):u.test(e)?o:+e}},71471:function(e,n){"use strict";/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ var t,r=Symbol.for("react.element"),l=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case o:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case l:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=l,n.Profiler=u,n.StrictMode=o,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===l},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===o},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===o||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,l,i,o=null;if(!e||"string"!=typeof e)return o;for(var u=r(e),a="function"==typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1);return l<0?"":e.slice(r,l)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(l=i):(u=-1,l=o));return r===l?l=o:l<0&&(l=e.length),e.slice(r,l)},dirname:function(e){let n;if(d(e),0===e.length)return".";let t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){let n;d(e);let t=e.length,r=-1,l=0,i=-1,o=0;for(;t--;){let u=e.charCodeAt(t);if(47===u){if(n){l=t+1;break}continue}r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===l+1?"":e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",i=0):i=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),o=a,u=0;continue}}else if(l.length>0){l="",i=0,o=a,u=0;continue}}n&&(l=l.length>0?l+"/..":"..",i=2)}else l.length>0?l+="/"+e.slice(o+1,a):l=e.slice(o+1,a),i=a-o-1;o=a,u=0}else 46===t&&u>-1?u++:u=-1}return l}(e,!n);return 0!==t.length||n||(t="."),t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/"),n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let g=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let n,t;n=e?"string"==typeof e||o(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++rn.length;o&&n.push(r);try{i=e.apply(this,n)}catch(u){if(o&&t)throw u;return r(u)}o||(i instanceof Promise?i.then(l,r):i instanceof Error?r(i):l(i))};function r(e,...r){t||(t=!0,n(e,...r))}function l(e){r(null,e)}})(u,l)(...o):r(null,...o)}(null,...n)},use:function(t){if("function"!=typeof t)throw TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}(),r=[],l={},i=-1;return u.data=function(e,t){return"string"==typeof e?2==arguments.length?(P("data",n),l[e]=t,u):E.call(l,e)&&l[e]||null:e?(P("data",n),l=e,u):l},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(n)return u;for(;++i{if(!e&&n&&t){let r=u.stringify(n,t);null==r||("string"==typeof r||o(r)?t.value=r:t.result=r),i(e,t)}else i(e)})}t(null,n)},u.processSync=function(e){let n;u.freeze(),F("processSync",u.Parser),T("processSync",u.Compiler);let t=I(e);return u.process(t,function(e){n=!0,b(e)}),L("processSync","process",n),t},u;function u(){let n=e(),t=-1;for(;++ti?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)(l=Array.from(r)).unshift(n,t),[].splice.apply(e,l);else for(t&&[].splice.apply(e,[n,t]);o0?(M(e,e.length,0,n),e):n}let B={}.hasOwnProperty,j=X(/[A-Za-z]/),_=X(/\d/),N=X(/[\dA-Fa-f]/),H=X(/[\dA-Za-z]/),U=X(/[!-/:-@[-`{-~]/),V=X(/[#-'*+\--9=?A-Z^-~]/);function q(e){return null!==e&&(e<32||127===e)}function $(e){return null!==e&&(e<0||32===e)}function W(e){return null!==e&&e<-2}function Q(e){return -2===e||-1===e||32===e}let Y=X(/\s/),K=X(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function X(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function Z(e,n,t,r){let l=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return Q(r)?(e.enter(t),function r(o){return Q(o)&&i++r))return;let f=l.events.length,p=f;for(;p--;)if("exit"===l.events[p][0]&&"chunkFlow"===l.events[p][1].type){if(a){s=l.events[p][1].end;break}a=!0}for(g(o),c=f;cn;){let r=i[t];l.containerState=r[1],r[0].exit.call(l,e)}i.length=n}function y(){n.write([null]),t=void 0,n=void 0,l.containerState._closeFlow=void 0}}},ee={tokenize:function(e,n,t){return Z(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},en={tokenize:function(e,n,t){return Z(e,function(e){return null===e||W(e)?n(e):t(e)},"linePrefix")},partial:!0};function et(e){let n,t,r,l,i,o,u;let a={},s=-1;for(;++s=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}},partial:!0},ei={tokenize:function(e){let n=this,t=e.attempt(en,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t},e.attempt(this.parser.constructs.flowInitial,r,Z(e,e.attempt(this.parser.constructs.flow,r,e.attempt(er,r)),"linePrefix")));return t;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t}}},eo={resolveAll:ec()},eu=es("string"),ea=es("text");function es(e){return{tokenize:function(n){let t=this,r=this.parser.constructs[e],l=n.attempt(r,i,o);return i;function i(e){return a(e)?l(e):o(e)}function o(e){if(null===e){n.consume(e);return}return n.enter("data"),n.consume(e),u}function u(e){return a(e)?(n.exit("data"),l(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;let n=r[e],l=-1;if(n)for(;++ls?t(l):(e.consume(l),h):41===l?c--?(e.consume(l),h):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):null===l||$(l)?c?t(l):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):q(l)?t(l):(e.consume(l),92===l?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function ek(e,n,t,r,l,i){let o;let u=this,a=0;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!o||94===f&&!a&&"_hiddenFootnoteSupport"in u.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(l),e.consume(f),e.exit(l),e.exit(r),n):W(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||W(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),o=o||!Q(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function ev(e,n,t,r,l,i){let o;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),o=40===n?41:n,u};function u(t){return t===o?(e.enter(l),e.consume(t),e.exit(l),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===o?(e.exit(i),u(o)):null===n?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===o||null===n||W(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===o||92===n?(e.consume(n),s):s(n)}}function eb(e,n){let t;return function r(l){return W(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t=!0,r):Q(l)?Z(e,r,t?"linePrefix":"lineSuffix")(l):n(l)}}function eS(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let ew={tokenize:function(e,n,t){return function(n){return $(n)?eb(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?ev(e,Z(e,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function l(e){return null===e||W(e)?n(e):t(e)}},partial:!0},eC={name:"codeIndented",tokenize:function(e,n,t){let r=this;return function(n){return e.enter("codeIndented"),Z(e,l,"linePrefix",5)(n)};function l(n){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function n(t){return null===t?i(t):W(t)?e.attempt(eE,n,i)(t):(e.enter("codeFlowValue"),function t(r){return null===r||W(r)?(e.exit("codeFlowValue"),n(r)):(e.consume(r),t)}(t))}(n):t(n)}function i(t){return e.exit("codeIndented"),n(t)}}},eE={tokenize:function(e,n,t){let r=this;return l;function l(n){return r.parser.lazy[r.now().line]?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),l):Z(e,i,"linePrefix",5)(n)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):W(e)?l(e):t(e)}},partial:!0},eA={name:"setextUnderline",tokenize:function(e,n,t){let r;let l=this,i=l.events.length;for(;i--;)if("lineEnding"!==l.events[i][1].type&&"linePrefix"!==l.events[i][1].type&&"content"!==l.events[i][1].type){r="paragraph"===l.events[i][1].type;break}return function(n){return!l.parser.lazy[l.now().line]&&(l.interrupt||r)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),Z(e,o,"lineSuffix")(r))}(n)):t(n)};function o(r){return null===r||W(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,l,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),l||"definition"!==e[i][1].type||(l=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",o,n]),e.splice(l+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[l][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},eF=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eT=["pre","script","style","textarea"],eP={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(en,n,t)}},partial:!0},eO={name:"codeFenced",tokenize:function(e,n,t){let r;let l=this,i={tokenize:function(e,n,t){let l=0;return Z(e,function(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function n(o){return o===r?(e.consume(o),l++,n):l1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);eV(f,-u),eV(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=R(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=R(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",l,n]]),a=R(a,ep(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=R(a,[["exit",l,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=R(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,M(e,t-1,c-t+3,a),c=t+a.length-s-2;break}}for(c=-1;++ci&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},M(e,i,l-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},42:ed,45:[eA,ed],60:{name:"htmlFlow",tokenize:function(e,n,t){let r,l,i,o,u;let a=this;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),d):63===o?(e.consume(o),r=3,a.interrupt?n:L):j(o)?(e.consume(o),i=String.fromCharCode(o),l=!0,h):t(o)}function c(l){return 45===l?(e.consume(l),r=2,f):91===l?(e.consume(l),r=5,i="CDATA[",o=0,p):j(l)?(e.consume(l),r=4,a.interrupt?n:L):t(l)}function f(r){return 45===r?(e.consume(r),a.interrupt?n:L):t(r)}function p(r){return r===i.charCodeAt(o++)?(e.consume(r),o===i.length?a.interrupt?n:C:p):t(r)}function d(n){return j(n)?(e.consume(n),i=String.fromCharCode(n),h):t(n)}function h(o){return null===o||47===o||62===o||$(o)?47!==o&&l&&eT.includes(i.toLowerCase())?(r=1,a.interrupt?n(o):C(o)):eF.includes(i.toLowerCase())?(r=6,47===o)?(e.consume(o),m):a.interrupt?n(o):C(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(o):l?g(o):function n(t){return Q(t)?(e.consume(t),n):S(t)}(o)):45===o||H(o)?(e.consume(o),i+=String.fromCharCode(o),h):t(o)}function m(r){return 62===r?(e.consume(r),a.interrupt?n:C):t(r)}function g(n){return 47===n?(e.consume(n),S):58===n||95===n||j(n)?(e.consume(n),y):Q(n)?(e.consume(n),g):S(n)}function y(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),y):x(n)}function x(n){return 61===n?(e.consume(n),k):Q(n)?(e.consume(n),x):g(n)}function k(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),u=n,v):Q(n)?(e.consume(n),k):(u=null,function n(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||$(t)?x(t):(e.consume(t),n)}(n))}function v(n){return null===n||W(n)?t(n):n===u?(e.consume(n),b):(e.consume(n),v)}function b(e){return 47===e||62===e||Q(e)?g(e):t(e)}function S(n){return 62===n?(e.consume(n),w):t(n)}function w(n){return Q(n)?(e.consume(n),w):null===n||W(n)?C(n):t(n)}function C(n){return 45===n&&2===r?(e.consume(n),F):60===n&&1===r?(e.consume(n),T):62===n&&4===r?(e.consume(n),I):63===n&&3===r?(e.consume(n),L):93===n&&5===r?(e.consume(n),O):W(n)&&(6===r||7===r)?e.check(eP,I,E)(n):null===n||W(n)?E(n):(e.consume(n),C)}function E(n){return e.exit("htmlFlowData"),function n(t){return null===t?D(t):W(t)?e.attempt({tokenize:A,partial:!0},n,D)(t):(e.enter("htmlFlowData"),C(t))}(n)}function A(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r};function r(e){return a.parser.lazy[a.now().line]?t(e):n(e)}}function F(n){return 45===n?(e.consume(n),L):C(n)}function T(n){return 47===n?(e.consume(n),i="",P):C(n)}function P(n){return 62===n&&eT.includes(i.toLowerCase())?(e.consume(n),I):j(n)&&i.length<8?(e.consume(n),i+=String.fromCharCode(n),P):C(n)}function O(n){return 93===n?(e.consume(n),L):C(n)}function L(n){return 62===n?(e.consume(n),I):45===n&&2===r?(e.consume(n),L):C(n)}function I(n){return null===n||W(n)?(e.exit("htmlFlowData"),D(n)):(e.consume(n),I)}function D(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},61:eA,95:ed,96:eO,126:eO},eK={38:eD,92:ez},eX={[-5]:eM,[-4]:eM,[-3]:eM,33:eN,38:eD,42:eU,60:[{name:"autolink",tokenize:function(e,n,t){let r=1;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(n){return j(n)?(e.consume(n),i):V(n)?u(n):t(n)}function i(n){return 43===n||45===n||46===n||H(n)?function n(t){return 58===t?(e.consume(t),o):(43===t||45===t||46===t||H(t))&&r++<32?(e.consume(t),n):u(t)}(n):u(n)}function o(n){return 62===n?(e.exit("autolinkProtocol"),s(n)):null===n||32===n||60===n||q(n)?t(n):(e.consume(n),o)}function u(n){return 64===n?(e.consume(n),r=0,a):V(n)?(e.consume(n),u):t(n)}function a(n){return H(n)?function n(l){return 46===l?(e.consume(l),r=0,a):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",s(l)):function l(i){return(45===i||H(i))&&r++<63?(e.consume(i),45===i?l:n):t(i)}(l)}(n):t(n)}function s(t){return e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n}}},{name:"htmlText",tokenize:function(e,n,t){let r,l,i,o;let u=this;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),s):47===n?(e.consume(n),S):63===n?(e.consume(n),v):j(n)?(e.consume(n),C):t(n)}function s(n){return 45===n?(e.consume(n),c):91===n?(e.consume(n),l="CDATA[",i=0,m):j(n)?(e.consume(n),k):t(n)}function c(n){return 45===n?(e.consume(n),f):t(n)}function f(n){return null===n||62===n?t(n):45===n?(e.consume(n),p):d(n)}function p(e){return null===e||62===e?t(e):d(e)}function d(n){return null===n?t(n):45===n?(e.consume(n),h):W(n)?(o=d,L(n)):(e.consume(n),d)}function h(n){return 45===n?(e.consume(n),D):d(n)}function m(n){return n===l.charCodeAt(i++)?(e.consume(n),i===l.length?g:m):t(n)}function g(n){return null===n?t(n):93===n?(e.consume(n),y):W(n)?(o=g,L(n)):(e.consume(n),g)}function y(n){return 93===n?(e.consume(n),x):g(n)}function x(n){return 62===n?D(n):93===n?(e.consume(n),x):g(n)}function k(n){return null===n||62===n?D(n):W(n)?(o=k,L(n)):(e.consume(n),k)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):W(n)?(o=v,L(n)):(e.consume(n),v)}function b(e){return 62===e?D(e):v(e)}function S(n){return j(n)?(e.consume(n),w):t(n)}function w(n){return 45===n||H(n)?(e.consume(n),w):function n(t){return W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):D(t)}(n)}function C(n){return 45===n||H(n)?(e.consume(n),C):47===n||62===n||$(n)?E(n):t(n)}function E(n){return 47===n?(e.consume(n),D):58===n||95===n||j(n)?(e.consume(n),A):W(n)?(o=E,L(n)):Q(n)?(e.consume(n),E):D(n)}function A(n){return 45===n||46===n||58===n||95===n||H(n)?(e.consume(n),A):function n(t){return 61===t?(e.consume(t),F):W(t)?(o=n,L(t)):Q(t)?(e.consume(t),n):E(t)}(n)}function F(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),r=n,T):W(n)?(o=F,L(n)):Q(n)?(e.consume(n),F):(e.consume(n),r=void 0,O)}function T(n){return n===r?(e.consume(n),P):null===n?t(n):W(n)?(o=T,L(n)):(e.consume(n),T)}function P(e){return 62===e||47===e||$(e)?E(e):t(e)}function O(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):62===n||$(n)?E(n):(e.consume(n),O)}function L(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Z(e,I,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(n){return e.enter("htmlTextData"),o(n)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}}}],91:eq,92:[{name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(n),r};function r(r){return W(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(r)):t(r)}}},ez],93:eR,95:eU,96:{name:"codeText",tokenize:function(e,n,t){let r,l,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),function n(t){return 96===t?(e.consume(t),i++,n):(e.exit("codeTextSequence"),o(t))}(n)};function o(a){return null===a?t(a):96===a?(l=e.enter("codeTextSequence"),r=0,function t(o){return 96===o?(e.consume(o),r++,t):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(o)):(l.type="codeTextData",u(o))}(a)):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(a))}function u(n){return null===n||32===n||96===n||W(n)?(e.exit("codeTextData"),o(n)):(e.consume(n),u)}},resolve:function(e){let n,t,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(n=l;++n13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(65535&t)==65535||(65535&t)==65534||t>1114111?"�":String.fromCharCode(t)}let e2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e4(e,n,t){if(n)return n;let r=t.charCodeAt(0);if(35===r){let l=t.charCodeAt(1),i=120===l||88===l;return e0(t.slice(i?2:1),i?16:10)}return eI(t)||e}let e3={}.hasOwnProperty,e6=function(e,n,t){let l,i,o,a;return"string"!=typeof n&&(t=n,n=void 0),(function(e={}){let n=function e(n,t){let r=-1;for(;++r0){let y=u[u.length-1],x=y[1]||e5;x.call(d,void 0,y[0])}for(t.position={start:i(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:i(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h-1&&(t[0]=t[0].slice(l)),o>0&&t.push(e[i].slice(0,o))),t}(o,e)}function p(){return Object.assign({},r)}function d(e,n){n.restore()}function h(e,n){return function(t,l,i){let o,c,f,d;return Array.isArray(t)?h(t):"tokenize"in t?h([t]):function(e){let n=null!==e&&t[e],r=null!==e&&t.null,l=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(l)(e)};function h(e){return(o=e,c=0,0===e.length)?i:m(e[c])}function m(e){return function(t){return(d=function(){let e=p(),n=s.previous,t=s.currentConstruct,l=s.events.length,i=Array.from(u);return{restore:function(){r=e,s.previous=n,s.currentConstruct=t,s.events.length=l,u=i,g()},from:l}}(),f=e,e.partial||(s.currentConstruct=e),e.name&&s.parser.constructs.disable.null.includes(e.name))?x(t):e.tokenize.call(n?Object.assign(Object.create(s),n):s,a,y,x)(t)}}function y(n){return e(f,d),l}function x(e){return(d.restore(),++c{let t=this.data("settings");return e6(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:n})},e7=function(e,n,t){var r={type:String(e)};return null==t&&("string"==typeof n||Array.isArray(n))?t=n:Object.assign(r,n),Array.isArray(t)?r.children=t:null!=t&&(r.value=String(t)),r};let e8=function(e){if(null==e)return nn;if("string"==typeof e)return ne(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f-1?t.offset:null}}}let nu={}.hasOwnProperty;function na(e){return String(e||"").toUpperCase()}let ns={}.hasOwnProperty;function nc(e,n){let t=n.data||{};return"value"in n&&!(ns.call(t,"hName")||ns.call(t,"hProperties")||ns.call(t,"hChildren"))?e.augment(n,e7("text",n.value)):e(n,"div",nd(e,n))}function nf(e,n,t){let r;let l=n&&n.type;if(!l)throw Error("Expected node, got `"+n+"`");return("function"==typeof(r=ns.call(e.handlers,l)?e.handlers[l]:e.passThrough&&e.passThrough.includes(l)?np:e.unknownHandler)?r:nc)(e,n,t)}function np(e,n){return"children"in n?{...n,children:nd(e,n)}:n}function nd(e,n){let t=[];if("children"in n){let r=n.children,l=-1;for(;++l55295&&i<57344){let u=e.charCodeAt(t+1);i<56320&&u>56319&&u<57344?(o=String.fromCharCode(i,u),l=1):o="�"}else o=String.fromCharCode(i);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+l+1,o=""),l&&(t+=l,l=0)}return n.join("")+e.slice(r)}function nm(e,n){let t=[],r=-1;for(n&&t.push(e7("text","\n"));++r0&&t.push(e7("text","\n")),t}function ng(e,n){let t;let r=String(n.identifier),l=nh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,t=e.footnoteOrder.length):(e.footnoteCounts[r]++,t=i+1);let o=e.footnoteCounts[r];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+l,id:e.clobberPrefix+"fnref-"+l+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[e7("text",String(t))])])}function ny(e,n){let t=n.referenceType,r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return e7("text","!["+n.alt+r);let l=nd(e,n),i=l[0];i&&"text"===i.type?i.value="["+i.value:l.unshift(e7("text","["));let o=l[l.length-1];return o&&"text"===o.type?o.value+=r:l.push(e7("text",r)),l}function nx(e){let n=e.spread;return null==n?e.children.length>1:n}function nk(e,n,t){let r=0,l=e.length;if(n){let i=e.codePointAt(r);for(;9===i||32===i;)r++,i=e.codePointAt(r)}if(t){let o=e.codePointAt(l-1);for(;9===o||32===o;)l--,o=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let nv={blockquote:function(e,n){return e(n,"blockquote",nm(nd(e,n),!0))},break:function(e,n){return[e(n,"br"),e7("text","\n")]},code:function(e,n){let t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),l={};r&&(l.className=["language-"+r]);let i=e(n,"code",l,[e7("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",nd(e,n))},emphasis:function(e,n){return e(n,"em",nd(e,n))},footnoteReference:ng,footnote:function(e,n){let t=e.footnoteById,r=1;for(;(r in t);)r++;let l=String(r);return t[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:n.children}],position:n.position},ng(e,{type:"footnoteReference",identifier:l,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,nd(e,n))},html:function(e,n){return e.dangerous?e.augment(n,e7("raw",n.value)):null},imageReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={src:nh(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){let t={src:nh(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[e7("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){let t=e.definition(n.identifier);if(!t)return ny(e,n);let r={href:nh(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,nd(e,n))},link:function(e,n){let t={href:nh(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,nd(e,n))},listItem:function(e,n,t){let r=nd(e,n),l=t?function(e){let n=e.spread,t=e.children,r=-1;for(;!n&&++r0&&u.children.unshift(e7("text"," ")),u.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let a=-1;for(;++a0,!0),r[0]),l=r.index+r[0].length,r=t.exec(n);return i.push(nk(n.slice(l),l>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:nb,yaml:nb,definition:nb,footnoteDefinition:nb};function nb(){return null}let nS={}.hasOwnProperty;function nw(e,n){let t=function(e,n){let t=n||{},r=t.allowDangerousHtml||!1,l={};return o.dangerous=r,o.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,o.footnoteLabel=t.footnoteLabel||"Footnotes",o.footnoteLabelTagName=t.footnoteLabelTagName||"h2",o.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=t.footnoteBackLabel||"Back to content",o.definition=function(e){let n=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return nr(e,"definition",e=>{let t=na(e.identifier);t&&!nu.call(n,t)&&(n[t]=e)}),function(e){let t=na(e);return t&&nu.call(n,t)?n[t]:null}}(e),o.footnoteById=l,o.footnoteOrder=[],o.footnoteCounts={},o.augment=i,o.handlers={...nv,...t.handlers},o.unknownHandler=t.unknownHandler,o.passThrough=t.passThrough,nr(e,"footnoteDefinition",e=>{let n=String(e.identifier).toUpperCase();nS.call(l,n)||(l[n]=e)}),o;function i(e,n){if(e&&"data"in e&&e.data){let t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){let r="type"in e?e:{position:e};!r||!r.position||!r.position.start||!r.position.start.line||!r.position.start.column||!r.position.end||!r.position.end.line||!r.position.end.column||(n.position={start:nl(r),end:ni(r)})}return n}function o(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=nf(t,e,null),l=function(e){let n=-1,t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};u>1&&s.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(s)}let c=l[l.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let f=c.children[c.children.length-1];f&&"text"===f.type?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...a)}else l.push(...a);let p={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:nm(l,!0)};r.position&&(p.position=r.position),t.push(p)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[e7("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:nm(t,!0)},{type:"text",value:"\n"}]}}(t);return l&&r.children.push(e7("text","\n"),l),Array.isArray(r)?{type:"root",children:r}:r}let nC=function(e,n){var t;return e&&"run"in e?(t,r,l)=>{e.run(nw(t,n),r,e=>{l(e)})}:(t=e||n,e=>nw(e,t))};var nE=t(45697);class nA{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function nF(e,n){let t={},r={},l=-1;for(;++l"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),nq=nU({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n$(e,n){return n in e?e[n]:n}function nW(e,n){return n$(e,n.toLowerCase())}let nQ=nU({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nW,properties:{xmlns:null,xmlnsXLink:null}}),nY=nU({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:nI,ariaAutoComplete:null,ariaBusy:nI,ariaChecked:nI,ariaColCount:nz,ariaColIndex:nz,ariaColSpan:nz,ariaControls:nM,ariaCurrent:null,ariaDescribedBy:nM,ariaDetails:null,ariaDisabled:nI,ariaDropEffect:nM,ariaErrorMessage:null,ariaExpanded:nI,ariaFlowTo:nM,ariaGrabbed:nI,ariaHasPopup:null,ariaHidden:nI,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nM,ariaLevel:nz,ariaLive:null,ariaModal:nI,ariaMultiLine:nI,ariaMultiSelectable:nI,ariaOrientation:null,ariaOwns:nM,ariaPlaceholder:null,ariaPosInSet:nz,ariaPressed:nI,ariaReadOnly:nI,ariaRelevant:null,ariaRequired:nI,ariaRoleDescription:nM,ariaRowCount:nz,ariaRowIndex:nz,ariaRowSpan:nz,ariaSelected:nI,ariaSetSize:nz,ariaSort:null,ariaValueMax:nz,ariaValueMin:nz,ariaValueNow:nz,ariaValueText:null,role:null}}),nK=nU({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nW,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nR,acceptCharset:nM,accessKey:nM,action:null,allow:null,allowFullScreen:nL,allowPaymentRequest:nL,allowUserMedia:nL,alt:null,as:null,async:nL,autoCapitalize:null,autoComplete:nM,autoFocus:nL,autoPlay:nL,capture:nL,charSet:null,checked:nL,cite:null,className:nM,cols:nz,colSpan:null,content:null,contentEditable:nI,controls:nL,controlsList:nM,coords:nz|nR,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nL,defer:nL,dir:null,dirName:null,disabled:nL,download:nD,draggable:nI,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nL,formTarget:null,headers:nM,height:nz,hidden:nL,high:nz,href:null,hrefLang:null,htmlFor:nM,httpEquiv:nM,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:nL,itemId:null,itemProp:nM,itemRef:nM,itemScope:nL,itemType:nM,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nL,low:nz,manifest:null,max:null,maxLength:nz,media:null,method:null,min:null,minLength:nz,multiple:nL,muted:nL,name:null,nonce:null,noModule:nL,noValidate:nL,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:nL,optimum:nz,pattern:null,ping:nM,placeholder:null,playsInline:nL,poster:null,preload:null,readOnly:nL,referrerPolicy:null,rel:nM,required:nL,reversed:nL,rows:nz,rowSpan:nz,sandbox:nM,scope:null,scoped:nL,seamless:nL,selected:nL,shape:null,size:nz,sizes:null,slot:null,span:nz,spellCheck:nI,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nz,step:null,style:null,tabIndex:nz,target:null,title:null,translate:null,type:null,typeMustMatch:nL,useMap:null,value:nI,width:nz,wrap:null,align:null,aLink:null,archive:nM,axis:null,background:null,bgColor:null,border:nz,borderColor:null,bottomMargin:nz,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nL,declare:nL,event:null,face:null,frame:null,frameBorder:null,hSpace:nz,leftMargin:nz,link:null,longDesc:null,lowSrc:null,marginHeight:nz,marginWidth:nz,noResize:nL,noHref:nL,noShade:nL,noWrap:nL,object:null,profile:null,prompt:null,rev:null,rightMargin:nz,rules:null,scheme:null,scrolling:nI,standby:null,summary:null,text:null,topMargin:nz,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nz,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nL,disableRemotePlayback:nL,prefix:null,property:null,results:nz,security:null,unselectable:null}}),nX=nU({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:n$,properties:{about:nB,accentHeight:nz,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nz,amplitude:nz,arabicForm:null,ascent:nz,attributeName:null,attributeType:null,azimuth:nz,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nz,by:null,calcMode:null,capHeight:nz,className:nM,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nz,diffuseConstant:nz,direction:null,display:null,dur:null,divisor:nz,dominantBaseline:null,download:nL,dx:null,dy:null,edgeMode:null,editable:null,elevation:nz,enableBackground:null,end:null,event:null,exponent:nz,externalResourcesRequired:null,fill:null,fillOpacity:nz,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nR,g2:nR,glyphName:nR,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nz,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nz,horizOriginX:nz,horizOriginY:nz,id:null,ideographic:nz,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nz,k:nz,k1:nz,k2:nz,k3:nz,k4:nz,kernelMatrix:nB,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nz,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nz,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nz,overlineThickness:nz,paintOrder:null,panose1:null,path:null,pathLength:nz,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nM,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nz,pointsAtY:nz,pointsAtZ:nz,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nB,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nB,rev:nB,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nB,requiredFeatures:nB,requiredFonts:nB,requiredFormats:nB,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nz,specularExponent:nz,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nz,strikethroughThickness:nz,string:null,stroke:null,strokeDashArray:nB,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nz,strokeOpacity:nz,strokeWidth:null,style:null,surfaceScale:nz,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nB,tabIndex:nz,tableValues:null,target:null,targetX:nz,targetY:nz,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nB,to:null,transform:null,u1:null,u2:null,underlinePosition:nz,underlineThickness:nz,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nz,values:null,vAlphabetic:nz,vMathematical:nz,vectorEffect:null,vHanging:nz,vIdeographic:nz,version:null,vertAdvY:nz,vertOriginX:nz,vertOriginY:nz,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nz,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nZ=nF([nq,nV,nQ,nY,nK],"html"),nJ=nF([nq,nV,nQ,nY,nX],"svg"),nG=function(e){if(null==e)return n0;if("string"==typeof e)return n1(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})),f;function f(){var s;let c,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(s=t(o,a))?s:"number"==typeof s?[!0,s]:[s])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f{n4(n,"element",(n,t,r)=>{let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&"number"==typeof t&&(l=!e.allowElement(n,t,r)),l&&"number"==typeof t)return e.unwrapDisallowed&&n.children?r.children.splice(t,1,...n.children):r.children.splice(t,1),t})}}let n6=["http","https","mailto","tel"];var n5=t(82143);let n9=/^data[-\w.:]+$/i,n7=/-[a-z]/g,n8=/[A-Z]/g;function te(e){return"-"+e.toLowerCase()}function tn(e){return e.charAt(1).toUpperCase()}let tt={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"};var tr=t(57848);let tl={}.hasOwnProperty,ti=new Set(["table","thead","tbody","tfoot","tr"]);function to(e,n){let t=-1,r=0;for(;++t for more info)`),delete ts[n]}let r=C().use(e9).use(e.remarkPlugins||[]).use(nC,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(n3,e),l=new y;"string"==typeof e.children?l.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let o=r.runSync(r.parse(l),l);if("root"!==o.type)throw TypeError("Expected a `root` node");let u=i.createElement(i.Fragment,{},function e(n,t){let r;let l=[],o=-1;for(;++o4&&"data"===t.slice(0,4)&&n9.test(n)){if("-"===n.charAt(4)){let i=n.slice(5).replace(n7,tn);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{let o=n.slice(4);if(!n7.test(o)){let u=o.replace(n8,te);"-"!==u.charAt(0)&&(u="-"+u),n="data"+u}}l=nN}return new l(r,n)}(r.schema,n),i=t;if(null!=i&&i==i){if(Array.isArray(i)){var o,u;i=l.commaSeparated?(u={},""===(o=i)[o.length-1]&&(o=o.concat("")),o.join((u.padRight?" ":"")+","+(!1===u.padLeft?"":" ")).trim()):i.join(" ").trim()}"style"===l.property&&"string"==typeof i&&(i=function(e){let n={};try{tr(e,function(e,t){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,tu)]=t})}catch{}return n}(i)),l.space&&l.property?e[tl.call(tt,l.property)?tt[l.property]:l.property]=i:l.attribute&&(e[l.attribute]=i)}}(c,o,t.properties[o],n);("ol"===s||"ul"===s)&&n.listDepth++;let p=e(n,t);("ol"===s||"ul"===s)&&n.listDepth--,n.schema=a;let d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=u.components&&tl.call(u.components,s)?u.components[s]:s,m="string"==typeof h||h===i.Fragment;if(!n5.isValidElementType(h))throw TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(c.key=[s,d.start.line,d.start.column,r].join("-"),"a"===s&&u.linkTarget&&(c.target="function"==typeof u.linkTarget?u.linkTarget(String(c.href||""),t.children,"string"==typeof c.title?c.title:null):u.linkTarget),"a"===s&&u.transformLinkUri&&(c.href=u.transformLinkUri(String(c.href||""),t.children,"string"==typeof c.title?c.title:null)),m||"code"!==s||"element"!==l.type||"pre"===l.tagName||(c.inline=!0),m||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(c.level=Number.parseInt(s.charAt(1),10)),"img"===s&&u.transformImageUri&&(c.src=u.transformImageUri(String(c.src||""),String(c.alt||""),"string"==typeof c.title?c.title:null)),!m&&"li"===s&&"element"===l.type){let g=function(e){let n=-1;for(;++nString(e)).join("")),!m&&u.rawSourcePos&&(c.sourcePosition=t.position),!m&&u.includeElementIndex&&(c.index=to(l,t),c.siblingCount=to(l)),m||(c.node=t),p.length>0?i.createElement(h,c,p):i.createElement(h,c)}(n,r,o,t)):"text"===r.type?"element"===t.type&&ti.has(t.tagName)&&function(e){var n=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}(r)||l.push(r.value):"raw"!==r.type||n.options.skipHtml||l.push(r.value);return l}({options:e,schema:nZ,listDepth:0},o));return e.className&&(u=i.createElement("div",{className:e.className},u)),u}tc.defaultProps={transformLinkUri:function(e){let n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;let r=n.indexOf(":");if(-1===r)return n;let l=-1;for(;++ll||-1!==(l=n.indexOf("#"))&&r>l?n:"javascript:void(0)"}},tc.propTypes={children:nE.string,className:nE.string,allowElement:nE.func,allowedElements:nE.arrayOf(nE.string),disallowedElements:nE.arrayOf(nE.string),unwrapDisallowed:nE.bool,remarkPlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),rehypePlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),sourcePos:nE.bool,rawSourcePos:nE.bool,skipHtml:nE.bool,includeElementIndex:nE.bool,transformLinkUri:nE.oneOfType([nE.func,nE.bool]),linkTarget:nE.oneOfType([nE.func,nE.string]),transformImageUri:nE.func,components:nE.object}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2069-f1df28dfe5edee8e.js b/static/web/_next/static/chunks/2069-f1df28dfe5edee8e.js deleted file mode 100644 index 8edd8dee9..000000000 --- a/static/web/_next/static/chunks/2069-f1df28dfe5edee8e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2069],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});p=n||t<0||g&&e-h>=c}function b(){var e=o();if(v(e))return w(e);p=setTimeout(b,function(e){var t=n-(e-d);return g?u(t,c-(e-h)):t}(e))}function w(e){return p=void 0,y&&a?x(e):(a=s=void 0,f)}function S(){var e=o(),t=v(e);if(a=arguments,s=this,d=e,t){if(void 0===p)return k(d);if(g)return clearTimeout(p),p=setTimeout(b,n),x(d)}return void 0===p&&(p=setTimeout(b,n)),f}return n=i(n)||0,r(t)&&(m=!!t.leading,c=(g="maxWait"in t)?l(i(t.maxWait)||0,n):c,y="trailing"in t?!!t.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,a=d=s=p=void 0},S.flush=function(){return void 0===p?f:w(o())},S}},33448:function(e,n,t){var r=t(44239),o=t(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),o=t(13218),i=t(33448),l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=o(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=u.test(e);return t||a.test(e)?s(e.slice(2),t?2:8):l.test(e)?NaN:+e}},71471:function(e,n){"use strict";var t,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case l:case p:case d:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case m:case h:case a:return e;default:return n}}case o:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=s,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=o,n.Profiler=u,n.StrictMode=l,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===s},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===o},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===l},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===u||e===l||e===p||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),P("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),D("processSync","process",n),t;function r(e){n=!0,w(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const _={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(_.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){_.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function x(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(Le,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},Le={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const De={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["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","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),x):Z(n)?(e.consume(n),y):C(n)}function x(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),x):k(n)}function k(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),k):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,w(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),S):(e.consume(n),b)}function w(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?k(n):(e.consume(n),w)}function S(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),D):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(je,M,F)(n)}function F(n){return e.exit("htmlFlowData"),T(n)}function T(n){return null===n?R(n):X(n)?e.attempt({tokenize:P,partial:!0},T,R)(n):(e.enter("htmlFlowData"),A(n))}function P(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",L):A(n)}function L(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),L):A(n)}function D(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},je={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const _e={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=j(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=j(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=j(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=j(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=j(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}const kn={}.hasOwnProperty,vn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=bn({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ie),autolinkProtocol:P,autolinkEmail:P,atxHeading:s(ne),blockQuote:s(X),characterEscape:P,characterReference:P,codeFenced:s(Z),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(Z,c),codeText:s(J,c),codeTextData:P,data:P,codeFlowValue:P,definition:s(G),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(ee),hardBreakEscape:s(te),hardBreakTrailing:s(te),htmlFlow:s(re,c),htmlFlowData:P,htmlText:s(re,c),htmlTextData:P,image:s(oe),label:c,link:s(ie),listItem:s(ue),listItemValue:g,listOrdered:s(le,m),listUnordered:s(le),paragraph:s(ae),reference:q,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(ne),strong:s(se),thematicBreak:s(fe)},exit:{atxHeading:p(),atxHeadingSequence:E,autolink:p(),autolinkEmail:K,autolinkProtocol:Y,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Q,codeFenced:p(v),codeFencedFence:k,codeFencedFenceInfo:y,codeFencedFenceMeta:x,codeFlowValue:O,codeIndented:p(b),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:C,definitionLabelString:w,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(L),hardBreakTrailing:p(L),htmlFlow:p(D),htmlFlowData:O,htmlText:p(z),htmlTextData:O,image:p(j),label:N,labelText:_,lineEnding:I,link:p(B),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:$,resourceDestinationString:H,resourceTitleString:U,resource:V,setextHeading:p(T),setextHeadingLineSequence:F,setextHeadingText:A,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],u=[],s={stack:[t],tokenStack:r,config:n,enter:f,exit:d,buffer:c,resume:h,setData:i,getData:l};let p=-1;for(;++p0){const e=r[r.length-1];(e[1]||Sn).call(s,void 0,e[0])}for(t.position={start:a(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:a(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const t=this.data("settings");return vn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},En=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const An=function(e){if(void 0===e||null===e)return Tn;if("string"===typeof e)return function(e){return Fn(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const zn={}.hasOwnProperty;function Mn(e){return String(e||"").toUpperCase()}const Rn={}.hasOwnProperty;function Bn(e,n){const t=n.data||{};return"value"in n&&!(Rn.call(t,"hName")||Rn.call(t,"hProperties")||Rn.call(t,"hChildren"))?e.augment(n,En("text",n.value)):e(n,"div",Nn(e,n))}function jn(e,n,t){const r=n&&n.type;let o;if(!r)throw new Error("Expected node, got `"+n+"`");return o=Rn.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?_n:e.unknownHandler,("function"===typeof o?o:Bn)(e,n,t)}function _n(e,n){return"children"in n?{...n,children:Nn(e,n)}:n}function Nn(e,n){const t=[];if("children"in n){const r=n.children;let o=-1;for(;++o55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}function Un(e,n){const t=[];let r=-1;for(n&&t.push(En("text","\n"));++r0&&t.push(En("text","\n")),t}function Vn(e,n){const t=String(n.identifier),r=Hn(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[En("text",String(i))])])}function qn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return En("text","!["+n.alt+r);const o=Nn(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(En("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(En("text",r)),o}function $n(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}function Wn(e,n,t){let r=0,o=e.length;if(n){let n=e.codePointAt(r);for(;9===n||32===n;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(o-1);for(;9===n||32===n;)o--,n=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Qn={blockquote:function(e,n){return e(n,"blockquote",Un(Nn(e,n),!0))},break:function(e,n){return[e(n,"br"),En("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[En("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",Nn(e,n))},emphasis:function(e,n){return e(n,"em",Nn(e,n))},footnoteReference:Vn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Vn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,Nn(e,n))},html:function(e,n){return e.dangerous?e.augment(n,En("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return qn(e,n);const r={src:Hn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Hn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[En("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return qn(e,n);const r={href:Hn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,Nn(e,n))},link:function(e,n){const t={href:Hn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,Nn(e,n))},listItem:function(e,n,t){const r=Nn(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(En("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u0,!0),r[0]),o=r.index+r[0].length,r=t.exec(n);return i.push(Wn(n.slice(o),o>0,!1)),i.join("")}(String(n.value))))},thematicBreak:function(e,n){return e(n,"hr")},toml:Yn,yaml:Yn,definition:Yn,footnoteDefinition:Yn};function Yn(){return null}const Kn={}.hasOwnProperty;function Xn(e,n){const t=n||{},r=t.allowDangerousHtml||!1,o={};return l.dangerous=r,l.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,l.footnoteLabel=t.footnoteLabel||"Footnotes",l.footnoteLabelTagName=t.footnoteLabelTagName||"h2",l.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},l.footnoteBackLabel=t.footnoteBackLabel||"Back to content",l.definition=function(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return On(e,"definition",(e=>{const t=Mn(e.identifier);t&&!zn.call(n,t)&&(n[t]=e)})),function(e){const t=Mn(e);return t&&zn.call(n,t)?n[t]:null}}(e),l.footnoteById=o,l.footnoteOrder=[],l.footnoteCounts={},l.augment=i,l.handlers={...Qn,...t.handlers},l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,On(e,"footnoteDefinition",(e=>{const n=String(e.identifier).toUpperCase();Kn.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:In(r),end:Ln(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}function Zn(e,n){const t=Xn(e,n),r=jn(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:Un(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[En("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Un(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(En("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var Jn=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(Zn(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>Zn(n,e)}(e||n)};var Gn=t(45697);class et{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function nt(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),kt=yt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function vt(e,n){return n in e?e[n]:n}function bt(e,n){return vt(e,n.toLowerCase())}const wt=yt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bt,properties:{xmlns:null,xmlnsXLink:null}}),St=yt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:at,ariaColIndex:at,ariaColSpan:at,ariaControls:st,ariaCurrent:null,ariaDescribedBy:st,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:st,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:st,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:st,ariaLevel:at,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:st,ariaPlaceholder:null,ariaPosInSet:at,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:st,ariaRowCount:at,ariaRowIndex:at,ariaRowSpan:at,ariaSelected:lt,ariaSetSize:at,ariaSort:null,ariaValueMax:at,ariaValueMin:at,ariaValueNow:at,ariaValueText:null,role:null}}),Ct=yt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ct,acceptCharset:st,accessKey:st,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:st,autoFocus:it,autoPlay:it,capture:it,charSet:null,checked:it,cite:null,className:st,cols:at,colSpan:null,content:null,contentEditable:lt,controls:it,controlsList:st,coords:at|ct,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:ut,draggable:lt,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:st,height:at,hidden:it,high:at,href:null,hrefLang:null,htmlFor:st,httpEquiv:st,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:st,itemRef:st,itemScope:it,itemType:st,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:at,manifest:null,max:null,maxLength:at,media:null,method:null,min:null,minLength:at,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:it,optimum:at,pattern:null,ping:st,placeholder:null,playsInline:it,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:st,required:it,reversed:it,rows:at,rowSpan:at,sandbox:st,scope:null,scoped:it,seamless:it,selected:it,shape:null,size:at,sizes:null,slot:null,span:at,spellCheck:lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:at,step:null,style:null,tabIndex:at,target:null,title:null,translate:null,type:null,typeMustMatch:it,useMap:null,value:lt,width:at,wrap:null,align:null,aLink:null,archive:st,axis:null,background:null,bgColor:null,border:at,borderColor:null,bottomMargin:at,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:at,leftMargin:at,link:null,longDesc:null,lowSrc:null,marginHeight:at,marginWidth:at,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:at,rules:null,scheme:null,scrolling:lt,standby:null,summary:null,text:null,topMargin:at,valueType:null,version:null,vAlign:null,vLink:null,vSpace:at,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:it,disableRemotePlayback:it,prefix:null,property:null,results:at,security:null,unselectable:null}}),Et=yt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:vt,properties:{about:ft,accentHeight:at,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:at,amplitude:at,arabicForm:null,ascent:at,attributeName:null,attributeType:null,azimuth:at,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:at,by:null,calcMode:null,capHeight:at,className:st,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:at,diffuseConstant:at,direction:null,display:null,dur:null,divisor:at,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:at,enableBackground:null,end:null,event:null,exponent:at,externalResourcesRequired:null,fill:null,fillOpacity:at,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ct,g2:ct,glyphName:ct,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:at,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:at,horizOriginX:at,horizOriginY:at,id:null,ideographic:at,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:at,k:at,k1:at,k2:at,k3:at,k4:at,kernelMatrix:ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:at,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:at,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:at,overlineThickness:at,paintOrder:null,panose1:null,path:null,pathLength:at,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:st,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:at,pointsAtY:at,pointsAtZ:at,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ft,rev:ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ft,requiredFeatures:ft,requiredFonts:ft,requiredFormats:ft,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:at,specularExponent:at,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:at,strikethroughThickness:at,string:null,stroke:null,strokeDashArray:ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:at,strokeOpacity:at,strokeWidth:null,style:null,surfaceScale:at,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ft,tabIndex:at,tableValues:null,target:null,targetX:at,targetY:at,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ft,to:null,transform:null,u1:null,u2:null,underlinePosition:at,underlineThickness:at,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:at,values:null,vAlphabetic:at,vMathematical:at,vectorEffect:null,vHanging:at,vIdeographic:at,version:null,vertAdvY:at,vertOriginX:at,vertOriginY:at,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:at,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),At=nt([kt,xt,wt,St,Ct],"html"),Ft=nt([kt,xt,wt,St,Et],"svg"),Tt=function(e){if(void 0===e||null===e)return Ot;if("string"===typeof e)return function(e){return Pt(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c{!function(e,n,t,r){"function"===typeof n&&"function"!==typeof t&&(r=t,t=n,n=null),It(e,n,(function(e,n){const r=n[n.length-1];return t(e,r?r.children.indexOf(e):null,r)}),r)}(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const Dt=["http","https","mailto","tel"];var zt=t(82143);function Mt(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const Rt=/^data[-\w.:]+$/i,Bt=/-[a-z]/g,jt=/[A-Z]/g;function _t(e){return"-"+e.toLowerCase()}function Nt(e){return e.charAt(1).toUpperCase()}const Ht={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"};var Ut=t(57848);const Vt={}.hasOwnProperty,qt=new Set(["table","thead","tbody","tfoot","tr"]);function $t(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=Qt(r,n),a.siblingCount=Qt(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function Qt(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&Rt.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Bt,Nt);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Bt.test(e)){let t=e.replace(jt,_t);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=ht}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Ut(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,Kt)]=t}}(i)),o.space&&o.property?e[Vt.call(Ht,o.property)?Ht[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Kt(e,n){return n.toUpperCase()}const Xt={}.hasOwnProperty,Zt={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Jt(e){for(const i in Zt)if(Xt.call(Zt,i)&&Xt.call(e,i)){const e=Zt[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete Zt[i]}const n=A().use(Cn).use(e.remarkPlugins||[]).use(Jn,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Lt,e),t=new x;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},$t({options:e,schema:At,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}Jt.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++oo?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},Jt.propTypes={children:Gn.string,className:Gn.string,allowElement:Gn.func,allowedElements:Gn.arrayOf(Gn.string),disallowedElements:Gn.arrayOf(Gn.string),unwrapDisallowed:Gn.bool,remarkPlugins:Gn.arrayOf(Gn.oneOfType([Gn.object,Gn.func,Gn.arrayOf(Gn.oneOfType([Gn.bool,Gn.string,Gn.object,Gn.func,Gn.arrayOf(Gn.any)]))])),rehypePlugins:Gn.arrayOf(Gn.oneOfType([Gn.object,Gn.func,Gn.arrayOf(Gn.oneOfType([Gn.bool,Gn.string,Gn.object,Gn.func,Gn.arrayOf(Gn.any)]))])),sourcePos:Gn.bool,rawSourcePos:Gn.bool,skipHtml:Gn.bool,includeElementIndex:Gn.bool,transformLinkUri:Gn.oneOfType([Gn.func,Gn.bool]),linkTarget:Gn.oneOfType([Gn.func,Gn.string]),transformImageUri:Gn.func,components:Gn.object}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2119.0cb64fe9bc609787.js b/static/web/_next/static/chunks/2119.0cb64fe9bc609787.js new file mode 100644 index 000000000..caa5fba9c --- /dev/null +++ b/static/web/_next/static/chunks/2119.0cb64fe9bc609787.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2119],{52119:function(e,t,n){function i(e){var t,n,i=e.statementIndentUnit,r=e.dontAlignCalls,a=e.noIndentKeywords||[],o=e.multiLineStrings,l=e.hooks||{};function s(e){for(var t={},n=e.split(" "),i=0;i=0)return a}var o=e.context,s=t&&t.charAt(0);"statement"==o.type&&"}"==s&&(o=o.prev);var c=!1,d=t.match(k);return(d&&(c=$(d[0],o.type)),"statement"==o.type)?o.indented+("{"==s?0:i||n.unit):y.test(o.type)&&o.align&&!r?o.column+(c?0:1):")"!=o.type||c?o.indented+(c?0:n.unit):o.indented+(i||n.unit)},languageData:{indentOnInput:function(){var e=[];for(var t in b)if(b[t]){var n=b[t].split(";");for(var i in n)e.push(n[i])}return RegExp("[{}()\\[\\]]|("+e.join("|")+")$")}(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}n.r(t),n.d(t,{tlv:function(){return d},verilog:function(){return r}});let r=i({});var a={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},o={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},l=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,s=/^[! ] */,c=/^\/[\/\*]/;let d=i({hooks:{electricInput:!1,token:function(e,t){var n,i=void 0;if(e.sol()&&!t.tlvInBlockComment){"\\"==e.peek()&&(i="def",e.skipToEnd(),e.string.match(/\\SV/)?t.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(t.tlvCodeActive=!0)),t.tlvCodeActive&&0==e.pos&&0==t.indented&&(n=e.match(s,!1))&&(t.indented=n[0].length);var r=t.indented,d=r/3;if(d<=t.tlvIndentationStyle.length){var u=e.string.length==r,f=3*d;if(f0)&&(t.tlvIndentationStyle[d]=o[m],d++))}if(!u)for(;t.tlvIndentationStyle.length>d;)t.tlvIndentationStyle.pop()}t.tlvNextIndent=r}if(t.tlvCodeActive){if(void 0!==i);else if(t.tlvInBlockComment)e.match(/^.*?\*\//)?t.tlvInBlockComment=!1:e.skipToEnd(),i="comment";else if((n=e.match(c))&&!t.tlvInBlockComment)"//"==n[0]?e.skipToEnd():t.tlvInBlockComment=!0,i="comment";else if(n=e.match(l)){var v=n[1],g=n[2];a.hasOwnProperty(v)&&(g.length>0||e.eol())?i=a[v]:e.backUp(e.current().length-1)}else e.match(/^\t+/)?i="invalid":e.match(/^[\[\]{}\(\);\:]+/)?i="meta":(n=e.match(/^[mM]4([\+_])?[\w\d_]*/))?i="+"==n[1]?"keyword.special":"keyword":e.match(/^ +/)?e.eol()&&(i="error"):e.match(/^[\w\d_]+/)?i="number":e.next()}else e.match(/^[mM]4([\w\d_]*)/)&&(i="keyword");return i},indent:function(e){return!0==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1}}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2119.72f0b7ae32a2f813.js b/static/web/_next/static/chunks/2119.72f0b7ae32a2f813.js deleted file mode 100644 index 5fffb507f..000000000 --- a/static/web/_next/static/chunks/2119.72f0b7ae32a2f813.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2119],{52119:function(e,t,n){function i(e){var t=e.statementIndentUnit,n=e.dontAlignCalls,i=e.noIndentKeywords||[],r=e.multiLineStrings,a=e.hooks||{};function o(e){for(var t={},n=e.split(" "),i=0;i=0)return o}var l=e.context,s=i&&i.charAt(0);"statement"==l.type&&"}"==s&&(l=l.prev);var c=!1,u=i.match(k);return u&&(c=$(u[0],l.type)),"statement"==l.type?l.indented+("{"==s?0:t||r.unit):y.test(l.type)&&l.align&&!n?l.column+(c?0:1):")"!=l.type||c?l.indented+(c?0:r.unit):l.indented+(t||r.unit)},languageData:{indentOnInput:function(){var e=[];for(var t in b)if(b[t]){var n=b[t].split(";");for(var i in n)e.push(n[i])}return new RegExp("[{}()\\[\\]]|("+e.join("|")+")$")}(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}n.r(t),n.d(t,{tlv:function(){return u},verilog:function(){return r}});const r=i({});var a={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},o={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},l=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,s=/^[! ] */,c=/^\/[\/\*]/;const u=i({hooks:{electricInput:!1,token:function(e,t){var n=void 0;if(e.sol()&&!t.tlvInBlockComment){"\\"==e.peek()&&(n="def",e.skipToEnd(),e.string.match(/\\SV/)?t.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(t.tlvCodeActive=!0)),t.tlvCodeActive&&0==e.pos&&0==t.indented&&(m=e.match(s,!1))&&(t.indented=m[0].length);var i=t.indented,r=i/3;if(r<=t.tlvIndentationStyle.length){var u=e.string.length==i,d=3*r;if(d0||(t.tlvIndentationStyle[r]=o[p],r++))}if(!u)for(;t.tlvIndentationStyle.length>r;)t.tlvIndentationStyle.pop()}t.tlvNextIndent=i}if(t.tlvCodeActive){var m;if(void 0!==n);else if(t.tlvInBlockComment)e.match(/^.*?\*\//)?t.tlvInBlockComment=!1:e.skipToEnd(),n="comment";else if((m=e.match(c))&&!t.tlvInBlockComment)"//"==m[0]?e.skipToEnd():t.tlvInBlockComment=!0,n="comment";else if(m=e.match(l)){var v=m[1],g=m[2];a.hasOwnProperty(v)&&(g.length>0||e.eol())?n=a[v]:e.backUp(e.current().length-1)}else e.match(/^\t+/)?n="invalid":e.match(/^[\[\]{}\(\);\:]+/)?n="meta":(m=e.match(/^[mM]4([\+_])?[\w\d_]*/))?n="+"==m[1]?"keyword.special":"keyword":e.match(/^ +/)?e.eol()&&(n="error"):e.match(/^[\w\d_]+/)?n="number":e.next()}else e.match(/^[mM]4([\w\d_]*)/)&&(n="keyword");return n},indent:function(e){return 1==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1}}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2136.3c7248e1cb33b0f2.js b/static/web/_next/static/chunks/2136.3c7248e1cb33b0f2.js new file mode 100644 index 000000000..8352ec15c --- /dev/null +++ b/static/web/_next/static/chunks/2136.3c7248e1cb33b0f2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2136],{62136:function(e,t,r){function o(e){var t,r,o=(e={...q,...e}).inline,i=e.tokenHooks,a=e.documentTypes||{},n=e.mediaTypes||{},l=e.mediaFeatures||{},s=e.mediaValueKeywords||{},c=e.propertyKeywords||{},d=e.nonStandardPropertyKeywords||{},p=e.fontProperties||{},u=e.counterDescriptors||{},m=e.colorKeywords||{},g=e.valueKeywords||{},h=e.allowNested,b=e.lineComment,f=!0===e.supportsAtComponent,k=!1!==e.highlightNonStandardPropertyKeywords;function y(e,r){var o=e.next();if(i[o]){var a=i[o](e,r);if(!1!==a)return a}if("@"==o)return e.eatWhile(/[\w\\\-]/),t=e.current(),"def";if("="==o||("~"==o||"|"==o)&&e.eat("="))return t="compare",null;if('"'==o||"'"==o)return r.tokenize=w(o),r.tokenize(e,r);if("#"==o)return e.eatWhile(/[\w\\\-]/),t="hash","atom";if("!"==o)return e.match(/^\s*\w*/),t="important","keyword";if(/\d/.test(o)||"."==o&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),t="unit","number";if("-"===o){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),t="unit","number";if(e.match(/^-[\w\\\-]*/))return(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1))?(t="variable-definition","def"):(t="variable","variableName");if(e.match(/^\w+-/))return t="meta","meta"}else if(/[,+>*\/]/.test(o))return t="select-op",null;else if("."==o&&e.match(/^-?[_a-z][_a-z0-9-]*/i))return t="qualifier","qualifier";else if(/[:;{}\[\]\(\)]/.test(o))return t=o,null;else return e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(r.tokenize=v),t="variable","variableName.function"):/[\w\\\-]/.test(o)?(e.eatWhile(/[\w\\\-]/),t="word","property"):(t=null,null)}function w(e){return function(r,o){for(var i,a=!1;null!=(i=r.next());){if(i==e&&!a){")"==e&&r.backUp(1);break}a=!a&&"\\"==i}return i!=e&&(a||")"==e)||(o.tokenize=null),t="string","string"}}function v(e,r){return e.next(),e.match(/^\s*[\"\')]/,!1)?r.tokenize=null:r.tokenize=w(")"),t="(",null}function x(e,t,r){this.type=e,this.indent=t,this.prev=r}function z(e,t,r,o){return e.context=new x(r,t.indentation()+(!1===o?0:t.indentUnit),e.context),r}function j(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function K(e,t,r){return C[r.context.type](e,t,r)}function _(e,t,r,o){for(var i=o||1;i>0;i--)r.context=r.context.prev;return K(e,t,r)}function B(e){var t=e.current().toLowerCase();r=g.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var C={};return C.top=function(e,t,o){if("{"==e)return z(o,t,"block");if("}"==e&&o.context.prev)return j(o);if(f&&/@component/i.test(e))return z(o,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return z(o,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return z(o,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return o.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";else if(e&&"@"==e.charAt(0))return z(o,t,"at");else if("hash"==e)r="builtin";else if("word"==e)r="tag";else if("variable-definition"==e)return"maybeprop";else if("interpolation"==e)return z(o,t,"interpolation");else if(":"==e)return"pseudo";else if(h&&"("==e)return z(o,t,"parens");return o.context.type},C.block=function(e,t,o){if("word"==e){var i=t.current().toLowerCase();return c.hasOwnProperty(i)?(r="property","maybeprop"):d.hasOwnProperty(i)?(r=k?"string.special":"property","maybeprop"):h?(r=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r="error","maybeprop")}return"meta"==e?"block":h||"hash"!=e&&"qualifier"!=e?C.top(e,t,o):(r="error","block")},C.maybeprop=function(e,t,r){return":"==e?z(r,t,"prop"):K(e,t,r)},C.prop=function(e,t,o){if(";"==e)return j(o);if("{"==e&&h)return z(o,t,"propBlock");if("}"==e||"{"==e)return _(e,t,o);if("("==e)return z(o,t,"parens");if("hash"!=e||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())){if("word"==e)B(t);else if("interpolation"==e)return z(o,t,"interpolation")}else r="error";return"prop"},C.propBlock=function(e,t,o){return"}"==e?j(o):"word"==e?(r="property","maybeprop"):o.context.type},C.parens=function(e,t,r){return"{"==e||"}"==e?_(e,t,r):")"==e?j(r):"("==e?z(r,t,"parens"):"interpolation"==e?z(r,t,"interpolation"):("word"==e&&B(t),"parens")},C.pseudo=function(e,t,o){return"meta"==e?"pseudo":"word"==e?(r="variableName.constant",o.context.type):K(e,t,o)},C.documentTypes=function(e,t,o){return"word"==e&&a.hasOwnProperty(t.current())?(r="tag",o.context.type):C.atBlock(e,t,o)},C.atBlock=function(e,t,o){if("("==e)return z(o,t,"atBlock_parens");if("}"==e||";"==e)return _(e,t,o);if("{"==e)return j(o)&&z(o,t,h?"block":"top");if("interpolation"==e)return z(o,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();r="only"==i||"not"==i||"and"==i||"or"==i?"keyword":n.hasOwnProperty(i)?"attribute":l.hasOwnProperty(i)?"property":s.hasOwnProperty(i)?"keyword":c.hasOwnProperty(i)?"property":d.hasOwnProperty(i)?k?"string.special":"property":g.hasOwnProperty(i)?"atom":m.hasOwnProperty(i)?"keyword":"error"}return o.context.type},C.atComponentBlock=function(e,t,o){return"}"==e?_(e,t,o):"{"==e?j(o)&&z(o,t,h?"block":"top",!1):("word"==e&&(r="error"),o.context.type)},C.atBlock_parens=function(e,t,r){return")"==e?j(r):"{"==e||"}"==e?_(e,t,r,2):C.atBlock(e,t,r)},C.restricted_atBlock_before=function(e,t,o){return"{"==e?z(o,t,"restricted_atBlock"):"word"==e&&"@counter-style"==o.stateArg?(r="variable","restricted_atBlock_before"):K(e,t,o)},C.restricted_atBlock=function(e,t,o){return"}"==e?(o.stateArg=null,j(o)):"word"==e?(r=("@font-face"!=o.stateArg||p.hasOwnProperty(t.current().toLowerCase()))&&("@counter-style"!=o.stateArg||u.hasOwnProperty(t.current().toLowerCase()))?"property":"error","maybeprop"):"restricted_atBlock"},C.keyframes=function(e,t,o){return"word"==e?(r="variable","keyframes"):"{"==e?z(o,t,"top"):K(e,t,o)},C.at=function(e,t,o){return";"==e?j(o):"{"==e||"}"==e?_(e,t,o):("word"==e?r="tag":"hash"==e&&(r="builtin"),"at")},C.interpolation=function(e,t,o){return"}"==e?j(o):"{"==e||";"==e?_(e,t,o):("word"==e?r="variable":"variable"!=e&&"("!=e&&")"!=e&&(r="error"),"interpolation")},{name:e.name,startState:function(){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new x(o?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var i=(o.tokenize||y)(e,o);return i&&"object"==typeof i&&(t=i[1],i=i[0]),r=i,"comment"!=t&&(o.state=C[o.state](t,e,o)),r},indent:function(e,t,r){var o=e.context,i=t&&t.charAt(0),a=o.indent;return"prop"==o.type&&("}"==i||")"==i)&&(o=o.prev),o.prev&&("}"==i&&("block"==o.type||"top"==o.type||"interpolation"==o.type||"restricted_atBlock"==o.type)?a=(o=o.prev).indent:(")"==i&&("parens"==o.type||"atBlock_parens"==o.type)||"{"==i&&("at"==o.type||"atBlock"==o.type))&&(a=Math.max(0,o.indent-r.unit))),a},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:b,block:{open:"/*",close:"*/"}},autocomplete:P}}}function i(e){for(var t={},r=0;r*\/]/.test(r)?y(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?y("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?y(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=x),y("variableName.function","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),y("property","word")):y(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),y("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?y("def","variable-definition"):y("variableName","variable")):e.match(/^\w+-/)?y("meta","meta"):void 0}function v(e){return function(t,r){for(var o,i=!1;null!=(o=t.next());){if(o==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==o}return(o==e||!i&&")"!=e)&&(r.tokenize=null),y("string","string")}}function x(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=v(")"),y(null,"(")}function z(e,t,r){this.type=e,this.indent=t,this.prev=r}function j(e,t,r,o){return e.context=new z(r,t.indentation()+(!1===o?0:t.indentUnit),e.context),r}function K(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function _(e,t,r){return O[r.context.type](e,t,r)}function B(e,t,r,o){for(var i=o||1;i>0;i--)r.context=r.context.prev;return _(e,t,r)}function C(e){var t=e.current().toLowerCase();r=g.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var O={top:function(e,t,o){if("{"==e)return j(o,t,"block");if("}"==e&&o.context.prev)return K(o);if(f&&/@component/i.test(e))return j(o,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return j(o,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return j(o,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return o.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return j(o,t,"at");if("hash"==e)r="builtin";else if("word"==e)r="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return j(o,t,"interpolation");if(":"==e)return"pseudo";if(h&&"("==e)return j(o,t,"parens")}return o.context.type},block:function(e,t,o){if("word"==e){var i=t.current().toLowerCase();return c.hasOwnProperty(i)?(r="property","maybeprop"):d.hasOwnProperty(i)?(r=k?"string.special":"property","maybeprop"):h?(r=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r="error","maybeprop")}return"meta"==e?"block":h||"hash"!=e&&"qualifier"!=e?O.top(e,t,o):(r="error","block")},maybeprop:function(e,t,r){return":"==e?j(r,t,"prop"):_(e,t,r)},prop:function(e,t,o){if(";"==e)return K(o);if("{"==e&&h)return j(o,t,"propBlock");if("}"==e||"{"==e)return B(e,t,o);if("("==e)return j(o,t,"parens");if("hash"!=e||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())){if("word"==e)C(t);else if("interpolation"==e)return j(o,t,"interpolation")}else r="error";return"prop"},propBlock:function(e,t,o){return"}"==e?K(o):"word"==e?(r="property","maybeprop"):o.context.type},parens:function(e,t,r){return"{"==e||"}"==e?B(e,t,r):")"==e?K(r):"("==e?j(r,t,"parens"):"interpolation"==e?j(r,t,"interpolation"):("word"==e&&C(t),"parens")},pseudo:function(e,t,o){return"meta"==e?"pseudo":"word"==e?(r="variableName.constant",o.context.type):_(e,t,o)},documentTypes:function(e,t,o){return"word"==e&&a.hasOwnProperty(t.current())?(r="tag",o.context.type):O.atBlock(e,t,o)},atBlock:function(e,t,o){if("("==e)return j(o,t,"atBlock_parens");if("}"==e||";"==e)return B(e,t,o);if("{"==e)return K(o)&&j(o,t,h?"block":"top");if("interpolation"==e)return j(o,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();r="only"==i||"not"==i||"and"==i||"or"==i?"keyword":n.hasOwnProperty(i)?"attribute":l.hasOwnProperty(i)?"property":s.hasOwnProperty(i)?"keyword":c.hasOwnProperty(i)?"property":d.hasOwnProperty(i)?k?"string.special":"property":g.hasOwnProperty(i)?"atom":m.hasOwnProperty(i)?"keyword":"error"}return o.context.type},atComponentBlock:function(e,t,o){return"}"==e?B(e,t,o):"{"==e?K(o)&&j(o,t,h?"block":"top",!1):("word"==e&&(r="error"),o.context.type)},atBlock_parens:function(e,t,r){return")"==e?K(r):"{"==e||"}"==e?B(e,t,r,2):O.atBlock(e,t,r)},restricted_atBlock_before:function(e,t,o){return"{"==e?j(o,t,"restricted_atBlock"):"word"==e&&"@counter-style"==o.stateArg?(r="variable","restricted_atBlock_before"):_(e,t,o)},restricted_atBlock:function(e,t,o){return"}"==e?(o.stateArg=null,K(o)):"word"==e?(r="@font-face"==o.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==o.stateArg&&!u.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,o){return"word"==e?(r="variable","keyframes"):"{"==e?j(o,t,"top"):_(e,t,o)},at:function(e,t,o){return";"==e?K(o):"{"==e||"}"==e?B(e,t,o):("word"==e?r="tag":"hash"==e&&(r="builtin"),"at")},interpolation:function(e,t,o){return"}"==e?K(o):"{"==e||";"==e?B(e,t,o):("word"==e?r="variable":"variable"!=e&&"("!=e&&")"!=e&&(r="error"),"interpolation")}};return{name:e.name,startState:function(){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new z(o?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var i=(o.tokenize||w)(e,o);return i&&"object"==typeof i&&(t=i[1],i=i[0]),r=i,"comment"!=t&&(o.state=O[o.state](t,e,o)),r},indent:function(e,t,r){var o=e.context,i=t&&t.charAt(0),a=o.indent;return"prop"!=o.type||"}"!=i&&")"!=i||(o=o.prev),o.prev&&("}"!=i||"block"!=o.type&&"top"!=o.type&&"interpolation"!=o.type&&"restricted_atBlock"!=o.type?(")"!=i||"parens"!=o.type&&"atBlock_parens"!=o.type)&&("{"!=i||"at"!=o.type&&"atBlock"!=o.type)||(a=Math.max(0,o.indent-r.unit)):a=(o=o.prev).indent),a},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:b,block:{open:"/*",close:"*/"}},autocomplete:P}}}function i(e){for(var t={},r=0;r=6}function x(t){return"number"==typeof t}var v=["bytes","KB","MB","GB","TB","PB","EB"];function M(t,e,n,r){t=t||"",n.prefix&&(e<0&&(e*=-1,t+="-"),t+=n.prefix);var o=n.suffix||"",i=n.precision,a=n.round;if(n.byteScale){var s,l=r?n.byteScale:e;l>=0x1000000000000000?(e/=0x1000000000000000,s=6):l>=0x4000000000000?(e/=0x4000000000000,s=5):l>=1099511627776?(e/=1099511627776,s=4):l>=1073741824?(e/=1073741824,s=3):l>=1048576?(e/=1048576,s=2):l>=1024?(e/=1024,s=1):s=0,void 0===i&&void 0===a&&(e>=1023.5&&s=1e3?4:3),o=" "+v[s]}if(void 0!==i&&void 0!==a)throw Error("Use either round or precision, not both");if(!r&&(void 0===i||(e=e.toPrecision(i),n.zeros||(e=parseFloat(e))),void 0!==a)){if(a<0){var c=Math.pow(10,-1*a);e=parseInt((1*e/c).toFixed(0))*c}else e=e.toFixed(a),n.zeros||(e=parseFloat(e))}if(n.thousands||n.decimal){var u=(e=""+e).split(".");e=u[0],n.thousands&&(e=e.replace(/\B(?=(\d{3})+(?!\d))/g,n.thousands)),u.length>1&&(e+=(n.decimal||".")+u[1])}return t+e+o}function w(t,e,n){return n in e?e[n]:n in t.options?t.options[n]:null}var z={maintainAspectRatio:!1,animation:!1,plugins:{legend:{},tooltip:{displayColors:!1,callbacks:{}},title:{font:{size:20},color:"#333"}},interaction:{}},_={scales:{y:{ticks:{maxTicksLimit:4},title:{font:{size:16},color:"#333"},grid:{}},x:{grid:{drawOnChartArea:!1},title:{font:{size:16},color:"#333"},time:{},ticks:{}}}},C=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#651067"],k=function(t,e,n){void 0!==e?(t.plugins.legend.display=!!e,e&&!0!==e&&(t.plugins.legend.position=e)):n&&(t.plugins.legend.display=!1)},A=function(t,e){t.plugins.title.display=!0,t.plugins.title.text=e},O=function(t,e){null!==e&&(t.scales.y.min=s(e))},T=function(t,e){t.scales.y.max=s(e)},S=function(t,e){null!==e&&(t.scales.x.min=s(e))},E=function(t,e){t.scales.x.max=s(e)},P=function(t,e){t.scales.x.stacked=!!e,t.scales.y.stacked=!!e},j=function(t,e){t.scales.x.title.display=!0,t.scales.x.title.text=e},D=function(t,e){t.scales.y.title.display=!0,t.scales.y.title.text=e},R=function(t,e){var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?"rgba("+parseInt(n[1],16)+", "+parseInt(n[2],16)+", "+parseInt(n[3],16)+", "+e+")":t},L=function(t){return null!=t},F=function(t,e,n){var r=Math.ceil(t.element.offsetWidth/4/e.labels.length);r>25?r=25:r<10&&(r=10),n.scales.x.ticks.callback||(n.scales.x.ticks.callback=function(t){return(t=""+this.getLabelForValue(t)).length>r?t.substring(0,r-2)+"...":t})},I=function(e,n,r){var o={prefix:e.options.prefix,suffix:e.options.suffix,thousands:e.options.thousands,decimal:e.options.decimal,precision:e.options.precision,round:e.options.round,zeros:e.options.zeros};if(e.options.bytes){var i=e.data;"pie"===r&&(i=[{data:i}]);for(var a=0,s=0;sa&&(a=l.data[c][1]);for(var u=1;a>=1024;)u*=1024,a/=1024;o.byteScale=u}if("pie"!==r){var f=n.scales.y;"bar"===r&&(f=n.scales.x),o.byteScale&&(f.ticks.stepSize||(f.ticks.stepSize=o.byteScale/2),f.ticks.maxTicksLimit||(f.ticks.maxTicksLimit=4)),f.ticks.callback||(f.ticks.callback=function(t){return M("",t,o,!0)})}if(!n.plugins.tooltip.callbacks.label){if("scatter"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";return e&&(e+=": "),e+"("+t.label+", "+t.formattedValue+")"};else if("bubble"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";e&&(e+=": ");var n=t.raw;return e+"("+n.x+", "+n.y+", "+n.v+")"};else if("pie"===r)n.plugins.tooltip.callbacks.label=function(e){var n=e.label;return t(n)?(n=n.slice(),n[0]+=": "):n+=": ",M(n,e.parsed,o)};else{var h="bar"===r?"x":"y";n.plugins.tooltip.callbacks.label=function(t){if(null!==t.parsed[h]){var e=t.dataset.label||"";return e&&(e+=": "),M(e,t.parsed[h],o)}}}}},B=u(o(z,_),k,A,O,T,P,j,D),N=function(e,n,r){var i=[],a=[],c=e.options.colors||C,u=!0,f=!0,h=!0,m=!0,x=!0,v=!0,M=e.data,z=0;if("bubble"===r)for(var _=0;_z&&(z=k.data[A][2]);var O,T,S,E,P,j,D=[],F=[];if("bar"===r||"column"===r||"number"!==e.xtype&&"bubble"!==e.xtype){var I,B,N,H,W,Y=[];for(T=0;T0){var tt,te,tn,tr=(L(K)?l(K):a[0]).getTime(),to=(L(G)?l(G):a[0]).getTime();for(T=1;Tto&&(to=ti)}var ta=(to-tr)/864e5;if(!n.scales.x.time.unit&&(m||ta>3650?(n.scales.x.time.unit="year",tn=365):h||ta>300?(n.scales.x.time.unit="month",tn=30):u||ta>10?(n.scales.x.time.unit="day",tn=1):x||ta>.5?(n.scales.x.time.displayFormats={hour:"MMM d, h a"},n.scales.x.time.unit="hour",tn=1/24):v&&(n.scales.x.time.displayFormats={minute:"h:mm a"},n.scales.x.time.unit="minute",tn=1/24/60),tn&&ta>0)){var ts=e.element.offsetWidth;if(ts>0){var tl=Math.ceil(ta/tn/(ts/100));f&&1===tn&&(tl=7*Math.ceil(tl/7)),n.scales.x.time.stepSize=tl}}!n.scales.x.time.tooltipFormat&&(u?n.scales.x.time.tooltipFormat="PP":x?n.scales.x.time.tooltipFormat="MMM d, h a":v&&(n.scales.x.time.tooltipFormat="h:mm a"))}return{labels:a,datasets:i}},H=function(t){this.name="chartjs",this.library=t};H.prototype.renderLineChart=function(t,e){var n={};!t.options.max&&function(t){var e,n,r;for(e=0;e● '+M(this.series.name+": ",this.y,o)+"
"})},X=function(t){this.name="highcharts",this.library=t};X.prototype.renderLineChart=function(t,e){var n={};"areaspline"===(e=e||"spline")&&(n={plotOptions:{areaspline:{stacking:"normal"},area:{stacking:"normal"},series:{marker:{enabled:!1}}}}),!1===t.options.curve&&("areaspline"===e?e="area":"spline"===e&&(e="line"));var r,o,i,a=V(t,t.options,n);"number"===t.xtype?a.xAxis.type=a.xAxis.type||"linear":a.xAxis.type="string"===t.xtype?"category":"datetime",a.chart.type||(a.chart.type=e),Q(t,a,e);var s=t.data;for(o=0;o0)return!1;return!0}function tf(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1),n;var r=function(){return n.call(t,window.event)};return t.attachEvent("on"+e,r),r}function th(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)}function tp(t,e){if(t===e)return!1;for(;e&&e!==t;)e=e.parentNode;return e===t}ta.prototype.renderLineChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={};!1===t.options.curve&&(n.curveType="none"),!1===t.options.points&&(n.pointSize=0);var r=to(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"LineChart",o,r)})},ta.prototype.renderPieChart=function(t){var e=this;this.waitForLoaded(t,function(){var n={chartArea:{top:"10%",height:"80%"},legend:{}};t.options.colors&&(n.colors=t.options.colors),t.options.donut&&(n.pieHole=.5),"legend"in t.options&&q(n,t.options.legend),t.options.title&&K(n,t.options.title);var r=o(o(Z,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number","Value"),i.addRows(t.data),e.drawChart(t,"PieChart",i,r)})},ta.prototype.renderColumnChart=function(t){var e=this;this.waitForLoaded(t,function(){var n=to(t,t.options),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"ColumnChart",r,n)})},ta.prototype.renderBarChart=function(t){var e=this;this.waitForLoaded(t,function(){var n=u(Z,q,K,G,tt,te,tn,tr)(t,t.options,{hAxis:{gridlines:{color:"#ccc"}}}),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"BarChart",r,n)})},ta.prototype.renderAreaChart=function(t){var e=this;this.waitForLoaded(t,function(){var n=to(t,t.options,{isStacked:!0,pointSize:0,areaOpacity:.5}),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"AreaChart",r,n)})},ta.prototype.renderGeoChart=function(t){var e=this;this.waitForLoaded(t,"geochart",function(){var n=o(o(Z,{legend:"none",colorAxis:{colors:t.options.colors||["#f6c7b6","#ce502d"]}}),t.options.library||{}),r=new e.library.visualization.DataTable;r.addColumn("string",""),r.addColumn("number",t.options.label||"Value"),r.addRows(t.data),e.drawChart(t,"GeoChart",r,n)})},ta.prototype.renderScatterChart=function(t){var e=this;this.waitForLoaded(t,function(){var n,r,o,i,a=to(t,t.options,{}),s=t.data,l=[];for(n=0;n0)throw Error("No charting library found for "+t);throw Error("No charting libraries found - be sure to include one before your charts")})(t,n),n.options.download&&!n.__downloadAttached&&"chartjs"===n.adapter&&(o=(r=n).element,i=document.createElement("a"),!0===(a=r.options.download)?a={}:"string"==typeof a&&(a={filename:a}),i.download=a.filename||"chart.png",i.style.position="absolute",i.style.top="20px",i.style.right="20px",i.style.zIndex=1e3,i.style.lineHeight="20px",i.target="_blank",(s=document.createElement("img")).alt="Download",s.style.border="none",s.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABCFBMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMywEsqxAAAAV3RSTlMAAQIDBggJCgsMDQ4PERQaHB0eISIjJCouLzE0OTo/QUJHSUpLTU5PUllhYmltcHh5foWLjI+SlaCio6atr7S1t7m6vsHHyM7R2tze5Obo7fHz9ff5+/1hlxK2AAAA30lEQVQYGUXBhVYCQQBA0TdYWAt2d3d3YWAHyur7/z9xgD16Lw0DW+XKx+1GgX+FRzM3HWQWrHl5N/oapW5RPe0PkBu+UYeICvozTWZVK23Ao04B79oJrOsJDOoxkZoQPWgX29pHpCZEk7rEvQYiNSFq1UMqvlCjJkRBS1R8hb00Vb/TajtBL7nTHE1X1vyMQF732dQhyF2o6SAwrzP06iUQzvwsArlnzcOdrgBhJyHa1QOgO9U1GsKuvjUTjavliZYQ8nNPapG6sap/3nrIdJ6bOWzmX/fy0XVpfzZP3S8OJT3g9EEiJwAAAABJRU5ErkJggg==",i.appendChild(s),o.style.position="relative",r.__downloadAttached=!0,r.__enterEvent=tf(o,"mouseover",function(t){var e=t.relatedTarget;e&&(e===this||tp(this,e))||!r.options.download||(i.href=r.toImage(a),o.appendChild(i))}),r.__leaveEvent=tf(o,"mouseout",function(t){var e=t.relatedTarget;e&&(e===this||tp(this,e))||!i.parentNode||i.parentNode.removeChild(i)}))}(this.__chartName(),this)},tC.prototype.__config=function(){return tm};var tk={LineChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this)},e.prototype.__chartName=function(){return"LineChart"},e}(tC),PieChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tc(this)},e.prototype.__chartName=function(){return"PieChart"},e}(tC),ColumnChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this,null,!0)},e.prototype.__chartName=function(){return"ColumnChart"},e}(tC),BarChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this,null,!0)},e.prototype.__chartName=function(){return"BarChart"},e}(tC),AreaChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this)},e.prototype.__chartName=function(){return"AreaChart"},e}(tC),GeoChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tc(this)},e.prototype.__chartName=function(){return"GeoChart"},e}(tC),ScatterChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this,"number")},e.prototype.__chartName=function(){return"ScatterChart"},e}(tC),BubbleChart:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return tl(this,"bubble")},e.prototype.__chartName=function(){return"BubbleChart"},e}(tC),Timeline:function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){var t,e=this.rawData;for(t=0;tt(e,n,r,o),override:i=>t(e.override(i),n,r,o)};return new Proxy(i,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,n,r)=>eC(e,n,()=>(function(e,n,r){let{_proxy:o,_context:i,_subProxy:a,_descriptors:s}=e,u=o[n];return O(u)&&s.isScriptable(n)&&(u=function(t,e,n,r){let{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(t))throw Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);return s.add(t),e=e(i,a||r),s.delete(t),e_(t,e)&&(e=eA(o._scopes,o,t,e)),e}(n,u,e,r)),l(u)&&u.length&&(u=function(e,n,r,o){let{_proxy:i,_context:a,_subProxy:s,_descriptors:l}=r;if(A(a.index)&&o(e))n=n[a.index%n.length];else if(c(n[0])){let u=n,f=i._scopes.filter(t=>t!==u);for(let h of(n=[],u)){let p=eA(f,i,e,h);n.push(t(p,a,s&&s[e],l))}}return n}(n,u,e,s.isIndexable)),e_(n,u)&&(u=t(u,i,a&&a[n],s)),u})(e,n,r)),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}},aA:function(){return e1},aB:function(){return e2},aC:function(){return tb},aD:function(){return e5},aE:function(){return en},aF:function(){return i},aG:function(){return q},aH:function(){return Q},aI:function(){return H},aJ:function(){return V},aK:function(){return U},aL:function(){return J},aM:function(){return t7},aN:function(){return ts},aO:function(){return to},aa:function(){return eM},ab:function(){return ew},ac:function(){return w},ad:function(){return a},ae:function(){return td},af:function(){return eX},ag:function(){return et},ah:function(){return T},ai:function(){return b},aj:function(){return S},ak:function(){return tr},al:function(){return ep},am:function(){return eL},an:function(){return e7},ao:function(){return e8},ap:function(){return eq},aq:function(){return eK},ar:function(){return eZ},as:function(){return ea},at:function(){return es},au:function(){return ee},av:function(){return ec},aw:function(){return ed},ax:function(){return eg},ay:function(){return e4},az:function(){return G},b:function(){return l},c:function(){return t0},d:function(){return t4},e:function(){return tz},f:function(){return C},g:function(){return u},h:function(){return ev},i:function(){return c},j:function(){return A},k:function(){return s},l:function(){return tc},m:function(){return p},n:function(){return d},o:function(){return e0},p:function(){return tt},q:function(){return tm},r:function(){return th},s:function(){return N},t:function(){return X},u:function(){return tu},v:function(){return h},w:function(){return tx},x:function(){return Y},y:function(){return eE},z:function(){return B}});let a=(o=0,function(){return o++});function s(t){return null==t}function l(t){if(Array.isArray&&Array.isArray(t))return!0;let e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function c(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}let u=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function f(t,e){return u(t)?t:e}function h(t,e){return void 0===t?e:t}let p=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,d=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function g(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function y(t,e,n,r){let o,i,a;if(l(t)){if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;ot,x:t=>t.x,y:t=>t.y};function C(t,e){let n=_[e]||(_[e]=function(t){let e=function(t){let e=t.split("."),n=[],r="";for(let o of e)(r+=o).endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(let n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function k(t){return t.charAt(0).toUpperCase()+t.slice(1)}let A=t=>void 0!==t,O=t=>"function"==typeof t,T=(t,e)=>{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0};function S(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}let E=Math.PI,P=2*E,j=P+E,D=Number.POSITIVE_INFINITY,R=E/180,L=E/2,F=E/4,I=2*E/3,B=Math.log10,N=Math.sign;function H(t){let e=Math.round(t);t=U(t,e,t/1e3)?e:t;let n=Math.pow(10,Math.floor(B(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function W(t){let e;let n=[],r=Math.sqrt(t);for(e=1;et-e).pop(),n}function Y(t){return!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e,n){return Math.abs(t-e)=t}function Q(t,e,n){let r,o,i;for(r=0,o=t.length;rl&&c=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function to(t,e,n){let r;n=n||(n=>t[n]1;)n(r=i+o>>1)?i=r:o=r;return{lo:i,hi:o}}let ti=(t,e,n,r)=>to(t,n,r?r=>t[r][e]<=n:r=>t[r][e]to(t,n,r=>t[r][e]>=n);function ts(t,e,n){let r=0,o=t.length;for(;rr&&t[o-1]>n;)o--;return r>0||o{let n="_onData"+k(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){let o=r.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[n]&&t[n](...e)}),o}})})}function tu(t,e){let n=t._chartjs;if(!n)return;let r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(tl.forEach(e=>{delete t[e]}),delete t._chartjs)}function tf(t){let e,n;let r=new Set;for(e=0,n=t.length;eArray.prototype.slice.call(t)),o=!1,i=[];return function(...n){i=r(n),o||(o=!0,th.call(window,()=>{o=!1,t.apply(e,i)}))}}function td(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}let tg=t=>"start"===t?"left":"end"===t?"right":"center",ty=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,tb=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function tm(t,e,n){let r=e.length,o=0,i=r;if(t._sorted){let{iScale:a,_parsed:s}=t,l=a.axis,{min:c,max:u,minDefined:f,maxDefined:h}=a.getUserBounds();f&&(o=te(Math.min(ti(s,a.axis,c).lo,n?r:ti(e,l,a.getPixelForValue(c)).lo),0,r-1)),i=h?te(Math.max(ti(s,a.axis,u,!0).hi+1,n?0:ti(e,l,a.getPixelForValue(u),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function tx(t){let{xScale:e,yScale:n,_scaleRanges:r}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;let i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}let tv=t=>0===t||1===t,tM=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*P/n)),tw=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*P/n)+1,tz={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*L)+1,easeOutSine:t=>Math.sin(t*L),easeInOutSine:t=>-.5*(Math.cos(E*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>tv(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(-Math.pow(2,-10*(2*t-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>tv(t)?t:tM(t,.075,.3),easeOutElastic:t=>tv(t)?t:tw(t,.075,.3),easeInOutElastic:t=>tv(t)?t:t<.5?.5*tM(2*t,.1125,.45):.5+.5*tw(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-tz.easeOutBounce(1-t),easeOutBounce:t=>t<.36363636363636365?7.5625*t*t:t<.7272727272727273?7.5625*(t-=.5454545454545454)*t+.75:t<.9090909090909091?7.5625*(t-=.8181818181818182)*t+.9375:7.5625*(t-=.9545454545454546)*t+.984375,easeInOutBounce:t=>t<.5?.5*tz.easeInBounce(2*t):.5*tz.easeOutBounce(2*t-1)+.5};/*! + * @kurkle/color v0.2.1 + * https://github.com/kurkle/color#readme + * (c) 2022 Jukka Kurkela + * Released under the MIT License + */ function t_(t){return t+.5|0}let tC=(t,e,n)=>Math.max(Math.min(t,n),e);function tk(t){return tC(t_(2.55*t),0,255)}function tA(t){return tC(t_(255*t),0,255)}function tO(t){return tC(t_(t/2.55)/100,0,1)}function tT(t){return tC(t_(100*t),0,100)}let tS={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},tE=[..."0123456789ABCDEF"],tP=t=>tE[15&t],tj=t=>tE[(240&t)>>4]+tE[15&t],tD=t=>(240&t)>>4==(15&t),tR=t=>tD(t.r)&&tD(t.g)&&tD(t.b)&&tD(t.a),tL=(t,e)=>t<255?e(t):"",tF=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function tI(t,e,n){let r=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function tB(t,e,n){let r=(r,o=(r+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function tN(t,e,n){let r;let o=tI(t,1,.5);for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)o[r]*=1-e-n,o[r]+=e;return o}function tH(t){let e,n,r;let o=t.r/255,i=t.g/255,a=t.b/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;return s!==l&&(r=s-l,n=c>.5?r/(2-s-l):r/(s+l),e=60*(e=o===s?(i-a)/r+(it<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,t$=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function tJ(t,e,n){if(t){let r=tH(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=tW(tI,r,void 0,void 0),t.r=r[0],t.g=r[1],t.b=r[2]}}function tZ(t,e){return t?Object.assign(e||{},t):t}function tq(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=tA(t[3]))):(e=tZ(t,{r:0,g:0,b:0,a:1})).a=tA(e.a),e}class tK{constructor(t){let e;if(t instanceof tK)return t;let n=typeof t;if("object"===n)e=tq(t);else if("string"===n){var o,i;i=t.length,"#"===t[0]&&(4===i||5===i?o={r:255&17*tS[t[1]],g:255&17*tS[t[2]],b:255&17*tS[t[3]],a:5===i?17*tS[t[4]]:255}:(7===i||9===i)&&(o={r:tS[t[1]]<<4|tS[t[2]],g:tS[t[3]]<<4|tS[t[4]],b:tS[t[5]]<<4|tS[t[6]],a:9===i?tS[t[7]]<<4|tS[t[8]]:255})),e=o||function(t){r||((r=function(){let t,e,n,r,o;let i={},a=Object.keys(tV),s=Object.keys(tU);for(t=0;t>16&255,n>>8&255,255&n]}return i}()).transparent=[0,0,0,0]);let e=r[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||("r"===t.charAt(0)?function(t){let e,n,r;let o=tQ.exec(t),i=255;if(o){if(o[7]!==e){let a=+o[7];i=o[8]?tk(a):tC(255*a,0,255)}return e=+o[1],n=+o[3],r=+o[5],{r:e=255&(o[2]?tk(e):tC(e,0,255)),g:n=255&(o[4]?tk(n):tC(n,0,255)),b:r=255&(o[6]?tk(r):tC(r,0,255)),a:i}}}(t):function(t){let e;let n=tF.exec(t),r=255;if(!n)return;n[5]!==e&&(r=n[6]?tk(+n[5]):tA(+n[5]));let o=tY(+n[2]),i=+n[3]/100,a=+n[4]/100;return{r:(e="hwb"===n[1]?tW(tN,o,i,a):"hsv"===n[1]?tW(tB,o,i,a):tW(tI,o,i,a))[0],g:e[1],b:e[2],a:r}}(t))}this._rgb=e,this._valid=!!e}get valid(){return this._valid}get rgb(){var t=tZ(this._rgb);return t&&(t.a=tO(t.a)),t}set rgb(t){this._rgb=tq(t)}rgbString(){var t;return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${tO(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0}hexString(){var t,e;return this._valid?(e=tR(t=this._rgb)?tP:tj,t?"#"+e(t.r)+e(t.g)+e(t.b)+tL(t.a,e):void 0):void 0}hslString(){return this._valid?function(t){if(!t)return;let e=tH(t),n=e[0],r=tT(e[1]),o=tT(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${tO(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(t,e){if(t){let n;let r=this.rgb,o=t.rgb,i=e===n?.5:e,a=2*i-1,s=r.a-o.a,l=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;n=1-l,r.r=255&l*r.r+n*o.r+.5,r.g=255&l*r.g+n*o.g+.5,r.b=255&l*r.b+n*o.b+.5,r.a=i*r.a+(1-i)*o.a,this.rgb=r}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){let r=t$(tO(t.r)),o=t$(tO(t.g)),i=t$(tO(t.b));return{r:tA(tX(r+n*(t$(tO(e.r))-r))),g:tA(tX(o+n*(t$(tO(e.g))-o))),b:tA(tX(i+n*(t$(tO(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new tK(this.rgb)}alpha(t){return this._rgb.a=tA(t),this}clearer(t){let e=this._rgb;return e.a*=1-t,this}greyscale(){let t=this._rgb,e=t_(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){let e=this._rgb;return e.a*=1+t,this}negate(){let t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return tJ(this._rgb,2,t),this}darken(t){return tJ(this._rgb,2,-t),this}saturate(t){return tJ(this._rgb,1,t),this}desaturate(t){return tJ(this._rgb,1,-t),this}rotate(t){var e,n;return(n=tH(e=this._rgb))[0]=tY(n[0]+t),n=tW(tI,n,void 0,void 0),e.r=n[0],e.g=n[1],e.b=n[2],this}}function tG(t){if(t&&"object"==typeof t){let e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function t0(t){return tG(t)?t:new tK(t)}function t1(t){return tG(t)?t:new tK(t).saturate(.5).darken(.1).hexString()}let t2=Object.create(null),t5=Object.create(null);function t6(t,e){if(!e)return t;let n=e.split(".");for(let r=0,o=n.length;rt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>t1(e.backgroundColor),this.hoverBorderColor=(t,e)=>t1(e.borderColor),this.hoverColor=(t,e)=>t1(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return t3(this,t,e)}get(t){return t6(this,t)}describe(t,e){return t3(t5,t,e)}override(t,e){return t3(t2,t,e)}route(t,e,n,r){let o=t6(this,t),i=t6(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){let t=this[a],e=i[r];return c(t)?Object.assign({},e,t):h(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function t8(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function t7(t,e,n,r){let o,i,a,s,c;let u=(r=r||{}).data=r.data||{},f=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(u=r.data={},f=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let h=0,p=n.length;for(o=0;on.length){for(o=0;o0&&t.stroke()}}function er(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&""!==i.strokeColor;for(t.save(),t.font=o.string,a=t,i.translation&&a.translate(i.translation[0],i.translation[1]),s(i.rotation)||a.rotate(i.rotation),i.color&&(a.fillStyle=i.color),i.textAlign&&(a.textAlign=i.textAlign),i.textBaseline&&(a.textBaseline=i.textBaseline),c=0;c+t||0;function ep(t,e){let n={},r=c(e),o=r?Object.keys(e):e,i=c(t)?r?n=>h(t[n],t[e[n]]):e=>t[e]:()=>t;for(let a of o)n[a]=eh(i(a));return n}function ed(t){return ep(t,{top:"y",right:"x",bottom:"y",left:"x"})}function eg(t){return ep(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ey(t){let e=ed(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function eb(t,e){t=t||{},e=e||t4.font;let n=h(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=h(t.style,e.style);r&&!(""+r).match(ef)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");let o={family:h(t.family,e.family),lineHeight:function(t,e){let n=(""+t).match(eu);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}(h(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:h(t.weight,e.weight),string:""};return o.string=!o||s(o.size)||s(o.family)?null:(o.style?o.style+" ":"")+(o.weight?o.weight+" ":"")+o.size+"px "+o.family,o}function em(t,e,n,r){let o,i,a,s=!0;for(o=0,i=t.length;on&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function ev(t,e){return Object.assign(Object.create(t),e)}function eM(t,e=[""],n=t,r,o=()=>t[0]){A(r)||(r=eT("_fallback",t));let i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:o,override:o=>eM([o,...t],e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>eC(n,r,()=>(function(t,e,n,r){let o;for(let i of e)if(A(o=eT(ez(i,t),n)))return e_(t,o)?eA(n,r,t,o):o})(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>eS(t).includes(e),ownKeys:t=>eS(t),set(t,e,n){let r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function ew(t,e={scriptable:!0,indexable:!0}){let{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:O(n)?n:()=>n,isIndexable:O(r)?r:()=>r}}let ez=(t,e)=>t?t+k(e):e,e_=(t,e)=>c(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function eC(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];let r=n();return t[e]=r,r}let ek=(t,e)=>!0===t?e:"string"==typeof t?C(e,t):void 0;function eA(t,e,n,r){var o;let i=e._rootScopes,a=O(o=e._fallback)?o(n,r):o,s=[...t,...i],u=new Set;u.add(r);let f=eO(u,s,n,a||n,r);return!(null===f||A(a)&&a!==n&&null===(f=eO(u,s,a,f,r)))&&eM(Array.from(u),[""],i,a,()=>(function(t,e,n){let r=t._getTarget();e in r||(r[e]={});let o=r[e];return l(o)&&c(n)?n:o})(e,n,r))}function eO(t,e,n,r,o){for(;n;)n=function(t,e,n,r,o){for(let i of e){let a=ek(n,i);if(a){var s;t.add(a);let l=O(s=a._fallback)?s(n,o):s;if(A(l)&&l!==n&&l!==r)return l}else if(!1===a&&A(r)&&n!==r)return null}return!1}(t,e,n,r,o);return n}function eT(t,e){for(let n of e){if(!n)continue;let r=n[t];if(A(r))return r}}function eS(t){let e=t._keys;return e||(e=t._keys=function(t){let e=new Set;for(let n of t)for(let r of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(r);return Array.from(e)}(t._scopes)),e}function eE(t,e,n,r){let o,i,a;let{iScale:s}=t,{key:l="r"}=this._parsing,c=Array(r);for(o=0;oe"x"===t?"y":"x";function eR(t,e,n){return Math.max(Math.min(t,n),e)}function eL(t,e,n,r,o){let i,a,s,l;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){let n,r,o;let i=eD(e),a=t.length,s=Array(a).fill(0),l=Array(a),c=ej(t,0);for(n=0;nwindow.getComputedStyle(t,null),eH=["top","right","bottom","left"];function eW(t,e,n){let r={};n=n?"-"+n:"";for(let o=0;o<4;o++){let i=eH[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}let eY=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function eU(t,e){if("native"in t)return t;let{canvas:n,currentDevicePixelRatio:r}=e,o=eN(n),i="border-box"===o.boxSizing,a=eW(o,"padding"),s=eW(o,"border","width"),{x:l,y:c,box:u}=function(t,e){let n,r;let o=t.touches,i=o&&o.length?o[0]:t,{offsetX:a,offsetY:s}=i,l=!1;if(eY(a,s,t.target))n=a,r=s;else{let c=e.getBoundingClientRect();n=i.clientX-c.left,r=i.clientY-c.top,l=!0}return{x:n,y:r,box:l}}(t,n),f=a.left+(u&&s.left),h=a.top+(u&&s.top),{width:p,height:d}=e;return i&&(p-=a.width+s.width,d-=a.height+s.height),{x:Math.round((l-f)/p*n.width/r),y:Math.round((c-h)/d*n.height/r)}}let eV=t=>Math.round(10*t)/10;function eQ(t,e,n,r){let o=eN(t),i=eW(o,"margin"),a=eB(o.maxWidth,t,"clientWidth")||D,s=eB(o.maxHeight,t,"clientHeight")||D,l=function(t,e,n){let r,o;if(void 0===e||void 0===n){let i=eI(t);if(i){let a=i.getBoundingClientRect(),s=eN(i),l=eW(s,"border","width"),c=eW(s,"padding");e=a.width-c.width-l.width,n=a.height-c.height-l.height,r=eB(s.maxWidth,i,"clientWidth"),o=eB(s.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||D,maxHeight:o||D}}(t,e,n),{width:c,height:u}=l;if("content-box"===o.boxSizing){let f=eW(o,"border","width"),h=eW(o,"padding");c-=h.width+f.width,u-=h.height+f.height}return c=Math.max(0,c-i.width),u=Math.max(0,r?Math.floor(c/r):u-i.height),c=eV(Math.min(c,a,l.maxWidth)),u=eV(Math.min(u,s,l.maxHeight)),c&&!u&&(u=eV(c/2)),{width:c,height:u}}function eX(t,e,n){let r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=o/r,t.width=i/r;let a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}let e$=function(){let t=!1;try{let e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(n){}return t}();function eJ(t,e){let n=eN(t).getPropertyValue(e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function eZ(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function eq(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function eK(t,e,n,r){let o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=eZ(t,o,n),s=eZ(o,i,n),l=eZ(i,e,n),c=eZ(a,s,n),u=eZ(s,l,n);return eZ(c,u,n)}let eG=new Map;function e0(t,e,n){return(function(t,e){e=e||{};let n=t+JSON.stringify(e),r=eG.get(n);return r||(r=new Intl.NumberFormat(t,e),eG.set(n,r)),r})(e,n).format(t)}function e1(t,e,n){var r;return t?(r=n,{x:t=>e+e+r-t,setWidth(t){r=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function e2(t,e){let n,r;("ltr"===e||"rtl"===e)&&(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function e5(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function e6(t){return"angle"===t?{between:tt,compare:K,normalize:G}:{between:tr,compare:(t,e)=>t-e,normalize:t=>t}}function e3({start:t,end:e,count:n,loop:r,style:o}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:o}}function e4(t,e,n){let r,o,i;if(!n)return[t];let{property:a,start:s,end:l}=n,c=e.length,{compare:u,between:f,normalize:h}=e6(a),{start:p,end:d,loop:g,style:y}=function(t,e,n){let r;let{property:o,start:i,end:a}=n,{between:s,normalize:l}=e6(o),c=e.length,{start:u,end:f,loop:h}=t;if(h){for(u+=c,f+=c,r=0;rf(s,i,r)&&0!==u(s,i),M=()=>0===u(l,r)||f(l,i,r),w=()=>m||v(),z=()=>!m||M();for(let _=p,C=p;_<=d;++_)(o=e[_%c]).skip||(r=h(o[a]))===i||(m=f(r,s,l),null===x&&w()&&(x=0===u(r,s)?_:C),null!==x&&z()&&(b.push(e3({start:x,end:_,loop:g,count:c,style:y})),x=null),C=_,i=r);return null!==x&&b.push(e3({start:x,end:d,loop:g,count:c,style:y})),b}function e8(t,e){let n=[],r=t.segments;for(let o=0;oo&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);if(!0===r)return e9(t,[{start:a,end:s,loop:i}],n,e);let l=!!t._fullLoop&&0===a&&s===o-1;return e9(t,function(t,e,n,r){let o;let i=t.length,a=[],s=e,l=t[e];for(o=e+1;o<=n;++o){let c=t[o%i];c.skip||c.stop?l.skip||(r=!1,a.push({start:e%i,end:(o-1)%i,loop:r}),e=s=c.stop?o:null):(s=o,l.skip&&(e=o)),l=c}return null!==s&&a.push({start:e%i,end:s%i,loop:r}),a}(n,a,s=6}function M(t){return"number"===typeof t}var z=["bytes","KB","MB","GB","TB","PB","EB"];function _(t,e,n,r){t=t||"",n.prefix&&(e<0&&(e*=-1,t+="-"),t+=n.prefix);var o=n.suffix||"",i=n.precision,a=n.round;if(n.byteScale){var c,u=r?n.byteScale:e;u>=0x1000000000000000?(e/=0x1000000000000000,c=6):u>=0x4000000000000?(e/=0x4000000000000,c=5):u>=1099511627776?(e/=1099511627776,c=4):u>=1073741824?(e/=1073741824,c=3):u>=1048576?(e/=1048576,c=2):u>=1024?(e/=1024,c=1):c=0,void 0===i&&void 0===a&&(e>=1023.5&&c=1e3?4:3),o=" "+z[c]}if(void 0!==i&&void 0!==a)throw Error("Use either round or precision, not both");if(!r&&(void 0!==i&&(e=e.toPrecision(i),n.zeros||(e=parseFloat(e))),void 0!==a))if(a<0){var l=Math.pow(10,-1*a);e=parseInt((1*e/l).toFixed(0))*l}else e=e.toFixed(a),n.zeros||(e=parseFloat(e));if(n.thousands||n.decimal){var f=(e=s(e)).split(".");e=f[0],n.thousands&&(e=e.replace(/\B(?=(\d{3})+(?!\d))/g,n.thousands)),f.length>1&&(e+=(n.decimal||".")+f[1])}return t+e+o}function C(t,e,n){return n in e?e[n]:n in t.options?t.options[n]:null}function k(t){var e,n,r;for(e=0;e25?r=25:r<10&&(r=10),n.scales.x.ticks.callback||(n.scales.x.ticks.callback=function(t){return(t=s(this.getLabelForValue(t))).length>r?t.substring(0,r-2)+"...":t})},W=function(e,n,r){var o={prefix:e.options.prefix,suffix:e.options.suffix,thousands:e.options.thousands,decimal:e.options.decimal,precision:e.options.precision,round:e.options.round,zeros:e.options.zeros};if(e.options.bytes){var i=e.data;"pie"===r&&(i=[{data:i}]);for(var a=0,s=0;sa&&(a=c.data[u][1]);for(var l=1;a>=1024;)l*=1024,a/=1024;o.byteScale=l}if("pie"!==r){var f=n.scales.y;"bar"===r&&(f=n.scales.x),o.byteScale&&(f.ticks.stepSize||(f.ticks.stepSize=o.byteScale/2),f.ticks.maxTicksLimit||(f.ticks.maxTicksLimit=4)),f.ticks.callback||(f.ticks.callback=function(t){return _("",t,o,!0)})}if(!n.plugins.tooltip.callbacks.label)if("scatter"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";return e&&(e+=": "),e+"("+t.label+", "+t.formattedValue+")"};else if("bubble"===r)n.plugins.tooltip.callbacks.label=function(t){var e=t.dataset.label||"";e&&(e+=": ");var n=t.raw;return e+"("+n.x+", "+n.y+", "+n.v+")"};else if("pie"===r)n.plugins.tooltip.callbacks.label=function(e){var n=e.label,r=": ";return t(n)?(n=n.slice())[0]+=r:n+=r,_(n,e.parsed,o)};else{var h="bar"===r?"x":"y";n.plugins.tooltip.callbacks.label=function(t){if(null!==t.parsed[h]){var e=t.dataset.label||"";return e&&(e+=": "),_(e,t.parsed[h],o)}}}},Y=f(o(A,O),S,E,P,D,L,F,I),U=function(e,n,r){var i,a=[],s=[],l=e.options.colors||T,f=!0,h=!0,p=!0,w=!0,M=!0,z=!0,_=e.data,k=0;if("bubble"===r)for(var A=0;A<_.length;A++)for(var O=_[A],S=0;Sk&&(k=O.data[S][2]);var E,P,D,R,j,L,F,I=[],H=[];if("bar"===r||"column"===r||"number"!==e.xtype&&"bubble"!==e.xtype){var W,Y,U=[];for(E=0;E<_.length;E++)for(D=_[E],P=0;P0){var et=(N(G)?u(G):s[0]).getTime(),nt=(N(tt)?u(tt):s[0]).getTime();for(E=1;Ent&&(nt=rt)}var ot,it=(nt-et)/864e5;if(!n.scales.x.time.unit&&(w||it>3650?(n.scales.x.time.unit="year",ot=365):p||it>300?(n.scales.x.time.unit="month",ot=30):f||it>10?(n.scales.x.time.unit="day",ot=1):M||it>.5?(n.scales.x.time.displayFormats={hour:"MMM d, h a"},n.scales.x.time.unit="hour",ot=1/24):z&&(n.scales.x.time.displayFormats={minute:"h:mm a"},n.scales.x.time.unit="minute",ot=1/24/60),ot&&it>0)){var at=e.element.offsetWidth;if(at>0){var st=Math.ceil(it/ot/(at/100));h&&1===ot&&(st=7*Math.ceil(st/7)),n.scales.x.time.stepSize=st}}n.scales.x.time.tooltipFormat||(f?n.scales.x.time.tooltipFormat="PP":M?n.scales.x.time.tooltipFormat="MMM d, h a":z&&(n.scales.x.time.tooltipFormat="h:mm a"))}return{labels:s,datasets:a}},V=function(t){this.name="chartjs",this.library=t};V.prototype.renderLineChart=function(t,e){var n={};!t.options.max&&k(t.data)&&(n.max=1);var r=Y(t,o(n,t.options));W(t,r,e);var i=U(t,r,e||"line");"number"===t.xtype?(r.scales.x.type=r.scales.x.type||"linear",r.scales.x.position=r.scales.x.position||"bottom"):r.scales.x.type="string"===t.xtype?"category":"time",this.drawChart(t,"line",i,r)},V.prototype.renderPieChart=function(t){var e=o({},A);t.options.donut&&(e.cutout="50%"),"legend"in t.options&&S(e,t.options.legend),t.options.title&&E(e,t.options.title),e=o(e,t.options.library||{}),W(t,e,"pie");for(var n=[],r=[],i=0;i\u25cf '+_(this.series.name+": ",this.y,o)+"
"})},q=function(t){this.name="highcharts",this.library=t};q.prototype.renderLineChart=function(t,e){var n={};"areaspline"===(e=e||"spline")&&(n={plotOptions:{areaspline:{stacking:"normal"},area:{stacking:"normal"},series:{marker:{enabled:!1}}}}),!1===t.options.curve&&("areaspline"===e?e="area":"spline"===e&&(e="line"));var r,o,i,a=J(t,t.options,n);"number"===t.xtype?a.xAxis.type=a.xAxis.type||"linear":a.xAxis.type="string"===t.xtype?"category":"datetime",a.chart.type||(a.chart.type=e),Z(t,a,e);var s=t.data;for(o=0;o0)return!1;return!0}function mt(t){var e=t.element,n=document.createElement("a"),r=t.options.download;!0===r?r={}:"string"===typeof r&&(r={filename:r}),n.download=r.filename||"chart.png",n.style.position="absolute",n.style.top="20px",n.style.right="20px",n.style.zIndex=1e3,n.style.lineHeight="20px",n.target="_blank";var o=document.createElement("img");o.alt="Download",o.style.border="none",o.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABCFBMVEUAAADMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMywEsqxAAAAV3RSTlMAAQIDBggJCgsMDQ4PERQaHB0eISIjJCouLzE0OTo/QUJHSUpLTU5PUllhYmltcHh5foWLjI+SlaCio6atr7S1t7m6vsHHyM7R2tze5Obo7fHz9ff5+/1hlxK2AAAA30lEQVQYGUXBhVYCQQBA0TdYWAt2d3d3YWAHyur7/z9xgD16Lw0DW+XKx+1GgX+FRzM3HWQWrHl5N/oapW5RPe0PkBu+UYeICvozTWZVK23Ao04B79oJrOsJDOoxkZoQPWgX29pHpCZEk7rEvQYiNSFq1UMqvlCjJkRBS1R8hb00Vb/TajtBL7nTHE1X1vyMQF732dQhyF2o6SAwrzP06iUQzvwsArlnzcOdrgBhJyHa1QOgO9U1GsKuvjUTjavliZYQ8nNPapG6sap/3nrIdJ6bOWzmX/fy0XVpfzZP3S8OJT3g9EEiJwAAAABJRU5ErkJggg==",n.appendChild(o),e.style.position="relative",t.__downloadAttached=!0,t.__enterEvent=xt(e,"mouseover",(function(o){var i=o.relatedTarget;i&&(i===this||wt(this,i))||!t.options.download||(n.href=t.toImage(r),e.appendChild(n))})),t.__leaveEvent=xt(e,"mouseout",(function(t){var e=t.relatedTarget;e&&(e===this||wt(this,e))||n.parentNode&&n.parentNode.removeChild(n)}))}function xt(t,e,n){if(t.addEventListener)return t.addEventListener(e,n,!1),n;var r=function(){return n.call(t,window.event)};return t.attachEvent("on"+e,r),r}function vt(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)}function wt(t,e){if(t===e)return!1;for(;e&&e!==t;)e=e.parentNode;return e===t}lt.prototype.renderLineChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={};!1===t.options.curve&&(n.curveType="none"),!1===t.options.points&&(n.pointSize=0);var r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"LineChart",o,r)}))},lt.prototype.renderPieChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={chartArea:{top:"10%",height:"80%"},legend:{}};t.options.colors&&(n.colors=t.options.colors),t.options.donut&&(n.pieHole=.5),"legend"in t.options&&et(n,t.options.legend),t.options.title&&nt(n,t.options.title);var r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number","Value"),i.addRows(t.data),e.drawChart(t,"PieChart",i,r)}))},lt.prototype.renderColumnChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n=ct(t,t.options),r=e.createDataTable(t.data,t.xtype);e.drawChart(t,"ColumnChart",r,n)}))},lt.prototype.renderBarChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={hAxis:{gridlines:{color:"#ccc"}}},r=f(tt,et,nt,rt,ot,it,at,st)(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"BarChart",o,r)}))},lt.prototype.renderAreaChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n={isStacked:!0,pointSize:0,areaOpacity:.5},r=ct(t,t.options,n),o=e.createDataTable(t.data,t.xtype);e.drawChart(t,"AreaChart",o,r)}))},lt.prototype.renderGeoChart=function(t){var e=this;this.waitForLoaded(t,"geochart",(function(){var n={legend:"none",colorAxis:{colors:t.options.colors||["#f6c7b6","#ce502d"]}},r=o(o(tt,n),t.options.library||{}),i=new e.library.visualization.DataTable;i.addColumn("string",""),i.addColumn("number",t.options.label||"Value"),i.addRows(t.data),e.drawChart(t,"GeoChart",i,r)}))},lt.prototype.renderScatterChart=function(t){var e=this;this.waitForLoaded(t,(function(){var n,r,o,i,a={},s=ct(t,t.options,a),c=t.data,u=[];for(n=0;n0?new Error("No charting library found for "+t):new Error("No charting libraries found - be sure to include one before your charts")}var Ht=function(t,e,n){var r;if("string"===typeof t&&(r=t,!(t=document.getElementById(t))))throw new Error("No element with id "+r);this.element=t,this.options=o(qt.options,n||{}),this.dataSource=e,qt.charts[t.id]=this,jt(this,e,!0),this.options.refresh&&this.startRefresh()};Ht.prototype.getElement=function(){return this.element},Ht.prototype.getDataSource=function(){return this.dataSource},Ht.prototype.getData=function(){return this.data},Ht.prototype.getOptions=function(){return this.options},Ht.prototype.getChartObject=function(){return this.chart},Ht.prototype.getAdapter=function(){return this.adapter},Ht.prototype.updateData=function(t,e){this.dataSource=t,e&&this.__updateOptions(e),jt(this,t,!0)},Ht.prototype.setOptions=function(t){this.__updateOptions(t),this.redraw()},Ht.prototype.redraw=function(){jt(this,this.rawData)},Ht.prototype.refreshData=function(){if("string"===typeof this.dataSource){var t=-1===this.dataSource.indexOf("?")?"?":"&";jt(this,this.dataSource+t+"_="+(new Date).getTime())}else"function"===typeof this.dataSource&&jt(this,this.dataSource)},Ht.prototype.startRefresh=function(){var t=this,e=this.options.refresh;if(e&&"string"!==typeof this.dataSource&&"function"!==typeof this.dataSource)throw new Error("Data source must be a URL or callback for refresh");if(!this.intervalId){if(!e)throw new Error("No refresh interval");this.intervalId=setInterval((function(){t.refreshData()}),1e3*e)}},Ht.prototype.stopRefresh=function(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)},Ht.prototype.toImage=function(t){if("chartjs"===this.adapter){if(t&&t.background&&"transparent"!==t.background){var e=this.chart.canvas,n=this.chart.ctx,r=document.createElement("canvas"),o=r.getContext("2d");return r.width=n.canvas.width,r.height=n.canvas.height,o.fillStyle=t.background,o.fillRect(0,0,r.width,r.height),o.drawImage(e,0,0),r.toDataURL("image/png")}return this.chart.toBase64Image()}throw new Error("Feature only available for Chart.js")},Ht.prototype.destroy=function(){this.destroyed=!0,this.stopRefresh(),this.__adapterObject&&this.__adapterObject.destroy(this),this.__enterEvent&&vt(this.element,"mouseover",this.__enterEvent),this.__leaveEvent&&vt(this.element,"mouseout",this.__leaveEvent)},Ht.prototype.__updateOptions=function(t){var e=t.refresh&&t.refresh!==this.options.refresh;this.options=o(qt.options,t),e&&(this.stopRefresh(),this.startRefresh())},Ht.prototype.__render=function(){this.data=this.__processData(),Bt(this.__chartName(),this)},Ht.prototype.__config=function(){return St};var Wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"LineChart"},e}(Ht),Yt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"PieChart"},e}(Ht),Ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"ColumnChart"},e}(Ht),Vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,null,!0)},e.prototype.__chartName=function(){return"BarChart"},e}(Ht),Qt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this)},e.prototype.__chartName=function(){return"AreaChart"},e}(Ht),Xt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return yt(this)},e.prototype.__chartName=function(){return"GeoChart"},e}(Ht),$t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"number")},e.prototype.__chartName=function(){return"ScatterChart"},e}(Ht),Jt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){return gt(this,"bubble")},e.prototype.__chartName=function(){return"BubbleChart"},e}(Ht),Zt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__processData=function(){var t,e=this.rawData;for(t=0;t("number"===typeof t||t instanceof Number)&&isFinite(+t);function u(t,e){return c(t)?t:e}function l(t,e){return"undefined"===typeof t?e:t}const f=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:t/e,h=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function p(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function d(t,e,n,r){let o,i,c;if(a(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;ot,x:t=>t.x,y:t=>t.y};function z(t,e){const n=M[e]||(M[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function _(t){return t.charAt(0).toUpperCase()+t.slice(1)}const C=t=>"undefined"!==typeof t,k=t=>"function"===typeof t,A=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function O(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const T=Math.PI,S=2*T,E=S+T,P=Number.POSITIVE_INFINITY,D=T/180,R=T/2,j=T/4,L=2*T/3,F=Math.log10,I=Math.sign;function B(t){const e=Math.round(t);t=W(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(F(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function N(t){const e=[],n=Math.sqrt(t);let r;for(r=1;rt-e)).pop(),e}function H(t){return!isNaN(parseFloat(t))&&isFinite(t)}function W(t,e,n){return Math.abs(t-e)=t}function U(t,e,n){let r,o,i;for(r=0,o=t.length;rc&&u=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function nt(t,e,n){n=n||(n=>t[n]1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const rt=(t,e,n,r)=>nt(t,n,r?r=>t[r][e]<=n:r=>t[r][e]nt(t,n,(r=>t[r][e]>=n));function it(t,e,n){let r=0,o=t.length;for(;rr&&t[o-1]>n;)o--;return r>0||o{const n="_onData"+_(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const o=r.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),o}})})))}function ct(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(at.forEach((e=>{delete t[e]})),delete t._chartjs)}function ut(t){const e=new Set;let n,r;for(n=0,r=t.length;nArray.prototype.slice.call(t));let o=!1,i=[];return function(...n){i=r(n),o||(o=!0,lt.call(window,(()=>{o=!1,t.apply(e,i)})))}}function ht(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}const pt=t=>"start"===t?"left":"end"===t?"right":"center",dt=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,gt=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function yt(t,e,n){const r=e.length;let o=0,i=r;if(t._sorted){const{iScale:a,_parsed:s}=t,c=a.axis,{min:u,max:l,minDefined:f,maxDefined:h}=a.getUserBounds();f&&(o=G(Math.min(rt(s,a.axis,u).lo,n?r:rt(e,c,a.getPixelForValue(u)).lo),0,r-1)),i=h?G(Math.max(rt(s,a.axis,l,!0).hi+1,n?0:rt(e,c,a.getPixelForValue(l),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function bt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}const mt=t=>0===t||1===t,xt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*S/n),vt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*S/n)+1,wt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*R),easeOutSine:t=>Math.sin(t*R),easeInOutSine:t=>-.5*(Math.cos(T*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>mt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>mt(t)?t:xt(t,.075,.3),easeOutElastic:t=>mt(t)?t:vt(t,.075,.3),easeInOutElastic(t){const e=.1125;return mt(t)?t:t<.5?.5*xt(2*t,e,.45):.5+.5*vt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-wt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*wt.easeInBounce(2*t):.5*wt.easeOutBounce(2*t-1)+.5};function Mt(t){return t+.5|0}const zt=(t,e,n)=>Math.max(Math.min(t,n),e);function _t(t){return zt(Mt(2.55*t),0,255)}function Ct(t){return zt(Mt(255*t),0,255)}function kt(t){return zt(Mt(t/2.55)/100,0,1)}function At(t){return zt(Mt(100*t),0,100)}const Ot={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Tt=[..."0123456789ABCDEF"],St=t=>Tt[15&t],Et=t=>Tt[(240&t)>>4]+Tt[15&t],Pt=t=>(240&t)>>4===(15&t);function Dt(t){var e=(t=>Pt(t.r)&&Pt(t.g)&&Pt(t.b)&&Pt(t.a))(t)?St:Et;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Rt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function jt(t,e,n){const r=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-r*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function Lt(t,e,n){const r=(r,o=(r+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function Ft(t,e,n){const r=jt(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function It(t){const e=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(e,n,r),i=Math.min(e,n,r),a=(o+i)/2;let s,c,u;return o!==i&&(u=o-i,c=a>.5?u/(2-o-i):u/(o+i),s=function(t,e,n,r,o){return t===o?(e-n)/r+(e>16&255,i>>8&255,255&i]}return t}(),Vt.transparent=[0,0,0,0]);const e=Vt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const Xt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const $t=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Jt=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Zt(t,e,n){if(t){let r=It(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Nt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function qt(t,e){return t?Object.assign(e||{},t):t}function Kt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ct(t[3]))):(e=qt(t,{r:0,g:0,b:0,a:1})).a=Ct(e.a),e}function Gt(t){return"r"===t.charAt(0)?function(t){const e=Xt.exec(t);let n,r,o,i=255;if(e){if(e[7]!==n){const t=+e[7];i=e[8]?_t(t):zt(255*t,0,255)}return n=+e[1],r=+e[3],o=+e[5],n=255&(e[2]?_t(n):zt(n,0,255)),r=255&(e[4]?_t(r):zt(r,0,255)),o=255&(e[6]?_t(o):zt(o,0,255)),{r:n,g:r,b:o,a:i}}}(t):Wt(t)}class te{constructor(t){if(t instanceof te)return t;const e=typeof t;let n;"object"===e?n=Kt(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Ot[t[1]],g:255&17*Ot[t[2]],b:255&17*Ot[t[3]],a:5===n?17*Ot[t[4]]:255}:7!==n&&9!==n||(e={r:Ot[t[1]]<<4|Ot[t[2]],g:Ot[t[3]]<<4|Ot[t[4]],b:Ot[t[5]]<<4|Ot[t[6]],a:9===n?Ot[t[7]]<<4|Ot[t[8]]:255})),e}(t)||Qt(t)||Gt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=qt(this._rgb);return t&&(t.a=kt(t.a)),t}set rgb(t){this._rgb=Kt(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${kt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?Dt(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=It(t),n=e[0],r=At(e[1]),o=At(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${o}%, ${kt(t.a)})`:`hsl(${n}, ${r}%, ${o}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let o;const i=e===o?.5:e,a=2*i-1,s=n.a-r.a,c=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;o=1-c,n.r=255&c*n.r+o*r.r+.5,n.g=255&c*n.g+o*r.g+.5,n.b=255&c*n.b+o*r.b+.5,n.a=i*n.a+(1-i)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=Jt(kt(t.r)),o=Jt(kt(t.g)),i=Jt(kt(t.b));return{r:Ct($t(r+n*(Jt(kt(e.r))-r))),g:Ct($t(o+n*(Jt(kt(e.g))-o))),b:Ct($t(i+n*(Jt(kt(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new te(this.rgb)}alpha(t){return this._rgb.a=Ct(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=Mt(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Zt(this._rgb,2,t),this}darken(t){return Zt(this._rgb,2,-t),this}saturate(t){return Zt(this._rgb,1,t),this}desaturate(t){return Zt(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=It(t);n[0]=Ht(n[0]+e),n=Nt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function ee(t){return new te(t)}function ne(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function re(t){return ne(t)?t:ee(t)}function oe(t){return ne(t)?t:ee(t).saturate(.5).darken(.1).hexString()}const ie=Object.create(null),ae=Object.create(null);function se(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;rt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>oe(e.backgroundColor),this.hoverBorderColor=(t,e)=>oe(e.borderColor),this.hoverColor=(t,e)=>oe(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return ce(this,t,e)}get(t){return se(this,t)}describe(t,e){return ce(ae,t,e)}override(t,e){return ce(ie,t,e)}route(t,e,n,r){const o=se(this,t),i=se(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=i[r];return s(t)?Object.assign({},e,t):l(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function le(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function fe(t,e,n,r){let o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const c=n.length;let u,l,f,h,p;for(u=0;un.length){for(u=0;u0&&t.stroke()}}function ye(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&""!==s.strokeColor;let l,f;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);i(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),l=0;ll(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of o)n[a]=+i(a)||0;return n}function Oe(t){return Ae(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Te(t){return Ae(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Se(t){const e=Oe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ee(t,e){t=t||{},e=e||ue.font;let n=l(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=l(t.style,e.style);r&&!(""+r).match(Ce)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const o={family:l(t.family,e.family),lineHeight:ke(l(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:l(t.weight,e.weight),string:""};return o.string=function(t){return!t||i(t.size)||i(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function Pe(t,e,n,r){let o,i,s,c=!0;for(o=0,i=t.length;on&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}function Re(t,e){return Object.assign(Object.create(t),e)}function je(t,e=[""],n=t,r,o=(()=>t[0])){C(r)||(r=Qe("_fallback",t));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:o,override:o=>je([o,...t],e,n,r)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>Ne(n,r,(()=>function(t,e,n,r){let o;for(const i of e)if(o=Qe(Ie(i,t),n),C(o))return Be(t,o)?Ue(n,r,t,o):o}(r,e,t,n))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Xe(t).includes(e),ownKeys:t=>Xe(t),set(t,e,n){const r=t._storage||(t._storage=o());return t[e]=r[e]=n,delete t._keys,!0}})}function Le(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Fe(t,r),setContext:e=>Le(t,e,n,r),override:o=>Le(t.override(o),e,n,r)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Ne(t,e,(()=>function(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:c}=t;let u=r[e];k(u)&&c.isScriptable(e)&&(u=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(i,a||r),s.delete(t),Be(t,e)&&(e=Ue(o._scopes,o,t,e));return e}(e,u,t,n));a(u)&&u.length&&(u=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:c}=n;if(C(i.index)&&r(t))e=e[i.index%e.length];else if(s(e[0])){const n=e,r=o._scopes.filter((t=>t!==n));e=[];for(const s of n){const n=Ue(r,o,t,s);e.push(Le(n,i,a&&a[t],c))}}return e}(e,u,t,c.isIndexable));Be(e,u)&&(u=Le(u,o,i&&i[e],c));return u}(t,e,n))),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Fe(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:k(n)?n:()=>n,isIndexable:k(r)?r:()=>r}}const Ie=(t,e)=>t?t+_(e):e,Be=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Ne(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function He(t,e,n){return k(t)?t(e,n):t}const We=(t,e)=>!0===t?e:"string"===typeof t?z(e,t):void 0;function Ye(t,e,n,r,o){for(const i of e){const e=We(n,i);if(e){t.add(e);const i=He(e._fallback,n,o);if(C(i)&&i!==n&&i!==r)return i}else if(!1===e&&C(r)&&n!==r)return null}return!1}function Ue(t,e,n,r){const o=e._rootScopes,i=He(e._fallback,n,r),c=[...t,...o],u=new Set;u.add(r);let l=Ve(u,c,n,i||n,r);return null!==l&&((!C(i)||i===n||(l=Ve(u,c,i,l,r),null!==l))&&je(Array.from(u),[""],o,i,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];if(a(o)&&s(n))return n;return o}(e,n,r))))}function Ve(t,e,n,r,o){for(;n;)n=Ye(t,e,n,r,o);return n}function Qe(t,e){for(const n of e){if(!n)continue;const e=n[t];if(C(e))return e}}function Xe(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function $e(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let s,c,u,l;for(s=0,c=r;se"x"===t?"y":"x";function Ke(t,e,n,r){const o=t.skip?e:t,i=e,a=n.skip?e:n,s=J(i,o),c=J(a,i);let u=s/(s+c),l=c/(s+c);u=isNaN(u)?0:u,l=isNaN(l)?0:l;const f=r*u,h=r*l;return{previous:{x:i.x-f*(a.x-o.x),y:i.y-f*(a.y-o.y)},next:{x:i.x+h*(a.x-o.x),y:i.y+h*(a.y-o.y)}}}function Ge(t,e="x"){const n=qe(e),r=t.length,o=Array(r).fill(0),i=Array(r);let a,s,c,u=Ze(t,0);for(a=0;a!t.skip))),"monotone"===e.cubicInterpolationMode)Ge(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;iwindow.getComputedStyle(t,null);const sn=["top","right","bottom","left"];function cn(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=sn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function un(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=an(n),i="border-box"===o.boxSizing,a=cn(o,"padding"),s=cn(o,"border","width"),{x:c,y:u,box:l}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a,s,c=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(o,i,t.target))a=o,s=i;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,c=!0}return{x:a,y:s,box:c}}(t,n),f=a.left+(l&&s.left),h=a.top+(l&&s.top);let{width:p,height:d}=e;return i&&(p-=a.width+s.width,d-=a.height+s.height),{x:Math.round((c-f)/p*n.width/r),y:Math.round((u-h)/d*n.height/r)}}const ln=t=>Math.round(10*t)/10;function fn(t,e,n,r){const o=an(t),i=cn(o,"margin"),a=on(o.maxWidth,t,"clientWidth")||P,s=on(o.maxHeight,t,"clientHeight")||P,c=function(t,e,n){let r,o;if(void 0===e||void 0===n){const i=rn(t);if(i){const t=i.getBoundingClientRect(),a=an(i),s=cn(a,"border","width"),c=cn(a,"padding");e=t.width-c.width-s.width,n=t.height-c.height-s.height,r=on(a.maxWidth,i,"clientWidth"),o=on(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||P,maxHeight:o||P}}(t,e,n);let{width:u,height:l}=c;if("content-box"===o.boxSizing){const t=cn(o,"border","width"),e=cn(o,"padding");u-=e.width+t.width,l-=e.height+t.height}return u=Math.max(0,u-i.width),l=Math.max(0,r?Math.floor(u/r):l-i.height),u=ln(Math.min(u,a,c.maxWidth)),l=ln(Math.min(l,s,c.maxHeight)),u&&!l&&(l=ln(u/2)),{width:u,height:l}}function hn(t,e,n){const r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=o/r,t.width=i/r;const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}const pn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}return t}();function dn(t,e){const n=function(t,e){return an(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function gn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function yn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function bn(t,e,n,r){const o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=gn(t,o,n),s=gn(o,i,n),c=gn(i,e,n),u=gn(a,s,n),l=gn(s,c,n);return gn(u,l,n)}const mn=new Map;function xn(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=mn.get(n);return r||(r=new Intl.NumberFormat(t,e),mn.set(n,r)),r}(e,n).format(t)}function vn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function wn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function Mn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function zn(t){return"angle"===t?{between:K,compare:Z,normalize:q}:{between:et,compare:(t,e)=>t-e,normalize:t=>t}}function _n({start:t,end:e,count:n,loop:r,style:o}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n===0,style:o}}function Cn(t,e,n){if(!n)return[t];const{property:r,start:o,end:i}=n,a=e.length,{compare:s,between:c,normalize:u}=zn(r),{start:l,end:f,loop:h,style:p}=function(t,e,n){const{property:r,start:o,end:i}=n,{between:a,normalize:s}=zn(r),c=e.length;let u,l,{start:f,end:h,loop:p}=t;if(p){for(f+=c,h+=c,u=0,l=c;um||c(o,b,g)&&0!==s(o,b),w=()=>!m||0===s(i,g)||c(i,b,g);for(let M=l,z=l;M<=f;++M)y=e[M%a],y.skip||(g=u(y[r]),g!==b&&(m=c(g,o,i),null===x&&v()&&(x=0===s(g,o)?M:z),null!==x&&w()&&(d.push(_n({start:x,end:M,loop:h,count:a,style:p})),x=null),z=M,b=g));return null!==x&&d.push(_n({start:x,end:f,loop:h,count:a,style:p})),d}function kn(t,e){const n=[],r=t.segments;for(let o=0;oo&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);if(!0===r)return On(t,[{start:a,end:s,loop:i}],n,e);return On(t,function(t,e,n,r){const o=t.length,i=[];let a,s=e,c=t[e];for(a=e+1;a<=n;++a){const n=t[a%o];n.skip||n.stop?c.skip||(r=!1,i.push({start:e%o,end:(a-1)%o,loop:r}),e=s=n.stop?a:null):(s=a,c.skip&&(e=a)),c=n}return null!==s&&i.push({start:e%o,end:s%o,loop:r}),i}(n,a,s{let{options:t,onReady:i}=e,r=s.useRef(null),a=s.useRef(null);return s.useEffect(()=>{if(!a.current){let e=r.current,n=a.current=(0,l.Z)(e,t,()=>(n.log("player is ready"),i&&i(n,l.Z)));n.autoplay(t.autoplay),n.src(t.sources)}},[t,r]),s.useEffect(()=>{let e=a.current;return()=>{e&&(e.dispose(),a.current=null)}},[a]),(0,n.jsx)("div",{"data-vjs-player":!0,children:(0,n.jsx)("video",{ref:r,className:"video-js vjs-big-play-centered vjs-show-big-play-button-on-pause ".concat(o().player," vjs-owncast")})})},u={position:"absolute",width:"100%",height:"100%"},d=e=>{let{src:t="",width:i,height:r,objectFit:a="fill",duration:l="1s"}=e,h=(0,s.useMemo)(()=>({display:"inline-block",position:"relative",width:i,height:r}),[i,r]),o=(0,s.useMemo)(()=>[{...u,objectFit:a,opacity:0,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:1,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:0}],[a,l]),[c,d]=(0,s.useState)(0),[m,g]=(0,s.useState)(["",""]),f=t!==m[1]?t:"",p=()=>{d((c+1)%3),g([m[1],f])};return(0,n.jsx)("span",{style:h,children:[...m,f].map((e,t)=>""!==e&&(0,n.jsx)("img",{src:e,alt:"",style:o[t],onLoad:2===t?p:void 0},e))})};d.defaultProps={objectFit:"fill",duration:"3s"};var m=i(70034),g=i.n(m);let f=e=>{let t,{online:i,initialSrc:r,src:a}=e,[l,h]=(0,s.useState)(r),[o,c]=(0,s.useState)("0s");return(0,s.useEffect)(()=>{clearInterval(t),t=setInterval(()=>{"0s"===o&&c("3s"),h("".concat(a,"?").concat(Date.now()))},2e4)},[]),(0,n.jsxs)("div",{className:g().poster,children:[!i&&(0,n.jsx)("img",{src:r,alt:"logo"}),i&&(0,n.jsx)(d,{src:l,duration:o,objectFit:"cover",width:"100%",height:"100%"})]})};var p=i(72581),y=i(77466),b=class{stop(){clearInterval(this.sendMetricsTimer),this.player.off()}setClockSkew(e){this.clockSkewMs=e}videoJSReady(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});this.supportsDetailedMetrics=!!e,e.on("usage",e=>{"vhs-unknown-waiting"===e.name&&this.setIsBuffering(!0),"vhs-rendition-change-abr"===e.name&&this.incrementQualityVariantChanges()});let t=this.player.textTracks();t.addEventListener("cuechange",()=>{this.incrementQualityVariantChanges()})}handlePlaying(){clearInterval(this.collectPlaybackMetricsTimer),this.collectPlaybackMetricsTimer=setInterval(()=>{this.collectPlaybackMetrics()},5e3)}handleEnded(){clearInterval(this.collectPlaybackMetricsTimer)}handleBuffering(){this.incrementErrorCount(1),this.setIsBuffering(!0)}handleNoLongerBuffering(){this.setIsBuffering(!1)}handleError(){this.incrementErrorCount(1)}incrementErrorCount(e){this.errors+=e}incrementQualityVariantChanges(){if(!this.hasPerformedInitialVariantChange){this.hasPerformedInitialVariantChange=!0;return}this.qualityVariantChanges++}setIsBuffering(e){if(this.isBuffering=e,!e){clearTimeout(this.bufferingDurationTimer);return}this.bufferingDurationTimer=setTimeout(()=>{this.incrementErrorCount(1)},500)}trackSegmentDownloadTime(e){this.segmentDownloadTime.push(e)}trackBandwidth(e){this.bandwidthTracking.push(e)}trackLatency(e){this.latencyTracking.push(e)}collectPlaybackMetrics(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs||this.player.paused())return;let t=this.player.networkState();if(2!==t)return;let i=e.vhs.systemBandwidth;this.trackBandwidth(i);try{let n=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;s=40)return;this.trackLatency(a)}catch(l){console.warn(l)}}async send(){let e;if(0===this.segmentDownloadTime.length||!this.player||this.player.paused())return;let t=this.errors;if(this.supportsDetailedMetrics){let i=e=>e.reduce((e,t)=>e+t,0)/e.length,n=i(this.segmentDownloadTime)/1e3,s=i(this.bandwidthTracking)/1e3,r=i(this.latencyTracking)/1e3;e={bandwidth:Math.round(1e3*s)/1e3,latency:Math.round(1e3*r)/1e3,downloadDuration:Math.round(1e3*n)/1e3,errors:t+(this.isBuffering?1:0),qualityVariantChanges:this.qualityVariantChanges}}else e={errors:t+(this.isBuffering?1:0)};this.errors=0,this.qualityVariantChanges=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[];let a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{await fetch("/api/metrics/playback",a)}catch(l){console.error(l)}}constructor(e,t){var i=this;this.player=e,this.supportsDetailedMetrics=!1,this.hasPerformedInitialVariantChange=!1,this.clockSkewMs=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[],this.errors=0,this.qualityVariantChanges=0,this.isBuffering=!1,this.bufferingDurationTimer=0,this.collectPlaybackMetricsTimer=0,this.videoJSReady=this.videoJSReady.bind(this),this.handlePlaying=this.handlePlaying.bind(this),this.handleBuffering=this.handleBuffering.bind(this),this.handleEnded=this.handleEnded.bind(this),this.handleError=this.handleError.bind(this),this.send=this.send.bind(this),this.collectPlaybackMetrics=this.collectPlaybackMetrics.bind(this),this.handleNoLongerBuffering=this.handleNoLongerBuffering.bind(this),this.sendMetricsTimer=0,this.player.on("canplaythrough",this.handleNoLongerBuffering),this.player.on("error",this.handleError),this.player.on("stalled",this.handleBuffering),this.player.on("waiting",this.handleBuffering),this.player.on("playing",this.handlePlaying),this.player.on("ended",this.handleEnded);let n=t.xhr;t.Vhs.xhr=function(){for(var e=arguments.length,t=Array(e),s=0;s{let s=new Date,l=s.getTime()-r.getTime();i.trackSegmentDownloadTime(l),a(e,t,n)}}return n(...t)},this.videoJSReady(),this.sendMetricsTimer=setInterval(()=>{this.send()},1e4)}},T=function(e,t,i,n){let s=t.getComponent("MenuItem"),r=t.getComponent("MenuItem"),a=t.getComponent("MenuButton"),l=new r(e,{selectable:!0});l.setAttribute("class","latency-toggle-item"),l.on("click",()=>{n()});let h=new class extends s{createEl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=super.createEl(e,t,i);return n.innerHTML='
',n}constructor(e,t){super(e,t)}}(e,{selectable:!1}),o=t.extend(a,{constructor(){a.call(this,e)},createItems(){let t=e.tech({IWillNotUseThisInPlugins:!0}),n=new r(e,{selectable:!0,label:"Auto"}),s=i.map(i=>{let n=new r(e,{selectable:!0,label:i.name});return n.on("click",()=>{if(!t){console.warn("Invalid attempt to access null player tech");return}t.vhs.representations().forEach((e,t)=>{e.enabled(t===i.index)}),n.selected(!1)}),n});n.on("click",()=>{t.vhs.representations().forEach(e=>{e.enabled(!0)}),n.selected(!1)});let a=!!t&&!!t.vhs;return i.length<2&&a?[l]:i.length>1&&a?[n,...s,h,l]:a||1!==i.length?[n,...s]:[]}}),c=e.tech({IWillNotUseThisInPlugins:!0});if(i.length<2&&(!c||!c.vhs))return;let u=new o;return u.addClass("vjs-quality-selector"),u},v=class{setClockSkew(e){this.clockSkewMs=e}check(){if(new Date().getTime()-this.startupTime.getTime()<1e4||this.player.paused()||this.player.seeking()||this.inTimeout||!this.enabled)return;let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs)return;let t=this.player.networkState();if(2!==t)return;let i=0;try{if(0===e.vhs.stats.buffered.length){this.timeout();return}e.vhs.stats.buffered.forEach(e=>{i+=e.end-e.start})}catch(n){console.error(n)}let s=e.vhs.playlists.media(),r=s.attributes.BANDWIDTH,a=e.vhs.systemBandwidth,l=a/r;try{let h=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;se+t,0)/c.length,d=Math.max(1.4*u,Math.min(1e3*h.duration*2.6,15e3));u>=d&&(d=u+3e3);let m=h.dateTimeObject.getTime(),g=new Date().getTime()+this.clockSkewMs,f=g-m;if(this.currentLatency=f,Math.abs(f)>8e4){this.timeout();return}if(f>d){if(this.shouldJumpToLive()&&f>d+5e3){let p=f/1e3-3*h.duration,y=this.player.currentTime()+p;console.info("latency",f/1e3,"jumping",p,"to live from ",this.player.currentTime()," to ",y);let b=e.vhs.stats.buffered[0].end,T=e.vhs.stats.buffered[0].start;if(y>Tthis.playbackRate+.02&&(v=this.playbackRate+.02),v=Math.round(1e3*v)/1e3,this.start(v)}else f<=u&&this.stop();console.info("latency",f/1e3,"min",u/1e3,"max",d/1e3,"playback rate",this.playbackRate,"enabled:",this.enabled,"running: ",this.running,"skew: ",this.clockSkewMs,"rebuffer events: ",this.bufferingCounter)}catch(k){}}shouldJumpToLive(){if(this.bufferingCounter>1)return!1;let e=new Date().getTime(),t=e-this.lastJumpOccurred;return t>2e4}jump(e){this.jumpingToLiveIgnoreBuffer=!0,this.performedInitialLiveJump=!0,this.lastJumpOccurred=new Date,console.info("current time",this.player.currentTime(),"seeking to",e),this.player.currentTime(e),setTimeout(()=>{this.jumpingToLiveIgnoreBuffer=!1},5e3)}setPlaybackRate(e){this.playbackRate=e,this.player.playbackRate(e)}start(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;!this.inTimeout&&this.enabled&&e!==this.playbackRate&&(this.running=!0,this.setPlaybackRate(e))}stop(){this.running&&console.log("stopping latency compensator..."),this.running=!1,this.setPlaybackRate(1)}enable(){this.enabled=!0,clearInterval(this.checkTimer),clearTimeout(this.bufferingTimer),this.checkTimer=setInterval(()=>{this.check()},3e3)}disable(){clearInterval(this.checkTimer),clearTimeout(this.timeoutTimer),this.stop(),this.enabled=!1}timeout(){this.jumpingToLiveIgnoreBuffer||(this.inTimeout=!0,this.stop(),clearTimeout(this.timeoutTimer),this.timeoutTimer=setTimeout(()=>{this.endTimeout()},3e4))}endTimeout(){clearTimeout(this.timeoutTimer),this.inTimeout=!1}handlePlaying(){let e=this.playing;this.playing=!0,clearTimeout(this.bufferingTimer),this.enabled&&this.shouldJumpToLive()&&(e||(this.jumpingToLiveIgnoreBuffer=!0,this.player.liveTracker.seekToLiveEdge(),this.lastJumpOccurred=new Date))}handlePause(){this.playing=!1}handleEnded(){this.enabled&&this.disable()}handleError(){this.enabled&&this.timeout()}countBufferingEvent(){if(this.bufferingCounter+=1,this.bufferingCounter>4){this.disable();return}this.bufferedAtLatency.push(this.currentLatency),console.log("latency compensation timeout due to buffering:",this.bufferingCounter,"buffering events of",4),setTimeout(()=>{this.bufferingCounter>0&&(this.bufferingCounter-=1)},18e4)}handleBuffering(){if(this.enabled&&!this.inTimeout){if(this.jumpingToLiveIgnoreBuffer){this.jumpingToLiveIgnoreBuffer=!1;return}this.timeout(),clearTimeout(this.bufferingTimer),this.bufferingTimer=setTimeout(()=>{this.countBufferingEvent()},200)}}constructor(e){this.player=e,this.playing=!1,this.enabled=!1,this.running=!1,this.inTimeout=!1,this.jumpingToLiveIgnoreBuffer=!1,this.timeoutTimer=0,this.checkTimer=0,this.bufferingCounter=0,this.bufferingTimer=0,this.playbackRate=1,this.lastJumpOccurred=null,this.startupTime=new Date,this.clockSkewMs=0,this.currentLatency=null,this.bufferedAtLatency=[],this.player.on("playing",this.handlePlaying.bind(this)),this.player.on("pause",this.handlePause.bind(this)),this.player.on("error",this.handleError.bind(this)),this.player.on("waiting",this.handleBuffering.bind(this)),this.player.on("stalled",this.handleBuffering.bind(this)),this.player.on("ended",this.handleEnded.bind(this)),this.player.on("canplaythrough",this.handlePlaying.bind(this)),this.player.on("canplay",this.handlePlaying.bind(this)),this.check=this.check.bind(this),this.start=this.start.bind(this),this.enable=this.enable.bind(this),this.countBufferingEvent=this.countBufferingEvent.bind(this)}};let k="owncast_volume",w="latencyCompensatorEnabled",C=new class{start(){this.stop(),this.timer=setInterval(()=>{!function(){try{fetch("/api/ping")}catch(e){console.error(e)}}()},4e3)}stop(){clearInterval(this.timer)}},B=null,I=null,E=!1;async function P(){let e=[];try{let t=await fetch("/api/video/variants");e=await t.json()}catch(i){console.error(i)}return e}let j=e=>{let{source:t,online:i}=e,l=s.useRef(null),[h,o]=(0,r.FV)(y.We),u=(0,r.sJ)(y.g8),d=()=>{try{l.current.volume((0,p.$o)(k)||1)}catch(e){console.warn(e)}},m=()=>{(0,p.qQ)(k,l.current.muted()?0:l.current.volume())},g=()=>{l.current.paused()?l.current.play():l.current.pause()},j=()=>{l.current.muted()||0===l.current.volume()?l.current.volume(.7):l.current.volume(0)},M=()=>{l.current.isFullscreen()?l.current.exitFullscreen():l.current.requestFullscreen()},x=e=>{let t=document.querySelector(".latency-toggle-item > .vjs-menu-item-text");t&&(t.innerHTML=e)},S=()=>{I&&I.stop(),E=!0,(I=new v(l.current)).setClockSkew(u),I.enable(),(0,p.qQ)(w,!0),x("disable minimized latency")},L=()=>{I&&I.disable(),I=null,E=!1,(0,p.qQ)(w,!1),x('enable minimized latency (experimental)')},D=()=>{E?L():S()},R=e=>{let t=e.tech({IWillNotUseThisInPlugins:!0});if(!t||!t.vhs)return;let i=(0,p.$o)(w);"true"===i&&t&&t.vhs?S():L()},N=async(e,t)=>{let i=await P(),n=T(e,t,i,D);e.controlBar.addChild(n,{},e.controlBar.children_.length-2),R(e)},J=(e,t)=>{if(window.hasOwnProperty("WebKitPlaybackTargetAvailabilityEvent")){let i=t.getComponent("Button"),n=t.extend(i,{constructor(){i.call(this,e)},handleClick(){try{let e=document.getElementsByTagName("video")[0];e.webkitShowPlaybackTargetPicker()}catch(t){console.error(t)}}}),s=e.controlBar.addChild(new n);s.addClass("vjs-airplay")}};(0,a.y1)("space",e=>{e.preventDefault(),g()}),(0,a.y1)("f",M,{enableOnContentEditable:!1}),(0,a.y1)("m",j,{enableOnContentEditable:!1}),(0,a.y1)("0",()=>l.current.volume(l.current.volume()+.1),{enableOnContentEditable:!1}),(0,a.y1)("9",()=>l.current.volume(l.current.volume()-.1),{enableOnContentEditable:!1});let O=(e,t)=>{l.current=e,d(),J(e,t),e.on("waiting",()=>{e.log("player is waiting")}),e.on("dispose",()=>{e.log("player will dispose"),C.stop()}),e.on("playing",()=>{e.log("player is playing"),C.start(),o(!0)}),e.on("pause",()=>{e.log("player is paused"),C.stop(),o(!1)}),e.on("ended",()=>{e.log("player is ended"),C.stop(),o(!1)}),t.hookOnce(),e.on("volumechange",m),(B=new b(e,t)).setClockSkew(u),N(e,t)};return(0,s.useEffect)(()=>{B&&B.setClockSkew(u)},[u]),(0,s.useEffect)(()=>()=>{L(),B.stop()},[]),(0,n.jsxs)("div",{style:{display:"grid"},children:[i&&(0,n.jsx)("div",{style:{gridColumn:1,gridRow:1},children:(0,n.jsx)(c,{options:{autoplay:!1,controls:!0,responsive:!0,fluid:!1,playsinline:!0,liveui:!0,preload:"auto",controlBar:{progressControl:{seekBar:!1}},html5:{vhs:{enableLowInitialPlaylist:!0,experimentalBufferBasedABR:!0,useNetworkInformationApi:!0,maxPlaylistRetries:30}},liveTracker:{trackingThreshold:0,liveTolerance:15},sources:[{src:t,type:"application/x-mpegURL"}]},onReady:O})}),(0,n.jsx)("div",{style:{gridColumn:1,gridRow:1},children:!h&&(0,n.jsx)(f,{online:i,initialSrc:"/thumbnail.jpg",src:"/thumbnail.jpg"})})]})};var M=j},76161:function(e){e.exports={player:"VideoJS_player__GT8FN",poster:"VideoJS_poster__nlmqm"}},70034:function(e){e.exports={poster:"VideoPoster_poster__RDkSk"}},25893:function(){}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/228.bc5481d984af6895.js b/static/web/_next/static/chunks/228.bc5481d984af6895.js deleted file mode 100644 index e9caa80dc..000000000 --- a/static/web/_next/static/chunks/228.bc5481d984af6895.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[228],{10228:function(t,e,n){n.r(e),n.d(e,{q:function(){return p}});var r,o=new RegExp("^("+["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"].join("|")+")$"),i=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function s(t,e){var n=t.sol(),a=t.next();if(r=null,n){if("/"==a)return(e.tokenize=c)(t,e);if("\\"==a)return t.eol()||/\s/.test(t.peek())?(t.skipToEnd(),/^\\\s*$/.test(t.current())?(e.tokenize=l)(t):e.tokenize=s,"comment"):(e.tokenize=s,"builtin")}if(/\s/.test(a))return"/"==t.peek()?(t.skipToEnd(),"comment"):"null";if('"'==a)return(e.tokenize=u)(t,e);if("`"==a)return t.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if("."==a&&/\d/.test(t.peek())||/\d/.test(a)){var d=null;return t.backUp(1),t.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||t.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||t.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||t.match(/^\d+[ptuv]{1}/)?d="temporal":(t.match(/^0[NwW]{1}/)||t.match(/^0x[\da-fA-F]*/)||t.match(/^[01]+[b]{1}/)||t.match(/^\d+[chijn]{1}/)||t.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(d="number"),!d||(a=t.peek())&&!i.test(a)?(t.next(),"error"):d}return/[A-Za-z]|\./.test(a)?(t.eatWhile(/[A-Za-z._\d]/),o.test(t.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(a)||/[{}\(\[\]\)]/.test(a)?null:"error"}function c(t,e){return t.skipToEnd(),/\/\s*$/.test(t.current())?(e.tokenize=a)(t,e):e.tokenize=s,"comment"}function a(t,e){var n=t.sol()&&"\\"==t.peek();return t.skipToEnd(),n&&/^\\\s*$/.test(t.current())&&(e.tokenize=s),"comment"}function l(t){return t.skipToEnd(),"comment"}function u(t,e){for(var n,r=!1,o=!1;n=t.next();){if('"'==n&&!r){o=!0;break}r=!r&&"\\"==n}return o&&(e.tokenize=s),"string"}function d(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function m(t){t.indent=t.context.indent,t.context=t.context.prev}const p={name:"q",startState:function(){return{tokenize:s,context:null,indent:0,col:0}},token:function(t,e){t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation());var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==r)d(e,")",t.column());else if("["==r)d(e,"]",t.column());else if("{"==r)d(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"==e.context.type;)m(e);e.context&&r==e.context.type&&m(e)}else"."==r&&e.context&&"pattern"==e.context.type?m(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?d(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var r=e&&e.charAt(0),o=t.context;if(/[\]\}]/.test(r))for(;o&&"pattern"==o.type;)o=o.prev;var i=o&&r==o.type;return o?"pattern"==o.type?o.col:o.align?o.col+(i?0:1):o.indent+(i?0:n.unit):0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/228.bcd421992bab4a0b.js b/static/web/_next/static/chunks/228.bcd421992bab4a0b.js new file mode 100644 index 000000000..eca9982b8 --- /dev/null +++ b/static/web/_next/static/chunks/228.bcd421992bab4a0b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[228],{10228:function(t,e,n){n.r(e),n.d(e,{q:function(){return p}});var r,o=RegExp("^(abs|acos|aj|aj0|all|and|any|asc|asin|asof|atan|attr|avg|avgs|bin|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|each|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|idesc|if|ij|in|insert|inter|inv|key|keys|last|like|list|lj|load|log|lower|lsq|ltime|ltrim|mavg|max|maxs|mcount|md5|mdev|med|meta|min|mins|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prd|prds|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reverse|rload|rotate|rsave|rtrim|save|scan|select|set|setenv|show|signum|sin|sqrt|ss|ssr|string|sublist|sum|sums|sv|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|view|views|vs|wavg|where|where|while|within|wj|wj1|wsum|xasc|xbar|xcol|xcols|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)$"),i=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function s(t,e){var n=t.sol(),a=t.next();if(r=null,n){if("/"==a)return(e.tokenize=c)(t,e);if("\\"==a)return t.eol()||/\s/.test(t.peek())?(t.skipToEnd(),/^\\\s*$/.test(t.current())?(e.tokenize=l)(t):e.tokenize=s,"comment"):(e.tokenize=s,"builtin")}if(/\s/.test(a))return"/"==t.peek()?(t.skipToEnd(),"comment"):"null";if('"'==a)return(e.tokenize=u)(t,e);if("`"==a)return t.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if("."==a&&/\d/.test(t.peek())||/\d/.test(a)){var d=null;return t.backUp(1),t.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||t.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||t.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||t.match(/^\d+[ptuv]{1}/)?d="temporal":(t.match(/^0[NwW]{1}/)||t.match(/^0x[\da-fA-F]*/)||t.match(/^[01]+[b]{1}/)||t.match(/^\d+[chijn]{1}/)||t.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(d="number"),d&&(!(a=t.peek())||i.test(a))?d:(t.next(),"error")}return/[A-Za-z]|\./.test(a)?(t.eatWhile(/[A-Za-z._\d]/),o.test(t.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(a)||/[{}\(\[\]\)]/.test(a)?null:"error"}function c(t,e){return t.skipToEnd(),/\/\s*$/.test(t.current())?(e.tokenize=a)(t,e):e.tokenize=s,"comment"}function a(t,e){var n=t.sol()&&"\\"==t.peek();return t.skipToEnd(),n&&/^\\\s*$/.test(t.current())&&(e.tokenize=s),"comment"}function l(t){return t.skipToEnd(),"comment"}function u(t,e){for(var n,r=!1,o=!1;n=t.next();){if('"'==n&&!r){o=!0;break}r=!r&&"\\"==n}return o&&(e.tokenize=s),"string"}function d(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function m(t){t.indent=t.context.indent,t.context=t.context.prev}let p={name:"q",startState:function(){return{tokenize:s,context:null,indent:0,col:0}},token:function(t,e){t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation());var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==r)d(e,")",t.column());else if("["==r)d(e,"]",t.column());else if("{"==r)d(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"==e.context.type;)m(e);e.context&&r==e.context.type&&m(e)}else"."==r&&e.context&&"pattern"==e.context.type?m(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?d(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var r=e&&e.charAt(0),o=t.context;if(/[\]\}]/.test(r))for(;o&&"pattern"==o.type;)o=o.prev;var i=o&&r==o.type;return o?"pattern"==o.type?o.col:o.align?o.col+(i?0:1):o.indent+(i?0:n.unit):0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2314.53a2a0396001f207.js b/static/web/_next/static/chunks/2314.53a2a0396001f207.js deleted file mode 100644 index 29ca09cb6..000000000 --- a/static/web/_next/static/chunks/2314.53a2a0396001f207.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2314],{22314:function(e,t,r){function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}r.r(t),r.d(t,{idl:function(){return d}});var a=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],_=i(a),o=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],l=i(o),s=new RegExp("^[_a-z\xa1-\uffff][_a-z0-9\xa1-\uffff]*","i"),n=/[+\-*&=<>\/@#~$]/,c=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");const d={name:"idl",token:function(e){return function(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(l)?"keyword":e.match(_)?"builtin":e.match(s)?"variable":e.match(n)||e.match(c)?"operator":(e.next(),null)}(e)},languageData:{autocomplete:a.concat(o)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2314.ce3a0e1828ad2d06.js b/static/web/_next/static/chunks/2314.ce3a0e1828ad2d06.js new file mode 100644 index 000000000..a20e50a51 --- /dev/null +++ b/static/web/_next/static/chunks/2314.ce3a0e1828ad2d06.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2314],{22314:function(e,t,r){function i(e){return RegExp("^(("+e.join(")|(")+"))\\b","i")}r.r(t),r.d(t,{idl:function(){return d}});var a=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],_=i(a),o=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],l=i(o),s=RegExp("^[_a-z\xa1-￿][_a-z0-9\xa1-￿]*","i"),n=/[+\-*&=<>\/@#~$]/,c=RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");let d={name:"idl",token:function(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(l)?"keyword":e.match(_)?"builtin":e.match(s)?"variable":e.match(n)||e.match(c)?"operator":(e.next(),null)},languageData:{autocomplete:a.concat(o)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2365.46a4a8af0452b858.js b/static/web/_next/static/chunks/2365.46a4a8af0452b858.js deleted file mode 100644 index 60573d997..000000000 --- a/static/web/_next/static/chunks/2365.46a4a8af0452b858.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2365],{26303:function(e,t,a){"use strict";a.d(t,{Z:function(){return k}});var n=a(4942),c=a(87462),l=a(71002),r=a(94184),i=a.n(r),s=a(67294),o=a(53124),u=a(98423),d=function(e){var t,a,l=e.prefixCls,r=e.className,o=e.style,u=e.size,d=e.shape,m=i()((t={},(0,n.Z)(t,"".concat(l,"-lg"),"large"===u),(0,n.Z)(t,"".concat(l,"-sm"),"small"===u),t)),f=i()((a={},(0,n.Z)(a,"".concat(l,"-circle"),"circle"===d),(0,n.Z)(a,"".concat(l,"-square"),"square"===d),(0,n.Z)(a,"".concat(l,"-round"),"round"===d),a)),v=s.useMemo((function(){return"number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}}),[u]);return s.createElement("span",{className:i()(l,m,f,r),style:(0,c.Z)((0,c.Z)({},v),o)})},m=function(e){var t=e.prefixCls,a=e.className,l=e.active,r=e.shape,m=void 0===r?"circle":r,f=e.size,v=void 0===f?"default":f,p=(0,s.useContext(o.E_).getPrefixCls)("skeleton",t),h=(0,u.Z)(e,["prefixCls","className"]),x=i()(p,"".concat(p,"-element"),(0,n.Z)({},"".concat(p,"-active"),l),a);return s.createElement("div",{className:x},s.createElement(d,(0,c.Z)({prefixCls:"".concat(p,"-avatar"),shape:m,size:v},h)))},f=function(e){var t,a=e.prefixCls,l=e.className,r=e.active,m=e.block,f=void 0!==m&&m,v=e.size,p=void 0===v?"default":v,h=(0,s.useContext(o.E_).getPrefixCls)("skeleton",a),x=(0,u.Z)(e,["prefixCls"]),Z=i()(h,"".concat(h,"-element"),(t={},(0,n.Z)(t,"".concat(h,"-active"),r),(0,n.Z)(t,"".concat(h,"-block"),f),t),l);return s.createElement("div",{className:Z},s.createElement(d,(0,c.Z)({prefixCls:"".concat(h,"-button"),size:p},x)))},v=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=a(42135),x=function(e,t){return s.createElement(h.Z,(0,v.Z)((0,v.Z)({},e),{},{ref:t,icon:p}))};x.displayName="DotChartOutlined";var Z=s.forwardRef(x),g=function(e){var t=e.prefixCls,a=e.className,c=e.style,l=e.active,r=e.children,u=(0,s.useContext(o.E_).getPrefixCls)("skeleton",t),d=i()(u,"".concat(u,"-element"),(0,n.Z)({},"".concat(u,"-active"),l),a),m=null!==r&&void 0!==r?r:s.createElement(Z,null);return s.createElement("div",{className:d},s.createElement("div",{className:i()("".concat(u,"-image"),a),style:c},m))},N=function(e){var t=e.prefixCls,a=e.className,c=e.style,l=e.active,r=(0,s.useContext(o.E_).getPrefixCls)("skeleton",t),u=i()(r,"".concat(r,"-element"),(0,n.Z)({},"".concat(r,"-active"),l),a);return s.createElement("div",{className:u},s.createElement("div",{className:i()("".concat(r,"-image"),a),style:c},s.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(r,"-image-svg")},s.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(r,"-image-path")}))))},C=function(e){var t,a=e.prefixCls,l=e.className,r=e.active,m=e.block,f=e.size,v=void 0===f?"default":f,p=(0,s.useContext(o.E_).getPrefixCls)("skeleton",a),h=(0,u.Z)(e,["prefixCls"]),x=i()(p,"".concat(p,"-element"),(t={},(0,n.Z)(t,"".concat(p,"-active"),r),(0,n.Z)(t,"".concat(p,"-block"),m),t),l);return s.createElement("div",{className:x},s.createElement(d,(0,c.Z)({prefixCls:"".concat(p,"-input"),size:v},h)))},E=a(74902),y=function(e){var t=function(t){var a=e.width,n=e.rows,c=void 0===n?2:n;return Array.isArray(a)?a[t]:c-1===t?a:void 0},a=e.prefixCls,n=e.className,c=e.style,l=e.rows,r=(0,E.Z)(Array(l)).map((function(e,a){return s.createElement("li",{key:a,style:{width:t(a)}})}));return s.createElement("ul",{className:i()(a,n),style:c},r)},w=function(e){var t=e.prefixCls,a=e.className,n=e.width,l=e.style;return s.createElement("h3",{className:i()(t,a),style:(0,c.Z)({width:n},l)})};function b(e){return e&&"object"===(0,l.Z)(e)?e:{}}var z=function(e){var t=e.prefixCls,a=e.loading,l=e.className,r=e.style,u=e.children,m=e.avatar,f=void 0!==m&&m,v=e.title,p=void 0===v||v,h=e.paragraph,x=void 0===h||h,Z=e.active,g=e.round,N=s.useContext(o.E_),C=N.getPrefixCls,E=N.direction,z=C("skeleton",t);if(a||!("loading"in e)){var k,_,O,P=!!f,j=!!p,q=!!x;if(P){var M=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(j,q)),b(f));_=s.createElement("div",{className:"".concat(z,"-header")},s.createElement(d,(0,c.Z)({},M)))}if(j||q){var S,I;if(j){var A=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(P,q)),b(p));S=s.createElement(w,(0,c.Z)({},A))}if(q){var B=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-paragraph")},function(e,t){var a={};return e&&t||(a.width="61%"),a.rows=!e&&t?3:2,a}(P,j)),b(x));I=s.createElement(y,(0,c.Z)({},B))}O=s.createElement("div",{className:"".concat(z,"-content")},S,I)}var H=i()(z,(k={},(0,n.Z)(k,"".concat(z,"-with-avatar"),P),(0,n.Z)(k,"".concat(z,"-active"),Z),(0,n.Z)(k,"".concat(z,"-rtl"),"rtl"===E),(0,n.Z)(k,"".concat(z,"-round"),g),k),l);return s.createElement("div",{className:H,style:r},_,O)}return"undefined"!==typeof u?u:null};z.Button=f,z.Avatar=m,z.Input=C,z.Image=N,z.Node=g;var k=z},11382:function(e,t,a){"use strict";var n=a(87462),c=a(4942),l=a(97685),r=a(94184),i=a.n(r),s=a(23279),o=a.n(s),u=a(98423),d=a(67294),m=a(53124),f=a(96159),v=a(93355),p=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c=1){var n=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(n," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}(C)),E=(0,r.useState)(m),T=E[0],O=E[1],U=[];return c&&U.push((0,a.jsx)(k,{badge:"mod",userColor:M},"mod")),l&&U.push((0,a.jsx)(k,{badge:(0,a.jsx)(f.Z,{title:"authenticated"}),userColor:M},"auth")),(0,r.useEffect)((function(){O(h().decode(m))}),[t]),(0,a.jsx)("div",{className:g()(j().messagePadding,i&&j().messagePaddingCollapsed),children:(0,a.jsxs)("div",{className:g()(j().root,(0,u.Z)({},j().ownMessage,o)),style:{borderColor:S},children:[!i&&(0,a.jsx)(p.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,a.jsxs)("div",{className:j().user,style:{color:S},children:[(0,a.jsx)("span",{className:j().userName,children:N}),(0,a.jsx)("span",{children:U})]})}),(0,a.jsx)(p.Z,{title:w,mouseEnterDelay:1,children:(0,a.jsx)(D,{search:n,children:(0,a.jsx)("div",{className:j().message,dangerouslySetInnerHTML:{__html:T}})})}),s&&(0,a.jsx)("div",{className:j().modMenuWrapper,children:(0,a.jsx)(B,{messageID:d,accessToken:b,userID:v,userDisplayName:N})}),(0,a.jsx)("div",{className:j().background,style:{color:S}})]})})},U=n(26042),I=n(69396),F=n(828),H=n(93045),L=n(27496),R=n(55241),Z=n(77493),P=n(96391),W=n(25882),G=n.n(W),V=C()((function(){return Promise.all([n.e(7741),n.e(786)]).then(n.bind(n,30786)).then((function(e){return e.EmojiPicker}))}),{loadableGenerated:{webpack:function(){return[30786]}}}),Y=function(e){var t=e.attributes,n=e.element,s=e.children,r=(0,P.vt)(),o=(0,P.UE)();return(0,a.jsxs)("span",(0,I.Z)((0,U.Z)({},t),{contentEditable:!1,children:[(0,a.jsx)("img",{alt:n.alt,src:n.src,title:n.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(r&&o?"0 0 0 3px #B4D5FF":"none")}}),s]}))},J=function(e){var t,n;if(Z.xv.isText(e))return e.text;0===e.children.length?t=[{text:""}]:t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return J(e)})).join("");switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},X=function(e){if(Z.xv.isText(e))return e.text.length;if("image"===e.type)return 5;var t=0;return e.children.forEach((function(e){t+=X(e)})),t},z=function(e){var t=e.defaultText,n=(0,r.useState)(!1),s=n[0],o=n[1],c=(0,r.useState)(null===t||void 0===t?void 0:t.length),l=c[0],u=c[1],d=(0,x.sJ)(A.Gt),h=(0,r.useMemo)((function(){return(0,P.BU)(function(e){var t=e.isVoid;return e.isVoid=function(e){return"image"===e.type||t(e)},e.isInline=function(e){return"image"===e.type},e}((0,Z.Jh)()))}),[]),m=[{type:"paragraph",children:[{text:t||""}]}],p=function(){if(d){var e=J(h);d.send({type:i.C.CHAT,body:e}),Z.YR.delete(h,{at:{anchor:Z.ML.start(h,[]),focus:Z.ML.end(h,[])}}),u(0)}else console.log("websocketService is not defined")};return(0,a.jsx)("div",{className:G().root,children:(0,a.jsxs)("div",{className:g()(G().inputWrap,l>=300&&G().maxCharacters),children:[(0,a.jsxs)(P.mH,{editor:h,value:m,children:[(0,a.jsx)(P.CX,{onKeyDown:function(e){var t=X(h)+1;if("Enter"===e.key)return e.preventDefault(),void p();"Backspace"!==e.key?(t+1>300&&e.preventDefault(),u(t+1)):u(t-1)},onPaste:function(e){var t=e.clipboardData.getData("text/plain").length;l+t>300&&e.preventDefault()},renderElement:function(e){return"image"===e.element.type?(0,a.jsx)(Y,(0,U.Z)({},e)):(0,a.jsx)("p",(0,U.Z)({},e))},placeholder:"Send a message to chat",style:{width:"100%"},autoFocus:!0}),(0,a.jsx)(R.Z,{content:(0,a.jsx)(V,{onEmojiSelect:function(e){P.F3.focus(h),Z.YR.insertText(h,e)},onCustomEmojiSelect:function(e,t){P.F3.focus(h),function(e,t){if(e){var n=h.selection,a=function(e,t,n){return{type:"image",alt:e,src:t,name:n,children:[{text:""}]}}(t,e,t);if(Z.YR.insertNodes(h,a,{select:!0}),n){var s,r=(0,F.Z)(Z.ML.parent(h,null===(s=n.focus)||void 0===s?void 0:s.path),2),o=r[0],i=r[1];h.isVoid(o)||Z.NB.string(o).length?Z.YR.insertNodes(h,a,{at:Z.y$.next(i),select:!0}):(Z.YR.insertNodes(h,a,{at:i,select:!0}),Z.ML.normalize(h,{force:!0}))}else Z.YR.insertNodes(h,a,{select:!0})}}(t,e)}}),trigger:"click",onOpenChange:function(e){return o(e)},open:s})]}),(0,a.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,a.jsx)("button",{type:"button",className:G().emojiButton,title:"Emoji picker button",onClick:function(){return o(!s)},children:(0,a.jsx)(H.Z,{})}),(0,a.jsx)("button",{type:"button",className:G().sendButton,title:"Send message Button",onClick:p,children:(0,a.jsx)(L.Z,{})})]})]})})},q=n(93174),K=n.n(q);function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t12e4)&&a===(null===s||void 0===s?void 0:s.user.id)}function fe(e){var t=e.user.scopes;return!(!t||0===t.length)&&t.includes("MODERATOR")}var xe=function(e){var t=e.messages,n=e.usernameToHighlight,c=e.chatUserId,u=e.isModerator,d=e.showInput,h=e.height,m=(0,r.useState)(!1),g=m[0],p=m[1],f=(0,r.useRef)(null),x=function(e,s){switch(s.type){case i.C.CHAT:var r,d,h;return(0,a.jsx)(O,{message:s,showModeratorMenu:u,highlightString:n,sentBySelf:(null===(r=s.user)||void 0===r?void 0:r.id)===c,sameUserAsLast:pe(t,e),isAuthorModerator:null===(d=s.user.scopes)||void 0===d?void 0:d.includes("MODERATOR"),isAuthorAuthenticated:null===(h=s.user)||void 0===h?void 0:h.authenticated},s.id);case i.C.NAME_CHANGE:return function(e){var t=e.oldName,n=e.user,s=n.displayName,r=n.displayColor,i="var(--theme-color-users-".concat(r,")");return(0,a.jsxs)("div",{className:l().nameChangeView,children:[(0,a.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,a.jsx)(o.Z,{})}),(0,a.jsxs)("div",{className:l().nameChangeText,children:[(0,a.jsx)("span",{style:{color:i},children:t}),(0,a.jsx)("span",{className:l().plain,children:" is now known as "}),(0,a.jsx)("span",{style:{color:i},children:s})]})]})}(s);case i.C.CONNECTED_USER_INFO:return function(e){if(!fe(e))return(0,a.jsx)("div",{style:{width:"1px",height:"1px"}});return(0,a.jsx)(ee,{})}(s);case i.C.USER_JOINED:return function(e){var t=e.user,n=t.displayName,s=t.displayColor,r=fe(e);return(0,a.jsx)(ce,{displayName:n,userColor:s,isAuthorModerator:r})}(s);case i.C.CHAT_ACTION:return function(e){var t=e.body;return(0,a.jsx)(ge,{body:t})}(s);case i.C.SYSTEM:return(0,a.jsx)(se,{message:s,highlightString:n},s.id);default:return null}},_=(0,r.useMemo)((function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.OO,{style:{height:h},className:l().virtuoso,ref:f,initialTopMostItemIndex:t.length-1,data:t,itemContent:function(e,t){return x(e,t)},followOutput:"auto",alignToBottom:!0,atBottomStateChange:function(e){return p(e)}}),!g&&(0,a.jsx)(de,{chatContainerRef:f,messages:t})]})}),[t,n,c,u,g]);return(0,a.jsxs)("div",{className:l().chatContainer,children:[_,d&&(0,a.jsx)(z,{})]})};xe.defaultProps={showInput:!0,height:"auto"}},33196:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},13545:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},83066:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93174:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},31681:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},25882:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},79010:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},78583:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2386.4cae8b3c19475466.js b/static/web/_next/static/chunks/2386.4cae8b3c19475466.js new file mode 100644 index 000000000..56dcd18f0 --- /dev/null +++ b/static/web/_next/static/chunks/2386.4cae8b3c19475466.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2386],{12386:function(O,$,Q){Q.r($),Q.d($,{php:function(){return u},phpLanguage:function(){return V}});var i=Q(53105),y=Q(35524);let a={abstract:4,and:5,array:6,as:7,true:8,false:8,break:9,case:10,catch:11,clone:12,const:13,continue:14,declare:16,default:15,do:17,echo:18,else:19,elseif:20,enddeclare:21,endfor:22,endforeach:23,endif:24,endswitch:25,endwhile:26,enum:27,extends:28,final:29,finally:30,fn:31,for:32,foreach:33,from:34,function:35,global:36,goto:37,if:38,implements:39,include:40,include_once:41,instanceof:42,insteadof:43,interface:44,list:45,match:46,namespace:47,new:48,null:49,or:50,print:51,require:52,require_once:53,return:54,switch:55,throw:56,trait:57,try:58,unset:59,use:60,var:61,public:62,private:62,protected:62,while:63,xor:64,yield:65,__proto__:null};function S(O){return 9==O||10==O||13==O||32==O}function z(O){return O>=97&&O<=122||O>=65&&O<=90}function P(O){return 95==O||O>=128||z(O)}function t(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}let T={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},W=new i.Jq(O=>{if(40==O.next){O.advance();let $=0;for(;S(O.peek($));)$++;let Q="",i;for(;z(i=O.peek($));)Q+=String.fromCharCode(i),$++;for(;S(O.peek($));)$++;41==O.peek($)&&T[Q.toLowerCase()]&&O.acceptToken(1)}else if(60==O.next&&60==O.peek(1)&&60==O.peek(2)){for(let y=0;y<3;y++)O.advance();for(;32==O.next||9==O.next;)O.advance();let a=39==O.next;if(a&&O.advance(),!P(O.next))return;let t=String.fromCharCode(O.next);for(;O.advance(),P(O.next)||O.next>=48&&O.next<=55;)t+=String.fromCharCode(O.next);if(a){if(39!=O.next)return;O.advance()}if(10!=O.next&&13!=O.next)return;for(;;){let W=10==O.next||13==O.next;if(O.advance(),O.next<0)return;if(W){for(;32==O.next||9==O.next;)O.advance();let e=!0;for(let n=0;n{O.next<0&&O.acceptToken(266)}),n=new i.Jq((O,$)=>{63==O.next&&$.canShift(265)&&62==O.peek(1)&&O.acceptToken(265)}),s=new i.Jq((O,$)=>{let Q=!1;for(;!(34==O.next||O.next<0||36==O.next&&(P(O.peek(1))||123==O.peek(1)))&&(123!=O.next||36!=O.peek(1));Q=!0){if(92==O.next){let i=function(O){let $=O.peek(1);if(110==$||114==$||116==$||118==$||101==$||102==$||92==$||36==$||34==$||123==$)return 2;if($>=48&&$<=55){let Q=2,i;for(;Q<5&&(i=O.peek(Q))>=48&&i<=55;)Q++;return Q}if(120==$&&t(O.peek(2)))return t(O.peek(3))?4:3;if(117==$&&123==O.peek(2))for(let y=3;;y++){let a=O.peek(y);if(125==a)return 2==y?0:y+1;if(!t(a))break}return 0}(O);if(i){if(!Q)return O.acceptToken(3,i);break}}else if(!Q&&(91==O.next||45==O.next&&62==O.peek(1)&&P(O.peek(2))||63==O.next&&45==O.peek(1)&&62==O.peek(2)&&P(O.peek(3)))&&$.canShift(264))break;O.advance()}Q&&O.acceptToken(263)}),q=(0,y.Gv)({"Visibility abstract final static":y.pJ.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":y.pJ.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":y.pJ.controlKeyword,"and or xor yield unset clone instanceof insteadof":y.pJ.operatorKeyword,"function fn class trait implements extends const enum global interface use var":y.pJ.definitionKeyword,"include include_once require require_once namespace":y.pJ.moduleKeyword,"new from echo print array list as":y.pJ.keyword,null:y.pJ.null,Boolean:y.pJ.bool,VariableName:y.pJ.variableName,"NamespaceName/...":y.pJ.namespace,"NamedType/...":y.pJ.typeName,Name:y.pJ.name,"CallExpression/Name":y.pJ.function(y.pJ.variableName),"LabelStatement/Name":y.pJ.labelName,"MemberExpression/Name":y.pJ.propertyName,"MemberExpression/VariableName":y.pJ.special(y.pJ.propertyName),"ScopedExpression/ClassMemberName/Name":y.pJ.propertyName,"ScopedExpression/ClassMemberName/VariableName":y.pJ.special(y.pJ.propertyName),"CallExpression/MemberExpression/Name":y.pJ.function(y.pJ.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":y.pJ.function(y.pJ.propertyName),"MethodDeclaration/Name":y.pJ.function(y.pJ.definition(y.pJ.variableName)),"FunctionDefinition/Name":y.pJ.function(y.pJ.definition(y.pJ.variableName)),"ClassDeclaration/Name":y.pJ.definition(y.pJ.className),UpdateOp:y.pJ.updateOperator,ArithOp:y.pJ.arithmeticOperator,LogicOp:y.pJ.logicOperator,BitOp:y.pJ.bitwiseOperator,CompareOp:y.pJ.compareOperator,ControlOp:y.pJ.controlOperator,AssignOp:y.pJ.definitionOperator,"$ ConcatOp":y.pJ.operator,LineComment:y.pJ.lineComment,BlockComment:y.pJ.blockComment,Integer:y.pJ.integer,Float:y.pJ.float,String:y.pJ.string,ShellExpression:y.pJ.special(y.pJ.string),"=> ->":y.pJ.punctuation,"( )":y.pJ.paren,"#[ [ ]":y.pJ.squareBracket,"${ { }":y.pJ.brace,"-> ?->":y.pJ.derefOperator,", ; :: : \\":y.pJ.separator,"PhpOpen PhpClose":y.pJ.processingInstruction}),X={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},d=i.WQ.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#Gn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6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[q],skippedNodes:[0],repeatNodeCount:29,tokenData:"!5h_R!ZOX$tXY%nYZ&}Z]$t]^%n^p$tpq%nqr(]rs)wst*atu/nuv2_vw3`wx4gxy8Oyz8fz{8|{|:W|};_}!O;u!O!P=R!P!QBl!Q!RFr!R![Hn![!]Nz!]!^!!O!^!_!!f!_!`!%R!`!a!&V!a!b!'Z!b!c!*T!c!d!*k!d!e!+q!e!}!*k!}#O!-k#O#P!.R#P#Q!.i#Q#R!/P#R#S!*k#S#T!/j#T#U!*k#U#V!+q#V#o!*k#o#p!2y#p#q!3a#q#r!4j#r#s!5Q#s$f$t$f$g%n$g&j!*k&j$I_$t$I_$I`%n$I`$KW$t$KW$KX%n$KX?HT$t?HT?HU%n?HU~$tP$yT&wPOY$tYZ%YZ!^$t!^!_%_!_~$tP%_O&wPP%bSOY$tYZ%YZ!a$t!b~$tV%ub&wP&vUOX$tXY%nYZ&}Z]$t]^%n^p$tpq%nq!^$t!^!_%_!_$f$t$f$g%n$g$I_$t$I_$I`%n$I`$KW$t$KW$KX%n$KX?HT$t?HT?HU%n?HU~$tV'UW&wP&vUXY'nYZ'n]^'npq'n$f$g'n$I_$I`'n$KW$KX'n?HT?HU'nU'sW&vUXY'nYZ'n]^'npq'n$f$g'n$I_$I`'n$KW$KX'n?HT?HU'nR(dU$^Q&w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$t!^!_%_!_~$tR!/WU$OQ&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`~$tR!/oX&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!0aT&wPO#O!0p#O#P!1S#P#S!0p#S#T!1Y#T~!0pQ!0sTO#O!0p#O#P!1S#P#S!0p#S#T!1Y#T~!0pQ!1VPO~!0pQ!1_O${QR!1bXOY!/jYZ!0[Z!a!/j!a!b!0p!b#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!2ST&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_~!/jR!2jT${Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3QT!oU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3jW#}Q#lS&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`#p$t#p#q!4S#q~$tR!4ZT#{Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!4qT!nQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!5XT$^Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$t",tokenizers:[W,s,n,0,1,2,3,e],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get(O,$){let Q;return(null==(Q=a[O.toLowerCase()])?-1:Q)<<1}},{term:81,get:O=>X[O]||-1}],tokenPrec:29354});var o=Q(41113),x=Q(13804),R=Q(59119);let V=R.qp.define({name:"php",parser:d.configure({props:[R.uj.add({IfStatement:(0,R.tC)({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:(0,R.tC)({except:/^\s*({|catch\b|finally\b)/}),SwitchBody(O){let $=O.textAfter,Q=/^\s*\}/.test($),i=/^\s*(case|default)\b/.test($);return O.baseIndent+(Q?0:i?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":(0,R.vw)({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:(0,R.tC)({except:/^({|end(for|foreach|switch|while)\b)/})}),R.x0.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":R.Dv,ColonBlock:O=>({from:O.from+1,to:O.to}),BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function u(O={}){let $=[],Q;if(null===O.baseLanguage);else if(O.baseLanguage)Q=O.baseLanguage;else{let i=(0,x.html)({matchClosingTags:!1});$.push(i.support),Q=i.language}return new R.ri(V.configure({wrap:Q&&(0,o.FE)(O=>O.type.isTop?{parser:Q.parser,overlay:O=>"Text"==O.name}:null),top:O.plain?"Program":"Template"}),$)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2386.697e0dc240e1b33f.js b/static/web/_next/static/chunks/2386.697e0dc240e1b33f.js deleted file mode 100644 index 598c2f6de..000000000 --- a/static/web/_next/static/chunks/2386.697e0dc240e1b33f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2386],{12386:function(O,$,Q){Q.r($),Q.d($,{php:function(){return p},phpLanguage:function(){return u}});var i=Q(53105),y=Q(35524);const a={abstract:4,and:5,array:6,as:7,true:8,false:8,break:9,case:10,catch:11,clone:12,const:13,continue:14,declare:16,default:15,do:17,echo:18,else:19,elseif:20,enddeclare:21,endfor:22,endforeach:23,endif:24,endswitch:25,endwhile:26,enum:27,extends:28,final:29,finally:30,fn:31,for:32,foreach:33,from:34,function:35,global:36,goto:37,if:38,implements:39,include:40,include_once:41,instanceof:42,insteadof:43,interface:44,list:45,match:46,namespace:47,new:48,null:49,or:50,print:51,require:52,require_once:53,return:54,switch:55,throw:56,trait:57,try:58,unset:59,use:60,var:61,public:62,private:62,protected:62,while:63,xor:64,yield:65,__proto__:null};function S(O){return 9==O||10==O||13==O||32==O}function z(O){return O>=97&&O<=122||O>=65&&O<=90}function P(O){return 95==O||O>=128||z(O)}function t(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const T={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},W=new i.Jq((O=>{if(40==O.next){O.advance();let $=0;for(;S(O.peek($));)$++;let Q,i="";for(;z(Q=O.peek($));)i+=String.fromCharCode(Q),$++;for(;S(O.peek($));)$++;41==O.peek($)&&T[i.toLowerCase()]&&O.acceptToken(1)}else if(60==O.next&&60==O.peek(1)&&60==O.peek(2)){for(let i=0;i<3;i++)O.advance();for(;32==O.next||9==O.next;)O.advance();let $=39==O.next;if($&&O.advance(),!P(O.next))return;let Q=String.fromCharCode(O.next);for(;O.advance(),P(O.next)||O.next>=48&&O.next<=55;)Q+=String.fromCharCode(O.next);if($){if(39!=O.next)return;O.advance()}if(10!=O.next&&13!=O.next)return;for(;;){let $=10==O.next||13==O.next;if(O.advance(),O.next<0)return;if($){for(;32==O.next||9==O.next;)O.advance();let $=!0;for(let i=0;i{O.next<0&&O.acceptToken(266)})),n=new i.Jq(((O,$)=>{63==O.next&&$.canShift(265)&&62==O.peek(1)&&O.acceptToken(265)}));function s(O){let $=O.peek(1);if(110==$||114==$||116==$||118==$||101==$||102==$||92==$||36==$||34==$||123==$)return 2;if($>=48&&$<=55){let $,Q=2;for(;Q<5&&($=O.peek(Q))>=48&&$<=55;)Q++;return Q}if(120==$&&t(O.peek(2)))return t(O.peek(3))?4:3;if(117==$&&123==O.peek(2))for(let Q=3;;Q++){let $=O.peek(Q);if(125==$)return 2==Q?0:Q+1;if(!t($))break}return 0}const q=new i.Jq(((O,$)=>{let Q=!1;for(;!(34==O.next||O.next<0||36==O.next&&(P(O.peek(1))||123==O.peek(1))||123==O.next&&36==O.peek(1));Q=!0){if(92==O.next){let $=s(O);if($){if(Q)break;return O.acceptToken(3,$)}}else if(!Q&&(91==O.next||45==O.next&&62==O.peek(1)&&P(O.peek(2))||63==O.next&&45==O.peek(1)&&62==O.peek(2)&&P(O.peek(3)))&&$.canShift(264))break;O.advance()}Q&&O.acceptToken(263)})),X=(0,y.Gv)({"Visibility abstract final static":y.pJ.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":y.pJ.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":y.pJ.controlKeyword,"and or xor yield unset clone instanceof insteadof":y.pJ.operatorKeyword,"function fn class trait implements extends const enum global interface use var":y.pJ.definitionKeyword,"include include_once require require_once namespace":y.pJ.moduleKeyword,"new from echo print array list as":y.pJ.keyword,null:y.pJ.null,Boolean:y.pJ.bool,VariableName:y.pJ.variableName,"NamespaceName/...":y.pJ.namespace,"NamedType/...":y.pJ.typeName,Name:y.pJ.name,"CallExpression/Name":y.pJ.function(y.pJ.variableName),"LabelStatement/Name":y.pJ.labelName,"MemberExpression/Name":y.pJ.propertyName,"MemberExpression/VariableName":y.pJ.special(y.pJ.propertyName),"ScopedExpression/ClassMemberName/Name":y.pJ.propertyName,"ScopedExpression/ClassMemberName/VariableName":y.pJ.special(y.pJ.propertyName),"CallExpression/MemberExpression/Name":y.pJ.function(y.pJ.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":y.pJ.function(y.pJ.propertyName),"MethodDeclaration/Name":y.pJ.function(y.pJ.definition(y.pJ.variableName)),"FunctionDefinition/Name":y.pJ.function(y.pJ.definition(y.pJ.variableName)),"ClassDeclaration/Name":y.pJ.definition(y.pJ.className),UpdateOp:y.pJ.updateOperator,ArithOp:y.pJ.arithmeticOperator,LogicOp:y.pJ.logicOperator,BitOp:y.pJ.bitwiseOperator,CompareOp:y.pJ.compareOperator,ControlOp:y.pJ.controlOperator,AssignOp:y.pJ.definitionOperator,"$ ConcatOp":y.pJ.operator,LineComment:y.pJ.lineComment,BlockComment:y.pJ.blockComment,Integer:y.pJ.integer,Float:y.pJ.float,String:y.pJ.string,ShellExpression:y.pJ.special(y.pJ.string),"=> ->":y.pJ.punctuation,"( )":y.pJ.paren,"#[ [ ]":y.pJ.squareBracket,"${ { }":y.pJ.brace,"-> ?->":y.pJ.derefOperator,", ; :: : \\":y.pJ.separator,"PhpOpen PhpClose":y.pJ.processingInstruction}),d={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},o=i.WQ.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O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g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220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!a!b!0p!b#O!/j#O#P!1}#P#S!/j#S#T!2c#T~!/jR!2ST&wPOY!/jYZ!0[Z!^!/j!^!_!1_!_~!/jR!2jT${Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3QT!oU&wPOY$tYZ%YZ!^$t!^!_%_!_~$tV!3jW#}Q#lS&wPOY$tYZ%YZ!^$t!^!_%_!_!`2x!`#p$t#p#q!4S#q~$tR!4ZT#{Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!4qT!nQ&wPOY$tYZ%YZ!^$t!^!_%_!_~$tR!5XT$^Q&wPOY$tYZ%YZ!^$t!^!_%_!_~$t",tokenizers:[W,q,n,0,1,2,3,e],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,$)=>function(O){let $=a[O.toLowerCase()];return null==$?-1:$}(O)<<1},{term:81,get:O=>d[O]||-1}],tokenPrec:29354});var x=Q(41113),R=Q(13804),V=Q(59119);const u=V.qp.define({name:"php",parser:o.configure({props:[V.uj.add({IfStatement:(0,V.tC)({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:(0,V.tC)({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let $=O.textAfter,Q=/^\s*\}/.test($),i=/^\s*(case|default)\b/.test($);return O.baseIndent+(Q?0:i?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":(0,V.vw)({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:(0,V.tC)({except:/^({|end(for|foreach|switch|while)\b)/})}),V.x0.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":V.Dv,ColonBlock:O=>({from:O.from+1,to:O.to}),BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function p(O={}){let $,Q=[];if(null===O.baseLanguage);else if(O.baseLanguage)$=O.baseLanguage;else{let O=(0,R.html)({matchClosingTags:!1});Q.push(O.support),$=O.language}return new V.ri(u.configure({wrap:$&&(0,x.FE)((O=>O.type.isTop?{parser:$.parser,overlay:O=>"Text"==O.name}:null)),top:O.plain?"Program":"Template"}),Q)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2406.317239812d8b07cc.js b/static/web/_next/static/chunks/2406.04743ed8b26fbb4f.js similarity index 88% rename from static/web/_next/static/chunks/2406.317239812d8b07cc.js rename to static/web/_next/static/chunks/2406.04743ed8b26fbb4f.js index 4464e7c1a..fe3761c4c 100644 --- a/static/web/_next/static/chunks/2406.317239812d8b07cc.js +++ b/static/web/_next/static/chunks/2406.04743ed8b26fbb4f.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2406],{72406:function(e,t,n){n.r(t),n.d(t,{clojure:function(){return g}});var r=["false","nil","true"],a=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],s=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],o=y(r),i=y(a),c=y(s),d=y(["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"]),l=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,u=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,p=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,m=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function f(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(u))return[null,"number"];if(e.match(p))return[null,"string.special"];if(e.eat(/^"/))return(t.tokenize=h)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var n=e.match(m),r=n&&n[0];return r?"comment"===r&&"("===t.lastToken?(t.tokenize=b)(e,t):k(r,o)||":"===r.charAt(0)?["symbol","atom"]:k(r,i)||k(r,c)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile((function(e){return!k(e,l)})),[null,"error"])}function h(e,t){for(var n,r=!1;n=e.next();){if('"'===n&&!r){t.tokenize=f;break}r=!r&&"\\"===n}return[null,"string"]}function b(e,t){for(var n,r=1;n=e.next();)if(")"===n&&r--,"("===n&&r++,0===r){e.backUp(1),t.tokenize=f;break}return["space","comment"]}function y(e){for(var t={},n=0;n","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],o=y(r),i=y(a),c=y(s),d=y(["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"]),l=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,u=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,p=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,m=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function f(e,t){if(e.eatSpace()||e.eat(","))return["space",null];if(e.match(u))return[null,"number"];if(e.match(p))return[null,"string.special"];if(e.eat(/^"/))return(t.tokenize=h)(e,t);if(e.eat(/^[(\[{]/))return["open","bracket"];if(e.eat(/^[)\]}]/))return["close","bracket"];if(e.eat(/^;/))return e.skipToEnd(),["space","comment"];if(e.eat(/^[#'@^`~]/))return[null,"meta"];var n=e.match(m),r=n&&n[0];return r?"comment"===r&&"("===t.lastToken?(t.tokenize=b)(e,t):k(r,o)||":"===r.charAt(0)?["symbol","atom"]:k(r,i)||k(r,c)?["symbol","keyword"]:"("===t.lastToken?["symbol","builtin"]:["symbol","variable"]:(e.next(),e.eatWhile(function(e){return!k(e,l)}),[null,"error"])}function h(e,t){for(var n,r=!1;n=e.next();){if('"'===n&&!r){t.tokenize=f;break}r=!r&&"\\"===n}return[null,"string"]}function b(e,t){for(var n,r=1;n=e.next();)if(")"===n&&r--,"("===n&&r++,0===r){e.backUp(1),t.tokenize=f;break}return["space","comment"]}function y(e){for(var t={},n=0;n0){var L=y[0]/2;z.paddingLeft=L,z.paddingRight=L}if(y&&y[1]>0&&!h){var R=y[1]/2;z.paddingTop=R,z.paddingBottom=R}return N&&(z.flex=function(t){return"number"===typeof t?"".concat(t," ").concat(t," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(t)?"0 0 ".concat(t):t}(N),!1!==Z||z.minWidth||(z.minWidth=0)),u.createElement("div",(0,o.Z)({},P,{style:(0,o.Z)((0,o.Z)({},z),S),className:T,ref:e}),E)}))},27049:function(t,e,r){"use strict";var n=r(87462),o=r(4942),a=r(94184),c=r.n(a),i=r(67294),u=r(53124),l=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o0?"-".concat(m):m,C=!!h,j="left"===m&&null!=y,E="right"===m&&null!=y,N=c()(w,"".concat(w,"-").concat(d),(e={},(0,o.Z)(e,"".concat(w,"-with-text"),C),(0,o.Z)(e,"".concat(w,"-with-text").concat(O),C),(0,o.Z)(e,"".concat(w,"-dashed"),!!g),(0,o.Z)(e,"".concat(w,"-plain"),!!b),(0,o.Z)(e,"".concat(w,"-rtl"),"rtl"===f),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-left"),j),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-right"),E),e),Z),S=(0,n.Z)((0,n.Z)({},j&&{marginLeft:y}),E&&{marginRight:y});return i.createElement("div",(0,n.Z)({className:N},x,{role:"separator"}),h&&"vertical"!==d&&i.createElement("span",{className:"".concat(w,"-inner-text"),style:S},h))}},99134:function(t,e,r){"use strict";var n=(0,r(67294).createContext)({});e.Z=n},25968:function(t,e,r){"use strict";r.d(e,{Z:function(){return y}});var n=r(87462),o=r(4942),a=r(71002),c=r(97685),i=r(94184),u=r.n(i),l=r(67294),f=r(53124),s=r(98082),p=r(24308),d=r(93355),v=r(99134),m=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o0?L[0]/-2:void 0,k=null!=L[1]&&L[1]>0?L[1]/-2:void 0;if(_&&(I.marginLeft=_,I.marginRight=_),M){var B=(0,c.Z)(L,2);I.rowGap=B[1]}else k&&(I.marginTop=k,I.marginBottom=k);var V=(0,c.Z)(L,2),$=V[0],W=V[1],F=l.useMemo((function(){return{gutter:[$,W],wrap:w,supportFlexGap:M}}),[$,W,w,M]);return l.createElement(v.Z.Provider,{value:F},l.createElement("div",(0,n.Z)({},O,{className:R,style:(0,n.Z)((0,n.Z)({},I),h),ref:e}),g))}))},27561:function(t,e,r){var n=r(67990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},67990:function(t){var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},23279:function(t,e,r){var n=r(13218),o=r(7771),a=r(14841),c=Math.max,i=Math.min;t.exports=function(t,e,r){var u,l,f,s,p,d,v=0,m=!1,y=!1,Z=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function h(e){var r=u,n=l;return u=l=void 0,v=e,s=t.apply(n,r)}function g(t){return v=t,p=setTimeout(x,e),m?h(t):s}function b(t){var r=t-d;return void 0===d||r>=e||r<0||y&&t-v>=f}function x(){var t=o();if(b(t))return w(t);p=setTimeout(x,function(t){var r=e-(t-d);return y?i(r,f-(t-v)):r}(t))}function w(t){return p=void 0,Z&&u?h(t):(u=l=void 0,s)}function O(){var t=o(),r=b(t);if(u=arguments,l=this,d=t,r){if(void 0===p)return g(d);if(y)return clearTimeout(p),p=setTimeout(x,e),h(d)}return void 0===p&&(p=setTimeout(x,e)),s}return e=a(e)||0,n(r)&&(m=!!r.leading,f=(y="maxWait"in r)?c(a(r.maxWait)||0,e):f,Z="trailing"in r?!!r.trailing:Z),O.cancel=function(){void 0!==p&&clearTimeout(p),v=0,u=d=l=p=void 0},O.flush=function(){return void 0===p?s:w(o())},O}},33448:function(t,e,r){var n=r(44239),o=r(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},7771:function(t,e,r){var n=r(55639);t.exports=function(){return n.Date.now()}},14841:function(t,e,r){var n=r(27561),o=r(13218),a=r(33448),c=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=i.test(t);return r||u.test(t)?l(t.slice(2),r?2:8):c.test(t)?NaN:+t}},20943:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";t.iconStyles=p;t.useInsertStyles=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=(0,u.useContext)(f.default),n=t.csp;(0,u.useEffect)((function(){(0,s.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}},131:function(e,t,n){"use strict";n.r(t),n.d(t,{TinyColor:function(){return r.C},bounds:function(){return g},convertDecimalToHex:function(){return u.Wl},convertHexToDecimal:function(){return u.T6},default:function(){return b},fromRatio:function(){return f},hslToRgb:function(){return u.ve},hsvToRgb:function(){return u.WE},inputToRGB:function(){return p.uA},isReadable:function(){return i},isValidCSSUnit:function(){return p.ky},legacyRandom:function(){return d},mostReadable:function(){return l},names:function(){return o.R},numberInputToObject:function(){return u.Yt},parseIntFromHex:function(){return u.VD},random:function(){return v},readability:function(){return a},rgbToHex:function(){return u.vq},rgbToHsl:function(){return u.lC},rgbToHsv:function(){return u.py},rgbToRgb:function(){return u.rW},rgbaToArgbHex:function(){return u.GC},rgbaToHex:function(){return u.s},stringInputToObject:function(){return p.uz},tinycolor:function(){return r.H},toMsFilter:function(){return c}});var r=n(10274),o=n(48701);function a(e,t){var n=new r.C(e),o=new r.C(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)}function i(e,t,n){var r,o;void 0===n&&(n={level:"AA",size:"small"});var i=a(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(o=n.size)&&void 0!==o?o:"small")){case"AAsmall":case"AAAlarge":return i>=4.5;case"AAlarge":return i>=3;case"AAAsmall":return i>=7;default:return!1}}function l(e,t,n){void 0===n&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var o=null,u=0,c=n.includeFallbackColors,s=n.level,f=n.size,d=0,p=t;du&&(u=m,o=new r.C(v))}return i(e,o,{level:s,size:f})||!c?o:(n.includeFallbackColors=!1,l(e,["#fff","#000"],n))}var u=n(86500);function c(e,t){var n=new r.C(e),o="#"+(0,u.GC)(n.r,n.g,n.b,n.a),a=o,i=n.gradientType?"GradientType = 1, ":"";if(t){var l=new r.C(t);a="#"+(0,u.GC)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(i,"startColorstr=").concat(o,",endColorstr=").concat(a,")")}var s=n(90279);function f(e,t){var n={r:(0,s.JX)(e.r),g:(0,s.JX)(e.g),b:(0,s.JX)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.C(n,t)}function d(){return new r.C({r:Math.random(),g:Math.random(),b:Math.random()})}var p=n(1350);function v(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,n=[];for(e.count=void 0;t>n.length;)e.count=null,e.seed&&(e.seed+=1),n.push(v(e));return e.count=t,n}var o=function(e,t){var n=h(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"===typeof e){var n=g.find((function(t){return t.name===e}));if(n){var o=y(n);if(o.hueRange)return o.hueRange}var a=new r.C(e);if(a.isValid){var i=a.toHsv().h;return[i,i]}}return[0,360]}(e),t);n<0&&(n=360+n);return n}(e.hue,e.seed),a=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return h([0,100],t.seed);var n=m(e).saturationRange,r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return h([r,o],t.seed)}(o,e),i=function(e,t,n){var r=function(e,t){for(var n=m(e).lowerBounds,r=0;r=o&&t<=i){var u=(l-a)/(i-o);return u*t+(a-u*o)}}return 0}(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return h([r,o],n.seed)}(o,a,e),l={h:o,s:a,v:i};return void 0!==e.alpha&&(l.a=e.alpha),new r.C(l)}function m(e){e>=334&&e<=360&&(e-=360);for(var t=0,n=g;t=r.hueRange[0]&&e<=r.hueRange[1])return r}throw Error("Color not found")}function h(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(r+o*(n-r))}function y(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,o]}}var g=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],b=r.H},27049:function(e,t,n){"use strict";var r=n(87462),o=n(4942),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0?"-".concat(m):m,P=!!g,M="left"===m&&null!=h,O="right"===m&&null!=h,j=i()(_,"".concat(_,"-").concat(p),(t={},(0,o.Z)(t,"".concat(_,"-with-text"),P),(0,o.Z)(t,"".concat(_,"-with-text").concat(w),P),(0,o.Z)(t,"".concat(_,"-dashed"),!!b),(0,o.Z)(t,"".concat(_,"-plain"),!!x),(0,o.Z)(t,"".concat(_,"-rtl"),"rtl"===s),(0,o.Z)(t,"".concat(_,"-no-default-orientation-margin-left"),M),(0,o.Z)(t,"".concat(_,"-no-default-orientation-margin-right"),O),t),y),E=(0,r.Z)((0,r.Z)({},M&&{marginLeft:h}),O&&{marginRight:h});return l.createElement("div",(0,r.Z)({className:j},C,{role:"separator"}),g&&"vertical"!==p&&l.createElement("span",{className:"".concat(_,"-inner-text"),style:E},g))}},13594:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.noop=a,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return o.resetWarned}});var o=r(n(45520));function a(){}var i=a;t.default=i},1028:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633)).default;t.default=o},93319:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DisabledContextProvider=void 0;var o=r(n(67294)),a=o.createContext(!1);t.DisabledContextProvider=function(e){var t=e.children,n=e.disabled,r=o.useContext(a);return o.createElement(a.Provider,{value:n||r},t)};var i=a;t.default=i},3236:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SizeContextProvider=void 0;var o=r(n(67294)),a=o.createContext(void 0);t.SizeContextProvider=function(e){var t=e.children,n=e.size;return o.createElement(a.Consumer,null,(function(e){return o.createElement(a.Provider,{value:n||e},t)}))};var i=a;t.default=i},7177:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ConfigConsumer=void 0,t.withConfigConsumer=function(e){return function(t){var n=t.constructor;n&&n.displayName||t.name;return function(n){return i.createElement(u,null,(function(r){var o=e.prefixCls,l=(0,r.getPrefixCls)(o,n.prefixCls);return i.createElement(t,(0,a.default)({},r,n,{prefixCls:l}))}))}}};var a=o(n(10434)),i=r(n(67294)),l=i.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")}});t.ConfigContext=l;var u=l.Consumer;t.ConfigConsumer=u},56301:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=c,t.registerTheme=function(e,t){var n=c(e,t);(0,i.default)()&&(0,l.updateCSS)(n,"".concat(u,"-dynamic-theme"))};var o=n(92138),a=n(131),i=r(n(19158)),l=n(93399),u=(r(n(13594)),"-ant-".concat(Date.now(),"-").concat(Math.random()));function c(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},i=function(e,t){var i=new a.TinyColor(e),l=(0,o.generate)(i.toRgbString());n["".concat(t,"-color")]=r(i),n["".concat(t,"-color-disabled")]=l[1],n["".concat(t,"-color-hover")]=l[4],n["".concat(t,"-color-active")]=l[6],n["".concat(t,"-color-outline")]=i.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=l[0],n["".concat(t,"-color-deprecated-border")]=l[2]};if(t.primaryColor){i(t.primaryColor,"primary");var l=new a.TinyColor(t.primaryColor),u=(0,o.generate)(l.toRgbString());u.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(l,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(l,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(l,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(l,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(l,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new a.TinyColor(u[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info");var s=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}},31929:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfigConsumer",{enumerable:!0,get:function(){return m.ConfigConsumer}}),Object.defineProperty(t,"ConfigContext",{enumerable:!0,get:function(){return m.ConfigContext}}),t.globalConfig=t.defaultPrefixCls=t.defaultIconPrefixCls=t.default=t.configConsumerProps=void 0;var a=o(n(10434)),i=o(n(98399)),l=n(71990),u=o(n(67265)),c=r(n(67294)),s=r(n(53594)),f=o(n(73625)),d=o(n(56350)),p=o(n(11187)),v=o(n(16318)),m=n(7177),h=n(56301),y=n(93319),g=r(n(3236));t.configConsumerProps=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"];var b=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];t.defaultPrefixCls="ant";var x,C,_="anticon";function w(){return x||"ant"}function P(){return C||_}t.defaultIconPrefixCls=_;t.globalConfig=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(w(),"-").concat(e):w())},getIconPrefixCls:P,getRootPrefixCls:function(e,t){return e||(x||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):w()))}}};var M=function(e){var t,n,r=e.children,o=e.csp,f=e.autoInsertSpaceInButton,p=e.form,v=e.locale,h=e.componentSize,x=e.direction,C=e.space,_=e.virtual,w=e.dropdownMatchSelectWidth,P=e.legacyLocale,M=e.parentContext,O=e.iconPrefixCls,j=e.componentDisabled,E=c.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||M.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[M.getPrefixCls,e.prefixCls]),k=(0,a.default)((0,a.default)({},M),{csp:o,autoInsertSpaceInButton:f,locale:v||P,direction:x,space:C,virtual:_,dropdownMatchSelectWidth:w,getPrefixCls:E});b.forEach((function(t){var n=e[t];n&&(k[t]=n)}));var T=(0,u.default)((function(){return k}),k,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),S=c.useMemo((function(){return{prefixCls:O,csp:o}}),[O,o]),N=r,L={};return v&&(L=(null===(t=v.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=d.default.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),p&&p.validateMessages&&(L=(0,a.default)((0,a.default)({},L),p.validateMessages)),Object.keys(L).length>0&&(N=c.createElement(l.FormProvider,{validateMessages:L},r)),v&&(N=c.createElement(s.default,{locale:v,_ANT_MARK__:s.ANT_MARK},N)),(O||o)&&(N=c.createElement(i.default.Provider,{value:S},N)),h&&(N=c.createElement(g.SizeContextProvider,{size:h},N)),void 0!==j&&(N=c.createElement(y.DisabledContextProvider,{disabled:j},N)),c.createElement(m.ConfigContext.Provider,{value:T},N)},O=function(e){return c.useEffect((function(){e.direction&&(p.default.config({rtl:"rtl"===e.direction}),v.default.config({rtl:"rtl"===e.direction}))}),[e.direction]),c.createElement(f.default,null,(function(t,n,r){return c.createElement(m.ConfigConsumer,null,(function(t){return c.createElement(M,(0,a.default)({parentContext:t,legacyLocale:r},e))}))}))};O.ConfigContext=m.ConfigContext,O.SizeContext=g.default,O.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(x=t),void 0!==n&&(C=n),r&&(0,h.registerTheme)(w(),r)};var j=O;t.default=j},25633:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),a=r(n(27590)),i=r(n(52040)),l={lang:(0,o.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},a.default),timePickerLocale:(0,o.default)({},i.default)};t.default=l},73625:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useLocaleReceiver=t.default=void 0;var a=o(n(10434)),i=r(n(67294)),l=o(n(89354)),u=o(n(95209)),c=function(e){var t=e.componentName,n=void 0===t?"global":t,r=e.defaultLocale,o=e.children,c=i.useContext(l.default);return o(i.useMemo((function(){var e,t=r||u.default[n],o=null!==(e=null===c||void 0===c?void 0:c[n])&&void 0!==e?e:{};return(0,a.default)((0,a.default)({},t instanceof Function?t():t),o||{})}),[n,r,c]),i.useMemo((function(){var e=c&&c.locale;return c&&c.exist&&!e?u.default.locale:e}),[c]),c)};t.default=c;t.useLocaleReceiver=function(e,t){var n=i.useContext(l.default);return[i.useMemo((function(){var r,o=t||u.default[e],i=null!==(r=null===n||void 0===n?void 0:n[e])&&void 0!==r?r:{};return(0,a.default)((0,a.default)({},"function"===typeof o?o():o),i||{})}),[e,t,n])]}},89354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(67294).createContext)(void 0);t.default=r},95209:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(56350)).default;t.default=o},53594:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var a=o(n(10434)),i=r(n(67294)),l=(o(n(13594)),n(10625)),u=o(n(89354));t.ANT_MARK="internalMark";var c=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__;i.useEffect((function(){return(0,l.changeConfirmLocale)(n&&n.Modal),function(){(0,l.changeConfirmLocale)()}}),[n]);var o=i.useMemo((function(){return(0,a.default)((0,a.default)({},n),{exist:!0})}),[n]);return i.createElement(u.default.Provider,{value:o},r)};t.default=c},56350:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(62273)),a=r(n(1028)),i=r(n(25633)),l=r(n(52040)),u="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:u,method:u,array:u,object:u,number:u,date:u,boolean:u,integer:u,float:u,regexp:u,email:u,url:u,hex:u},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=c},64333:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r,o=null,f={add:function(e,t){null===o||void 0===o||o.component.add(e,t)}},d=(0,l.default)(f),p=(0,i.default)(d,2),v=p[0],m=p[1];var h=u.useRef({});return h.current.open=function(i){var l=i.prefixCls,u=n("message",l),s=n(),f=i.key||(0,c.getKeyThenIncreaseKey)(),d=new Promise((function(n){var l=function(){return"function"===typeof i.onClose&&i.onClose(),n(!0)};e((0,a.default)((0,a.default)({},i),{prefixCls:u,rootPrefixCls:s,getPopupContainer:r}),(function(e){var n=e.prefixCls,r=e.instance;o=r,v(t((0,a.default)((0,a.default)({},i),{key:f,onClose:l}),n))}))})),p=function(){o&&o.removeNotice(f)};return p.then=function(e,t){return d.then(e,t)},p.promise=d,p},c.typeList.forEach((function(e){return(0,c.attachTypeApi)(h.current,e)})),[h.current,u.createElement(s.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,r=e.getPopupContainer,m}))]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(11187),s=n(31929)},11187:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=L,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=j,t.typeList=void 0;var a,i,l,u,c=o(n(10434)),s=o(n(38416)),f=o(n(37431)),d=o(n(42547)),p=o(n(42461)),v=o(n(94354)),m=o(n(628)),h=o(n(94184)),y=o(n(91127)),g=r(n(67294)),b=r(n(31929)),x=o(n(64333)),C=3,_=1,w="",P="move-up",M=!1,O=!1;function j(){return _++}function E(e,t){var n=e.prefixCls,r=e.getPopupContainer,o=(0,b.globalConfig)(),c=o.getPrefixCls,s=o.getRootPrefixCls,f=o.getIconPrefixCls,d=c("message",n||w),p=s(e.rootPrefixCls,d),v=f();if(a)t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:a});else{var m={prefixCls:d,transitionName:M?P:"".concat(p,"-").concat(P),style:{top:i},getContainer:l||r,maxCount:u};y.default.newInstance(m,(function(e){a?t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:a}):(a=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:e}))}))}}var k={info:v.default,success:f.default,error:d.default,warning:p.default,loading:m.default},T=Object.keys(k);function S(e,t,n){var r,o=void 0!==e.duration?e.duration:C,a=k[e.type],i=(0,h.default)("".concat(t,"-custom-content"),(r={},(0,s.default)(r,"".concat(t,"-").concat(e.type),e.type),(0,s.default)(r,"".concat(t,"-rtl"),!0===O),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:i},e.icon||a&&g.createElement(a,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}t.typeList=T;var N={open:function(e){var t=e.key||j(),n=new Promise((function(n){var r=function(){return"function"===typeof e.onClose&&e.onClose(),n(!0)};E(e,(function(n){var o=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(S((0,c.default)((0,c.default)({},e),{key:t,onClose:r}),o,a))}))})),r=function(){a&&a.removeNotice(t)};return r.then=function(e,t){return n.then(e,t)},r.promise=n,r},config:function(e){void 0!==e.top&&(i=e.top,a=null),void 0!==e.duration&&(C=e.duration),void 0!==e.prefixCls&&(w=e.prefixCls),void 0!==e.getContainer&&(l=e.getContainer,a=null),void 0!==e.transitionName&&(P=e.transitionName,a=null,M=!0),void 0!==e.maxCount&&(u=e.maxCount,a=null),void 0!==e.rtl&&(O=e.rtl)},destroy:function(e){if(a)if(e){(0,a.removeNotice)(e)}else{var t=a.destroy;t(),a=null}}};function L(e,t){e[t]=function(n,r,o){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(n)?e.open((0,c.default)((0,c.default)({},n),{type:t})):("function"===typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}T.forEach((function(e){return L(N,e)})),N.warn=N.warning,N.useMessage=(0,x.default)(E,S);t.getInstance=function(){return null};var R=N;t.default=R},10625:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){i=e?(0,o.default)((0,o.default)({},i),e):(0,o.default)({},a.default.Modal)},t.getConfirmLocale=function(){return i};var o=r(n(10434)),a=r(n(56350)),i=(0,o.default)({},a.default.Modal)},23298:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r=null,o={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},s=(0,l.default)(o),f=(0,i.default)(s,2),d=f[0],p=f[1];var v=u.useRef({});return v.current.open=function(o){var i=o.prefixCls,l=n("notification",i);e((0,a.default)((0,a.default)({},o),{prefixCls:l}),(function(e){var n=e.prefixCls,a=e.instance;r=a,d(t(o,n))}))},["success","info","warning","error"].forEach((function(e){v.current[e]=function(t){return v.current.open((0,a.default)((0,a.default)({},t),{type:e}))}})),[v.current,u.createElement(c.ConfigConsumer,{key:"holder"},(function(e){return n=e.getPrefixCls,p}))]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(31929)},16318:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var a,i,l,u=o(n(17061)),c=o(n(10434)),s=o(n(38416)),f=o(n(67996)),d=o(n(74337)),p=o(n(40753)),v=o(n(67039)),m=o(n(93201)),h=o(n(94184)),y=o(n(91127)),g=r(n(67294)),b=r(n(31929)),x=o(n(23298)),C=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{u(r.next(e))}catch(t){a(t)}}function l(e){try{u(r.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}u((r=r.apply(e,t||[])).next())}))},_={},w=4.5,P=24,M=24,O="",j="topRight",E=!1;function k(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function T(e,t){var n=e.placement,r=void 0===n?j:n,o=e.top,i=e.bottom,u=e.getContainer,c=void 0===u?a:u,f=e.prefixCls,d=(0,b.globalConfig)(),p=d.getPrefixCls,v=d.getIconPrefixCls,m=p("notification",f||O),g=v(),x="".concat(m,"-").concat(r),C=_[x];if(C)Promise.resolve(C).then((function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:e})}));else{var w=(0,h.default)("".concat(m,"-").concat(r),(0,s.default)({},"".concat(m,"-rtl"),!0===E));_[x]=new Promise((function(e){y.default.newInstance({prefixCls:m,className:w,style:k(r,o,i),getContainer:c,maxCount:l},(function(n){e(n),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:n})}))}))}}var S={success:f.default,info:m.default,error:d.default,warning:v.default};function N(e,t,n){var r=e.duration,o=e.icon,a=e.type,l=e.description,u=e.message,c=e.btn,f=e.onClose,d=e.onClick,v=e.key,m=e.style,y=e.className,x=e.closeIcon,C=void 0===x?i:x,_=e.props,P=void 0===r?w:r,M=null;o?M=g.createElement("span",{className:"".concat(t,"-icon")},e.icon):a&&(M=g.createElement(S[a]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(a)}));var O=g.createElement("span",{className:"".concat(t,"-close-x")},C||g.createElement(p.default,{className:"".concat(t,"-close-icon")})),j=!l&&M?g.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:M?"".concat(t,"-with-icon"):"",role:"alert"},M,g.createElement("div",{className:"".concat(t,"-message")},j,u),g.createElement("div",{className:"".concat(t,"-description")},l),c?g.createElement("span",{className:"".concat(t,"-btn")},c):null)),duration:P,closable:!0,closeIcon:O,onClose:f,onClick:d,key:v,style:m||{},className:(0,h.default)(y,(0,s.default)({},"".concat(t,"-").concat(a),!!a)),props:_}}var L={open:function(e){T(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(N(e,n,r))}))},close:function(e){Object.keys(_).forEach((function(t){return Promise.resolve(_[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,u=e.getContainer,c=e.closeIcon,s=e.prefixCls;void 0!==s&&(O=s),void 0!==t&&(w=t),void 0!==n?j=n:e.rtl&&(j="topLeft"),void 0!==r&&(M=r),void 0!==o&&(P=o),void 0!==u&&(a=u),void 0!==c&&(i=c),void 0!==e.rtl&&(E=e.rtl),void 0!==e.maxCount&&(l=e.maxCount)},destroy:function(){Object.keys(_).forEach((function(e){Promise.resolve(_[e]).then((function(e){e.destroy()})),delete _[e]}))}};["success","info","warning","error"].forEach((function(e){L[e]=function(t){return L.open((0,c.default)((0,c.default)({},t),{type:e}))}})),L.warn=L.warning,L.useNotification=(0,x.default)(T,N);t.getInstance=function(e){return C(void 0,void 0,void 0,(0,u.default)().mark((function e(){return(0,u.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})))};var R=L;t.default=R},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=n},32502:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(10434)),i=o(n(38416)),l=o(n(56690)),u=o(n(89728)),c=o(n(61655)),s=o(n(26389)),f=r(n(67294)),d=o(n(73935)),p=o(n(94184)),v=function(e){(0,c.default)(n,e);var t=(0,s.default)(n);function n(){var e;(0,l.default)(this,n);for(var r=arguments.length,o=new Array(r),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},r=v(e,n);null===r||void 0===r||null===(t=r.parentNode)||void 0===t||t.removeChild(r)},t.updateCSS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=s(n);m(r,n);var o=v(t,n);if(o){var a,i,l;if((null===(a=n.csp)||void 0===a?void 0:a.nonce)&&o.nonce!==(null===(i=n.csp)||void 0===i?void 0:i.nonce))o.nonce=null===(l=n.csp)||void 0===l?void 0:l.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var u=p(e,n);return u.setAttribute(c(n),t),u};var o=r(n(19158)),a=r(n(32191)),i="data-rc-order",l="rc-util-key",u=new Map;function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):l}function s(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function d(e){return Array.from((u.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var n=t.csp,r=t.prepend,a=document.createElement("style");a.setAttribute(i,f(r)),(null===n||void 0===n?void 0:n.nonce)&&(a.nonce=null===n||void 0===n?void 0:n.nonce),a.innerHTML=e;var l=s(t),u=l.firstChild;if(r){if("queue"===r){var c=d(l).filter((function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))}));if(c.length)return l.insertBefore(a,c[c.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=s(t);return d(n).find((function(n){return n.getAttribute(c(t))===e}))}function m(e,t){var n=u.get(e);if(!n||!(0,a.default)(document,n)){var r=p("",t),o=r.parentNode;u.set(e,o),o.removeChild(r)}}},67265:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=o.useRef({});"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t);return r.current.value};var o=r(n(67294))},18475:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)({},e);Array.isArray(t)&&t.forEach((function(e){delete n[e]}));return n};var o=r(n(42122))},45520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=a,t.default=void 0,t.note=o,t.noteOnce=function(e,t){a(o,e,t)},t.resetWarned=function(){n={}},t.warning=r,t.warningOnce=i;var n={};function r(e,t){0}function o(e,t){0}function a(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function i(e,t){a(r,e,t)}var l=i;t.default=l},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},94993:function(e,t,n){var r=n(18698).default,o=n(66115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17061:function(e,t,n){var r=n(18698).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(S){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof m?t:m,a=Object.create(o.prototype),l=new E(r||[]);return i(a,"_invoke",{value:P(e,n,l)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}t.wrap=d;var v={};function m(){}function h(){}function y(){}var g={};f(g,u,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(k([])));x&&x!==n&&a.call(x,u)&&(g=x);var C=y.prototype=m.prototype=Object.create(g);function _(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(o,i,l,u){var c=p(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,l,u)}),(function(e){n("throw",e,l,u)})):t.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,u)}))}u(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(a,a):a()}})}function P(e,t,n){var r="suspendedStart";return function(o,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw a;return T()}for(n.method=o,n.arg=a;;){var i=n.delegate;if(i){var l=M(i,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=p(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function M(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,M(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=p(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,v;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function k(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),o=n(68872),a=n(86116),i=n(12218);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),o=n(79498),a=n(86116),i=n(42281);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/250-cb0375e3978569f1.js b/static/web/_next/static/chunks/250-cb0375e3978569f1.js new file mode 100644 index 000000000..4dd83537a --- /dev/null +++ b/static/web/_next/static/chunks/250-cb0375e3978569f1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[250],{85368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"}},16976:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"}},67303:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"}},77384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"}},79203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"}},78515:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"}},34950:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"}},15369:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"}},20702:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"}},25828:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"}},37431:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(95183))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},67996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(48138))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},42547:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(86266))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},74337:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(92018))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},40753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(83482))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},42461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(77998))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},67039:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(3855))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},94354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(46564))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},93201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(34106))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4851))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},92074:function(e,t,n){"use strict";var r=n(64836),o=n(75263);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(42122)),i=r(n(27424)),l=r(n(38416)),u=r(n(70215)),c=o(n(67294)),s=r(n(94184)),f=r(n(98399)),d=r(n(95160)),p=n(46768),v=n(72479),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,p.setTwoToneColor)("#1890ff");var h=c.forwardRef(function(e,t){var n,r=e.className,o=e.icon,p=e.spin,h=e.rotate,y=e.tabIndex,g=e.onClick,b=e.twoToneColor,x=(0,u.default)(e,m),C=c.useContext(f.default).prefixCls,_=void 0===C?"anticon":C,w=(0,s.default)(_,(n={},(0,l.default)(n,"".concat(_,"-").concat(o.name),!!o.name),(0,l.default)(n,"".concat(_,"-spin"),!!p||"loading"===o.name),n),r),P=y;void 0===P&&g&&(P=-1);var M=(0,v.normalizeTwoToneColors)(b),O=(0,i.default)(M,2),j=O[0],E=O[1];return c.createElement("span",(0,a.default)((0,a.default)({role:"img","aria-label":o.name},x),{},{ref:t,tabIndex:P,onClick:g,className:w}),c.createElement(d.default,{icon:o,primaryColor:j,secondaryColor:E,style:h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0}))});h.displayName="AntdIcon",h.getTwoToneColor=p.getTwoToneColor,h.setTwoToneColor=p.setTwoToneColor,t.default=h},98399:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(67294).createContext)({});t.default=r},95160:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(70215)),a=r(n(42122)),i=n(72479),l=["icon","className","onClick","style","primaryColor","secondaryColor"],u={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},c=function(e){var t=e.icon,n=e.className,r=e.onClick,c=e.style,s=e.primaryColor,f=e.secondaryColor,d=(0,o.default)(e,l),p=u;if(s&&(p={primaryColor:s,secondaryColor:f||(0,i.getSecondaryColor)(s)}),(0,i.useInsertStyles)(),(0,i.warning)((0,i.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,i.isIconDefinition)(t))return null;var v=t;return v&&"function"==typeof v.icon&&(v=(0,a.default)((0,a.default)({},v),{},{icon:v.icon(p.primaryColor,p.secondaryColor)})),(0,i.generate)(v.icon,"svg-".concat(v.name),(0,a.default)({className:n,onClick:r,style:c,"data-icon":v.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,a.default)({},u)},c.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;u.primaryColor=t,u.secondaryColor=n||(0,i.getSecondaryColor)(t),u.calculated=!!n},t.default=c},46768:function(e,t,n){"use strict";var r=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.setTwoToneColor=function(e){var t=(0,i.normalizeTwoToneColors)(e),n=(0,o.default)(t,2),r=n[0],l=n[1];return a.default.setTwoToneColors({primaryColor:r,secondaryColor:l})},t.getTwoToneColor=function(){var e=a.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor};var o=r(n(27424)),a=r(n(95160)),i=n(72479)},95183:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(85368)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CheckCircleFilled";var s=i.forwardRef(c);t.default=s},48138:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(16976)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CheckCircleOutlined";var s=i.forwardRef(c);t.default=s},86266:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(67303)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CloseCircleFilled";var s=i.forwardRef(c);t.default=s},92018:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(77384)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CloseCircleOutlined";var s=i.forwardRef(c);t.default=s},83482:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(79203)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CloseOutlined";var s=i.forwardRef(c);t.default=s},77998:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(78515)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="ExclamationCircleFilled";var s=i.forwardRef(c);t.default=s},3855:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(34950)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="ExclamationCircleOutlined";var s=i.forwardRef(c);t.default=s},46564:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(15369)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="InfoCircleFilled";var s=i.forwardRef(c);t.default=s},34106:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(20702)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="InfoCircleOutlined";var s=i.forwardRef(c);t.default=s},4851:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(42122)),i=r(n(67294)),l=o(n(25828)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="LoadingOutlined";var s=i.forwardRef(c);t.default=s},72479:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.warning=function(e,t){(0,c.default)(e,"[@ant-design/icons] ".concat(t))},t.isIconDefinition=function(e){return"object"===(0,i.default)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,i.default)(e.icon)||"function"==typeof e.icon)},t.normalizeAttrs=d,t.generate=function e(t,n,r){return r?u.default.createElement(t.tag,(0,a.default)((0,a.default)({key:n},d(t.attrs)),r),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):u.default.createElement(t.tag,(0,a.default)({key:n},d(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))},t.getSecondaryColor=function(e){return(0,l.generate)(e)[0]},t.normalizeTwoToneColors=function(e){return e?Array.isArray(e)?e:[e]:[]},t.useInsertStyles=t.iconStyles=t.svgBaseProps=void 0;var a=o(n(42122)),i=o(n(18698)),l=n(92138),u=r(n(67294)),c=o(n(45520)),s=n(93399),f=o(n(98399));function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):t[n]=r,t},{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";t.iconStyles=p;var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=(0,u.useContext)(f.default).csp;(0,u.useEffect)(function(){(0,s.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:t})},[])};t.useInsertStyles=v},131:function(e,t,n){"use strict";n.r(t),n.d(t,{TinyColor:function(){return r.C},bounds:function(){return h},convertDecimalToHex:function(){return l.Wl},convertHexToDecimal:function(){return l.T6},default:function(){return y},fromRatio:function(){return s},hslToRgb:function(){return l.ve},hsvToRgb:function(){return l.WE},inputToRGB:function(){return d.uA},isReadable:function(){return i},isValidCSSUnit:function(){return d.ky},legacyRandom:function(){return f},mostReadable:function(){return function e(t,n,o){void 0===o&&(o={includeFallbackColors:!1,level:"AA",size:"small"});for(var l=null,u=0,c=o.includeFallbackColors,s=o.level,f=o.size,d=0;du&&(u=v,l=new r.C(p))}return i(t,l,{level:s,size:f})||!c?l:(o.includeFallbackColors=!1,e(t,["#fff","#000"],o))}},names:function(){return o.R},numberInputToObject:function(){return l.Yt},parseIntFromHex:function(){return l.VD},random:function(){return function e(t){if(void 0===t&&(t={}),void 0!==t.count&&null!==t.count){var n,o,a,i=t.count,l=[];for(t.count=void 0;i>l.length;)t.count=null,t.seed&&(t.seed+=1),l.push(e(t));return t.count=i,l}var u=(n=t.hue,o=t.seed,(a=v(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var n=h.find(function(t){return t.name===e});if(n){var o=m(n);if(o.hueRange)return o.hueRange}var a=new r.C(e);if(a.isValid){var i=a.toHsv().h;return[i,i]}}return[0,360]}(n),o))<0&&(a=360+a),a),c=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return v([0,100],t.seed);var n=p(e).saturationRange,r=n[0],o=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=o-10;break;case"light":o=55}return v([r,o],t.seed)}(u,t),s=function(e,t,n){var r=function(e,t){for(var n=p(e).lowerBounds,r=0;r=o&&t<=i){var u=(l-a)/(i-o),c=a-u*o;return u*t+c}}return 0}(e,t),o=100;switch(n.luminosity){case"dark":o=r+20;break;case"light":r=(o+r)/2;break;case"random":r=0,o=100}return v([r,o],n.seed)}(u,c,t),f={h:u,s:c,v:s};return void 0!==t.alpha&&(f.a=t.alpha),new r.C(f)}},readability:function(){return a},rgbToHex:function(){return l.vq},rgbToHsl:function(){return l.lC},rgbToHsv:function(){return l.py},rgbToRgb:function(){return l.rW},rgbaToArgbHex:function(){return l.GC},rgbaToHex:function(){return l.s},stringInputToObject:function(){return d.uz},tinycolor:function(){return r.H},toMsFilter:function(){return u}});var r=n(10274),o=n(48701);function a(e,t){var n=new r.C(e),o=new r.C(t);return(Math.max(n.getLuminance(),o.getLuminance())+.05)/(Math.min(n.getLuminance(),o.getLuminance())+.05)}function i(e,t,n){void 0===n&&(n={level:"AA",size:"small"});var r,o,i=a(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(o=n.size)&&void 0!==o?o:"small")){case"AAsmall":case"AAAlarge":return i>=4.5;case"AAlarge":return i>=3;case"AAAsmall":return i>=7;default:return!1}}var l=n(86500);function u(e,t){var n=new r.C(e),o="#"+(0,l.GC)(n.r,n.g,n.b,n.a),a=o,i=n.gradientType?"GradientType = 1, ":"";if(t){var u=new r.C(t);a="#"+(0,l.GC)(u.r,u.g,u.b,u.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(i,"startColorstr=").concat(o,",endColorstr=").concat(a,")")}var c=n(90279);function s(e,t){var n={r:(0,c.JX)(e.r),g:(0,c.JX)(e.g),b:(0,c.JX)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.C(n,t)}function f(){return new r.C({r:Math.random(),g:Math.random(),b:Math.random()})}var d=n(1350);function p(e){e>=334&&e<=360&&(e-=360);for(var t=0;t=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function v(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;return Math.floor(r+(t=(9301*t+49297)%233280)/233280*(n-r))}function m(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,o]}}var h=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],y=r.H},27049:function(e,t,n){"use strict";var r=n(87462),o=n(4942),a=n(94184),i=n.n(a),l=n(67294),u=n(53124),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},s=function(e){var t,n=l.useContext(u.E_),a=n.getPrefixCls,s=n.direction,f=e.prefixCls,d=e.type,p=void 0===d?"horizontal":d,v=e.orientation,m=void 0===v?"center":v,h=e.orientationMargin,y=e.className,g=e.children,b=e.dashed,x=e.plain,C=c(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),_=a("divider",f),w=m.length>0?"-".concat(m):m,P=!!g,M="left"===m&&null!=h,O="right"===m&&null!=h,j=i()(_,"".concat(_,"-").concat(p),(t={},(0,o.Z)(t,"".concat(_,"-with-text"),P),(0,o.Z)(t,"".concat(_,"-with-text").concat(w),P),(0,o.Z)(t,"".concat(_,"-dashed"),!!b),(0,o.Z)(t,"".concat(_,"-plain"),!!x),(0,o.Z)(t,"".concat(_,"-rtl"),"rtl"===s),(0,o.Z)(t,"".concat(_,"-no-default-orientation-margin-left"),M),(0,o.Z)(t,"".concat(_,"-no-default-orientation-margin-right"),O),t),y),E=(0,r.Z)((0,r.Z)({},M&&{marginLeft:h}),O&&{marginRight:h});return l.createElement("div",(0,r.Z)({className:j},C,{role:"separator"}),g&&"vertical"!==p&&l.createElement("span",{className:"".concat(_,"-inner-text"),style:E},g))};t.Z=s},13594:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.noop=a,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return o.resetWarned}});var o=r(n(45520));function a(){}t.default=a},1028:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633)).default;t.default=o},93319:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DisabledContextProvider=void 0;var o=r(n(67294)),a=o.createContext(!1),i=function(e){var t=e.children,n=e.disabled,r=o.useContext(a);return o.createElement(a.Provider,{value:n||r},t)};t.DisabledContextProvider=i,t.default=a},3236:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SizeContextProvider=void 0;var o=r(n(67294)),a=o.createContext(void 0),i=function(e){var t=e.children,n=e.size;return o.createElement(a.Consumer,null,function(e){return o.createElement(a.Provider,{value:n||e},t)})};t.SizeContextProvider=i,t.default=a},7177:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ConfigConsumer=void 0,t.withConfigConsumer=function(e){return function(t){var n=function(n){return i.createElement(c,null,function(r){var o=e.prefixCls,l=(0,r.getPrefixCls)(o,n.prefixCls);return i.createElement(t,(0,a.default)({},r,n,{prefixCls:l}))})},r=t.constructor;return r&&r.displayName||t.name,n}};var a=o(n(10434)),i=r(n(67294)),l=function(e,t){return t||(e?"ant-".concat(e):"ant")},u=i.createContext({getPrefixCls:l});t.ConfigContext=u;var c=u.Consumer;t.ConfigConsumer=c},56301:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getStyle=c,t.registerTheme=function(e,t){var n=c(e,t);(0,i.default)()&&(0,l.updateCSS)(n,"".concat(u,"-dynamic-theme"))};var o=n(92138),a=n(131),i=r(n(19158)),l=n(93399);r(n(13594));var u="-ant-".concat(Date.now(),"-").concat(Math.random());function c(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},i=function(e,t){var i=new a.TinyColor(e),l=(0,o.generate)(i.toRgbString());n["".concat(t,"-color")]=r(i),n["".concat(t,"-color-disabled")]=l[1],n["".concat(t,"-color-hover")]=l[4],n["".concat(t,"-color-active")]=l[6],n["".concat(t,"-color-outline")]=i.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=l[0],n["".concat(t,"-color-deprecated-border")]=l[2]};if(t.primaryColor){i(t.primaryColor,"primary");var l=new a.TinyColor(t.primaryColor),u=(0,o.generate)(l.toRgbString());u.forEach(function(e,t){n["primary-".concat(t+1)]=e}),n["primary-color-deprecated-l-35"]=r(l,function(e){return e.lighten(35)}),n["primary-color-deprecated-l-20"]=r(l,function(e){return e.lighten(20)}),n["primary-color-deprecated-t-20"]=r(l,function(e){return e.tint(20)}),n["primary-color-deprecated-t-50"]=r(l,function(e){return e.tint(50)}),n["primary-color-deprecated-f-12"]=r(l,function(e){return e.setAlpha(.12*e.getAlpha())});var c=new a.TinyColor(u[0]);n["primary-color-active-deprecated-f-30"]=r(c,function(e){return e.setAlpha(.3*e.getAlpha())}),n["primary-color-active-deprecated-d-02"]=r(c,function(e){return e.darken(2)})}t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info");var s=Object.keys(n).map(function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")});return"\n :root {\n ".concat(s.join("\n"),"\n }\n ").trim()}},31929:function(e,t,n){"use strict";var r,o,a=n(75263).default,i=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConfigConsumer",{enumerable:!0,get:function(){return y.ConfigConsumer}}),Object.defineProperty(t,"ConfigContext",{enumerable:!0,get:function(){return y.ConfigContext}}),t.globalConfig=t.defaultPrefixCls=t.defaultIconPrefixCls=t.default=t.configConsumerProps=void 0;var l=i(n(10434)),u=i(n(98399)),c=n(71990),s=i(n(67265)),f=a(n(67294)),d=a(n(53594)),p=i(n(73625)),v=i(n(56350)),m=i(n(11187)),h=i(n(16318)),y=n(7177),g=n(56301),b=n(93319),x=a(n(3236));t.configConsumerProps=["getTargetContainer","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","autoInsertSpaceInButton","locale","pageHeader"];var C=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form"];t.defaultPrefixCls="ant";var _="anticon";function w(){return r||"ant"}function P(){return o||_}t.defaultIconPrefixCls=_;var M=function(e){var t=e.prefixCls,n=e.iconPrefixCls,a=e.theme;void 0!==t&&(r=t),void 0!==n&&(o=n),a&&(0,g.registerTheme)(w(),a)},O=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(w(),"-").concat(e):w())},getIconPrefixCls:P,getRootPrefixCls:function(e,t){return e||r||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):w())}}};t.globalConfig=O;var j=function(e){var t,n,r=e.children,o=e.csp,a=e.autoInsertSpaceInButton,i=e.form,p=e.locale,m=e.componentSize,h=e.direction,g=e.space,_=e.virtual,w=e.dropdownMatchSelectWidth,P=e.legacyLocale,M=e.parentContext,O=e.iconPrefixCls,j=e.componentDisabled,E=f.useCallback(function(t,n){var r=e.prefixCls;if(n)return n;var o=r||M.getPrefixCls("");return t?"".concat(o,"-").concat(t):o},[M.getPrefixCls,e.prefixCls]),k=(0,l.default)((0,l.default)({},M),{csp:o,autoInsertSpaceInButton:a,locale:p||P,direction:h,space:g,virtual:_,dropdownMatchSelectWidth:w,getPrefixCls:E});C.forEach(function(t){var n=e[t];n&&(k[t]=n)});var T=(0,s.default)(function(){return k},k,function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(function(n){return e[n]!==t[n]})}),S=f.useMemo(function(){return{prefixCls:O,csp:o}},[O,o]),N=r,L={};return p&&(L=(null===(t=p.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=v.default.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),i&&i.validateMessages&&(L=(0,l.default)((0,l.default)({},L),i.validateMessages)),Object.keys(L).length>0&&(N=f.createElement(c.FormProvider,{validateMessages:L},r)),p&&(N=f.createElement(d.default,{locale:p,_ANT_MARK__:d.ANT_MARK},N)),(O||o)&&(N=f.createElement(u.default.Provider,{value:S},N)),m&&(N=f.createElement(x.SizeContextProvider,{size:m},N)),void 0!==j&&(N=f.createElement(b.DisabledContextProvider,{disabled:j},N)),f.createElement(y.ConfigContext.Provider,{value:T},N)},E=function(e){return f.useEffect(function(){e.direction&&(m.default.config({rtl:"rtl"===e.direction}),h.default.config({rtl:"rtl"===e.direction}))},[e.direction]),f.createElement(p.default,null,function(t,n,r){return f.createElement(y.ConfigConsumer,null,function(t){return f.createElement(j,(0,l.default)({parentContext:t,legacyLocale:r},e))})})};E.ConfigContext=y.ConfigContext,E.SizeContext=x.default,E.config=M,t.default=E},25633:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10434)),a=r(n(27590)),i=r(n(52040)),l={lang:(0,o.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},a.default),timePickerLocale:(0,o.default)({},i.default)};t.default=l},73625:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.useLocaleReceiver=t.default=void 0;var a=o(n(10434)),i=r(n(67294)),l=o(n(89354)),u=o(n(95209)),c=function(e){var t=e.componentName,n=void 0===t?"global":t,r=e.defaultLocale,o=e.children,c=i.useContext(l.default);return o(i.useMemo(function(){var e,t=r||u.default[n],o=null!==(e=null==c?void 0:c[n])&&void 0!==e?e:{};return(0,a.default)((0,a.default)({},t instanceof Function?t():t),o||{})},[n,r,c]),i.useMemo(function(){var e=c&&c.locale;return c&&c.exist&&!e?u.default.locale:e},[c]),c)};t.default=c;var s=function(e,t){var n=i.useContext(l.default);return[i.useMemo(function(){var r,o=t||u.default[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return(0,a.default)((0,a.default)({},"function"==typeof o?o():o),i||{})},[e,t,n])]};t.useLocaleReceiver=s},89354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(67294).createContext)(void 0);t.default=r},95209:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(56350)).default;t.default=o},53594:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var a=o(n(10434)),i=r(n(67294));o(n(13594));var l=n(10625),u=o(n(89354));t.ANT_MARK="internalMark";var c=function(e){var t=e.locale,n=void 0===t?{}:t,r=e.children;e._ANT_MARK__,i.useEffect(function(){return(0,l.changeConfirmLocale)(n&&n.Modal),function(){(0,l.changeConfirmLocale)()}},[n]);var o=i.useMemo(function(){return(0,a.default)((0,a.default)({},n),{exist:!0})},[n]);return i.createElement(u.default.Provider,{value:o},r)};t.default=c},56350:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(62273)),a=r(n(1028)),i=r(n(25633)),l=r(n(52040)),u="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:i.default,TimePicker:l.default,Calendar:a.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:u,method:u,array:u,object:u,number:u,date:u,boolean:u,integer:u,float:u,regexp:u,email:u,url:u,hex:u},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=c},64333:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r,o=null,f=(0,l.default)({add:function(e,t){null==o||o.component.add(e,t)}}),d=(0,i.default)(f,2),p=d[0],v=d[1],m=u.useRef({});return m.current.open=function(i){var l=n("message",i.prefixCls),u=n(),s=i.key||(0,c.getKeyThenIncreaseKey)(),f=new Promise(function(n){var c=function(){return"function"==typeof i.onClose&&i.onClose(),n(!0)};e((0,a.default)((0,a.default)({},i),{prefixCls:l,rootPrefixCls:u,getPopupContainer:r}),function(e){var n=e.prefixCls;o=e.instance,p(t((0,a.default)((0,a.default)({},i),{key:s,onClose:c}),n))})}),d=function(){o&&o.removeNotice(s)};return d.then=function(e,t){return f.then(e,t)},d.promise=f,d},c.typeList.forEach(function(e){return(0,c.attachTypeApi)(m.current,e)}),[m.current,u.createElement(s.ConfigConsumer,{key:"holder"},function(e){return n=e.getPrefixCls,r=e.getPopupContainer,v})]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(11187),s=n(31929)},11187:function(e,t,n){"use strict";var r,o,a,i,l=n(75263).default,u=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=L,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=j,t.typeList=void 0;var c=u(n(10434)),s=u(n(38416)),f=u(n(37431)),d=u(n(42547)),p=u(n(42461)),v=u(n(94354)),m=u(n(628)),h=u(n(94184)),y=u(n(91127)),g=l(n(67294)),b=l(n(31929)),x=u(n(64333)),C=3,_=1,w="",P="move-up",M=!1,O=!1;function j(){return _++}function E(e,t){var n=e.prefixCls,l=e.getPopupContainer,u=(0,b.globalConfig)(),c=u.getPrefixCls,s=u.getRootPrefixCls,f=u.getIconPrefixCls,d=c("message",n||w),p=s(e.rootPrefixCls,d),v=f();if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:r});return}var m={prefixCls:d,transitionName:M?P:"".concat(p,"-").concat(P),style:{top:o},getContainer:a||l,maxCount:i};y.default.newInstance(m,function(e){if(r){t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:r});return}r=e,t({prefixCls:d,rootPrefixCls:p,iconPrefixCls:v,instance:e})})}var k={info:v.default,success:f.default,error:d.default,warning:p.default,loading:m.default},T=Object.keys(k);function S(e,t,n){var r,o=void 0!==e.duration?e.duration:C,a=k[e.type],i=(0,h.default)("".concat(t,"-custom-content"),(r={},(0,s.default)(r,"".concat(t,"-").concat(e.type),e.type),(0,s.default)(r,"".concat(t,"-rtl"),!0===O),r));return{key:e.key,duration:o,style:e.style||{},className:e.className,content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:i},e.icon||a&&g.createElement(a,null),g.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}t.typeList=T;var N={open:function(e){var t=e.key||j(),n=new Promise(function(n){var r=function(){return"function"==typeof e.onClose&&e.onClose(),n(!0)};E(e,function(n){var o=n.prefixCls,a=n.iconPrefixCls;n.instance.notice(S((0,c.default)((0,c.default)({},e),{key:t,onClose:r}),o,a))})}),o=function(){r&&r.removeNotice(t)};return o.then=function(e,t){return n.then(e,t)},o.promise=n,o},config:function(e){void 0!==e.top&&(o=e.top,r=null),void 0!==e.duration&&(C=e.duration),void 0!==e.prefixCls&&(w=e.prefixCls),void 0!==e.getContainer&&(a=e.getContainer,r=null),void 0!==e.transitionName&&(P=e.transitionName,r=null,M=!0),void 0!==e.maxCount&&(i=e.maxCount,r=null),void 0!==e.rtl&&(O=e.rtl)},destroy:function(e){r&&(e?(0,r.removeNotice)(e):((0,r.destroy)(),r=null))}};function L(e,t){e[t]=function(n,r,o){return"[object Object]"===Object.prototype.toString.call(n)&&n.content?e.open((0,c.default)((0,c.default)({},n),{type:t})):("function"==typeof r&&(o=r,r=void 0),e.open({content:n,duration:r,type:t,onClose:o}))}}T.forEach(function(e){return L(N,e)}),N.warn=N.warning,N.useMessage=(0,x.default)(E,S);var R=function(){return null};t.getInstance=R,t.default=N},10625:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){i=e?(0,o.default)((0,o.default)({},i),e):(0,o.default)({},a.default.Modal)},t.getConfirmLocale=function(){return i};var o=r(n(10434)),a=r(n(56350)),i=(0,o.default)({},a.default.Modal)},23298:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var n,r=null,o=(0,l.default)({add:function(e,t){null==r||r.component.add(e,t)}}),s=(0,i.default)(o,2),f=s[0],d=s[1],p=u.useRef({});return p.current.open=function(o){var i=n("notification",o.prefixCls);e((0,a.default)((0,a.default)({},o),{prefixCls:i}),function(e){var n=e.prefixCls;r=e.instance,f(t(o,n))})},["success","info","warning","error"].forEach(function(e){p.current[e]=function(t){return p.current.open((0,a.default)((0,a.default)({},t),{type:e}))}}),[p.current,u.createElement(c.ConfigConsumer,{key:"holder"},function(e){return n=e.getPrefixCls,d})]}};var a=o(n(10434)),i=o(n(27424)),l=o(n(45484)),u=r(n(67294)),c=n(31929)},16318:function(e,t,n){"use strict";var r,o,a,i=n(75263).default,l=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var u=l(n(17061)),c=l(n(10434)),s=l(n(38416)),f=l(n(67996)),d=l(n(74337)),p=l(n(40753)),v=l(n(67039)),m=l(n(93201)),h=l(n(94184)),y=l(n(91127)),g=i(n(67294)),b=i(n(31929)),x=l(n(23298)),C={},_=4.5,w=24,P=24,M="",O="topRight",j=!1;function E(e,t){var n=e.placement,o=void 0===n?O:n,i=e.top,l=e.bottom,u=e.getContainer,c=void 0===u?r:u,f=e.prefixCls,d=(0,b.globalConfig)(),p=d.getPrefixCls,v=d.getIconPrefixCls,m=p("notification",f||M),g=v(),x="".concat(m,"-").concat(o),_=C[x];if(_){Promise.resolve(_).then(function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:e})});return}var E=(0,h.default)("".concat(m,"-").concat(o),(0,s.default)({},"".concat(m,"-rtl"),!0===j));C[x]=new Promise(function(e){y.default.newInstance({prefixCls:m,className:E,style:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}(o,i,l),getContainer:c,maxCount:a},function(n){e(n),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:g,instance:n})})})}var k={success:f.default,info:m.default,error:d.default,warning:v.default};function T(e,t,n){var r=e.duration,a=e.icon,i=e.type,l=e.description,u=e.message,c=e.btn,f=e.onClose,d=e.onClick,v=e.key,m=e.style,y=e.className,x=e.closeIcon,C=e.props,w=void 0===r?_:r,P=null;a?P=g.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(P=g.createElement(k[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var M=g.createElement("span",{className:"".concat(t,"-close-x")},(void 0===x?o:x)||g.createElement(p.default,{className:"".concat(t,"-close-icon")})),O=!l&&P?g.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:g.createElement(b.default,{iconPrefixCls:n},g.createElement("div",{className:P?"".concat(t,"-with-icon"):"",role:"alert"},P,g.createElement("div",{className:"".concat(t,"-message")},O,u),g.createElement("div",{className:"".concat(t,"-description")},l),c?g.createElement("span",{className:"".concat(t,"-btn")},c):null)),duration:w,closable:!0,closeIcon:M,onClose:f,onClick:d,key:v,style:m||{},className:(0,h.default)(y,(0,s.default)({},"".concat(t,"-").concat(i),!!i)),props:C}}var S={open:function(e){E(e,function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(T(e,n,r))})},close:function(e){Object.keys(C).forEach(function(t){return Promise.resolve(C[t]).then(function(t){t.removeNotice(e)})})},config:function(e){var t=e.duration,n=e.placement,i=e.bottom,l=e.top,u=e.getContainer,c=e.closeIcon,s=e.prefixCls;void 0!==s&&(M=s),void 0!==t&&(_=t),void 0!==n?O=n:e.rtl&&(O="topLeft"),void 0!==i&&(P=i),void 0!==l&&(w=l),void 0!==u&&(r=u),void 0!==c&&(o=c),void 0!==e.rtl&&(j=e.rtl),void 0!==e.maxCount&&(a=e.maxCount)},destroy:function(){Object.keys(C).forEach(function(e){Promise.resolve(C[e]).then(function(e){e.destroy()}),delete C[e]})}};["success","info","warning","error"].forEach(function(e){S[e]=function(t){return S.open((0,c.default)((0,c.default)({},t),{type:e}))}}),S.warn=S.warning,S.useNotification=(0,x.default)(E,T);var N=function(e){var t,n,r,o;return t=void 0,n=void 0,r=void 0,o=(0,u.default)().mark(function e(){return(0,u.default)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}},e)}),new(r||(r=Promise))(function(e,a){function i(e){try{u(o.next(e))}catch(t){a(t)}}function l(e){try{u(o.throw(e))}catch(t){a(t)}}function u(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(i,l)}u((o=o.apply(t,n||[])).next())})};t.getInstance=N,t.default=S},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},32502:function(e,t,n){"use strict";var r=n(75263),o=n(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(10434)),i=o(n(38416)),l=o(n(56690)),u=o(n(89728)),c=o(n(61655)),s=o(n(26389)),f=r(n(67294)),d=o(n(73935)),p=o(n(94184)),v=function(e){(0,c.default)(n,e);var t=(0,s.default)(n);function n(){var e;(0,l.default)(this,n);for(var r=arguments.length,o=Array(r),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},r=d(e,n);null==r||null===(t=r.parentNode)||void 0===t||t.removeChild(r)},t.updateCSS=function(e,t){var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=l.get(e);if(!n||!(0,a.default)(document,n)){var r=f("",t),o=r.parentNode;l.set(e,o),o.removeChild(r)}}(c(i),i);var s=d(t,i);if(s)return(null===(n=i.csp)||void 0===n?void 0:n.nonce)&&s.nonce!==(null===(r=i.csp)||void 0===r?void 0:r.nonce)&&(s.nonce=null===(o=i.csp)||void 0===o?void 0:o.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;var p=f(e,i);return p.setAttribute(u(i),t),p};var o=r(n(19158)),a=r(n(32191)),i="data-rc-order",l=new Map;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function s(e){return Array.from((l.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var n=t.csp,r=t.prepend,a=document.createElement("style");a.setAttribute(i,"queue"===r?"prependQueue":r?"prepend":"append"),(null==n?void 0:n.nonce)&&(a.nonce=null==n?void 0:n.nonce),a.innerHTML=e;var l=c(t),u=l.firstChild;if(r){if("queue"===r){var f=s(l).filter(function(e){return["prepend","prependQueue"].includes(e.getAttribute(i))});if(f.length)return l.insertBefore(a,f[f.length-1].nextSibling),a}l.insertBefore(a,u)}else l.appendChild(a);return a}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(c(t)).find(function(n){return n.getAttribute(u(t))===e})}},67265:function(e,t,n){"use strict";var r=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=o.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value};var o=r(n(67294))},18475:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n};var o=r(n(42122))},45520:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=a,t.default=void 0,t.note=o,t.noteOnce=function(e,t){a(o,e,t)},t.resetWarned=function(){n={}},t.warning=r,t.warningOnce=i;var n={};function r(e,t){}function o(e,t){}function a(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function i(e,t){a(r,e,t)}t.default=i},73897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},94993:function(e,t,n){var r=n(18698).default,o=n(66115);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},17061:function(e,t,n){var r=n(18698).default;function o(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(d){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o,a,l=Object.create((t&&t.prototype instanceof h?t:h).prototype);return i(l,"_invoke",{value:(o=new j(r||[]),a="suspendedStart",function(t,r){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw r;return k()}for(o.method=t,o.arg=r;;){var i=o.delegate;if(i){var l=function e(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method))return m;n.method="throw",n.arg=TypeError("The iterator does not provide a 'throw' method")}return m}var o=v(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,m):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(i,o);if(l){if(l===m)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var u=v(e,n,o);if("normal"===u.type){if(a=o.done?"completed":"suspendedYield",u.arg===m)continue;return{value:u.arg,done:o.done}}"throw"===u.type&&(a="completed",o.method="throw",o.arg=u.arg)}})}),l}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=p;var m={};function h(){}function y(){}function g(){}var b={};f(b,u,function(){return this});var x=Object.getPrototypeOf,C=x&&x(x(E([])));C&&C!==n&&a.call(C,u)&&(b=C);var _=g.prototype=h.prototype=Object.create(b);function w(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function P(e,t){var n;i(this,"_invoke",{value:function(o,i){function l(){return new t(function(n,l){!function n(o,i,l,u){var c=v(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,l,u)},function(e){n("throw",e,l,u)}):t.resolve(f).then(function(e){s.value=e,l(s)},function(e){return n("throw",e,l,u)})}u(c.arg)}(o,i,n,l)})}return n=n?n.then(l,l):l()}})}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function E(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),m}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27424:function(e,t,n){var r=n(85372),o=n(68872),a=n(86116),i=n(12218);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,n){var r=n(63405),o=n(79498),a=n(86116),i=n(42281);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},86116:function(e,t,n){var r=n(73897);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}},e.exports.__esModule=!0,e.exports.default=e.exports}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2542.00f2a11cdad0d270.js b/static/web/_next/static/chunks/2542.00f2a11cdad0d270.js deleted file mode 100644 index a49e7c634..000000000 --- a/static/web/_next/static/chunks/2542.00f2a11cdad0d270.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2542],{2542:function(a,e,n){n.r(e),n.d(e,{gherkin:function(){return i}});const i={name:"gherkin",startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(a,e){if(a.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,a.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),a.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return a.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):a.match(/.*/),"string";if(e.inMultilineTable)return a.match(/\|\s*/)?"bracket":(a.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(a.match('"""'))return e.inMultilineString=!0,"string";if(a.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return a.match(/#.*/)?"comment":!e.inKeywordLine&&a.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&a.match(/(\u6a5f\u80fd|\u529f\u80fd|\u30d5\u30a3\u30fc\u30c1\u30e3|\uae30\ub2a5|\u0e42\u0e04\u0e23\u0e07\u0e2b\u0e25\u0e31\u0e01|\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16|\u0e04\u0e27\u0e32\u0e21\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08|\u0cb9\u0cc6\u0c9a\u0ccd\u0c9a\u0cb3|\u0c17\u0c41\u0c23\u0c2e\u0c41|\u0a2e\u0a41\u0a39\u0a3e\u0a02\u0a26\u0a30\u0a3e|\u0a28\u0a15\u0a36 \u0a28\u0a41\u0a39\u0a3e\u0a30|\u0a16\u0a3e\u0a38\u0a40\u0a05\u0a24|\u0930\u0942\u092a \u0932\u0947\u0916|\u0648\u0650\u06cc\u0698\u06af\u06cc|\u062e\u0627\u0635\u064a\u0629|\u05ea\u05db\u05d5\u05e0\u05d4|\u0424\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b|\u0424\u0443\u043d\u043a\u0446\u0438\u044f|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043d\u043e\u0441\u0442|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b|\u04ae\u0437\u0435\u043d\u0447\u04d9\u043b\u0435\u043a\u043b\u0435\u043b\u0435\u043a|\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e|\u041e\u0441\u043e\u0431\u0438\u043d\u0430|\u041c\u04e9\u043c\u043a\u0438\u043d\u043b\u0435\u043a|\u041c\u043e\u0433\u0443\u045b\u043d\u043e\u0441\u0442|\u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1|\u0394\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1|W\u0142a\u015bciwo\u015b\u0107|Vlastnos\u0165|Trajto|T\xednh n\u0103ng|Savyb\u0117|Pretty much|Po\u017eiadavka|Po\u017eadavek|Potrzeba biznesowa|\xd6zellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogu\u0107nost|Mogucnost|Jellemz\u0151|Hw\xe6t|Hwaet|Funzionalit\xe0|Funktionalit\xe9it|Funktionalit\xe4t|Funkcja|Funkcionalnost|Funkcionalit\u0101te|Funkcia|Fungsi|Functionaliteit|Func\u021bionalitate|Func\u0163ionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalit\xe9|Fitur|F\u012b\u010da|Feature|Eiginleiki|Egenskap|Egenskab|Caracter\xedstica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&a.match(/(\u80cc\u666f|\ubc30\uacbd|\u0e41\u0e19\u0e27\u0e04\u0e34\u0e14|\u0cb9\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6\u0cb2\u0cc6|\u0c28\u0c47\u0c2a\u0c25\u0c4d\u0c2f\u0c02|\u0a2a\u0a3f\u0a1b\u0a4b\u0a15\u0a5c|\u092a\u0943\u0937\u094d\u0920\u092d\u0942\u092e\u093f|\u0632\u0645\u06cc\u0646\u0647|\u0627\u0644\u062e\u0644\u0641\u064a\u0629|\u05e8\u05e7\u05e2|\u0422\u0430\u0440\u0438\u0445|\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u0440\u0435\u0434\u0438\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u043e\u0437\u0430\u0434\u0438\u043d\u0430|\u041f\u0435\u0440\u0435\u0434\u0443\u043c\u043e\u0432\u0430|\u041e\u0441\u043d\u043e\u0432\u0430|\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442|\u041a\u0435\u0440\u0435\u0448|\u03a5\u03c0\u03cc\u03b2\u03b1\u03b8\u03c1\u03bf|Za\u0142o\u017cenia|Yo\-ho\-ho|Tausta|Taust|Situ\u0101cija|Rerefons|Pozadina|Pozadie|Pozad\xed|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|H\xe1tt\xe9r|Hannergrond|Grundlage|Ge\xe7mi\u015f|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cen\xe1rio de Fundo|Cenario de Fundo|Cefndir|B\u1ed1i c\u1ea3nh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|\xc6r|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(\u5834\u666f\u5927\u7db1|\u573a\u666f\u5927\u7eb2|\u5287\u672c\u5927\u7db1|\u5267\u672c\u5927\u7eb2|\u30c6\u30f3\u30d7\u30ec|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec|\u30b7\u30ca\u30ea\u30aa\u30a2\u30a6\u30c8\u30e9\u30a4\u30f3|\uc2dc\ub098\ub9ac\uc624 \uac1c\uc694|\u0e2a\u0e23\u0e38\u0e1b\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0cb5\u0cbf\u0cb5\u0cb0\u0ca3\u0cc6|\u0c15\u0c25\u0c28\u0c02|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a30\u0a42\u0a2a \u0a30\u0a47\u0a16\u0a3e|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a22\u0a3e\u0a02\u0a1a\u0a3e|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f \u0930\u0942\u092a\u0930\u0947\u0916\u093e|\u0633\u064a\u0646\u0627\u0631\u064a\u0648 \u0645\u062e\u0637\u0637|\u0627\u0644\u06af\u0648\u06cc \u0633\u0646\u0627\u0631\u06cc\u0648|\u05ea\u05d1\u05e0\u05d9\u05ea \u05ea\u05e8\u05d7\u05d9\u05e9|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439\u043d\u044b\u04a3 \u0442\u04e9\u0437\u0435\u043b\u0435\u0448\u0435|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0441\u0438|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0430|\u0421\u043a\u0438\u0446\u0430|\u0420\u0430\u043c\u043a\u0430 \u043d\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u041a\u043e\u043d\u0446\u0435\u043f\u0442|\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hw\xe6r swa|Swa hwaer swa|Struktura scenarija|Structur\u0103 scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo tasla\u011f\u0131|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scen\u0101rijs p\u0113c parauga|Scenarijaus \u0161ablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Sc\xe9nario|Plan du sc\xe9nario|Osnova sc\xe9n\xe1\u0159e|Osnova Scen\xe1ra|N\xe1\u010drt Scen\xe1ru|N\xe1\u010drt Sc\xe9n\xe1\u0159e|N\xe1\u010drt Scen\xe1ra|MISHUN SRSLY|Menggariskan Senario|L\xfdsing D\xe6ma|L\xfdsing Atbur\xf0ar\xe1sar|Konturo de la scenaro|Koncept|Khung t\xecnh hu\u1ed1ng|Khung k\u1ecbch b\u1ea3n|Forgat\xf3k\xf6nyv v\xe1zlat|Esquema do Cen\xe1rio|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delinea\xe7\xe3o do Cen\xe1rio|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&a.match(/(\u4f8b\u5b50|\u4f8b|\u30b5\u30f3\u30d7\u30eb|\uc608|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07|\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1|\u0c09\u0c26\u0c3e\u0c39\u0c30\u0c23\u0c32\u0c41|\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a28\u0a3e\u0a02|\u0909\u0926\u093e\u0939\u0930\u0923|\u0646\u0645\u0648\u0646\u0647 \u0647\u0627|\u0627\u0645\u062b\u0644\u0629|\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea|\u04ae\u0440\u043d\u04d9\u043a\u043b\u04d9\u0440|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0438|\u041f\u0440\u0438\u043c\u0435\u0440\u044b|\u041f\u0440\u0438\u043c\u0435\u0440\u0438|\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438|\u041c\u0438\u0441\u043e\u043b\u043b\u0430\u0440|\u041c\u0438\u0441\u0430\u043b\u043b\u0430\u0440|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1|\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se \xfee|Se the|Se \xf0e|Scenarios|Scenariji|Scenarijai|Przyk\u0142ady|Primjeri|Primeri|P\u0159\xedklady|Pr\xedklady|Piem\u0113ri|P\xe9ld\xe1k|Pavyzd\u017eiai|Paraugs|\xd6rnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|D\u1eef li\u1ec7u|Dead men tell no tales|D\xe6mi|Contoh|Cen\xe1rios|Cenarios|Beispiller|Beispiele|Atbur\xf0ar\xe1sir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(\u5834\u666f|\u573a\u666f|\u5287\u672c|\u5267\u672c|\u30b7\u30ca\u30ea\u30aa|\uc2dc\ub098\ub9ac\uc624|\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0c95\u0ca5\u0cbe\u0cb8\u0cbe\u0cb0\u0cbe\u0c82\u0cb6|\u0c38\u0c28\u0c4d\u0c28\u0c3f\u0c35\u0c47\u0c36\u0c02|\u0a2a\u0a1f\u0a15\u0a25\u0a3e|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f|\u0633\u064a\u0646\u0627\u0631\u064a\u0648|\u0633\u0646\u0627\u0631\u06cc\u0648|\u05ea\u05e8\u05d7\u05d9\u05e9|\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u043e|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u041f\u0440\u0438\u043c\u0435\u0440|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf|T\xecnh hu\u1ed1ng|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Sc\xe9nario|Scenario|Scenarijus|Scen\u0101rijs|Scenarij|Scenarie|Sc\xe9n\xe1\u0159|Scen\xe1r|Primer|MISHUN|K\u1ecbch b\u1ea3n|Keadaan|Heave to|Forgat\xf3k\xf6nyv|Escenario|Escenari|Cen\xe1rio|Cenario|Awww, look mate|Atbur\xf0ar\xe1s):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&a.match(/(\u90a3\u9ebc|\u90a3\u4e48|\u800c\u4e14|\u7576|\u5f53|\u5e76\u4e14|\u540c\u6642|\u540c\u65f6|\u524d\u63d0|\u5047\u8bbe|\u5047\u8a2d|\u5047\u5b9a|\u5047\u5982|\u4f46\u662f|\u4f46\u3057|\u4e26\u4e14|\u3082\u3057|\u306a\u3089\u3070|\u305f\u3060\u3057|\u3057\u304b\u3057|\u304b\u3064|\ud558\uc9c0\ub9cc|\uc870\uac74|\uba3c\uc800|\ub9cc\uc77c|\ub9cc\uc57d|\ub2e8|\uadf8\ub9ac\uace0|\uadf8\ub7ec\uba74|\u0e41\u0e25\u0e30 |\u0e40\u0e21\u0e37\u0e48\u0e2d |\u0e41\u0e15\u0e48 |\u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19 |\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49 |\u0cb8\u0ccd\u0ca5\u0cbf\u0ca4\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1 |\u0cae\u0ca4\u0ccd\u0ca4\u0cc1 |\u0ca8\u0cbf\u0cd5\u0ca1\u0cbf\u0ca6 |\u0ca8\u0c82\u0ca4\u0cb0 |\u0c86\u0ca6\u0cb0\u0cc6 |\u0c2e\u0c30\u0c3f\u0c2f\u0c41 |\u0c1a\u0c46\u0c2a\u0c4d\u0c2a\u0c2c\u0c21\u0c3f\u0c28\u0c26\u0c3f |\u0c15\u0c3e\u0c28\u0c3f |\u0c08 \u0c2a\u0c30\u0c3f\u0c38\u0c4d\u0c25\u0c3f\u0c24\u0c3f\u0c32\u0c4b |\u0c05\u0c2a\u0c4d\u0c2a\u0c41\u0c21\u0c41 |\u0a2a\u0a30 |\u0a24\u0a26 |\u0a1c\u0a47\u0a15\u0a30 |\u0a1c\u0a3f\u0a35\u0a47\u0a02 \u0a15\u0a3f |\u0a1c\u0a26\u0a4b\u0a02 |\u0a05\u0a24\u0a47 |\u092f\u0926\u093f |\u092a\u0930\u0928\u094d\u0924\u0941 |\u092a\u0930 |\u0924\u092c |\u0924\u0926\u093e |\u0924\u0925\u093e |\u091c\u092c |\u091a\u0942\u0902\u0915\u093f |\u0915\u093f\u0928\u094d\u0924\u0941 |\u0915\u0926\u093e |\u0914\u0930 |\u0905\u0917\u0930 |\u0648 |\u0647\u0646\u06af\u0627\u0645\u06cc |\u0645\u062a\u0649 |\u0644\u0643\u0646 |\u0639\u0646\u062f\u0645\u0627 |\u062b\u0645 |\u0628\u0641\u0631\u0636 |\u0628\u0627 \u0641\u0631\u0636 |\u0627\u0645\u0627 |\u0627\u0630\u0627\u064b |\u0622\u0646\u06af\u0627\u0647 |\u05db\u05d0\u05e9\u05e8 |\u05d5\u05d2\u05dd |\u05d1\u05d4\u05d9\u05e0\u05ea\u05df |\u05d0\u05d6\u05d9 |\u05d0\u05d6 |\u05d0\u05d1\u05dc |\u042f\u043a\u0449\u043e |\u04ba\u04d9\u043c |\u0423\u043d\u0434\u0430 |\u0422\u043e\u0434\u0456 |\u0422\u043e\u0433\u0434\u0430 |\u0422\u043e |\u0422\u0430\u043a\u0436\u0435 |\u0422\u0430 |\u041f\u0443\u0441\u0442\u044c |\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0449\u043e |\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e |\u041e\u043d\u0434\u0430 |\u041d\u043e |\u041d\u0435\u0445\u0430\u0439 |\u041d\u04d9\u0442\u0438\u0497\u04d9\u0434\u04d9 |\u041b\u0435\u043a\u0438\u043d |\u041b\u04d9\u043a\u0438\u043d |\u041a\u043e\u043b\u0438 |\u041a\u043e\u0433\u0434\u0430 |\u041a\u043e\u0433\u0430\u0442\u043e |\u041a\u0430\u0434\u0430 |\u041a\u0430\u0434 |\u041a \u0442\u043e\u043c\u0443 \u0436\u0435 |\u0406 |\u0418 |\u0417\u0430\u0434\u0430\u0442\u043e |\u0417\u0430\u0434\u0430\u0442\u0438 |\u0417\u0430\u0434\u0430\u0442\u0435 |\u0415\u0441\u043b\u0438 |\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c |\u0414\u0430\u043d\u043e |\u0414\u0430\u0434\u0435\u043d\u043e |\u0412\u04d9 |\u0412\u0430 |\u0411\u0438\u0440\u043e\u043a |\u04d8\u043c\u043c\u0430 |\u04d8\u0439\u0442\u0438\u043a |\u04d8\u0433\u04d9\u0440 |\u0410\u043c\u043c\u043e |\u0410\u043b\u0438 |\u0410\u043b\u0435 |\u0410\u0433\u0430\u0440 |\u0410 \u0442\u0430\u043a\u043e\u0436 |\u0410 |\u03a4\u03cc\u03c4\u03b5 |\u038c\u03c4\u03b1\u03bd |\u039a\u03b1\u03b9 |\u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5 |\u0391\u03bb\u03bb\u03ac |\xdeurh |\xdeegar |\xdea \xfee |\xde\xe1 |\xdea |Zatati |Zak\u0142adaj\u0105c |Zadato |Zadate |Zadano |Zadani |Zadan |Za p\u0159edpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |V\xe0 |Und |Un |ugeholl |Too right |Thurh |Th\xec |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |\u0218i |\u015ei |Si |Sed |Se |S\xe5 |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokia\u013e |Per\xf2 |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nh\u01b0ng |N\xe4r |N\xe5r |Mutta |Men |Mas |Maka |Majd |Maj\u0105c |Mais |Maar |m\xe4 |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Ke\u010f |Kdy\u017e |Kaj |Kai |Kada |Kad |Je\u017celi |Je\u015bli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |\xc9tant donn\xe9s |Etant donn\xe9s |\xc9tant donn\xe9es |Etant donn\xe9es |\xc9tant donn\xe9e |Etant donn\xe9e |\xc9tant donn\xe9 |Etant donn\xe9 |Et |\xc9s |Entonces |Ent\xf3n |Ent\xe3o |Entao |En |E\u011fer ki |Ef |Eeldades |E |\xd0urh |Duota |Dun |Donita\u0135o |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Da\u021bi fiind |Da\u0163i fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |\xd0a \xf0e |\xd0a |Cuando |Cho |Cando |C\xe2nd |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Bi\u1ebft |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |At\xe8s |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A z\xe1rove\u0148 |A tie\u017e |A taktie\u017e |A tak\xe9 |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):a.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&a.match(/<[^>]*>?/)?"variable":(a.next(),a.eatWhile(/[^@"<#]/),null)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2542.82fcb9f7206aadce.js b/static/web/_next/static/chunks/2542.82fcb9f7206aadce.js new file mode 100644 index 000000000..c6e30668e --- /dev/null +++ b/static/web/_next/static/chunks/2542.82fcb9f7206aadce.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2542],{2542:function(e,a,n){n.r(a),n.d(a,{gherkin:function(){return i}});let i={name:"gherkin",startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(e,a){if(e.sol()&&(a.lineNumber++,a.inKeywordLine=!1,a.inMultilineTable&&(a.tableHeaderLine=!1,e.match(/\s*\|/,!1)||(a.allowMultilineArgument=!1,a.inMultilineTable=!1))),e.eatSpace(),a.allowMultilineArgument){if(a.inMultilineString)return e.match('"""')?(a.inMultilineString=!1,a.allowMultilineArgument=!1):e.match(/.*/),"string";if(a.inMultilineTable)return e.match(/\|\s*/)?"bracket":(e.match(/[^\|]*/),a.tableHeaderLine?"header":"string");if(e.match('"""'))return a.inMultilineString=!0,"string";if(e.match("|"))return a.inMultilineTable=!0,a.tableHeaderLine=!0,"bracket"}if(e.match(/#.*/))return"comment";if(!a.inKeywordLine&&e.match(/@\S+/))return"tag";if(!a.inKeywordLine&&a.allowFeature&&e.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/))return a.allowScenario=!0,a.allowBackground=!0,a.allowPlaceholders=!1,a.allowSteps=!1,a.allowMultilineArgument=!1,a.inKeywordLine=!0,"keyword";if(!a.inKeywordLine&&a.allowBackground&&e.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/))return a.allowPlaceholders=!1,a.allowSteps=!0,a.allowBackground=!1,a.allowMultilineArgument=!1,a.inKeywordLine=!0,"keyword";if(!a.inKeywordLine&&a.allowScenario&&e.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/))return a.allowPlaceholders=!0,a.allowSteps=!0,a.allowMultilineArgument=!1,a.inKeywordLine=!0,"keyword";if(a.allowScenario&&e.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/))return a.allowPlaceholders=!1,a.allowSteps=!0,a.allowBackground=!1,a.allowMultilineArgument=!0,"keyword";if(!a.inKeywordLine&&a.allowScenario&&e.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/))return a.allowPlaceholders=!1,a.allowSteps=!0,a.allowBackground=!1,a.allowMultilineArgument=!1,a.inKeywordLine=!0,"keyword";else if(!a.inKeywordLine&&a.allowSteps&&e.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/))return a.inStep=!0,a.allowPlaceholders=!0,a.allowMultilineArgument=!0,a.inKeywordLine=!0,"keyword";else if(e.match(/"[^"]*"?/))return"string";else if(a.allowPlaceholders&&e.match(/<[^>]*>?/))return"variable";else return e.next(),e.eatWhile(/[^@"<#]/),null}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2602.49073fd8e10164f0.js b/static/web/_next/static/chunks/2602.49073fd8e10164f0.js deleted file mode 100644 index 0558fa53b..000000000 --- a/static/web/_next/static/chunks/2602.49073fd8e10164f0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2602],{62602:function(e,t,n){function r(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function a(e,t,n){return n.tokenize.push(e),e(t,n)}n.r(t),n.d(t,{crystal:function(){return E}});var u=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,i=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,c=/^(?:\[\][?=]?)/,o=/^(?:\.(?:\.{2})?|->|[?:])/,s=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,f=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,l=r(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),m=r(["true","false","nil","self"]),h=r(["def","fun","macro","class","module","struct","lib","enum","union","do","for"]),p=r(["if","unless","case","while","until","begin","then"]),k=["end","else","elsif","rescue","ensure"],d=r(k),F=["\\)","\\}","\\]"],_=new RegExp("^(?:"+F.join("|")+")$"),z={def:y,fun:y,macro:function(e,t){if(e.eatSpace())return null;var n;if(n=e.match(s)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"},class:I,module:I,struct:I,lib:I,enum:I,union:I},b={"[":"]","{":"}","(":")","<":">"};function g(e,t){if(e.eatSpace())return null;if("\\"!=t.lastToken&&e.match("{%",!1))return a(x("%","%"),e,t);if("\\"!=t.lastToken&&e.match("{{",!1))return a(x("{","}"),e,t);if("#"==e.peek())return e.skipToEnd(),"comment";var n;if(e.match(s))return e.eat(/[?!]/),n=e.current(),e.eat(":")?"atom":"."==t.lastToken?"property":l.test(n)?(h.test(n)?"fun"==n&&t.blocks.indexOf("lib")>=0||"def"==n&&"abstract"==t.lastToken||(t.blocks.push(n),t.currentIndent+=1):"operator"!=t.lastStyle&&t.lastStyle||!p.test(n)?"end"==n&&(t.blocks.pop(),t.currentIndent-=1):(t.blocks.push(n),t.currentIndent+=1),z.hasOwnProperty(n)&&t.tokenize.push(z[n]),"keyword"):m.test(n)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?a(w("[","]","meta"),e,t):(e.eat("@"),e.match(s)||e.match(f),"propertyName");if(e.match(f))return"tag";if(e.eat(":"))return e.eat('"')?a(v('"',"atom",!1),e,t):e.match(s)||e.match(f)||e.match(u)||e.match(i)||e.match(c)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return a(v('"',"string",!0),e,t);if("%"==e.peek()){var r,k="string",d=!0;if(e.match("%r"))k="string.special",r=e.next();else if(e.match("%w"))d=!1,r=e.next();else if(e.match("%q"))d=!1,r=e.next();else if(r=e.match(/^%([^\w\s=])/))r=r[1];else{if(e.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(e.eat("%"))return"operator"}return b.hasOwnProperty(r)&&(r=b[r]),a(v(r,k,d),e,t)}return(n=e.match(/^<<-('?)([A-Z]\w*)\1/))?a(function(e,t){return function(n,r){if(n.sol()&&(n.eatSpace(),n.match(e)))return r.tokenize.pop(),"string";for(var a=!1;n.peek();)if(a)n.next(),a=!1;else{if(n.match("{%",!1))return r.tokenize.push(x("%","%")),"string";if(n.match("{{",!1))return r.tokenize.push(x("{","}")),"string";if(t&&n.match("#{",!1))return r.tokenize.push(w("#{","}","meta")),"string";a=t&&"\\"==n.next()}return"string"}}(n[2],!n[1]),e,t):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F_]+/):e.eat("o")?e.match(/^[0-7_]+/):e.eat("b")&&e.match(/^[01_]+/),"number"):e.eat(/^\d/)?(e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):e.match(u)?(e.eat("="),"operator"):e.match(i)||e.match(o)?"operator":(n=e.match(/[({[]/,!1))?a(w(n=n[0],b[n],null),e,t):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function w(e,t,n,r){return function(a,u){if(!r&&a.match(e))return u.tokenize[u.tokenize.length-1]=w(e,t,n,!0),u.currentIndent+=1,n;var i=g(a,u);return a.current()===t&&(u.tokenize.pop(),u.currentIndent-=1,i=n),i}}function x(e,t,n){return function(r,a){return!n&&r.match("{"+e)?(a.currentIndent+=1,a.tokenize[a.tokenize.length-1]=x(e,t,!0),"meta"):r.match(t+"}")?(a.currentIndent-=1,a.tokenize.pop(),"meta"):g(r,a)}}function y(e,t){return e.eatSpace()?null:(e.match(s)?e.eat(/[!?]/):e.match(u)||e.match(i)||e.match(c),t.tokenize.pop(),"def")}function I(e,t){return e.eatSpace()?null:(e.match(f),t.tokenize.pop(),"def")}function v(e,t,n){return function(r,a){for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return a.tokenize.push(x("%","%")),t;if(r.match("{{",!1))return a.tokenize.push(x("{","}")),t;if(n&&r.match("#{",!1))return a.tokenize.push(w("#{","}","meta")),t;var i=r.next();if(i==e)return a.tokenize.pop(),t;u=n&&"\\"==i}return t}}const E={name:"crystal",startState:function(){return{tokenize:[g],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(e,t,n){return t=t.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),d.test(t)||_.test(t)?n.unit*(e.currentIndent-1):n.unit*e.currentIndent},languageData:{indentOnInput:r(F.concat(k),!0),commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2602.b42aa7598d8adcd0.js b/static/web/_next/static/chunks/2602.b42aa7598d8adcd0.js new file mode 100644 index 000000000..e2da1be76 --- /dev/null +++ b/static/web/_next/static/chunks/2602.b42aa7598d8adcd0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2602],{62602:function(e,t,n){function r(e,t){return RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function a(e,t,n){return n.tokenize.push(e),e(t,n)}n.r(t),n.d(t,{crystal:function(){return E}});var u=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,i=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,c=/^(?:\[\][?=]?)/,o=/^(?:\.(?:\.{2})?|->|[?:])/,s=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,l=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,f=r(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),m=r(["true","false","nil","self"]),h=r(["def","fun","macro","class","module","struct","lib","enum","union","do","for"]),p=r(["if","unless","case","while","until","begin","then"]),k=["end","else","elsif","rescue","ensure"],d=r(k),F=["\\)","\\}","\\]"],_=RegExp("^(?:"+F.join("|")+")$"),z={def:I,fun:I,macro:function(e,t){var n;if(e.eatSpace())return null;if(n=e.match(s)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"},class:w,module:w,struct:w,lib:w,enum:w,union:w},b={"[":"]","{":"}","(":")","<":">"};function g(e,t){if(e.eatSpace())return null;if("\\"!=t.lastToken&&e.match("{%",!1))return a(y("%","%"),e,t);if("\\"!=t.lastToken&&e.match("{{",!1))return a(y("{","}"),e,t);if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(s))return(e.eat(/[?!]/),k=e.current(),e.eat(":"))?"atom":"."==t.lastToken?"property":f.test(k)?(h.test(k)?"fun"==k&&t.blocks.indexOf("lib")>=0||"def"==k&&"abstract"==t.lastToken||(t.blocks.push(k),t.currentIndent+=1):("operator"==t.lastStyle||!t.lastStyle)&&p.test(k)?(t.blocks.push(k),t.currentIndent+=1):"end"==k&&(t.blocks.pop(),t.currentIndent-=1),z.hasOwnProperty(k)&&t.tokenize.push(z[k]),"keyword"):m.test(k)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?a(x("[","]","meta"),e,t):(e.eat("@"),e.match(s)||e.match(l),"propertyName");if(e.match(l))return"tag";if(e.eat(":"))return e.eat('"')?a(v('"',"atom",!1),e,t):e.match(s)||e.match(l)||e.match(u)||e.match(i)||e.match(c)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return a(v('"',"string",!0),e,t);if("%"==e.peek()){var n,r,k,d,F="string",_=!0;if(e.match("%r"))F="string.special",d=e.next();else if(e.match("%w"))_=!1,d=e.next();else if(e.match("%q"))_=!1,d=e.next();else if(d=e.match(/^%([^\w\s=])/))d=d[1];else if(e.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";else if(e.eat("%"))return"operator";return b.hasOwnProperty(d)&&(d=b[d]),a(v(d,F,_),e,t)}return(k=e.match(/^<<-('?)([A-Z]\w*)\1/))?a((n=k[2],r=!k[1],function(e,t){if(e.sol()&&(e.eatSpace(),e.match(n)))return t.tokenize.pop(),"string";for(var a=!1;e.peek();)if(a)e.next(),a=!1;else{if(e.match("{%",!1))return t.tokenize.push(y("%","%")),"string";if(e.match("{{",!1))return t.tokenize.push(y("{","}")),"string";if(r&&e.match("#{",!1))return t.tokenize.push(x("#{","}","meta")),"string";a=r&&"\\"==e.next()}return"string"}),e,t):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F_]+/):e.eat("o")?e.match(/^[0-7_]+/):e.eat("b")&&e.match(/^[01_]+/),"number"):e.eat(/^\d/)?(e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):e.match(u)?(e.eat("="),"operator"):e.match(i)||e.match(o)?"operator":(k=e.match(/[({[]/,!1))?a(x(k=k[0],b[k],null),e,t):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function x(e,t,n,r){return function(a,u){if(!r&&a.match(e))return u.tokenize[u.tokenize.length-1]=x(e,t,n,!0),u.currentIndent+=1,n;var i=g(a,u);return a.current()===t&&(u.tokenize.pop(),u.currentIndent-=1,i=n),i}}function y(e,t,n){return function(r,a){return!n&&r.match("{"+e)?(a.currentIndent+=1,a.tokenize[a.tokenize.length-1]=y(e,t,!0),"meta"):r.match(t+"}")?(a.currentIndent-=1,a.tokenize.pop(),"meta"):g(r,a)}}function I(e,t){return e.eatSpace()?null:(e.match(s)?e.eat(/[!?]/):e.match(u)||e.match(i)||e.match(c),t.tokenize.pop(),"def")}function w(e,t){return e.eatSpace()?null:(e.match(l),t.tokenize.pop(),"def")}function v(e,t,n){return function(r,a){for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return a.tokenize.push(y("%","%")),t;if(r.match("{{",!1))return a.tokenize.push(y("{","}")),t;if(n&&r.match("#{",!1))return a.tokenize.push(x("#{","}","meta")),t;var i=r.next();if(i==e)return a.tokenize.pop(),t;u=n&&"\\"==i}return t}}let E={name:"crystal",startState:function(){return{tokenize:[g],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(e,t,n){return(t=t.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),d.test(t)||_.test(t))?n.unit*(e.currentIndent-1):n.unit*e.currentIndent},languageData:{indentOnInput:r(F.concat(k),!0),commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2675.13edd980b93f0724.js b/static/web/_next/static/chunks/2675.13edd980b93f0724.js deleted file mode 100644 index 8eb8ff1e9..000000000 --- a/static/web/_next/static/chunks/2675.13edd980b93f0724.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2675],{2675:function(e,n,t){t.r(n),t.d(n,{brainfuck:function(){return c}});var o="><+-.,[]".split("");const c={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var t=e.next().toString();return-1===o.indexOf(t)?(n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment"):!0===n.commentLine?(e.eol()&&(n.commentLine=!1),"comment"):"]"===t||"["===t?("["===t?n.left++:n.right++,"bracket"):"+"===t||"-"===t?"keyword":"<"===t||">"===t?"atom":"."===t||","===t?"def":void(e.eol()&&(n.commentLine=!1))}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2675.5dcad6fd413d6984.js b/static/web/_next/static/chunks/2675.5dcad6fd413d6984.js new file mode 100644 index 000000000..77f5d28c1 --- /dev/null +++ b/static/web/_next/static/chunks/2675.5dcad6fd413d6984.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2675],{9521:function(e,n,t){t.r(n),t.d(n,{brainfuck:function(){return m}});var o="><+-.,[]".split("");let m={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var t=e.next().toString();return -1===o.indexOf(t)?(n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment"):!0===n.commentLine?(e.eol()&&(n.commentLine=!1),"comment"):"]"===t||"["===t?("["===t?n.left++:n.right++,"bracket"):"+"===t||"-"===t?"keyword":"<"===t||">"===t?"atom":"."===t||","===t?"def":void(e.eol()&&(n.commentLine=!1))}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2750.5cd2257649b9f112.js b/static/web/_next/static/chunks/2750.5cd2257649b9f112.js deleted file mode 100644 index 38cce850d..000000000 --- a/static/web/_next/static/chunks/2750.5cd2257649b9f112.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2750],{12750:function(O,Q,i){i.r(Q),i.d(Q,{cpp:function(){return n},cppLanguage:function(){return l}});var $=i(53105),a=i(35524);const X=new $.Jq((O=>{if(76==O.next||85==O.next?O.advance():117==O.next&&(O.advance(),56==O.next&&O.advance()),82!=O.next)return;if(O.advance(),34!=O.next)return;O.advance();let Q="";for(;40!=O.next;){if(32==O.next||O.next<=13||41==O.next)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(1);if(41==O.next){let i=!0;for(let $=0;i&&${if(62==O.next)62==O.peek(1)&&O.acceptToken(2,1);else{let Q=!1,i=0;for(;;i++){if(O.next>=65&&O.next<=90)Q=!0;else{if(O.next>=97&&O.next<=122)return;if(95!=O.next&&!(O.next>=48&&O.next<=57))break}O.advance()}Q&&i>1&&O.acceptToken(3)}}),{extend:!0}),_=(0,a.Gv)({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using __attribute__ __declspec __based":a.pJ.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register inline const volatile restrict _Atomic mutable constexpr virtual explicit VirtualSpecifier Access":a.pJ.modifier,"if else switch for while do case default return break continue goto throw try catch":a.pJ.controlKeyword,"new sizeof delete static_assert":a.pJ.operatorKeyword,"NULL nullptr":a.pJ.null,this:a.pJ.self,"True False":a.pJ.bool,"TypeSize PrimitiveType":a.pJ.standard(a.pJ.typeName),TypeIdentifier:a.pJ.typeName,FieldIdentifier:a.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":a.pJ.function(a.pJ.propertyName),StatementIdentifier:a.pJ.labelName,"Identifier DestructorName":a.pJ.variableName,"CallExpression/Identifier":a.pJ.function(a.pJ.variableName),"CallExpression/ScopedIdentifier/Identifier":a.pJ.function(a.pJ.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":a.pJ.function(a.pJ.definition(a.pJ.variableName)),NamespaceIdentifier:a.pJ.namespace,OperatorName:a.pJ.operator,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,AssignOp:a.pJ.definitionOperator,UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,"RawString SystemLibString":a.pJ.special(a.pJ.string),CharLiteral:a.pJ.character,EscapeSequence:a.pJ.escape,PreProcArg:a.pJ.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":a.pJ.processingInstruction,MacroName:a.pJ.special(a.pJ.name),"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"< >":a.pJ.angleBracket,". ->":a.pJ.derefOperator,", ;":a.pJ.separator}),t={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,struct:82,__declspec:86,final:90,override:90,public:94,private:94,protected:94,virtual:154,extern:156,static:158,register:160,inline:162,__attribute__:166,__based:172,__restrict:174,__uptr:174,__sptr:174,_unaligned:174,__unaligned:174,noexcept:188,throw:192,new:228,delete:230,operator:236,template:266,typename:272,class:274,using:284,friend:292,__cdecl:296,__clrcall:296,__stdcall:296,__fastcall:296,__thiscall:296,__vectorcall:296,case:306,default:308,if:320,else:326,switch:330,do:334,while:336,for:344,return:348,break:352,continue:356,goto:360,typedef:364,try:378,catch:382,namespace:388,static_assert:394,explicit:404,union:420,enum:442,signed:446,unsigned:446,long:446,short:446,decltype:458,auto:460,sizeof:492,TRUE:746,true:746,FALSE:748,false:748,NULL:500,nullptr:518,this:520},P={__proto__:null,"<":139},U={__proto__:null,">":143},r={__proto__:null,operator:218,new:504,delete:510},s=$.WQ.deserial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Q*S$vU*}%|/S9TS+X&Q/VW+Y&R/W3]9XQ+b&aQ.R(tQ/T){S/a*P*RQ0P*|Q2p.WQ3T.yQ3[/RQ3f/`Q5n3UQ8{8lQ8|8mQ9U8zQ9V9SR9Y9WX%Ui$}/U/sT)T#y*iR,a'RQ,`'RR4d1Q^zO|}%t&{*i,ZR,n'TW%dm+h+r,QT)e$W0`_{O|}%t&{*i,Z^zO|}%t&{*i,ZQ&i!fQ*p%eQ+l&fQ+p&jQ0e+mQ3z0dQ5x3{Q6P4RQ7O5{Q7d6|Q7e7PR7l7cvrO|}!f%e%t&f&j&{*i+m,Z0d3{4R5{6|7P7cX,R&v,P,S0wQ,O&tR0l+wS+{&t+wQ0o+yQ0u+|U4U0m0n0pQ4]0sS6Q4V4WR7Q6R^vO|}%t&{*i,ZQ,i'TT,x'Z,}R*d%^^xO|}%t&{*i,ZQ,j'TT,y'Z,}^yO|}%t&{*i,ZT,z'Z,}Q-`'gR2X-aR-]'fR's!}[%[i%Y'x(x)O/sR/l*aQ(R#US-m'y'zR2b-nR-q'{R2d-o",nodeNames:"\u26a0 RawString > MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr StructSpecifier struct MsDeclspecModifier __declspec ) VirtualSpecifier BaseClassClause Access , FieldDeclarationList { FieldDeclaration Attribute AttributeName Identifier AttributeArgs } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp Number CharLiteral AttributeArgs virtual extern static register inline AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept ThrowSpecifier throw TrailingReturnType AbstractPointerDeclarator AbstractFunctionDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete TemplateFunction OperatorName operator StructuredBindingDeclarator OptionalParameterDeclaration VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause InitializerList InitializerPair SubscriptDesignator FieldDesignator TemplateDeclaration template TemplateParameterList TypeParameterDeclaration typename class OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration AliasDeclaration using Declaration InitDeclarator FriendDeclaration friend FunctionDefinition MsCallModifier CompoundStatement LinkageSpecification DeclarationList CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement CommaExpression IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while ParenthesizedExpression WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ForRangeLoop TryStatement try CatchClause catch ThrowStatement NamespaceDefinition namespace UsingDeclaration StaticAssertDeclaration static_assert ConcatenatedString TemplateInstantiation FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast Declaration union FunctionDefinition FunctionDefinition FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier EnumSpecifier enum SizedTypeSpecifier TypeSize EnumeratorList Enumerator ClassSpecifier DependentType Decltype decltype auto ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CompoundLiteralExpression True False NULL NewExpression new NewDeclarator DeleteExpression delete LambdaExpression LambdaCaptureSpecifier ParameterPackExpansion nullptr this #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:380,nodeProps:[["group",-31,1,8,11,14,15,16,18,74,75,106,116,117,169,198,234,235,236,240,243,244,245,247,248,249,250,251,254,256,258,259,260,"Expression",-12,17,24,25,26,40,219,220,222,226,227,228,230,"Type",-16,149,152,155,157,159,164,166,170,171,173,175,177,179,187,188,192,"Statement"]],propSources:[_],skippedNodes:[0,3,4,5,6,7,10,261,262,263,264,265,266,267,268,269,270,307,308],repeatNodeCount:37,tokenData:"%0W,TR!SOX$_XY'gYZ,cZ]$_]^)e^p$_pq'gqr,yrs.mst/[tu$_uv!/uvw!1gwx!3^xy!3{yz!4pz{!5e{|!6b|}!8Y}!O!8}!O!P!:x!P!Q!Nr!Q!R#2X!R![#Ew![!]$.t!]!^$0d!^!_$1X!_!`$;|!`!a${#Z#o0s#o~$_*q?Y`(cW'vQ&p#t&v'q&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#o0s#o~$_*q@gb(cW'vQ&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#X0s#X#YAo#Y#o0s#o~$_*qA|`(cW'vQ&t'q&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#o0s#o~$_*qCZb(cW'vQ&p#t&w'qOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![0s![!c$_!c!}0s!}#O$_#O#P%|#P#R$_#R#S0s#S#T$_#T#W0s#W#XDc#X#o0s#o~$_*qDnb(cW'vQ&p#t&w'qOY$_Zr$_rs%Qsw$_wx&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!`#O$_#O#P%|#P~$_,T%'mb(cW(PS'vQ!W&z'x#T&p#tOY$_Zr$_rs$CSsw$_wx$Cox!Q$_!Q!Y$@`!Y!Z$Aq!Z![$@`![!c$_!c!}$@`!}#O$_#O#P%|#P#R$_#R#S$@`#S#T$_#T#o$@`#o~$_){%)QW!S&{(cW'vQ&p#tOY$_Zr$_rs%Qsw$_wx&|x#O$_#O#P%|#P~$_*m%)w[(cW'vQ#cp&p#t!b&{OY$_Zr$_rs%Qsw$_wx&|x!_$_!_!`!0r!`#O$_#O#P%|#P#p$_#p#q%*m#q~$_*m%*zW(^&{#ep(cW'vQ&p#tOY$_Zr$_rs%Qsw$_wx&|x#O$_#O#P%|#P~$_$a%+oW!Ya(cW'vQ&p#tOY$_Zr$_rs%Qsw$_wx&|x#O$_#O#P%|#P~$_$u%,fa(cW'vQ#cp&[P&p#tOX$_XY%-kZp$_pq%-kqr$_rs%Qsw$_wx&|x!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_$T%-ta(cW'vQ&p#tOX$_XY%-kZp$_pq%-kqr$_rs%Qsw$_wx&|x!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_$T%/U`(cW'vQdT&p#tOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![%.y![!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_",tokenizers:[X,e,0,1,2,3,4,5,6,7,8],topRules:{Program:[0,271]},dynamicPrecedences:{84:1,91:1,98:1,104:-10,105:1,119:-1,125:-10,126:1,183:1,186:-10,227:-1,231:2,232:2,270:-10,325:3,369:1,370:3,371:1,372:1},specialized:[{term:316,get:O=>t[O]||-1},{term:32,get:O=>P[O]||-1},{term:70,get:O=>U[O]||-1},{term:323,get:O=>r[O]||-1}],tokenPrec:21623});var c=i(59119);const l=c.qp.define({name:"cpp",parser:s.configure({props:[c.uj.add({IfStatement:(0,c.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,c.tC)({except:/^\s*({|catch)\b/}),LabeledStatement:c.ze,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:(0,c.vw)({closing:"}"}),Statement:(0,c.tC)({except:/^{/})}),c.x0.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":c.Dv,BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function n(){return new c.ri(l)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2750.dce1b0402fc3003b.js b/static/web/_next/static/chunks/2750.dce1b0402fc3003b.js new file mode 100644 index 000000000..d7ce760da --- /dev/null +++ b/static/web/_next/static/chunks/2750.dce1b0402fc3003b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2750],{12750:function(O,Q,i){i.r(Q),i.d(Q,{cpp:function(){return n},cppLanguage:function(){return l}});var $=i(53105),a=i(35524);let X=new $.Jq(O=>{if(76==O.next||85==O.next?O.advance():117==O.next&&(O.advance(),56==O.next&&O.advance()),82!=O.next||(O.advance(),34!=O.next))return;O.advance();let Q="";for(;40!=O.next;){if(32==O.next||O.next<=13||41==O.next)return;Q+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(1);if(41==O.next){let i=!0;for(let $=0;i&&${if(62==O.next)62==O.peek(1)&&O.acceptToken(2,1);else{let Q=!1,i=0;for(;;i++){if(O.next>=65&&O.next<=90)Q=!0;else if(O.next>=97&&O.next<=122)return;else if(95!=O.next&&!(O.next>=48&&O.next<=57))break;O.advance()}Q&&i>1&&O.acceptToken(3)}},{extend:!0}),_=(0,a.Gv)({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using __attribute__ __declspec __based":a.pJ.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register inline const volatile restrict _Atomic mutable constexpr virtual explicit VirtualSpecifier Access":a.pJ.modifier,"if else switch for while do case default return break continue goto throw try catch":a.pJ.controlKeyword,"new sizeof delete static_assert":a.pJ.operatorKeyword,"NULL nullptr":a.pJ.null,this:a.pJ.self,"True False":a.pJ.bool,"TypeSize PrimitiveType":a.pJ.standard(a.pJ.typeName),TypeIdentifier:a.pJ.typeName,FieldIdentifier:a.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":a.pJ.function(a.pJ.propertyName),StatementIdentifier:a.pJ.labelName,"Identifier DestructorName":a.pJ.variableName,"CallExpression/Identifier":a.pJ.function(a.pJ.variableName),"CallExpression/ScopedIdentifier/Identifier":a.pJ.function(a.pJ.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":a.pJ.function(a.pJ.definition(a.pJ.variableName)),NamespaceIdentifier:a.pJ.namespace,OperatorName:a.pJ.operator,ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,AssignOp:a.pJ.definitionOperator,UpdateOp:a.pJ.updateOperator,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,Number:a.pJ.number,String:a.pJ.string,"RawString SystemLibString":a.pJ.special(a.pJ.string),CharLiteral:a.pJ.character,EscapeSequence:a.pJ.escape,PreProcArg:a.pJ.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":a.pJ.processingInstruction,MacroName:a.pJ.special(a.pJ.name),"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,"< >":a.pJ.angleBracket,". ->":a.pJ.derefOperator,", ;":a.pJ.separator}),t={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,struct:82,__declspec:86,final:90,override:90,public:94,private:94,protected:94,virtual:154,extern:156,static:158,register:160,inline:162,__attribute__:166,__based:172,__restrict:174,__uptr:174,__sptr:174,_unaligned:174,__unaligned:174,noexcept:188,throw:192,new:228,delete:230,operator:236,template:266,typename:272,class:274,using:284,friend:292,__cdecl:296,__clrcall:296,__stdcall:296,__fastcall:296,__thiscall:296,__vectorcall:296,case:306,default:308,if:320,else:326,switch:330,do:334,while:336,for:344,return:348,break:352,continue:356,goto:360,typedef:364,try:378,catch:382,namespace:388,static_assert:394,explicit:404,union:420,enum:442,signed:446,unsigned:446,long:446,short:446,decltype:458,auto:460,sizeof:492,TRUE:746,true:746,FALSE:748,false:748,NULL:500,nullptr:518,this:520},P={__proto__:null,"<":139},U={__proto__:null,">":143},r={__proto__:null,operator:218,new:504,delete:510},s=$.WQ.deserialize({version:14,states:"$+^Q!QQVOOP&qOUOOO'cOWO'#CdO*|QUO'#CgO+WQUO'#FoO,nQbO'#CwO-PQUO'#CwO.oQUO'#JaO.vQUO'#CvO/ROpO'#DyO/ZQ!dO'#DbOOQQ'#I['#I[O/fQUO'#KOO1VQUO'#I`OOQQ'#I`'#I`O4XQUO'#JrO7YQUO'#JrO9aQVO'#EZO9qQUO'#EZO9vQUOOO:OQVO'#EhO<`QVO'#EiOTOOQQ,5>d,5>dO!:pQVO'#ChO!>YQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5;U,5;UO!>gQ#vO,5=`O!4bQUO,5>]O!@zQVO,5>`O!ARQbO,59cO!A^QVO'#FQOOQQ,5>X,5>XO!AnQVO,59VO!AuO`O,5:eO!AzQbO'#DcO!B]QbO'#JgO!BkQbO,59|O!DmQUO'#CsO!F]QbO'#CwO!FbQUO'#CvO!IuQUO'#JaOOQQ-EUO#-{QUO,5;TO#.mQbO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aR-]'fR's!}[%[i%Y'x(x)O/sR/l*aQ(R#US-m'y'zR2b-nR-q'{R2d-o",nodeNames:"⚠ RawString > MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr StructSpecifier struct MsDeclspecModifier __declspec ) VirtualSpecifier BaseClassClause Access , FieldDeclarationList { FieldDeclaration Attribute AttributeName Identifier AttributeArgs } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp Number CharLiteral AttributeArgs virtual extern static register inline AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept ThrowSpecifier throw TrailingReturnType AbstractPointerDeclarator AbstractFunctionDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete TemplateFunction OperatorName operator StructuredBindingDeclarator OptionalParameterDeclaration VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause InitializerList InitializerPair SubscriptDesignator FieldDesignator TemplateDeclaration template TemplateParameterList TypeParameterDeclaration typename class OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration AliasDeclaration using Declaration InitDeclarator FriendDeclaration friend FunctionDefinition MsCallModifier CompoundStatement LinkageSpecification DeclarationList CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement CommaExpression IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while ParenthesizedExpression WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ForRangeLoop TryStatement try CatchClause catch ThrowStatement NamespaceDefinition namespace UsingDeclaration StaticAssertDeclaration static_assert ConcatenatedString TemplateInstantiation FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast Declaration union FunctionDefinition FunctionDefinition FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier EnumSpecifier enum SizedTypeSpecifier TypeSize EnumeratorList Enumerator ClassSpecifier DependentType Decltype decltype auto ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CompoundLiteralExpression True False NULL NewExpression new NewDeclarator DeleteExpression delete LambdaExpression LambdaCaptureSpecifier ParameterPackExpansion nullptr this #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:380,nodeProps:[["group",-31,1,8,11,14,15,16,18,74,75,106,116,117,169,198,234,235,236,240,243,244,245,247,248,249,250,251,254,256,258,259,260,"Expression",-12,17,24,25,26,40,219,220,222,226,227,228,230,"Type",-16,149,152,155,157,159,164,166,170,171,173,175,177,179,187,188,192,"Statement"]],propSources:[_],skippedNodes:[0,3,4,5,6,7,10,261,262,263,264,265,266,267,268,269,270,307,308],repeatNodeCount:37,tokenData:"%0W,TR!SOX$_XY'gYZ,cZ]$_]^)e^p$_pq'gqr,yrs.mst/[tu$_uv!/uvw!1gwx!3^xy!3{yz!4pz{!5e{|!6b|}!8Y}!O!8}!O!P!:x!P!Q!Nr!Q!R#2X!R![#Ew![!]$.t!]!^$0d!^!_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#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_$T%-ta(cW'vQ&p#tOX$_XY%-kZp$_pq%-kqr$_rs%Qsw$_wx&|x!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_$T%/U`(cW'vQdT&p#tOY$_Zr$_rs%Qsw$_wx&|x!Q$_!Q![%.y![!c$_!c!}%.y!}#O$_#O#P%|#P#R$_#R#S%.y#S#T$_#T#o%.y#o~$_",tokenizers:[X,e,0,1,2,3,4,5,6,7,8],topRules:{Program:[0,271]},dynamicPrecedences:{84:1,91:1,98:1,104:-10,105:1,119:-1,125:-10,126:1,183:1,186:-10,227:-1,231:2,232:2,270:-10,325:3,369:1,370:3,371:1,372:1},specialized:[{term:316,get:O=>t[O]||-1},{term:32,get:O=>P[O]||-1},{term:70,get:O=>U[O]||-1},{term:323,get:O=>r[O]||-1}],tokenPrec:21623});var c=i(59119);let l=c.qp.define({name:"cpp",parser:s.configure({props:[c.uj.add({IfStatement:(0,c.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,c.tC)({except:/^\s*({|catch)\b/}),LabeledStatement:c.ze,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:(0,c.vw)({closing:"}"}),Statement:(0,c.tC)({except:/^{/})}),c.x0.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":c.Dv,BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function n(){return new c.ri(l)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2852-4eaa5fce13b66f84.js b/static/web/_next/static/chunks/2852-4eaa5fce13b66f84.js deleted file mode 100644 index 6e7c70df4..000000000 --- a/static/web/_next/static/chunks/2852-4eaa5fce13b66f84.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2852],{36531:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="EditFilled";var l=n.forwardRef(u)},29158:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="LinkOutlined";var l=n.forwardRef(u)},27496:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="SendOutlined";var l=n.forwardRef(u)},93045:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="SmileOutlined";var l=n.forwardRef(u)},55355:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="TeamOutlined";var l=n.forwardRef(u)},66017:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},a=t(42135),u=function(e,r){return n.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:i}))};u.displayName="VerticalAlignBottomOutlined";var l=n.forwardRef(u)},6907:function(e){"use strict";e.exports=function(e){if(e=String(e||""),o.test(e))return"rtl";if(n.test(e))return"ltr";return"neutral"};var r="\u0591-\u07ff\ufb1d-\ufdfd\ufe70-\ufefc",t="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff",o=new RegExp("^[^"+t+"]*["+r+"]"),n=new RegExp("^[^"+r+"]*["+t+"]")},86492:function(e,r,t){var o;e=t.nmd(e),function(n){var i=r,a=(e&&e.exports,"object"==typeof t.g&&t.g);a.global!==a&&a.window;var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,c=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},d=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,h=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,v={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\ud835\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},b={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},w={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],x=String.fromCharCode,E={}.hasOwnProperty,S=function(e,r){return E.call(e,r)},C=function(e,r){if(!e)return r;var t,o={};for(t in r)o[t]=S(e,t)?e[t]:r[t];return o},q=function(e,r){var t="";return e>=55296&&e<=57343||e>1114111?(r&&A("character reference outside the permissible Unicode range"),"\ufffd"):S(w,e)?(r&&A("disallowed character reference"),w[e]):(r&&function(e,r){for(var t=-1,o=e.length;++t65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e))},D=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},T=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},k=function(e,r){(r=C(r,k.options)).strict&&g.test(e)&&A("forbidden code point");var t=r.encodeEverything,o=r.useNamedReferences,n=r.allowUnsafeSymbols,i=r.decimal?T:D,a=function(e){return i(e.charCodeAt(0))};return t?(e=e.replace(l,(function(e){return o&&S(p,e)?"&"+p[e]+";":a(e)})),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(s,(function(e){return"&"+p[e]+";"})))):o?(n||(e=e.replace(d,(function(e){return"&"+p[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(s,(function(e){return"&"+p[e]+";"}))):n||(e=e.replace(d,a)),e.replace(u,(function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);return i(1024*(r-55296)+t-56320+65536)})).replace(c,a)};k.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var I=function(e,r){var t=(r=C(r,I.options)).strict;return t&&m.test(e)&&A("malformed character reference"),e.replace(h,(function(e,o,n,i,a,u,l,c,s){var p,d,f,m,g,h;return o?v[g=o]:n?(g=n,(h=i)&&r.isAttributeValue?(t&&"="==h&&A("`&` did not start a character reference"),e):(t&&A("named character reference was not terminated by a semicolon"),b[g]+(h||""))):a?(f=a,d=u,t&&!d&&A("character reference was not terminated by a semicolon"),p=parseInt(f,10),q(p,t)):l?(m=l,d=c,t&&!d&&A("character reference was not terminated by a semicolon"),p=parseInt(m,16),q(p,t)):(t&&A("named character reference was not terminated by a semicolon"),e)}))};I.options={isAttributeValue:!1,strict:!1};var R={version:"1.2.0",encode:k,decode:I,escape:function(e){return e.replace(d,(function(e){return f[e]}))},unescape:I};void 0===(o=function(){return R}.call(r,t,r,e))||(e.exports=o)}()},18156:function(e,r){"use strict";for(var t="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},i={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},a=1;a<20;a++)i["f"+a]=111+a;function u(e,r,t){r&&!("byKey"in r)&&(t=r,r=null),Array.isArray(e)||(e=[e]);var o=e.map((function(e){return l(e,r)})),n=function(e){return o.some((function(r){return c(r,e)}))};return null==t?n:n(t)}function l(e,r){var t=r&&r.byKey,n={},i=(e=e.replace("++","+add")).split("+"),a=i.length;for(var u in o)n[o[u]]=!1;var l=!0,c=!1,d=void 0;try{for(var f,m=i[Symbol.iterator]();!(l=(f=m.next()).done);l=!0){var g=f.value,h=g.endsWith("?")&&g.length>1;h&&(g=g.slice(0,-1));var v=p(g),b=o[v];1!==a&&b||(t?n.key=v:n.which=s(g)),b&&(n[b]=!h||null)}}catch(w){c=!0,d=w}finally{try{!l&&m.return&&m.return()}finally{if(c)throw d}}return n}function c(e,r){for(var t in e){var o=e[t],n=void 0;if(null!=o&&((null!=(n="key"===t&&null!=r.key?r.key.toLowerCase():"which"===t?91===o&&93===r.which?91:r.which:r[t])||!1!==o)&&n!==o))return!1}return!0}function s(e){return e=p(e),i[e]||e.toUpperCase().charCodeAt(0)}function p(e){return e=e.toLowerCase(),e=n[e]||e}r.TB=function(e,r){return u(e,{byKey:!0},r)}},23493:function(e,r,t){var o=t(23279),n=t(13218);e.exports=function(e,r,t){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return n(t)&&(i="leading"in t?!!t.leading:i,a="trailing"in t?!!t.trailing:a),o(e,r,{leading:i,maxWait:r,trailing:a})}},37501:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.deepMap=r.removeDiacritics=r.getSearch=r.getMatchBoundaries=void 0;const o=t(67294);r.getMatchBoundaries=function(e,r){const t=r.exec(e);if(t)return{first:t.index,last:t.index+t[0].length}},r.getSearch=function(e){const{search:t,ignoreDiacritics:o,diacriticsBlacklist:i,caseSensitive:a}=e;if(t instanceof RegExp)return t;let u=n(t);return o&&(u=(0,r.removeDiacritics)(u,i)),new RegExp(u,a?"":"i")};r.removeDiacritics=(e,r)=>{if(!String.prototype.normalize)return e;if(r){const t=r.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,(function(e){return t.indexOf(e.normalize())>-1?e.normalize():e[0]}))}return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")};const n=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"";r.deepMap=(e,t)=>o.Children.toArray(e).map(((e,n,i)=>{return(0,o.isValidElement)(e)&&(a=e,(0,o.isValidElement)(a)&&Boolean(a.props.children))?t((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,r.deepMap)(e.props.children,t)}))):t(e,n,i);var a})),r.default=r.deepMap},98456:function(e,r,t){"use strict";var o=this&&this.__rest||function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n(0,n.jsx)("span",{children:e},`${e}-${t}`);return(0,n.jsx)("span",Object.assign({},g,{ref:r},{children:(r=>u?(0,a.deepMap)(r,(r=>"string"===typeof r?((e,r)=>{const o=[];let n=e;for(;n;){const e=l?(0,a.removeDiacritics)(n,c||""):n;if(!r.test(e))return o.push(h(n)),o;const f=(0,a.getMatchBoundaries)(e,r);if(0===(null===f||void 0===f?void 0:f.first)&&0===(null===f||void 0===f?void 0:f.last))return o;const m=n.slice(0,null===f||void 0===f?void 0:f.first);m&&o.push(h(m));const g=n.slice(null===f||void 0===f?void 0:f.first,null===f||void 0===f?void 0:f.last);g&&o.push((u=g,(0,i.createElement)(s,{key:`${u}-${t}`,className:p,style:d},u))),n=n.slice(null===f||void 0===f?void 0:f.last),t++}var u;return o})(r,(0,a.getSearch)(e)):r)):[r])(f)}),void 0)}))},47049:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;var o=t(98456);Object.defineProperty(r,"Highlight",{enumerable:!0,get:function(){return o.Highlight}})},9764:function(e,r,t){"use strict";t.d(r,{OO:function(){return Wt}});var o=t(67294);function n(e,r){return function(t){return e(r(t))}}function i(e,r){return r(e)}function a(e,r){return function(t){return e(r,t)}}function u(e,r){return function(){return e(r)}}function l(e,r){return r(e),e}function c(){for(var e=arguments.length,r=new Array(e),t=0;t-1&&e.splice(r,1)};case 0:return void e.slice().forEach((function(e){e(t)}));default:throw new Error("unrecognized action "+r)}}}function x(e){var r=e,t=y();return function(e,o){switch(e){case 1:o(r);break;case 0:r=o;break;case 4:return r}return t(e,o)}}function E(e){return l(y(),(function(r){return b(e,r)}))}function S(e,r){return l(x(r),(function(r){return b(e,r)}))}function C(){for(var e=arguments.length,r=new Array(e),t=0;t1?r-1:0),o=1;o0?e--:r(t)}}}function B(e){var r,t;return function(o){return function(n){r=n,t||(t=setTimeout((function(){t=void 0,o(r)}),e))}}}function H(e){var r,t;return function(o){return function(n){r=n,t&&clearTimeout(t),t=setTimeout((function(){o(r)}),e)}}}function F(){for(var e=arguments.length,r=new Array(e),t=0;te.length)&&(r=e.length);for(var t=0,o=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var j=["children"];var M="undefined"!==typeof document?o.useLayoutEffect:o.useEffect;function W(e,r,t){var n=Object.keys(r.required||{}),i=Object.keys(r.optional||{}),c=Object.keys(r.methods||{}),s=Object.keys(r.events||{}),d=(0,o.createContext)({});function b(e,t){e.propsReady&&g(e.propsReady,!1);for(var o,a=G(n);!(o=a()).done;){var u=o.value;g(e[r.required[u]],t[u])}for(var l,c=G(i);!(l=c()).done;){var s=l.value;if(s in t)g(e[r.optional[s]],t[s])}e.propsReady&&g(e.propsReady,!0)}function w(e){return s.reduce((function(t,o){return t[o]=function(e){var r,t,o=function(){return r&&r()};return function(n,i){switch(n){case 1:if(i){if(t===i)return;return o(),t=i,r=m(e,i)}return o(),f;case 2:return o(),void(t=null);default:throw new Error("unrecognized action "+n)}}}(e[r.events[o]]),t}),{})}var y=(0,o.forwardRef)((function(a,f){var v=a.children,y=function(e,r){if(null==e)return{};var t,o,n={},i=Object.keys(e);for(o=0;o=0||(n[t]=e[t]);return n}(a,j),x=(0,o.useState)((function(){return l(function(e){var r=new Map;return function e(t){var o=t.id,n=t.constructor,i=t.dependencies,a=t.singleton;if(a&&r.has(o))return r.get(o);var u=n(i.map((function(r){return e(r)})));return a&&r.set(o,u),u}(e)}(e),(function(e){return b(e,y)}))})),E=x[0],S=(0,o.useState)(u(w,E))[0];return M((function(){for(var e,r=G(s);!(e=r()).done;){var t=e.value;t in y&&m(S[t],y[t])}return function(){Object.values(S).map(h)}}),[y,S,E]),M((function(){b(E,y)})),(0,o.useImperativeHandle)(f,p(function(e){return c.reduce((function(t,o){return t[o]=function(t){g(e[r.methods[o]],t)},t}),{})}(E))),(0,o.createElement)(d.Provider,{value:E},t?(0,o.createElement)(t,function(e,r){for(var t={},o={},n=0,i=e.length;n=0||(n[t]=e[t]);return n}function Y(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Q,X,$,ee="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;($=X||(X={}))[$.DEBUG=0]="DEBUG",$[$.INFO=1]="INFO",$[$.WARN=2]="WARN",$[$.ERROR=3]="ERROR";var re=((Q={})[X.DEBUG]="debug",Q[X.INFO]="log",Q[X.WARN]="warn",Q[X.ERROR]="error",Q),te=z((function(){var e=x(X.ERROR);return{log:x((function(r,t,o){var n;void 0===o&&(o=X.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:v(e))&&console[re[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",r,t)})),logLevel:e}}),[],{singleton:!0});function oe(e,r){void 0===r&&(r=!0);var t=(0,o.useRef)(null),n=function(e){};if("undefined"!=typeof ResizeObserver){var i=new ResizeObserver((function(r){var t=r[0].target;null!==t.offsetParent&&e(t)}));n=function(e){e&&r?(i.observe(e),t.current=e):(t.current&&i.unobserve(t.current),t.current=null)}}return{ref:t,callbackRef:n}}function ne(e,r){return void 0===r&&(r=!0),oe(e,r).callbackRef}function ie(e,r,t,o,n,i,a){return oe((function(t){for(var u=function(e,r,t,o){var n=e.length;if(0===n)return null;for(var i=[],a=0;ar&&(a=a.concat(ve(e.l,r,t))),o>=r&&o<=t&&a.push({k:o,v:n}),o<=t&&(a=a.concat(ve(i,r,t))),a}function be(e){return de(e)?[]:[].concat(be(e.l),[{k:e.k,v:e.v}],be(e.r))}function we(e){return de(e.r)?[e.k,e.v]:we(e.r)}function ye(e){return de(e.r)?e.l:Se(xe(e,{r:ye(e.r)}))}function xe(e,r){return pe(void 0!==r.k?r.k:e.k,void 0!==r.v?r.v:e.v,void 0!==r.lvl?r.lvl:e.lvl,void 0!==r.l?r.l:e.l,void 0!==r.r?r.r:e.r)}function Ee(e){return de(e)||e.lvl>e.r.lvl}function Se(e){var r=e.l,t=e.r,o=e.lvl;if(t.lvl>=o-1&&r.lvl>=o-1)return e;if(o>t.lvl+1){if(Ee(r))return Te(xe(e,{lvl:o-1}));if(de(r)||de(r.r))throw new Error("Unexpected empty nodes");return xe(r.r,{l:xe(r,{r:r.r.l}),r:xe(e,{l:r.r.r,lvl:o-1}),lvl:o})}if(Ee(e))return De(xe(e,{lvl:o-1}));if(de(t)||de(t.l))throw new Error("Unexpected empty nodes");var n=t.l,i=Ee(n)?t.lvl-1:t.lvl;return xe(n,{l:xe(e,{r:n.l,lvl:o-1}),r:De(xe(t,{l:n.r,lvl:i})),lvl:n.lvl+1})}function Ce(e,r,t){return de(e)?[]:qe(ve(e,ge(e,r)[0],t),(function(e){return{index:e.k,value:e.v}}))}function qe(e,r){var t=e.length;if(0===t)return[];for(var o=r(e[0]),n=o.index,i=o.value,a=[],u=1;u0&&(0,r[2])("received item sizes",t,X.DEBUG);var i=e.sizeTree,a=i,u=0;if(o.length>0&&de(i)&&2===t.length){var l=t[0].size,c=t[1].size;a=o.reduce((function(e,r){return he(he(e,r,l),r+1,c)}),a)}else{var s=function(e,r){for(var t,o=de(e)?0:1/0,n=J(r);!(t=n()).done;){var i=t.value,a=i.size,u=i.startIndex,l=i.endIndex;if(o=Math.min(o,u),de(e))e=he(e,0,a);else{var c=Ce(e,u-1,l+1);if(!c.some(Re(i))){for(var s,p=!1,d=!1,f=J(c);!(s=f()).done;){var m=s.value,g=m.start,h=m.end,v=m.value;p?(l>=g||a===v)&&(e=me(e,g)):(d=v!==a,p=!0),h>l&&l>=g&&v!==a&&(e=he(e,l+1,v))}d&&(e=he(e,u,a))}}}return[e,o]}(a,t);a=s[0],u=s[1]}if(a===i)return e;var p=Fe(e.offsetTree,u,a,n),d=p.offsetTree;return{sizeTree:a,offsetTree:d,lastIndex:p.lastIndex,lastOffset:p.lastOffset,lastSize:p.lastSize,groupOffsetTree:o.reduce((function(e,r){return he(e,r,Ne(r,d,n))}),fe()),groupIndices:o}}function Ne(e,r,t){if(0===r.length)return 0;var o=ke(r,e,Le),n=e-o.index,i=o.size*n+(n-1)*t+o.offset;return i>0?i+t:i}function Pe(e,r,t){if(function(e){return void 0!==e.groupIndex}(e))return r.groupIndices[e.groupIndex]+1;var o=ze("LAST"===e.index?t:e.index,r);return Math.max(0,o,Math.min(t,o))}function ze(e,r){if(!Ve(r))return e;for(var t=0;r.groupIndices[t]<=e+t;)t++;return e+t}function Ve(e){return!de(e.groupOffsetTree)}var Ue={offsetHeight:"height",offsetWidth:"width"},Ge=z((function(e){var r=e[0].log,t=e[1].recalcInProgress,o=y(),n=y(),i=S(n,0),a=y(),u=y(),l=x(0),c=x([]),s=x(void 0),p=x(void 0),d=x((function(e,r){return ae(e,Ue[r])})),f=x(void 0),h=x(0),w={offsetTree:[],sizeTree:fe(),groupOffsetTree:fe(),lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=S(q(o,F(c,r,h),R(Oe,w),T()),w);b(q(c,A((function(e){return e.length>0})),F(C,h),k((function(e){var r=e[0],t=e[1],o=e[2],n=r.reduce((function(e,r,n){return he(e,r,Ne(r,t.offsetTree,o)||n)}),fe());return K({},t,{groupIndices:r,groupOffsetTree:n})}))),C),b(q(n,F(C),A((function(e){return e[0]0?(g(t,!0),g(a,e)):e<0&&g(u,e)})),m(q(l,F(r)),(function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:l},X.ERROR)}));var L=E(a);b(q(a,F(C),k((function(e){var r=e[0],t=e[1];if(t.groupIndices.length>0)throw new Error("Virtuoso: prepending items does not work with groups");return be(t.sizeTree).reduce((function(e,t){var o=t.k,n=t.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+r-1,size:e.prevSize}]),prevIndex:o+r,prevSize:n}}),{ranges:[],prevIndex:0,prevSize:t.lastSize}).ranges}))),o);var B=E(q(u,F(C,h),k((function(e){return Ne(-e[0],e[1].offsetTree,e[2])}))));return b(q(u,F(C,h),k((function(e){var r=e[0],t=e[1],o=e[2];if(t.groupIndices.length>0)throw new Error("Virtuoso: shifting items does not work with groups");var n=be(t.sizeTree).reduce((function(e,t){var o=t.v;return he(e,Math.max(0,t.k+r),o)}),fe());return K({},t,{sizeTree:n},Fe(t.offsetTree,0,n,o))}))),C),{data:f,totalCount:n,sizeRanges:o,groupIndices:c,defaultItemSize:p,fixedItemSize:s,unshiftWith:a,shiftWith:u,shiftWithOffset:B,beforeUnshiftWith:L,firstItemIndex:l,gap:h,sizes:C,listRefresh:I,statefulTotalCount:i,trackItemSizes:D,itemSize:d}}),c(te,Ie),{singleton:!0}),je="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function Me(e){var r="number"==typeof e?{index:e}:e;return r.align||(r.align="start"),r.behavior&&je||(r.behavior="auto"),r.offset||(r.offset=0),r}var We=z((function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.listRefresh,i=r.gap,a=e[1],u=a.scrollingInProgress,l=a.viewportHeight,c=a.scrollTo,s=a.smoothScrollTargetReached,p=a.headerHeight,d=a.footerHeight,f=a.fixedHeaderHeight,h=a.fixedFooterHeight,v=e[2].log,E=y(),S=x(0),C=null,D=null,T=null;function A(){C&&(C(),C=null),T&&(T(),T=null),D&&(clearTimeout(D),D=null),g(u,!1)}return b(q(E,F(t,l,o,S,p,d,v),F(i,f,h),k((function(e){var r=e[0],t=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],p=r[6],d=r[7],f=e[1],h=e[2],v=e[3],b=Me(t),y=b.align,x=b.behavior,S=b.offset,k=a-1,I=Pe(b,o,k),R=Ne(I,o.offsetTree,f)+c;"end"===y?(R+=h+ge(o.sizeTree,I)[1]-i+v,I===k&&(R+=p)):"center"===y?R+=(h+ge(o.sizeTree,I)[1]-i+v)/2:R-=l,S&&(R+=S);var L=function(e){A(),e?(d("retrying to scroll to",{location:t},X.DEBUG),g(E,t)):d("list did not change, scroll successful",{},X.DEBUG)};if(A(),"smooth"===x){var B=!1;T=m(n,(function(e){B=B||e})),C=w(s,(function(){L(B)}))}else C=w(q(n,(function(e){var r=setTimeout((function(){e(!1)}),150);return function(t){t&&(e(!0),clearTimeout(r))}})),L);return D=setTimeout((function(){A()}),1200),g(u,!0),d("scrolling from index to",{index:I,top:R,behavior:x},X.DEBUG),{top:R,behavior:x}}))),c),{scrollToIndex:E,topListHeight:S}}),c(Ge,ce,te),{singleton:!0}),Ze="up",Ke={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},_e=z((function(e){var r=e[0],t=r.scrollContainerState,o=r.scrollTop,n=r.viewportHeight,i=r.headerHeight,a=r.footerHeight,u=r.scrollBy,l=x(!1),c=x(!0),s=y(),p=y(),d=x(4),f=x(0),m=S(q(O(q(N(o),L(1),I(!0)),q(N(o),L(1),I(!1),H(100))),T()),!1),g=S(q(O(q(u,I(!0)),q(u,I(!1),H(200))),T()),!1);b(q(P(N(o),N(f)),k((function(e){return e[0]<=e[1]})),T()),c),b(q(c,B(50)),p);var h=E(q(P(t,N(n),N(i),N(a),N(d)),R((function(e,r){var t,o,n=r[0],i=n.scrollTop,a=n.scrollHeight,u=r[1],l={viewportHeight:u,scrollTop:i,scrollHeight:a};return i+u-a>-r[4]?(i>e.state.scrollTop?(t="SCROLLED_DOWN",o=e.state.scrollTop-i):(t="SIZE_DECREASED",o=e.state.scrollTop-i||e.scrollTopDelta),{atBottom:!0,state:l,atBottomBecause:t,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:l.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":ur+d-g&&(m=Ze),(a-=c)0){a=e[0].offset;var l=e[e.length-1];u=l.offset+l.size}var c=t-n.lastIndex,s=a,p=n.lastOffset+c*n.lastSize+(c-1)*o-u;return{items:ur(e,n,i),topItems:ur(r,n,i),topListHeight:r.reduce((function(e,r){return r.size+e}),0),offsetTop:a,offsetBottom:p,top:s,bottom:u,totalCount:t,firstItemIndex:i}}var cr=z((function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.data,i=r.firstItemIndex,a=r.gap,u=e[1],c=e[2],s=c.visibleRange,p=c.listBoundary,d=c.topListHeight,f=e[3],m=f.scrolledToInitialItem,g=f.initialTopMostItemIndex,h=e[4].topListHeight,v=e[5],w=e[6].didMount,C=e[7].recalcInProgress,D=x([]),I=y();b(u.topItemsIndexes,D);var R=S(q(P(w,C,N(s,rr),N(o),N(t),N(g),m,N(D),N(i),N(a),n),A((function(e){return e[0]&&!e[1]})),k((function(e){var r=e[2],t=r[0],o=r[1],n=e[3],i=e[5],a=e[6],u=e[7],c=e[8],s=e[9],p=e[10],d=e[4],f=d.sizeTree,m=d.offsetTree;if(0===n||0===t&&0===o)return K({},ar,{totalCount:n});if(de(f))return lr(function(e,r,t){if(Ve(r)){var o=ze(e,r);return[{index:ge(r.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}(function(e,r){return"number"==typeof e?e:"LAST"===e.index?r-1:e.index}(i,n),d,p),[],n,s,d,c);var g=[];if(u.length>0)for(var h,v=u[0],b=u[u.length-1],w=0,y=J(Ce(f,v,b));!(h=y()).done;)for(var x=h.value,E=x.value,S=Math.max(x.start,v),C=Math.min(x.end,b),q=S;q<=C;q++)g.push({index:q,size:E,offset:w,data:p&&p[q]}),w+=E;if(!a)return lr([],g,n,s,d,c);var D=u.length>0?u[u.length-1]+1:0,T=function(e,r,t,o){return void 0===o&&(o=0),o>0&&(r=Math.max(r,ke(e,o,Le).offset)),qe((i=t,u=Ae(n=e,r,a=Be),l=Ae(n,i,a,u),n.slice(u,l+1)),He);var n,i,a,u,l}(m,t,o,D);if(0===T.length)return null;var A=n-1;return lr(l([],(function(e){for(var r,n=J(T);!(r=n()).done;){var i=r.value,a=i.value,u=a.offset,l=i.start,c=a.size;if(a.offset=o);m++)e.push({index:m,size:c,offset:u,data:p&&p[m]}),u+=c+s}})),g,n,s,d,c)})),A((function(e){return null!==e})),T()),ar);return b(q(n,A((function(e){return void 0!==e})),k((function(e){return e.length}))),o),b(q(R,k((function(e){return e.topListHeight}))),h),b(h,d),b(q(R,k((function(e){return[e.top,e.bottom]}))),p),b(q(R,k((function(e){return e.items}))),I),K({listState:R,topItemsIndexes:D,endReached:E(q(R,A((function(e){return e.items.length>0})),F(o,n),A((function(e){var r=e[0].items;return r[r.length-1].originalIndex===e[1]-1})),k((function(e){return[e[1]-1,e[2]]})),T(rr),k((function(e){return e[0]})))),startReached:E(q(R,B(200),A((function(e){var r=e.items;return r.length>0&&r[0].originalIndex===e.topItems.length})),k((function(e){return e.items[0].index})),T())),rangeChanged:E(q(R,A((function(e){return e.items.length>0})),k((function(e){for(var r=e.items,t=0,o=r.length-1;"group"===r[t].type&&tt;)o--;return{startIndex:r[t].index,endIndex:r[o].index}})),T(tr))),itemsRendered:I},v)}),c(Ge,er,ir,Je,We,_e,Ye,Ie),{singleton:!0}),sr=z((function(e){var r=e[0],t=r.sizes,o=r.firstItemIndex,n=r.data,i=r.gap,a=e[1].listState,u=e[2].didMount,l=x(0);return b(q(u,F(l),A((function(e){return 0!==e[1]})),F(t,o,i,n),k((function(e){var r=e[0][1],t=e[1],o=e[2],n=e[3],i=e[4],a=void 0===i?[]:i,u=0;if(t.groupIndices.length>0)for(var l,c=J(t.groupIndices);!((l=c()).done||l.value-u>=r);)u++;var s=r+u;return lr(Array.from({length:s}).map((function(e,r){return{index:r,size:0,offset:0,data:a[r]}})),[],s,n,t,o)}))),a),{initialItemCount:l}}),c(Ge,cr,Ye),{singleton:!0}),pr=z((function(e){var r=e[0].scrollVelocity,t=x(!1),o=y(),n=x(!1);return b(q(r,F(n,t,o),A((function(e){return!!e[1]})),k((function(e){var r=e[0],t=e[1],o=e[2],n=e[3],i=t.enter;if(o){if((0,t.exit)(r,n))return!1}else if(i(r,n))return!0;return o})),T()),t),m(q(P(t,r,o),F(n)),(function(e){var r=e[0],t=e[1];return r[0]&&t&&t.change&&t.change(r[1],r[2])})),{isSeeking:t,scrollSeekConfiguration:n,scrollVelocity:r,scrollSeekRangeChanged:o}}),c(_e),{singleton:!0}),dr=z((function(e){var r=e[0].topItemsIndexes,t=x(0);return b(q(t,A((function(e){return e>0})),k((function(e){return Array.from({length:e}).map((function(e,r){return r}))}))),r),{topItemCount:t}}),c(cr)),fr=z((function(e){var r=e[0],t=r.footerHeight,o=r.headerHeight,n=r.fixedHeaderHeight,i=r.fixedFooterHeight,a=e[1].listState,u=y(),l=S(q(P(t,i,o,n,a),k((function(e){var r=e[4];return e[0]+e[1]+e[2]+e[3]+r.offsetBottom+r.bottom}))),0);return b(N(l),u),{totalListHeight:l,totalListHeightChanged:u}}),c(ce,cr),{singleton:!0});function mr(e){var r,t=!1;return function(){return t||(t=!0,r=e()),r}}var gr=mr((function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)})),hr=z((function(e){var r=e[0],t=r.scrollBy,o=r.scrollTop,n=r.deviation,i=r.scrollingInProgress,a=e[1],u=a.isScrolling,l=a.isAtBottom,c=a.scrollDirection,s=e[3],p=s.beforeUnshiftWith,d=s.shiftWithOffset,f=s.sizes,h=s.gap,v=e[4].log,w=e[5].recalcInProgress,y=E(q(e[2].listState,F(a.lastJumpDueToItemResize),R((function(e,r){var t=e[1],o=r[0],n=o.items,i=o.totalCount,a=o.bottom+o.offsetBottom,u=0;return e[2]===i&&t.length>0&&n.length>0&&(0===n[0].originalIndex&&0===t[0].originalIndex||0!=(u=a-e[3])&&(u+=r[1])),[u,n,i,a]}),[0,[],0,0]),A((function(e){return 0!==e[0]})),F(o,c,i,l,v),A((function(e){return!e[3]&&0!==e[1]&&e[2]===Ze})),k((function(e){var r=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:r},X.DEBUG),r}))));function x(e){e>0?(g(t,{top:-e,behavior:"auto"}),g(n,0)):(g(n,0),g(t,{top:-e,behavior:"auto"}))}return m(q(y,F(n,u)),(function(e){var r=e[0],t=e[1];e[2]&&gr()?g(n,t-r):x(-r)})),m(q(P(S(u,!1),n,w),A((function(e){return!e[0]&&!e[2]&&0!==e[1]})),k((function(e){return e[1]})),B(1)),x),b(q(d,k((function(e){return{top:-e}}))),t),m(q(p,F(f,h),k((function(e){var r=e[0];return r*e[1].lastSize+r*e[2]}))),(function(e){g(n,e),requestAnimationFrame((function(){g(t,{top:e}),requestAnimationFrame((function(){g(n,0),g(w,!1)}))}))})),{deviation:n}}),c(ce,_e,cr,Ge,te,Ie)),vr=z((function(e){var r=e[0].totalListHeight,t=e[1].didMount,o=e[2].scrollTo,n=x(0);return m(q(t,F(n),A((function(e){return 0!==e[1]})),k((function(e){return{top:e[1]}}))),(function(e){w(q(r,A((function(e){return 0!==e}))),(function(){setTimeout((function(){g(o,e)}))}))})),{initialScrollTop:n}}),c(fr,Ye,ce),{singleton:!0}),br=z((function(e){var r=e[0].viewportHeight,t=e[1].totalListHeight,o=x(!1);return{alignToBottom:o,paddingTopAddition:S(q(P(o,r,t),A((function(e){return e[0]})),k((function(e){return Math.max(0,e[1]-e[2])})),T()),0)}}),c(ce,fr),{singleton:!0}),wr=z((function(e){var r=e[0],t=r.scrollTo,o=r.scrollContainerState,n=y(),i=y(),a=y(),u=x(!1),l=x(void 0);return b(q(P(n,i),k((function(e){var r=e[0],t=r.viewportHeight,o=r.scrollHeight;return{scrollTop:Math.max(0,r.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:t}}))),o),b(q(t,F(i),k((function(e){var r=e[0];return K({},r,{top:r.top+e[1].offsetTop})}))),a),{useWindowScroll:u,customScrollParent:l,windowScrollContainerState:n,windowViewportRect:i,windowScrollTo:a}}),c(ce)),yr=["done","behavior","align"],xr=z((function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.gap,i=e[1],a=i.scrollTop,u=i.viewportHeight,l=i.headerHeight,c=i.fixedHeaderHeight,s=i.fixedFooterHeight,p=i.scrollingInProgress,d=e[2].scrollToIndex,f=y();return b(q(f,F(t,u,o,l,c,s,a),F(n),k((function(e){var r=e[0],t=r[0],o=r[1],n=r[2],i=r[3],a=r[4],u=r[5],l=r[6],c=r[7],s=e[1],d=t.done,f=t.behavior,m=t.align,g=_(t,yr),h=null,v=Pe(t,o,i-1),b=Ne(v,o.offsetTree,s)+a+u;return bc+n-l&&(h=K({},g,{behavior:f,align:null!=m?m:"end"})),h?d&&w(q(p,L(1),A((function(e){return!1===e}))),d):d&&d(),h})),A((function(e){return null!==e}))),d),{scrollIntoView:f}}),c(Ge,ce,We,cr,te),{singleton:!0}),Er=["listState","topItemsIndexes"],Sr=z((function(e){return K({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])}),c(ir,sr,Ye,pr,fr,vr,br,wr,xr)),Cr=z((function(e){var r=e[0],t=r.totalCount,o=r.sizeRanges,n=r.fixedItemSize,i=r.defaultItemSize,a=r.trackItemSizes,u=r.itemSize,l=r.data,c=r.firstItemIndex,s=r.groupIndices,p=r.statefulTotalCount,d=r.gap,f=e[1],m=f.initialTopMostItemIndex,g=f.scrolledToInitialItem,h=e[2],v=e[3],w=e[4],y=w.listState,x=w.topItemsIndexes,E=_(w,Er),S=e[5].scrollToIndex,C=e[7].topItemCount,D=e[8].groupCounts,T=e[9],A=e[10];return b(E.rangeChanged,T.scrollSeekRangeChanged),b(q(T.windowViewportRect,k((function(e){return e.visibleHeight}))),h.viewportHeight),K({totalCount:t,data:l,firstItemIndex:c,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:g,topItemsIndexes:x,topItemCount:C,groupCounts:D,fixedItemHeight:n,defaultItemHeight:i,gap:d},v,{statefulTotalCount:p,listState:y,scrollToIndex:S,trackItemSizes:a,itemSize:u,groupIndices:s},E,T,h,A)}),c(Ge,Je,ce,Xe,cr,We,hr,dr,er,Sr,te)),qr=mr((function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"}));function Dr(e,r){var t=(0,o.useRef)(null),n=(0,o.useCallback)((function(o){if(null!==o&&o.offsetParent){var n,i,a=o.getBoundingClientRect(),u=a.width;if(r){var l=r.getBoundingClientRect(),c=a.top-l.top;n=l.height-Math.max(0,c),i=c+r.scrollTop}else n=window.innerHeight-Math.max(0,a.top),i=a.top+window.pageYOffset;t.current={offsetTop:i,visibleHeight:n,visibleWidth:u},e(t.current)}}),[e,r]),i=oe(n),a=i.callbackRef,u=i.ref,l=(0,o.useCallback)((function(){n(u.current)}),[n,u]);return(0,o.useEffect)((function(){if(r){r.addEventListener("scroll",l);var e=new ResizeObserver(l);return e.observe(r),function(){r.removeEventListener("scroll",l),e.unobserve(r)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}}),[l,r]),a}var Tr=o.createContext(void 0),Ar=o.createContext(void 0),kr=["placeholder"],Ir=["style","children"],Rr=["style","children"];function Lr(e){return e}var Br=z((function(){var e=x((function(e){return"Item "+e})),r=x(null),t=x((function(e){return"Group "+e})),o=x({}),n=x(Lr),i=x("div"),a=x(f),u=function(e,r){return void 0===r&&(r=null),S(q(o,k((function(r){return r[e]})),T()),r)};return{context:r,itemContent:e,groupContent:t,components:o,computeItemKey:n,headerFooterTag:i,scrollerRef:a,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}}));function Hr(e,r){var t=y();return m(t,(function(){return console.warn("react-virtuoso: You are using a deprecated property. "+r,"color: red;","color: inherit;","color: blue;")})),b(t,e),t}var Fr=z((function(e){var r=e[0],t=e[1],o={item:Hr(t.itemContent,"Rename the %citem%c prop to %citemContent."),group:Hr(t.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:Hr(r.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:Hr(r.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:Hr(r.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:y(),maxHeightCacheSize:y(),footer:y(),header:y(),HeaderContainer:y(),FooterContainer:y(),ItemContainer:y(),ScrollContainer:y(),GroupContainer:y(),ListContainer:y(),emptyComponent:y(),scrollSeek:y()};function n(e,r,o){b(q(e,F(t.components),k((function(e){var t,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),K({},i,((t={})[r]=n,t))}))),t.components)}return m(o.adjustForPrependedItems,(function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")})),m(o.maxHeightCacheSize,(function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")})),m(o.HeaderContainer,(function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")})),m(o.FooterContainer,(function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")})),m(o.scrollSeek,(function(e){var o=e.placeholder,n=_(e,kr);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(t.components,K({},v(t.components),{ScrollSeekPlaceholder:o})),g(r.scrollSeekConfiguration,n)})),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),K({},r,t,o)}),c(Cr,Br)),Or=function(e){return o.createElement("div",{style:{height:e.height}})},Nr={position:qr(),zIndex:1,overflowAnchor:"none"},Pr={overflowAnchor:"none"},zr=o.memo((function(e){var r=e.showTopList,t=void 0!==r&&r,n=et("listState"),i=$r("sizeRanges"),a=et("useWindowScroll"),u=et("customScrollParent"),l=$r("windowScrollContainerState"),c=$r("scrollContainerState"),s=u||a?l:c,p=et("itemContent"),d=et("context"),m=et("groupContent"),g=et("trackItemSizes"),h=ie(i,et("itemSize"),g,t?f:s,et("log"),$r("gap"),u).callbackRef,v=o.useState(0),b=v[0],w=v[1];rt("deviation",(function(e){b!==e&&w(e)}));var y=et("EmptyPlaceholder"),x=et("ScrollSeekPlaceholder")||Or,E=et("ListComponent"),S=et("ItemComponent"),C=et("GroupComponent"),q=et("computeItemKey"),D=et("isSeeking"),T=et("groupIndices").length>0,A=et("paddingTopAddition"),k=t?{}:{boxSizing:"border-box",paddingTop:n.offsetTop+A,paddingBottom:n.offsetBottom,marginTop:b};return!t&&0===n.totalCount&&y?(0,o.createElement)(y,jr(y,d)):(0,o.createElement)(E,K({},jr(E,d),{ref:h,style:k,"data-test-id":t?"virtuoso-top-item-list":"virtuoso-item-list"}),(t?n.topItems:n.items).map((function(e){var r=e.originalIndex,t=q(r+n.firstItemIndex,e.data,d);return D?(0,o.createElement)(x,K({},jr(x,d),{key:t,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,o.createElement)(C,K({},jr(C,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:Nr}),m(e.index)):(0,o.createElement)(S,K({},jr(S,d),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:Pr}),T?p(e.index,e.groupIndex,e.data,d):p(e.index,e.data,d))})))})),Vr={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Ur={width:"100%",height:"100%",position:"absolute",top:0},Gr={width:"100%",position:qr(),top:0};function jr(e,r){if("string"!=typeof e)return{context:r}}var Mr=o.memo((function(){var e=et("HeaderComponent"),r=$r("headerHeight"),t=et("headerFooterTag"),n=ne((function(e){return r(ae(e,"height"))})),i=et("context");return e?(0,o.createElement)(t,{ref:n},(0,o.createElement)(e,jr(e,i))):null})),Wr=o.memo((function(){var e=et("FooterComponent"),r=$r("footerHeight"),t=et("headerFooterTag"),n=ne((function(e){return r(ae(e,"height"))})),i=et("context");return e?(0,o.createElement)(t,{ref:n},(0,o.createElement)(e,jr(e,i))):null}));function Zr(e){var r=e.usePublisher,t=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,u=_(e,Ir),l=r("scrollContainerState"),c=n("ScrollerComponent"),s=r("smoothScrollTargetReached"),p=n("scrollerRef"),d=n("context"),f=le(l,s,c,p),m=f.scrollerRef,g=f.scrollByCallback;return t("scrollTo",f.scrollToCallback),t("scrollBy",g),(0,o.createElement)(c,K({ref:m,style:K({},Vr,i),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},u,jr(c,d)),a)}))}function Kr(e){var r=e.usePublisher,t=e.useEmitter,n=e.useEmitterValue;return o.memo((function(e){var i=e.style,a=e.children,u=_(e,Rr),l=r("windowScrollContainerState"),c=n("ScrollerComponent"),s=r("smoothScrollTargetReached"),p=n("totalListHeight"),d=n("deviation"),m=n("customScrollParent"),g=n("context"),h=le(l,s,c,f,m),v=h.scrollerRef,b=h.scrollByCallback,w=h.scrollToCallback;return ee((function(){return v.current=m||window,function(){v.current=null}}),[v,m]),t("windowScrollTo",w),t("scrollBy",b),(0,o.createElement)(c,K({style:K({position:"relative"},i,0!==p?{height:p+d}:{}),"data-virtuoso-scroller":!0},u,jr(c,g)),a)}))}var _r=function(e){var r=e.children,t=(0,o.useContext)(Tr),i=$r("viewportHeight"),a=$r("fixedItemHeight"),u=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){t&&(i(t.viewportHeight),a(t.itemHeight))}),[t,i,a]),o.createElement("div",{style:Ur,ref:u,"data-viewport-type":"element"},r)},Yr=function(e){var r=e.children,t=(0,o.useContext)(Tr),n=$r("windowViewportRect"),i=$r("fixedItemHeight"),a=et("customScrollParent"),u=Dr(n,a);return o.useEffect((function(){t&&(i(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,i]),o.createElement("div",{ref:u,style:Ur,"data-viewport-type":"window"},r)},Jr=function(e){var r=e.children,t=et("TopItemListComponent"),n=et("headerHeight"),i=K({},Gr,{marginTop:n+"px"}),a=et("context");return(0,o.createElement)(t||"div",{style:i,context:a},r)},Qr=W(Fr,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var r=et("useWindowScroll"),t=et("topItemsIndexes").length>0,n=et("customScrollParent"),i=n||r?Yr:_r;return o.createElement(n||r?ot:tt,K({},e),o.createElement(i,null,o.createElement(Mr,null),o.createElement(zr,null),o.createElement(Wr,null)),t&&o.createElement(Jr,null,o.createElement(zr,{showTopList:!0})))}))),Xr=Qr.Component,$r=Qr.usePublisher,et=Qr.useEmitterValue,rt=Qr.useEmitter,tt=Zr({usePublisher:$r,useEmitterValue:et,useEmitter:rt}),ot=Kr({usePublisher:$r,useEmitterValue:et,useEmitter:rt}),nt={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},it={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},at=Math.round,ut=Math.ceil,lt=Math.floor,ct=Math.min,st=Math.max;function pt(e,r,t){return Array.from({length:r-e+1}).map((function(r,o){return{index:o+e,data:null==t?void 0:t[o+e]}}))}function dt(e,r){return e&&e.column===r.column&&e.row===r.row}var ft=z((function(e){var r=e[0],t=r.overscan,o=r.visibleRange,n=r.listBoundary,i=e[1],a=i.scrollTop,u=i.viewportHeight,l=i.scrollBy,c=i.scrollTo,s=i.smoothScrollTargetReached,p=i.scrollContainerState,d=i.footerHeight,f=i.headerHeight,m=e[2],g=e[3],h=e[4],v=h.propsReady,w=h.didMount,C=e[5],D=C.windowViewportRect,R=C.windowScrollTo,L=C.useWindowScroll,B=C.customScrollParent,H=C.windowScrollContainerState,O=e[6],z=x(0),V=x(0),U=x(nt),G=x({height:0,width:0}),j=x({height:0,width:0}),M=y(),W=y(),Z=x(0),_=x(void 0),Y=x({row:0,column:0});b(q(P(w,V,_),A((function(e){return 0!==e[1]})),k((function(e){return{items:pt(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}}))),U),b(q(P(N(z),o,N(Y,dt),N(j,(function(e,r){return e&&e.width===r.width&&e.height===r.height})),_),F(G),k((function(e){var r=e[0],t=r[0],o=r[1],n=o[0],i=o[1],a=r[2],u=r[3],l=r[4],c=e[1],s=a.row,p=a.column,d=u.height,f=u.width,m=c.width;if(0===t||0===m)return nt;if(0===f)return function(e){return K({},it,{items:e})}(pt(0,0,l));var g=ht(m,f,p),h=g*lt((n+s)/(d+s)),v=g*ut((i+s)/(d+s))-1;v=st(g-1,ct(t-1,v));var b=pt(h=ct(v,st(0,h)),v,l),w=mt(c,a,u,b),y=w.top,x=w.bottom,E=ut(t/g);return{items:b,offsetTop:y,offsetBottom:E*d+(E-1)*s-x,top:y,bottom:x,itemHeight:d,itemWidth:f}}))),U),b(q(_,A((function(e){return void 0!==e})),k((function(e){return e.length}))),z),b(q(G,k((function(e){return e.height}))),u),b(q(P(G,j,U,Y),k((function(e){var r=mt(e[0],e[3],e[1],e[2].items);return[r.top,r.bottom]})),T(rr)),n);var J=E(q(N(U),A((function(e){return e.items.length>0})),F(z),A((function(e){var r=e[0].items;return r[r.length-1].index===e[1]-1})),k((function(e){return e[1]-1})),T())),Q=E(q(N(U),A((function(e){var r=e.items;return r.length>0&&0===r[0].index})),I(0),T())),X=E(q(N(U),A((function(e){return e.items.length>0})),k((function(e){var r=e.items;return{startIndex:r[0].index,endIndex:r[r.length-1].index}})),T(tr)));b(X,g.scrollSeekRangeChanged),b(q(M,F(G,j,z,Y),k((function(e){var r=e[1],t=e[2],o=e[3],n=e[4],i=Me(e[0]),a=i.align,u=i.behavior,l=i.offset,c=i.index;"LAST"===c&&(c=o-1);var s=gt(r,n,t,c=st(0,c,ct(o-1,c)));return"end"===a?s=at(s-r.height+t.height):"center"===a&&(s=at(s-r.height/2+t.height/2)),l&&(s+=l),{top:s,behavior:u}}))),c);var $=S(q(U,k((function(e){return e.offsetBottom+e.bottom}))),0);return b(q(D,k((function(e){return{width:e.visibleWidth,height:e.visibleHeight}}))),G),K({data:_,totalCount:z,viewportDimensions:G,itemDimensions:j,scrollTop:a,scrollHeight:W,overscan:t,scrollBy:l,scrollTo:c,scrollToIndex:M,smoothScrollTargetReached:s,windowViewportRect:D,windowScrollTo:R,useWindowScroll:L,customScrollParent:B,windowScrollContainerState:H,deviation:Z,scrollContainerState:p,footerHeight:d,headerHeight:f,initialItemCount:V,gap:Y},g,{gridState:U,totalListHeight:$},m,{startReached:Q,endReached:J,rangeChanged:X,propsReady:v},O)}),c(ir,ce,_e,pr,Ye,wr,te));function mt(e,r,t,o){var n=t.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:gt(e,r,t,o[0].index),bottom:gt(e,r,t,o[o.length-1].index)+n}}function gt(e,r,t,o){var n=ht(e.width,t.width,r.column),i=lt(o/n),a=i*t.height+st(0,i-1)*r.row;return a>0?a+r.row:a}function ht(e,r,t){return st(1,lt((e+t)/(r+t)))}var vt=["placeholder"],bt=z((function(){var e=x((function(e){return"Item "+e})),r=x({}),t=x(null),o=x("virtuoso-grid-item"),n=x("virtuoso-grid-list"),i=x(Lr),a=x("div"),u=x(f),l=function(e,t){return void 0===t&&(t=null),S(q(r,k((function(r){return r[e]})),T()),t)};return{context:t,itemContent:e,components:r,computeItemKey:i,itemClassName:o,listClassName:n,headerFooterTag:a,scrollerRef:u,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}})),wt=z((function(e){var r=e[0],t=e[1],o={item:Hr(t.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:y(),ScrollContainer:y(),ListContainer:y(),emptyComponent:y(),scrollSeek:y()};function n(e,r,o){b(q(e,F(t.components),k((function(e){var t,n=e[0],i=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),K({},i,((t={})[r]=n,t))}))),t.components)}return m(o.scrollSeek,(function(e){var o=e.placeholder,n=_(e,vt);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),g(t.components,K({},v(t.components),{ScrollSeekPlaceholder:o})),g(r.scrollSeekConfiguration,n)})),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),K({},r,t,o)}),c(ft,bt)),yt=o.memo((function(){var e=Tt("gridState"),r=Tt("listClassName"),t=Tt("itemClassName"),n=Tt("itemContent"),i=Tt("computeItemKey"),a=Tt("isSeeking"),u=Dt("scrollHeight"),l=Tt("ItemComponent"),c=Tt("ListComponent"),s=Tt("ScrollSeekPlaceholder"),p=Tt("context"),d=Dt("itemDimensions"),f=Dt("gap"),m=Tt("log"),g=ne((function(e){u(e.parentElement.parentElement.scrollHeight);var r=e.firstChild;r&&d(r.getBoundingClientRect()),f({row:Rt("row-gap",getComputedStyle(e).rowGap,m),column:Rt("column-gap",getComputedStyle(e).columnGap,m)})}));return(0,o.createElement)(c,K({ref:g,className:r},jr(c,p),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map((function(r){var u=i(r.index,r.data,p);return a?(0,o.createElement)(s,K({key:u},jr(s,p),{index:r.index,height:e.itemHeight,width:e.itemWidth})):(0,o.createElement)(l,K({},jr(l,p),{className:t,"data-index":r.index,key:u}),n(r.index,r.data,p))})))})),xt=o.memo((function(){var e=Tt("HeaderComponent"),r=Dt("headerHeight"),t=Tt("headerFooterTag"),n=ne((function(e){return r(ae(e,"height"))})),i=Tt("context");return e?(0,o.createElement)(t,{ref:n},(0,o.createElement)(e,jr(e,i))):null})),Et=o.memo((function(){var e=Tt("FooterComponent"),r=Dt("footerHeight"),t=Tt("headerFooterTag"),n=ne((function(e){return r(ae(e,"height"))})),i=Tt("context");return e?(0,o.createElement)(t,{ref:n},(0,o.createElement)(e,jr(e,i))):null})),St=function(e){var r=e.children,t=(0,o.useContext)(Ar),n=Dt("itemDimensions"),i=Dt("viewportDimensions"),a=ne((function(e){i(e.getBoundingClientRect())}));return o.useEffect((function(){t&&(i({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))}),[t,i,n]),o.createElement("div",{style:Ur,ref:a},r)},Ct=function(e){var r=e.children,t=(0,o.useContext)(Ar),n=Dt("windowViewportRect"),i=Dt("itemDimensions"),a=Tt("customScrollParent"),u=Dr(n,a);return o.useEffect((function(){t&&(i({height:t.itemHeight,width:t.itemWidth}),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))}),[t,n,i]),o.createElement("div",{ref:u,style:Ur},r)},qt=W(wt,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},o.memo((function(e){var r=K({},e),t=Tt("useWindowScroll"),n=Tt("customScrollParent"),i=n||t?Ct:St;return o.createElement(n||t?It:kt,K({},r),o.createElement(i,null,o.createElement(xt,null),o.createElement(yt,null),o.createElement(Et,null)))}))),Dt=(qt.Component,qt.usePublisher),Tt=qt.useEmitterValue,At=qt.useEmitter,kt=Zr({usePublisher:Dt,useEmitterValue:Tt,useEmitter:At}),It=Kr({usePublisher:Dt,useEmitterValue:Tt,useEmitter:At});function Rt(e,r,t){return"normal"===r||null!=r&&r.endsWith("px")||t(e+" was not resolved to pixel value correctly",r,X.WARN),"normal"===r?0:parseInt(null!=r?r:"0",10)}var Lt=z((function(){var e=x((function(e){return o.createElement("td",null,"Item $",e)})),r=x(null),t=x(null),n=x(null),i=x({}),a=x(Lr),u=x(f),l=function(e,r){return void 0===r&&(r=null),S(q(i,k((function(r){return r[e]})),T()),r)};return{context:r,itemContent:e,fixedHeaderContent:t,fixedFooterContent:n,components:i,computeItemKey:a,scrollerRef:u,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}})),Bt=z((function(e){return K({},e[0],e[1])}),c(Cr,Lt)),Ht=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height}}))},Ft=function(e){return o.createElement("tr",null,o.createElement("td",{style:{height:e.height,padding:0,border:0}}))},Ot=o.memo((function(){var e=Ut("listState"),r=Vt("sizeRanges"),t=Ut("useWindowScroll"),n=Ut("customScrollParent"),i=Vt("windowScrollContainerState"),a=Vt("scrollContainerState"),u=n||t?i:a,l=Ut("itemContent"),c=Ut("trackItemSizes"),s=ie(r,Ut("itemSize"),c,u,Ut("log"),void 0,n),p=s.callbackRef,d=s.ref,f=o.useState(0),m=f[0],g=f[1];Gt("deviation",(function(e){m!==e&&(d.current.style.marginTop=e+"px",g(e))}));var h=Ut("EmptyPlaceholder"),v=Ut("ScrollSeekPlaceholder")||Ht,b=Ut("FillerRow")||Ft,w=Ut("TableBodyComponent"),y=Ut("TableRowComponent"),x=Ut("computeItemKey"),E=Ut("isSeeking"),S=Ut("paddingTopAddition"),C=Ut("firstItemIndex"),q=Ut("statefulTotalCount"),D=Ut("context");if(0===q&&h)return(0,o.createElement)(h,jr(h,D));var T=e.offsetTop+S+m,A=e.offsetBottom,k=T>0?o.createElement(b,{height:T,key:"padding-top"}):null,I=A>0?o.createElement(b,{height:A,key:"padding-bottom"}):null,R=e.items.map((function(e){var r=e.originalIndex,t=x(r+C,e.data,D);return E?(0,o.createElement)(v,K({},jr(v,D),{key:t,index:e.index,height:e.size,type:e.type||"item"})):(0,o.createElement)(y,K({},jr(y,D),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),l(e.index,e.data,D))}));return(0,o.createElement)(w,K({ref:p,"data-test-id":"virtuoso-item-list"},jr(w,D)),[k].concat(R,[I]))})),Nt=function(e){var r=e.children,t=(0,o.useContext)(Tr),i=Vt("viewportHeight"),a=Vt("fixedItemHeight"),u=ne(n(i,(function(e){return ae(e,"height")})));return o.useEffect((function(){t&&(i(t.viewportHeight),a(t.itemHeight))}),[t,i,a]),o.createElement("div",{style:Ur,ref:u,"data-viewport-type":"element"},r)},Pt=function(e){var r=e.children,t=(0,o.useContext)(Tr),n=Vt("windowViewportRect"),i=Vt("fixedItemHeight"),a=Ut("customScrollParent"),u=Dr(n,a);return o.useEffect((function(){t&&(i(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))}),[t,n,i]),o.createElement("div",{ref:u,style:Ur,"data-viewport-type":"window"},r)},zt=W(Bt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},o.memo((function(e){var r=Ut("useWindowScroll"),t=Ut("customScrollParent"),i=Vt("fixedHeaderHeight"),a=Vt("fixedFooterHeight"),u=Ut("fixedHeaderContent"),l=Ut("fixedFooterContent"),c=Ut("context"),s=ne(n(i,(function(e){return ae(e,"height")}))),p=ne(n(a,(function(e){return ae(e,"height")}))),d=t||r?Mt:jt,f=t||r?Pt:Nt,m=Ut("TableComponent"),g=Ut("TableHeadComponent"),h=Ut("TableFooterComponent"),v=u?o.createElement(g,K({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:s},jr(g,c)),u()):null,b=l?o.createElement(h,K({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:p},jr(h,c)),l()):null;return o.createElement(d,K({},e),o.createElement(f,null,o.createElement(m,K({style:{borderSpacing:0}},jr(m,c)),[v,o.createElement(Ot,{key:"TableBody"}),b])))}))),Vt=(zt.Component,zt.usePublisher),Ut=zt.useEmitterValue,Gt=zt.useEmitter,jt=Zr({usePublisher:Vt,useEmitterValue:Ut,useEmitter:Gt}),Mt=Kr({usePublisher:Vt,useEmitterValue:Ut,useEmitter:Gt}),Wt=Xr},12615:function(e,r,t){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,r){return(!r||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,r){if(e.clientHeightr||i>e&&a=r&&u>=t?i-e-o:a>r&&ut?a-r+n:0}function u(e,r){var t=window,n=r.scrollMode,u=r.block,l=r.inline,c=r.boundary,s=r.skipOverflowHiddenElements,p="function"==typeof c?c:function(e){return e!==c};if(!o(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,f=[],m=e;o(m)&&p(m);){if((m=m.parentElement)===d){f.push(m);break}null!=m&&m===document.body&&i(m)&&!i(document.documentElement)||null!=m&&i(m,s)&&f.push(m)}for(var g=t.visualViewport?t.visualViewport.width:innerWidth,h=t.visualViewport?t.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,w=e.getBoundingClientRect(),y=w.height,x=w.width,E=w.top,S=w.right,C=w.bottom,q=w.left,D="start"===u||"nearest"===u?E:"end"===u?C:E+y/2,T="center"===l?q+x/2:"end"===l?S:q,A=[],k=0;k=0&&q>=0&&C<=h&&S<=g&&E>=H&&C<=O&&q>=N&&S<=F)return A;var P=getComputedStyle(I),z=parseInt(P.borderLeftWidth,10),V=parseInt(P.borderTopWidth,10),U=parseInt(P.borderRightWidth,10),G=parseInt(P.borderBottomWidth,10),j=0,M=0,W="offsetWidth"in I?I.offsetWidth-I.clientWidth-z-U:0,Z="offsetHeight"in I?I.offsetHeight-I.clientHeight-V-G:0;if(d===I)j="start"===u?D:"end"===u?D-h:"nearest"===u?a(b,b+h,h,V,G,b+D,b+D+y,y):D-h/2,M="start"===l?T:"center"===l?T-g/2:"end"===l?T-g:a(v,v+g,g,z,U,v+T,v+T+x,x),j=Math.max(0,j+b),M=Math.max(0,M+v);else{j="start"===u?D-H-V:"end"===u?D-O+G+Z:"nearest"===u?a(H,O,L,V,G+Z,D,D+y,y):D-(H+L/2)+Z/2,M="start"===l?T-N-z:"center"===l?T-(N+B/2)+W/2:"end"===l?T-F+U+W:a(N,F,B,z,U+W,T,T+x,x);var K=I.scrollLeft,_=I.scrollTop;D+=_-(j=Math.max(0,Math.min(_+j,I.scrollHeight-L+Z))),T+=K-(M=Math.max(0,Math.min(K+M,I.scrollWidth-B+W)))}A.push({el:I,top:j,left:M})}return A}function l(e){return e===Object(e)&&0!==Object.keys(e).length}t.d(r,{Z:function(){return c}});var c=function(e,r){var t=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(r)&&"function"===typeof r.behavior)return r.behavior(t?u(e,r):[]);if(t){var o=function(e){return!1===e?{block:"end",inline:"nearest"}:l(e)?e:{block:"start",inline:"nearest"}}(r);return function(e,r){void 0===r&&(r="auto");var t="scrollBehavior"in document.body.style;e.forEach((function(e){var o=e.el,n=e.top,i=e.left;o.scroll&&t?o.scroll({top:n,left:i,behavior:r}):(o.scrollTop=n,o.scrollLeft=i)}))}(u(e,o),o.behavior)}}},12902:function(e,r,t){"use strict";function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o3?r.i-4:r.i:Array.isArray(e)?1:d(e)?2:f(e)?3:0}function l(e,r){return 2===u(e)?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function c(e,r){return 2===u(e)?e.get(r):e[r]}function s(e,r,t){var o=u(e);2===o?e.set(r,t):3===o?(e.delete(r),e.add(t)):e[r]=t}function p(e,r){return e===r?0!==e||1/e==1/r:e!=e&&r!=r}function d(e){return V&&e instanceof Map}function f(e){return U&&e instanceof Set}function m(e){return e.o||e.t}function g(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=_(e);delete r[W];for(var t=K(r),o=0;o1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),r&&a(e,(function(e,r){return h(r,!0)}),!0)),e}function v(){o(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var r=Y[e];return r||o(18,e),r}function y(){return P}function x(e,r){r&&(w("Patches"),e.u=[],e.s=[],e.v=r)}function E(e){S(e),e.p.forEach(q),e.p=null}function S(e){e===P&&(P=e.l)}function C(e){return P={p:[],l:P,h:e,m:!0,_:0}}function q(e){var r=e[W];0===r.i||1===r.i?r.j():r.O=!0}function D(e,r){r._=r.p.length;var t=r.p[0],n=void 0!==e&&e!==t;return r.h.g||w("ES5").S(r,e,n),n?(t[W].P&&(E(r),o(4)),i(e)&&(e=T(r,e),r.l||k(r,e)),r.u&&w("Patches").M(t[W].t,e,r.u,r.s)):e=T(r,t,[]),E(r),r.u&&r.v(r.u,r.s),e!==j?e:void 0}function T(e,r,t){if(b(r))return r;var o=r[W];if(!o)return a(r,(function(n,i){return A(e,o,r,n,i,t)}),!0),r;if(o.A!==e)return r;if(!o.P)return k(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=g(o.k):o.o;a(3===o.i?new Set(n):n,(function(r,i){return A(e,o,n,r,i,t)})),k(e,n,!1),t&&e.u&&w("Patches").R(o,t,e.u,e.s)}return o.o}function A(e,r,t,o,a,u){if(n(a)){var c=T(e,a,u&&r&&3!==r.i&&!l(r.D,o)?u.concat(o):void 0);if(s(t,o,c),!n(c))return;e.m=!1}if(i(a)&&!b(a)){if(!e.h.F&&e._<1)return;T(e,a),r&&r.A.l||k(e,a)}}function k(e,r,t){void 0===t&&(t=!1),e.h.F&&e.m&&h(r,t)}function I(e,r){var t=e[W];return(t?m(t):e)[r]}function R(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var o=Object.getOwnPropertyDescriptor(t,r);if(o)return o;t=Object.getPrototypeOf(t)}}function L(e){e.P||(e.P=!0,e.l&&L(e.l))}function B(e){e.o||(e.o=g(e.t))}function H(e,r,t){var o=d(r)?w("MapSet").N(r,t):f(r)?w("MapSet").T(r,t):e.g?function(e,r){var t=Array.isArray(e),o={i:t?1:0,A:r?r.A:y(),P:!1,I:!1,D:{},l:r,t:e,k:null,o:null,j:null,C:!1},n=o,i=J;t&&(n=[o],i=Q);var a=Proxy.revocable(n,i),u=a.revoke,l=a.proxy;return o.k=l,o.j=u,l}(r,t):w("ES5").J(r,t);return(t?t.A:y()).p.push(o),o}function F(e){return n(e)||o(22,e),function e(r){if(!i(r))return r;var t,o=r[W],n=u(r);if(o){if(!o.P&&(o.i<4||!w("ES5").K(o)))return o.t;o.I=!0,t=O(r,n),o.I=!1}else t=O(r,n);return a(t,(function(r,n){o&&c(o.t,r)===n||s(t,r,e(n))})),3===n?new Set(t):t}(e)}function O(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return g(e)}t.d(r,{P2:function(){return re},Uy:function(){return ee},_x:function(){return te},mv:function(){return n}});var N,P,z="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,U="undefined"!=typeof Set,G="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,j=z?Symbol.for("immer-nothing"):((N={})["immer-nothing"]=!0,N),M=z?Symbol.for("immer-draftable"):"__$immer_draftable",W=z?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,_=Object.getOwnPropertyDescriptors||function(e){var r={};return K(e).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)})),r},Y={},J={get:function(e,r){if(r===W)return e;var t=m(e);if(!l(t,r))return function(e,r,t){var o,n=R(r,t);return n?"value"in n?n.value:null===(o=n.get)||void 0===o?void 0:o.call(e.k):void 0}(e,t,r);var o=t[r];return e.I||!i(o)?o:o===I(e.t,r)?(B(e),e.o[r]=H(e.A.h,o,e)):o},has:function(e,r){return r in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,r,t){var o=R(m(e),r);if(null==o?void 0:o.set)return o.set.call(e.k,t),!0;if(!e.P){var n=I(m(e),r),i=null==n?void 0:n[W];if(i&&i.t===t)return e.o[r]=t,e.D[r]=!1,!0;if(p(t,n)&&(void 0!==t||l(e.t,r)))return!0;B(e),L(e)}return e.o[r]===t&&"number"!=typeof t&&(void 0!==t||r in e.o)||(e.o[r]=t,e.D[r]=!0,!0)},deleteProperty:function(e,r){return void 0!==I(e.t,r)||r in e.t?(e.D[r]=!1,B(e),L(e)):delete e.D[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=m(e),o=Reflect.getOwnPropertyDescriptor(t,r);return o?{writable:!0,configurable:1!==e.i||"length"!==r,enumerable:o.enumerable,value:t[r]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},Q={};a(J,(function(e,r){Q[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),Q.deleteProperty=function(e,r){return Q.set.call(this,e,r,void 0)},Q.set=function(e,r,t){return J.set.call(this,e[0],r,t,e[0])};var X=function(){function e(e){var r=this;this.g=G,this.F=!0,this.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var a=t;t=e;var u=r;return function(e){var r=this;void 0===e&&(e=a);for(var o=arguments.length,n=Array(o>1?o-1:0),i=1;i1?o-1:0),i=1;i=0;t--){var o=r[t];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}t>-1&&(r=r.slice(t+1));var i=w("Patches").$;return n(e)?i(e,r):this.produce(e,(function(e){return i(e,r)}))},e}(),$=new X,ee=$.produce,re=($.produceWithPatches.bind($),$.setAutoFreeze.bind($),$.setUseProxies.bind($),$.applyPatches.bind($),$.createDraft.bind($)),te=$.finishDraft.bind($)},45628:function(e,r,t){"use strict";function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function n(e){var r,t;return!1!==o(e)&&(void 0===(r=e.constructor)||!1!==o(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf"))}t.d(r,{P:function(){return n}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2852-9d898f87c57f0684.js b/static/web/_next/static/chunks/2852-9d898f87c57f0684.js new file mode 100644 index 000000000..6caa0030e --- /dev/null +++ b/static/web/_next/static/chunks/2852-9d898f87c57f0684.js @@ -0,0 +1,20 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2852],{36531:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9z"}}]},name:"edit",theme:"filled"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="EditFilled";var l=n.forwardRef(u)},29158:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="LinkOutlined";var l=n.forwardRef(u)},27496:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SendOutlined";var l=n.forwardRef(u)},93045:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="SmileOutlined";var l=n.forwardRef(u)},55355:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="TeamOutlined";var l=n.forwardRef(u)},66017:function(e,r,t){"use strict";t.d(r,{Z:function(){return l}});var o=t(1413),n=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 780H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM505.7 669a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V176c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8z"}}]},name:"vertical-align-bottom",theme:"outlined"},i=t(42135),u=function(e,r){return n.createElement(i.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:r,icon:a}))};u.displayName="VerticalAlignBottomOutlined";var l=n.forwardRef(u)},6907:function(e){"use strict";e.exports=function(e){return(e=String(e||""),o.test(e))?"rtl":n.test(e)?"ltr":"neutral"};var r="֑-߿יִ-﷽ﹰ-ﻼ",t="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",o=RegExp("^[^"+t+"]*["+r+"]"),n=RegExp("^[^"+r+"]*["+t+"]")},86492:function(e,r,t){var o,n,a,i,u,l,c,s,f,p,d,m,g,h,v,D,b,y,x,w,C,E,S,q,A,T,k,I;(e=t.nmd(e))&&e.exports,(n="object"==typeof t.g&&t.g).global===n||n.window,a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","\uD835\uDD33":"vfr","\uD835\uDD67":"vopf","\uD835\uDCCB":"vscr","\uD835\uDD19":"Vfr","\uD835\uDD4D":"Vopf","\uD835\uDCB1":"Vscr","\uD835\uDD68":"wopf","\uD835\uDCCC":"wscr","\uD835\uDD34":"wfr","\uD835\uDCB2":"Wscr","\uD835\uDD4E":"Wopf","\uD835\uDD1A":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","\uD835\uDD35":"xfr","\uD835\uDCCD":"xscr","\uD835\uDD69":"xopf","\uD835\uDD4F":"Xopf","\uD835\uDD1B":"Xfr","\uD835\uDCB3":"Xscr","\uD835\uDD36":"yfr","\uD835\uDCCE":"yscr","\uD835\uDD6A":"yopf","\uD835\uDCB4":"Yscr","\uD835\uDD1C":"Yfr","\uD835\uDD50":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},s=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|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|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},h={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},D=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,y=({}).hasOwnProperty,x=function(e,r){return y.call(e,r)},w=function(e,r){for(var t=-1,o=e.length;++t=55296&&e<=57343||e>1114111?(r&&A("character reference outside the permissible Unicode range"),"�"):x(v,e)?(r&&A("disallowed character reference"),v[e]):(r&&w(D,e)&&A("disallowed character reference"),e>65535&&(e-=65536,t+=b(e>>>10&1023|55296),e=56320|1023&e),t+=b(e))},S=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},q=function(e){return"&#"+e+";"},A=function(e){throw Error("Parse error: "+e)},(T=function(e,r){(r=C(r,T.options)).strict&&d.test(e)&&A("forbidden code point");var t=r.encodeEverything,o=r.useNamedReferences,n=r.allowUnsafeSymbols,f=r.decimal?q:S,p=function(e){return f(e.charCodeAt(0))};return t?(e=e.replace(i,function(e){return o&&x(c,e)?"&"+c[e]+";":p(e)}),o&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(e=e.replace(l,function(e){return"&"+c[e]+";"}))):o?(n||(e=e.replace(s,function(e){return"&"+c[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+c[e]+";"})):n||(e=e.replace(s,p)),e.replace(a,function(e){return f((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(u,p)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(k=function(e,r){var t=(r=C(r,k.options)).strict;return t&&p.test(e)&&A("malformed character reference"),e.replace(m,function(e,o,n,a,i,u,l,c,s){var f,p;return o?g[p=o]:n?(p=n,a&&r.isAttributeValue)?(t&&"="==a&&A("`&` did not start a character reference"),e):(t&&A("named character reference was not terminated by a semicolon"),h[p]+(a||"")):i?(f=u,t&&!f&&A("character reference was not terminated by a semicolon"),E(parseInt(i,10),t)):l?(f=c,t&&!f&&A("character reference was not terminated by a semicolon"),E(parseInt(l,16),t)):(t&&A("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},I={version:"1.2.0",encode:T,decode:k,escape:function(e){return e.replace(s,function(e){return f[e]})},unescape:k},void 0!==(o=(function(){return I}).call(r,t,r,e))&&(e.exports=o)},18156:function(e,r){"use strict";for(var t="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),o={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},n={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=1;i<20;i++)a["f"+i]=111+i;function u(e){return e=n[e=e.toLowerCase()]||e}r.TB=function(e,r){var t,n,i,l,c;return t=e,n={byKey:!0},i=r,!n||"byKey"in n||(i=n,n=null),Array.isArray(t)||(t=[t]),l=t.map(function(e){return function(e,r){var t=r&&r.byKey,n={},i=(e=e.replace("++","+add")).split("+"),l=i.length;for(var c in o)n[o[c]]=!1;var s=!0,f=!1,p=void 0;try{for(var d,m=i[Symbol.iterator]();!(s=(d=m.next()).done);s=!0){var g,h=d.value,v=h.endsWith("?")&&h.length>1;v&&(h=h.slice(0,-1));var D=u(h),b=o[D];1!==l&&b||(t?n.key=D:n.which=(g=h,a[g=u(g)]||g.toUpperCase().charCodeAt(0))),b&&(n[b]=!v||null)}}catch(y){f=!0,p=y}finally{try{!s&&m.return&&m.return()}finally{if(f)throw p}}return n}(e,n)}),c=function(e){return l.some(function(r){return function(e,r){for(var t in e){var o=e[t],n=void 0;if(null!=o&&(null!=(n="key"===t&&null!=r.key?r.key.toLowerCase():"which"===t?91===o&&93===r.which?91:r.which:r[t])||!1!==o)&&n!==o)return!1}return!0}(r,e)})},null==i?c:c(i)}},23493:function(e,r,t){var o=t(23279),n=t(13218);e.exports=function(e,r,t){var a=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return n(t)&&(a="leading"in t?!!t.leading:a,i="trailing"in t?!!t.trailing:i),o(e,r,{leading:a,maxWait:r,trailing:i})}},96086:function(e){"use strict";var r=Object.assign.bind(Object);e.exports=r,e.exports.default=e.exports},37501:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.deepMap=r.removeDiacritics=r.getSearch=r.getMatchBoundaries=void 0;let o=t(20628);r.getMatchBoundaries=function(e,r){let t=r.exec(e);if(t)return{first:t.index,last:t.index+t[0].length}},r.getSearch=function(e){let{search:t,ignoreDiacritics:o,diacriticsBlacklist:n,caseSensitive:i}=e;if(t instanceof RegExp)return t;let u=a(t);return o&&(u=(0,r.removeDiacritics)(u,n)),RegExp(u,i?"":"i")};let n=(e,r)=>{if(!String.prototype.normalize)return e;if(!r)return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"");{let t=r.split("");return e.normalize("NFD").replace(/.[\u0300-\u036f]+/g,function(e){return t.indexOf(e.normalize())>-1?e.normalize():e[0]})}};r.removeDiacritics=n;let a=e=>e?e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"):"",i=e=>(0,o.isValidElement)(e)&&Boolean(e.props.children),u=(e,t)=>o.Children.toArray(e).map((e,n,a)=>(0,o.isValidElement)(e)&&i(e)?t((0,o.cloneElement)(e,Object.assign(Object.assign({},e.props),{children:(0,r.deepMap)(e.props.children,t)}))):t(e,n,a));r.deepMap=u,r.default=r.deepMap},98456:function(e,r,t){"use strict";var o=this&&this.__rest||function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);nr.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]]);return t};Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;let n=t(93267),a=t(20628),i=t(37501);r.Highlight=(0,a.forwardRef)(function(e,r){let t=0,u=()=>t++,{search:l,ignoreDiacritics:c,diacriticsBlacklist:s,matchElement:f="mark",matchClass:p="highlight",matchStyle:d={},children:m,caseSensitive:g}=e,h=o(e,["search","ignoreDiacritics","diacriticsBlacklist","matchElement","matchClass","matchStyle","children","caseSensitive"]),v=e=>(0,n.jsx)("span",{children:e},`${e}-${t}`),D=e=>(0,a.createElement)(f,{key:`${e}-${t}`,className:p,style:d},e),b=(e,r)=>{let t=[],o=e;for(;o;){let n=c?(0,i.removeDiacritics)(o,s||""):o;if(!r.test(n)){t.push(v(o));break}let a=(0,i.getMatchBoundaries)(n,r);if((null==a?void 0:a.first)===0&&(null==a?void 0:a.last)===0)break;let l=o.slice(0,null==a?void 0:a.first);l&&t.push(v(l));let f=o.slice(null==a?void 0:a.first,null==a?void 0:a.last);f&&t.push(D(f)),o=o.slice(null==a?void 0:a.last),u()}return t};return(0,n.jsx)("span",Object.assign({},h,{ref:r},{children:l?(0,i.deepMap)(m,r=>"string"==typeof r?b(r,(0,i.getSearch)(e)):r):[m]}),void 0)})},47049:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Highlight=void 0;var o=t(98456);Object.defineProperty(r,"Highlight",{enumerable:!0,get:function(){return o.Highlight}})},38677:function(e,r,t){"use strict";/** @license React v17.0.2 + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ t(96086);var o=t(20628),n=60103;if(r.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;n=a("react.element"),r.Fragment=a("react.fragment")}var i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var o,a={},c=null,s=null;for(o in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(s=r.ref),r)u.call(r,o)&&!l.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:c,ref:s,props:a,_owner:i.current}}r.jsx=c,r.jsxs=c},5173:function(e,r,t){"use strict";/** @license React v17.0.2 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ var o=t(96086),n=60103,a=60106;r.Fragment=60107,r.StrictMode=60108,r.Profiler=60114;var i=60109,u=60110,l=60112;r.Suspense=60113;var c=60115,s=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;n=f("react.element"),a=f("react.portal"),r.Fragment=f("react.fragment"),r.StrictMode=f("react.strict_mode"),r.Profiler=f("react.profiler"),i=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),r.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t-1&&e.splice(r,1)};case 0:e.slice().forEach(function(e){e(t)});return;default:throw Error("unrecognized action "+r)}}}function y(e){var r=e,t=b();return function(e,o){switch(e){case 1:o(r);break;case 0:r=o;break;case 4:return r}return t(e,o)}}function x(e){var r;return v(e,r=b()),r}function w(e,r){var t;return v(e,t=y(r)),t}function C(){for(var e=arguments.length,r=Array(e),t=0;t1?r-1:0),o=1;o0?e--:r(t)}}}function B(e){var r;return function(t){return function(o){r||(r=setTimeout(function(){r=void 0,t(o)},e))}}}function L(e){var r;return function(t){return function(o){r&&clearTimeout(r),r=setTimeout(function(){t(o)},e)}}}function H(){for(var e=arguments.length,r=Array(e),t=0;te.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var j=["children"],G="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function M(e,r,t){var o=Object.keys(r.required||{}),a=Object.keys(r.optional||{}),i=Object.keys(r.methods||{}),c=Object.keys(r.events||{}),s=(0,n.createContext)({});function p(e,t){e.propsReady&&m(e.propsReady,!1);for(var n,i=U(o);!(n=i()).done;){var u=n.value;m(e[r.required[u]],t[u])}for(var l,c=U(a);!(l=c()).done;){var s=l.value;s in t&&m(e[r.optional[s]],t[s])}e.propsReady&&m(e.propsReady,!0)}function v(e){return c.reduce(function(t,o){var n,a,i,u;return t[o]=(n=e[r.events[o]],u=function(){return a&&a()},function(e,r){switch(e){case 1:if(!r)return u(),d;if(i===r)return;return u(),i=r,a=n(1,r);case 2:u(),i=null;return;default:throw Error("unrecognized action "+e)}}),t},{})}return{Component:(0,n.forwardRef)(function(u,d){var h=u.children,D=function(e,r){if(null==e)return{};var t,o,n={},a=Object.keys(e);for(o=0;o=0||(n[t]=e[t]);return n}(u,j),b=(0,n.useState)(function(){var r,t;return r=new Map,p(t=function e(t){var o=t.id,n=t.constructor,a=t.dependencies,i=t.singleton;if(i&&r.has(o))return r.get(o);var u=n(a.map(function(r){return e(r)}));return i&&r.set(o,u),u}(e),D),t})[0],y=(0,n.useState)(l(v,b))[0];return G(function(){for(var e,r=U(c);!(e=r()).done;){var t=e.value;t in D&&(0,y[t])(1,D[t])}return function(){Object.values(y).map(g)}},[D,y,b]),G(function(){p(b,D)}),(0,n.useImperativeHandle)(d,f(i.reduce(function(e,t){return e[t]=function(e){m(b[r.methods[t]],e)},e},{}))),(0,n.createElement)(s.Provider,{value:b},t?(0,n.createElement)(t,function(e,r){for(var t={},o={},n=0,a=e.length;n=0||(n[t]=e[t]);return n}function K(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var J,$,Q="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;(o=$||($={}))[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR";var X=((J={})[$.DEBUG]="debug",J[$.INFO]="log",J[$.WARN]="warn",J[$.ERROR]="error",J),ee=N(function(){var e=y($.ERROR);return{log:y(function(r,t,o){var n;void 0===o&&(o=$.INFO),o>=(null!=(n=("undefined"==typeof globalThis?window:globalThis).VIRTUOSO_LOG_LEVEL)?n:h(e))&&console[X[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",r,t)}),logLevel:e}},[],{singleton:!0});function er(e,r){void 0===r&&(r=!0);var t=(0,n.useRef)(null),o=function(e){};if("undefined"!=typeof ResizeObserver){var a=new ResizeObserver(function(r){var t=r[0].target;null!==t.offsetParent&&e(t)});o=function(e){e&&r?(a.observe(e),t.current=e):(t.current&&a.unobserve(t.current),t.current=null)}}return{ref:t,callbackRef:o}}function et(e,r){return void 0===r&&(r=!0),er(e,r).callbackRef}function eo(e,r,t,o,n,a,i){return er(function(t){for(var u,l=function(e,r,t,o){var n=e.length;if(0===n)return null;for(var a=[],i=0;iMath.abs(e-r)}function ei(e,r,t,o,a){void 0===o&&(o=d);var i=(0,n.useRef)(null),u=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useRef)(!1),s=(0,n.useCallback)(function(t){var o=t.target,n=o===window||o===document,a=n?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,i=n?document.documentElement.scrollHeight:o.scrollHeight,s=n?window.innerHeight:o.offsetHeight,f=function(){e({scrollTop:Math.max(a,0),scrollHeight:i,viewportHeight:s})};c.current?(0,_.flushSync)(f):f(),c.current=!1,null!==u.current&&(a===u.current||a<=0||a===i-s)&&(u.current=null,r(!0),l.current&&(clearTimeout(l.current),l.current=null))},[e,r]);return(0,n.useEffect)(function(){var e=a||i.current;return o(a||i.current),s({target:e}),e.addEventListener("scroll",s,{passive:!0}),function(){o(null),e.removeEventListener("scroll",s)}},[i,s,t,o,a]),{scrollerRef:i,scrollByCallback:function(e){c.current=!0,i.current.scrollBy(e)},scrollToCallback:function(t){var o=i.current;if(o&&(!("offsetHeight"in o)||0!==o.offsetHeight)){var n,a,c,s="smooth"===t.behavior;if(o===window?(a=Math.max(en(document.documentElement,"height"),document.documentElement.scrollHeight),n=window.innerHeight,c=document.documentElement.scrollTop):(a=o.scrollHeight,n=en(o,"height"),c=o.scrollTop),t.top=Math.ceil(Math.max(Math.min(a-n,t.top),0)),ea(n,a)||t.top===c)return e({scrollTop:c,scrollHeight:a,viewportHeight:n}),void(s&&r(!0));s?(u.current=t.top,l.current&&clearTimeout(l.current),l.current=setTimeout(function(){l.current=null,u.current=null,r(!0)},1e3)):u.current=null,o.scrollTo(t)}}}}var eu=N(function(){var e=b(),r=b(),t=y(0),o=b(),n=y(0),a=b(),i=b(),u=y(0),l=y(0),c=y(0),s=y(0),f=b(),p=b(),d=y(!1),m=y(!1);return v(E(e,T(function(e){return e.scrollTop})),r),v(E(e,T(function(e){return e.scrollHeight})),i),v(r,n),{scrollContainerState:e,scrollTop:r,viewportHeight:a,headerHeight:u,fixedHeaderHeight:l,fixedFooterHeight:c,footerHeight:s,scrollHeight:i,smoothScrollTargetReached:o,react18ConcurrentRendering:m,scrollTo:f,scrollBy:p,statefulScrollTop:n,deviation:t,scrollingInProgress:d}},[],{singleton:!0}),el={lvl:0};function ec(e,r,t,o,n){return void 0===o&&(o=el),void 0===n&&(n=el),{k:e,v:r,lvl:t,l:o,r:n}}function es(e){return e===el}function ef(e,r,t){if(void 0===t&&(t="k"),es(e))return[-1/0,void 0];if(e[t]===r)return[e.k,e.v];if(e[t]e.r.lvl}function eh(e){var r=e.l,t=e.r,o=e.lvl;if(t.lvl>=o-1&&r.lvl>=o-1)return e;if(o>t.lvl+1){if(eg(r))return ey(em(e,{lvl:o-1}));if(es(r)||es(r.r))throw Error("Unexpected empty nodes");return em(r.r,{l:em(r,{r:r.r.l}),r:em(e,{l:r.r.r,lvl:o-1}),lvl:o})}if(eg(e))return eb(em(e,{lvl:o-1}));if(es(t)||es(t.l))throw Error("Unexpected empty nodes");var n=t.l,a=eg(n)?t.lvl-1:t.lvl;return em(n,{l:em(e,{r:n.l,lvl:o-1}),r:eb(em(t,{l:n.r,lvl:a})),lvl:n.lvl+1})}function ev(e,r,t){return es(e)?[]:eD(function e(r,t,o){if(es(r))return[];var n=r.k,a=r.v,i=r.r,u=[];return n>t&&(u=u.concat(e(r.l,t,o))),n>=t&&n<=o&&u.push({k:n,v:a}),n<=o&&(u=u.concat(e(i,t,o))),u}(e,ef(e,r)[0],t),function(e){return{index:e.k,value:e.v}})}function eD(e,r){var t=e.length;if(0===t)return[];for(var o=r(e[0]),n=o.index,a=o.value,i=[],u=1;u0&&(0,r[2])("received item sizes",t,$.DEBUG);var a=e.sizeTree,i=a,u=0;if(o.length>0&&es(a)&&2===t.length){var l=t[0].size,c=t[1].size;i=o.reduce(function(e,r){return ep(ep(e,r,l),r+1,c)},i)}else{var s=function(e,r){for(var t,o=es(e)?0:1/0,n=Y(r);!(t=n()).done;){var a=t.value,i=a.size,u=a.startIndex,l=a.endIndex;if(o=Math.min(o,u),es(e))e=ep(e,0,i);else{var c=ev(e,u-1,l+1);if(!c.some(function(e){var r=e.size,t=e.startIndex,o=e.endIndex;return function(e){return e.start===t&&(e.end===o||1/0===e.end)&&e.value===r}}(a))){for(var s,f=!1,p=!1,d=Y(c);!(s=d()).done;){var m=s.value,g=m.start,h=m.end,v=m.value;f?(l>=g||i===v)&&(e=function e(r,t){if(es(r))return el;var o=r.k,n=r.l,a=r.r;if(t===o){if(es(n))return a;if(es(a))return n;var i=function e(r){return es(r.r)?[r.k,r.v]:e(r.r)}(n);return eh(em(r,{k:i[0],v:i[1],l:function e(r){return es(r.r)?r.l:eh(em(r,{r:e(r.r)}))}(n)}))}return eh(em(r,tl&&l>=g&&v!==i&&(e=ep(e,l+1,v))}p&&(e=ep(e,u,i))}}}return[e,o]}(i,t);i=s[0],u=s[1]}if(i===a)return e;var f=eq(e.offsetTree,u,i,n),p=f.offsetTree;return{sizeTree:i,offsetTree:p,lastIndex:f.lastIndex,lastOffset:f.lastOffset,lastSize:f.lastSize,groupOffsetTree:o.reduce(function(e,r){return ep(e,r,eT(r,p,n))},el),groupIndices:o}}function eT(e,r,t){if(0===r.length)return 0;var o=r[ex(r,e,eC)],n=e-o.index,a=o.size*n+(n-1)*t+o.offset;return a>0?a+t:a}function ek(e,r,t){if(void 0!==e.groupIndex)return r.groupIndices[e.groupIndex]+1;var o=eI("LAST"===e.index?t:e.index,r);return Math.max(0,o,Math.min(t,o))}function eI(e,r){if(!eR(r))return e;for(var t=0;r.groupIndices[t]<=e+t;)t++;return e+t}function eR(e){return!es(e.groupOffsetTree)}var eB={offsetHeight:"height",offsetWidth:"width"},eL=N(function(e){var r=e[0].log,t=e[1].recalcInProgress,o=b(),n=b(),a=w(n,0),i=b(),u=b(),l=y(0),c=y([]),s=y(void 0),f=y(void 0),p=y(function(e,r){return en(e,eB[r])}),d=y(void 0),g=y(0),D={offsetTree:[],sizeTree:el,groupOffsetTree:el,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},C=w(E(o,H(c,r,g),I(eA,D),q()),D);v(E(c,A(function(e){return e.length>0}),H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2],n=r.reduce(function(e,r,n){return ep(e,r,eT(r,t.offsetTree,o)||n)},el);return W({},t,{groupIndices:r,groupOffsetTree:n})})),C),v(E(n,H(C),A(function(e){return e[0]0?(m(t,!0),m(i,e)):e<0&&m(u,e)}),E(l,H(r))(1,function(e){e[0]<0&&(0,e[1])("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:l},$.ERROR)});var R=x(i);v(E(i,H(C),T(function(e){var r=e[0],t=e[1];if(t.groupIndices.length>0)throw Error("Virtuoso: prepending items does not work with groups");return ed(t.sizeTree).reduce(function(e,t){var o=t.k,n=t.v;return{ranges:[].concat(e.ranges,[{startIndex:e.prevIndex,endIndex:o+r-1,size:e.prevSize}]),prevIndex:o+r,prevSize:n}},{ranges:[],prevIndex:0,prevSize:t.lastSize}).ranges})),o);var B=x(E(u,H(C,g),T(function(e){return eT(-e[0],e[1].offsetTree,e[2])})));return v(E(u,H(C,g),T(function(e){var r=e[0],t=e[1],o=e[2];if(t.groupIndices.length>0)throw Error("Virtuoso: shifting items does not work with groups");var n=ed(t.sizeTree).reduce(function(e,t){var o=t.v;return ep(e,Math.max(0,t.k+r),o)},el);return W({},t,{sizeTree:n},eq(t.offsetTree,0,n,o))})),C),{data:d,totalCount:n,sizeRanges:o,groupIndices:c,defaultItemSize:f,fixedItemSize:s,unshiftWith:i,shiftWith:u,shiftWithOffset:B,beforeUnshiftWith:R,firstItemIndex:l,gap:g,sizes:C,listRefresh:k,statefulTotalCount:a,trackItemSizes:S,itemSize:p}},c(ee,ew),{singleton:!0}),eH="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function eF(e){var r="number"==typeof e?{index:e}:e;return r.align||(r.align="start"),r.behavior&&eH||(r.behavior="auto"),r.offset||(r.offset=0),r}var eO=N(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.listRefresh,a=r.gap,i=e[1],u=i.scrollingInProgress,l=i.viewportHeight,c=i.scrollTo,s=i.smoothScrollTargetReached,f=i.headerHeight,p=i.footerHeight,d=i.fixedHeaderHeight,g=i.fixedFooterHeight,h=e[2].log,x=b(),w=y(0),C=null,S=null,q=null;function A(){C&&(C(),C=null),q&&(q(),q=null),S&&(clearTimeout(S),S=null),m(u,!1)}return v(E(x,H(t,l,o,w,f,p,h),H(a,d,g),T(function(e){var r=e[0],t=r[0],o=r[1],a=r[2],i=r[3],l=r[4],c=r[5],f=r[6],p=r[7],d=e[1],g=e[2],h=e[3],v=eF(t),b=v.align,y=v.behavior,w=v.offset,T=i-1,k=ek(v,o,T),I=eT(k,o.offsetTree,d)+c;"end"===b?(I+=g+ef(o.sizeTree,k)[1]-a+h,k===T&&(I+=f)):"center"===b?I+=(g+ef(o.sizeTree,k)[1]-a+h)/2:I-=l,w&&(I+=w);var R=function(e){A(),e?(p("retrying to scroll to",{location:t},$.DEBUG),m(x,t)):p("list did not change, scroll successful",{},$.DEBUG)};if(A(),"smooth"===y){var B=!1;q=n(1,function(e){B=B||e}),C=D(s,function(){R(B)})}else C=D(E(n,function(e){var r=setTimeout(function(){e(!1)},150);return function(t){t&&(e(!0),clearTimeout(r))}}),R);return S=setTimeout(function(){A()},1200),m(u,!0),p("scrolling from index to",{index:k,top:I,behavior:y},$.DEBUG),{top:I,behavior:y}})),c),{scrollToIndex:x,topListHeight:w}},c(eL,eu,ee),{singleton:!0}),eP={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},eN=N(function(e){var r=e[0],t=r.scrollContainerState,o=r.scrollTop,n=r.viewportHeight,a=r.headerHeight,i=r.footerHeight,u=r.scrollBy,l=y(!1),c=y(!0),s=b(),f=b(),p=y(4),d=y(0),m=w(E(F(E(O(o),R(1),k(!0)),E(O(o),R(1),k(!1),L(100))),q()),!1),g=w(E(F(E(u,k(!0)),E(u,k(!1),L(200))),q()),!1);v(E(P(O(o),O(d)),T(function(e){return e[0]<=e[1]}),q()),c),v(E(c,B(50)),f);var D=x(E(P(t,O(n),O(a),O(i),O(p)),I(function(e,r){var t,o,n=r[0],a=n.scrollTop,i=n.scrollHeight,u=r[1],l={viewportHeight:u,scrollTop:a,scrollHeight:i};return a+u-i>-r[4]?(a>e.state.scrollTop?(t="SCROLLED_DOWN",o=e.state.scrollTop-a):(t="SIZE_DECREASED",o=e.state.scrollTop-a||e.scrollTopDelta),{atBottom:!0,state:l,atBottomBecause:t,scrollTopDelta:o}):{atBottom:!1,notAtBottomBecause:l.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":ur+p-g&&(m="up"),(i-=c)0){i=e[0].offset;var l=e[e.length-1];u=l.offset+l.size}var c=t-n.lastIndex,s=i,f=n.lastOffset+c*n.lastSize+(c-1)*o-u;return{items:e$(e,n,a),topItems:e$(r,n,a),topListHeight:r.reduce(function(e,r){return r.size+e},0),offsetTop:i,offsetBottom:f,top:s,bottom:u,totalCount:t,firstItemIndex:a}}var eX=N(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.data,a=r.firstItemIndex,i=r.gap,u=e[1],l=e[2],c=l.visibleRange,s=l.listBoundary,f=l.topListHeight,p=e[3],d=p.scrolledToInitialItem,m=p.initialTopMostItemIndex,g=e[4].topListHeight,h=e[5],D=e[6].didMount,C=e[7].recalcInProgress,S=y([]),k=b();v(u.topItemsIndexes,S);var I=w(E(P(D,C,O(c,e_),O(o),O(t),O(m),d,O(S),O(a),O(i),n),A(function(e){return e[0]&&!e[1]}),T(function(e){var r,t,o,n,a,i,u,l=e[2],c=l[0],s=l[1],f=e[3],p=e[5],d=e[6],m=e[7],g=e[8],h=e[9],v=e[10],D=e[4],b=D.sizeTree,y=D.offsetTree;if(0===f||0===c&&0===s)return W({},eJ,{totalCount:f});if(es(b))return eQ(function(e,r,t){if(eR(r)){var o=eI(e,r);return[{index:ef(r.groupOffsetTree,o)[0],size:0,offset:0},{index:o,size:0,offset:0,data:t&&t[0]}]}return[{index:e,size:0,offset:0,data:t&&t[0]}]}("number"==typeof p?p:"LAST"===p.index?f-1:p.index,D,v),[],f,h,D,g);var x=[];if(m.length>0)for(var w,C=m[0],E=m[m.length-1],S=0,q=Y(ev(b,C,E));!(w=q()).done;)for(var A=w.value,T=A.value,k=Math.max(A.start,C),I=Math.min(A.end,E),R=k;R<=I;R++)x.push({index:R,size:T,offset:S,data:v&&v[R]}),S+=T;if(!d)return eQ([],x,f,h,D,g);var B=m.length>0?m[m.length-1]+1:0,L=(r=y,t=c,o=s,void 0===(n=B)&&(n=0),n>0&&(t=Math.max(t,r[ex(r,n,eC)].offset)),eD((a=ex(r,t,eE),i=ex(r,o,eE,a),r.slice(a,i+1)),eS));if(0===L.length)return null;var H=f-1;return eQ((function(e){for(var r,t=Y(L);!(r=t()).done;){var o=r.value,n=o.value,a=n.offset,i=o.start,u=n.size;if(n.offset=s);p++)e.push({index:p,size:u,offset:a,data:v&&v[p]}),a+=u+h}}(u=[]),u),x,f,h,D,g)}),A(function(e){return null!==e}),q()),eJ);return v(E(n,A(function(e){return void 0!==e}),T(function(e){return e.length})),o),v(E(I,T(function(e){return e.topListHeight})),g),v(g,f),v(E(I,T(function(e){return[e.top,e.bottom]})),s),v(E(I,T(function(e){return e.items})),k),W({listState:I,topItemsIndexes:S,endReached:x(E(I,A(function(e){return e.items.length>0}),H(o,n),A(function(e){var r=e[0].items;return r[r.length-1].originalIndex===e[1]-1}),T(function(e){return[e[1]-1,e[2]]}),q(e_),T(function(e){return e[0]}))),startReached:x(E(I,B(200),A(function(e){var r=e.items;return r.length>0&&r[0].originalIndex===e.topItems.length}),T(function(e){return e.items[0].index}),q())),rangeChanged:x(E(I,A(function(e){return e.items.length>0}),T(function(e){for(var r=e.items,t=0,o=r.length-1;"group"===r[t].type&&tt;)o--;return{startIndex:r[t].index,endIndex:r[o].index}}),q(eW))),itemsRendered:k},h)},c(eL,eM,eY,eV,eO,eN,ez,ew),{singleton:!0}),e0=N(function(e){var r=e[0],t=r.sizes,o=r.firstItemIndex,n=r.data,a=r.gap,i=e[1].listState,u=e[2].didMount,l=y(0);return v(E(u,H(l),A(function(e){return 0!==e[1]}),H(t,o,a,n),T(function(e){var r=e[0][1],t=e[1],o=e[2],n=e[3],a=e[4],i=void 0===a?[]:a,u=0;if(t.groupIndices.length>0)for(var l,c=Y(t.groupIndices);!((l=c()).done||l.value-u>=r);)u++;var s=r+u;return eQ(Array.from({length:s}).map(function(e,r){return{index:r,size:0,offset:0,data:i[r]}}),[],s,n,t,o)})),i),{initialItemCount:l}},c(eL,eX,ez),{singleton:!0}),e1=N(function(e){var r=e[0].scrollVelocity,t=y(!1),o=b(),n=y(!1);return v(E(r,H(n,t,o),A(function(e){return!!e[1]}),T(function(e){var r=e[0],t=e[1],o=e[2],n=e[3],a=t.enter;if(o){if((0,t.exit)(r,n))return!1}else if(a(r,n))return!0;return o}),q()),t),E(P(t,r,o),H(n))(1,function(e){var r=e[0],t=e[1];return r[0]&&t&&t.change&&t.change(r[1],r[2])}),{isSeeking:t,scrollSeekConfiguration:n,scrollVelocity:r,scrollSeekRangeChanged:o}},c(eN),{singleton:!0}),e2=N(function(e){var r=e[0].topItemsIndexes,t=y(0);return v(E(t,A(function(e){return e>0}),T(function(e){return Array.from({length:e}).map(function(e,r){return r})})),r),{topItemCount:t}},c(eX)),e3=N(function(e){var r=e[0],t=r.footerHeight,o=r.headerHeight,n=r.fixedHeaderHeight,a=r.fixedFooterHeight,i=e[1].listState,u=b(),l=w(E(P(t,a,o,n,i),T(function(e){var r=e[4];return e[0]+e[1]+e[2]+e[3]+r.offsetBottom+r.bottom})),0);return v(O(l),u),{totalListHeight:l,totalListHeightChanged:u}},c(eu,eX),{singleton:!0});function e5(e){var r,t=!1;return function(){return t||(t=!0,r=e()),r}}var e8=e5(function(){return/iP(ad|hone|od).+Version\/[\d.]+.*Safari/i.test(navigator.userAgent)}),e4=N(function(e){var r=e[0],t=r.scrollBy,o=r.scrollTop,n=r.deviation,a=r.scrollingInProgress,i=e[1],u=i.isScrolling,l=i.isAtBottom,c=i.scrollDirection,s=e[3],f=s.beforeUnshiftWith,p=s.shiftWithOffset,d=s.sizes,g=s.gap,h=e[4].log,D=e[5].recalcInProgress,b=x(E(e[2].listState,H(i.lastJumpDueToItemResize),I(function(e,r){var t=e[1],o=r[0],n=o.items,a=o.totalCount,i=o.bottom+o.offsetBottom,u=0;return e[2]===a&&t.length>0&&n.length>0&&(0===n[0].originalIndex&&0===t[0].originalIndex||0!=(u=i-e[3])&&(u+=r[1])),[u,n,a,i]},[0,[],0,0]),A(function(e){return 0!==e[0]}),H(o,c,a,l,h),A(function(e){return!e[3]&&0!==e[1]&&"up"===e[2]}),T(function(e){var r=e[0][0];return(0,e[5])("Upward scrolling compensation",{amount:r},$.DEBUG),r})));function y(e){e>0?(m(t,{top:-e,behavior:"auto"}),m(n,0)):(m(n,0),m(t,{top:-e,behavior:"auto"}))}return E(b,H(n,u))(1,function(e){var r=e[0],t=e[1];e[2]&&e8()?m(n,t-r):y(-r)}),E(P(w(u,!1),n,D),A(function(e){return!e[0]&&!e[2]&&0!==e[1]}),T(function(e){return e[1]}),B(1))(1,y),v(E(p,T(function(e){return{top:-e}})),t),E(f,H(d,g),T(function(e){var r=e[0];return r*e[1].lastSize+r*e[2]}))(1,function(e){m(n,e),requestAnimationFrame(function(){m(t,{top:e}),requestAnimationFrame(function(){m(n,0),m(D,!1)})})}),{deviation:n}},c(eu,eN,eX,eL,ee,ew)),e6=N(function(e){var r=e[0].totalListHeight,t=e[1].didMount,o=e[2].scrollTo,n=y(0);return E(t,H(n),A(function(e){return 0!==e[1]}),T(function(e){return{top:e[1]}}))(1,function(e){D(E(r,A(function(e){return 0!==e})),function(){setTimeout(function(){m(o,e)})})}),{initialScrollTop:n}},c(e3,ez,eu),{singleton:!0}),e9=N(function(e){var r=e[0].viewportHeight,t=e[1].totalListHeight,o=y(!1);return{alignToBottom:o,paddingTopAddition:w(E(P(o,r,t),A(function(e){return e[0]}),T(function(e){return Math.max(0,e[1]-e[2])}),q()),0)}},c(eu,e3),{singleton:!0}),e7=N(function(e){var r=e[0],t=r.scrollTo,o=r.scrollContainerState,n=b(),a=b(),i=b(),u=y(!1),l=y(void 0);return v(E(P(n,a),T(function(e){var r=e[0],t=r.viewportHeight,o=r.scrollHeight;return{scrollTop:Math.max(0,r.scrollTop-e[1].offsetTop),scrollHeight:o,viewportHeight:t}})),o),v(E(t,H(a),T(function(e){var r=e[0];return W({},r,{top:r.top+e[1].offsetTop})})),i),{useWindowScroll:u,customScrollParent:l,windowScrollContainerState:n,windowViewportRect:a,windowScrollTo:i}},c(eu)),re=["done","behavior","align"],rr=N(function(e){var r=e[0],t=r.sizes,o=r.totalCount,n=r.gap,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.headerHeight,c=a.fixedHeaderHeight,s=a.fixedFooterHeight,f=a.scrollingInProgress,p=e[2].scrollToIndex,d=b();return v(E(d,H(t,u,o,l,c,s,i),H(n),T(function(e){var r=e[0],t=r[0],o=r[1],n=r[2],a=r[3],i=r[4],u=r[5],l=r[6],c=r[7],s=e[1],p=t.done,d=t.behavior,m=t.align,g=Z(t,re),h=null,v=ek(t,o,a-1),b=eT(v,o.offsetTree,s)+i+u;return bc+n-l&&(h=W({},g,{behavior:d,align:null!=m?m:"end"})),h?p&&D(E(f,R(1),A(function(e){return!1===e})),p):p&&p(),h}),A(function(e){return null!==e})),p),{scrollIntoView:d}},c(eL,eu,eO,eX,ee),{singleton:!0}),rt=["listState","topItemsIndexes"],ro=N(function(e){return W({},e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},c(eY,e0,ez,e1,e3,e6,e9,e7,rr)),rn=N(function(e){var r=e[0],t=r.totalCount,o=r.sizeRanges,n=r.fixedItemSize,a=r.defaultItemSize,i=r.trackItemSizes,u=r.itemSize,l=r.data,c=r.firstItemIndex,s=r.groupIndices,f=r.statefulTotalCount,p=r.gap,d=e[1],m=d.initialTopMostItemIndex,g=d.scrolledToInitialItem,h=e[2],D=e[3],b=e[4],y=b.listState,x=b.topItemsIndexes,w=Z(b,rt),C=e[5].scrollToIndex,S=e[7].topItemCount,q=e[8].groupCounts,A=e[9],k=e[10];return v(w.rangeChanged,A.scrollSeekRangeChanged),v(E(A.windowViewportRect,T(function(e){return e.visibleHeight})),h.viewportHeight),W({totalCount:t,data:l,firstItemIndex:c,sizeRanges:o,initialTopMostItemIndex:m,scrolledToInitialItem:g,topItemsIndexes:x,topItemCount:S,groupCounts:q,fixedItemHeight:n,defaultItemHeight:a,gap:p},D,{statefulTotalCount:f,listState:y,scrollToIndex:C,trackItemSizes:i,itemSize:u,groupIndices:s},w,A,h,k)},c(eL,eV,eu,ej,eX,eO,e4,e2,eM,ro,ee)),ra=e5(function(){if("undefined"==typeof document)return"sticky";var e=document.createElement("div");return e.style.position="-webkit-sticky","-webkit-sticky"===e.style.position?"-webkit-sticky":"sticky"});function ri(e,r){var t=(0,n.useRef)(null),o=(0,n.useCallback)(function(o){if(null!==o&&o.offsetParent){var n,a,i=o.getBoundingClientRect(),u=i.width;if(r){var l=r.getBoundingClientRect(),c=i.top-l.top;n=l.height-Math.max(0,c),a=c+r.scrollTop}else n=window.innerHeight-Math.max(0,i.top),a=i.top+window.pageYOffset;t.current={offsetTop:a,visibleHeight:n,visibleWidth:u},e(t.current)}},[e,r]),a=er(o),i=a.callbackRef,u=a.ref,l=(0,n.useCallback)(function(){o(u.current)},[o,u]);return(0,n.useEffect)(function(){if(r){r.addEventListener("scroll",l);var e=new ResizeObserver(l);return e.observe(r),function(){r.removeEventListener("scroll",l),e.unobserve(r)}}return window.addEventListener("scroll",l),window.addEventListener("resize",l),function(){window.removeEventListener("scroll",l),window.removeEventListener("resize",l)}},[l,r]),i}var ru=n.createContext(void 0),rl=n.createContext(void 0),rc=["placeholder"],rs=["style","children"],rf=["style","children"];function rp(e){return e}var rd=N(function(){var e=y(function(e){return"Item "+e}),r=y(null),t=y(function(e){return"Group "+e}),o=y({}),n=y(rp),a=y("div"),i=y(d),u=function(e,r){return void 0===r&&(r=null),w(E(o,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,groupContent:t,components:o,computeItemKey:n,headerFooterTag:a,scrollerRef:i,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}});function rm(e,r){var t=b();return t(1,function(){return console.warn("react-virtuoso: You are using a deprecated property. "+r,"color: red;","color: inherit;","color: blue;")}),v(t,e),t}var rg=N(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),group:rm(t.groupContent,"Rename the %cgroup%c prop to %cgroupContent."),topItems:rm(r.topItemCount,"Rename the %ctopItems%c prop to %ctopItemCount."),itemHeight:rm(r.fixedItemHeight,"Rename the %citemHeight%c prop to %cfixedItemHeight."),scrollingStateChange:rm(r.isScrolling,"Rename the %cscrollingStateChange%c prop to %cisScrolling."),adjustForPrependedItems:b(),maxHeightCacheSize:b(),footer:b(),header:b(),HeaderContainer:b(),FooterContainer:b(),ItemContainer:b(),ScrollContainer:b(),GroupContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){v(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),W({},a,((t={})[r]=n,t))})),t.components)}return(0,o.adjustForPrependedItems)(1,function(){console.warn("react-virtuoso: adjustForPrependedItems is no longer supported. Use the firstItemIndex property instead - https://virtuoso.dev/prepend-items.","color: red;","color: inherit;","color: blue;")}),(0,o.maxHeightCacheSize)(1,function(){console.warn("react-virtuoso: maxHeightCacheSize is no longer necessary. Setting it has no effect - remove it from your code.")}),(0,o.HeaderContainer)(1,function(){console.warn("react-virtuoso: HeaderContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the header component and pass components.Header to change its contents.")}),(0,o.FooterContainer)(1,function(){console.warn("react-virtuoso: FooterContainer is deprecated. Use headerFooterTag if you want to change the wrapper of the footer component and pass components.Footer to change its contents.")}),(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=Z(e,rc);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,W({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.footer,"Footer","footer"),n(o.header,"Header","header"),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),n(o.emptyComponent,"EmptyPlaceholder","emptyComponent"),n(o.GroupContainer,"Group","GroupContainer"),W({},r,t,o)},c(rn,rd)),rh=function(e){return n.createElement("div",{style:{height:e.height}})},rv={position:ra(),zIndex:1,overflowAnchor:"none"},rD={overflowAnchor:"none"},rb=n.memo(function(e){var r=e.showTopList,t=void 0!==r&&r,o=rH("listState"),a=rL("sizeRanges"),i=rH("useWindowScroll"),u=rH("customScrollParent"),l=rL("windowScrollContainerState"),c=rL("scrollContainerState"),s=rH("itemContent"),f=rH("context"),p=rH("groupContent"),m=rH("trackItemSizes"),g=eo(a,rH("itemSize"),m,t?d:u||i?l:c,rH("log"),rL("gap"),u).callbackRef,h=n.useState(0),v=h[0],D=h[1];rF("deviation",function(e){v!==e&&D(e)});var b=rH("EmptyPlaceholder"),y=rH("ScrollSeekPlaceholder")||rh,x=rH("ListComponent"),w=rH("ItemComponent"),C=rH("GroupComponent"),E=rH("computeItemKey"),S=rH("isSeeking"),q=rH("groupIndices").length>0,A=rH("paddingTopAddition"),T=t?{}:{boxSizing:"border-box",paddingTop:o.offsetTop+A,paddingBottom:o.offsetBottom,marginTop:v};return!t&&0===o.totalCount&&b?(0,n.createElement)(b,rC(b,f)):(0,n.createElement)(x,W({},rC(x,f),{ref:g,style:T,"data-test-id":t?"virtuoso-top-item-list":"virtuoso-item-list"}),(t?o.topItems:o.items).map(function(e){var r=e.originalIndex,t=E(r+o.firstItemIndex,e.data,f);return S?(0,n.createElement)(y,W({},rC(y,f),{key:t,index:e.index,height:e.size,type:e.type||"item"},"group"===e.type?{}:{groupIndex:e.groupIndex})):"group"===e.type?(0,n.createElement)(C,W({},rC(C,f),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:rv}),p(e.index)):(0,n.createElement)(w,W({},rC(w,f),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:rD}),q?s(e.index,e.groupIndex,e.data,f):s(e.index,e.data,f))}))}),ry={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},rx={width:"100%",height:"100%",position:"absolute",top:0},rw={width:"100%",position:ra(),top:0};function rC(e,r){if("string"!=typeof e)return{context:r}}var rE=n.memo(function(){var e=rH("HeaderComponent"),r=rL("headerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),rS=n.memo(function(){var e=rH("FooterComponent"),r=rL("footerHeight"),t=rH("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=rH("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null});function rq(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=Z(e,rs),l=r("scrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),f=o("scrollerRef"),p=o("context"),d=ei(l,s,c,f),m=d.scrollerRef,g=d.scrollByCallback;return t("scrollTo",d.scrollToCallback),t("scrollBy",g),(0,n.createElement)(c,W({ref:m,style:W({},ry,a),"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0},u,rC(c,p)),i)})}function rA(e){var r=e.usePublisher,t=e.useEmitter,o=e.useEmitterValue;return n.memo(function(e){var a=e.style,i=e.children,u=Z(e,rf),l=r("windowScrollContainerState"),c=o("ScrollerComponent"),s=r("smoothScrollTargetReached"),f=o("totalListHeight"),p=o("deviation"),m=o("customScrollParent"),g=o("context"),h=ei(l,s,c,d,m),v=h.scrollerRef,D=h.scrollByCallback,b=h.scrollToCallback;return Q(function(){return v.current=m||window,function(){v.current=null}},[v,m]),t("windowScrollTo",b),t("scrollBy",D),(0,n.createElement)(c,W({style:W({position:"relative"},a,0!==f?{height:f+p}:{}),"data-virtuoso-scroller":!0},u,rC(c,g)),i)})}var rT=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("viewportHeight"),i=rL("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rx,ref:u,"data-viewport-type":"element"},r)},rk=function(e){var r=e.children,t=(0,n.useContext)(ru),o=rL("windowViewportRect"),a=rL("fixedItemHeight"),i=ri(o,rH("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rx,"data-viewport-type":"window"},r)},rI=function(e){var r=e.children,t=rH("TopItemListComponent"),o=W({},rw,{marginTop:rH("headerHeight")+"px"}),a=rH("context");return(0,n.createElement)(t||"div",{style:o,context:a},r)},rR=M(rg,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering",item:"item",group:"group",topItems:"topItems",itemHeight:"itemHeight",scrollingStateChange:"scrollingStateChange",maxHeightCacheSize:"maxHeightCacheSize",footer:"footer",header:"header",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",GroupContainer:"GroupContainer",emptyComponent:"emptyComponent",HeaderContainer:"HeaderContainer",FooterContainer:"FooterContainer",scrollSeek:"scrollSeek"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",adjustForPrependedItems:"adjustForPrependedItems",autoscrollToBottom:"autoscrollToBottom"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},n.memo(function(e){var r=rH("useWindowScroll"),t=rH("topItemsIndexes").length>0,o=rH("customScrollParent");return n.createElement(o||r?rP:rO,W({},e),n.createElement(o||r?rk:rT,null,n.createElement(rE,null),n.createElement(rb,null),n.createElement(rS,null)),t&&n.createElement(rI,null,n.createElement(rb,{showTopList:!0})))})),rB=rR.Component,rL=rR.usePublisher,rH=rR.useEmitterValue,rF=rR.useEmitter,rO=rq({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rP=rA({usePublisher:rL,useEmitterValue:rH,useEmitter:rF}),rN={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rz={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},rV=Math.round,rU=Math.ceil,rj=Math.floor,rG=Math.min,rM=Math.max;function r_(e,r,t){return Array.from({length:r-e+1}).map(function(r,o){return{index:o+e,data:null==t?void 0:t[o+e]}})}function rW(e,r){return e&&e.column===r.column&&e.row===r.row}var rZ=N(function(e){var r=e[0],t=r.overscan,o=r.visibleRange,n=r.listBoundary,a=e[1],i=a.scrollTop,u=a.viewportHeight,l=a.scrollBy,c=a.scrollTo,s=a.smoothScrollTargetReached,f=a.scrollContainerState,p=a.footerHeight,d=a.headerHeight,m=e[2],g=e[3],h=e[4],D=h.propsReady,C=h.didMount,S=e[5],I=S.windowViewportRect,R=S.windowScrollTo,B=S.useWindowScroll,L=S.customScrollParent,F=S.windowScrollContainerState,N=e[6],z=y(0),V=y(0),U=y(rN),j=y({height:0,width:0}),G=y({height:0,width:0}),M=b(),_=b(),Z=y(0),K=y(void 0),Y=y({row:0,column:0});v(E(P(C,V,K),A(function(e){return 0!==e[1]}),T(function(e){return{items:r_(0,e[1]-1,e[2]),top:0,bottom:0,offsetBottom:0,offsetTop:0,itemHeight:0,itemWidth:0}})),U),v(E(P(O(z),o,O(Y,rW),O(G,function(e,r){return e&&e.width===r.width&&e.height===r.height}),K),H(j),T(function(e){var r=e[0],t=r[0],o=r[1],n=o[0],a=o[1],i=r[2],u=r[3],l=r[4],c=e[1],s=i.row,f=i.column,p=u.height,d=u.width,m=c.width;if(0===t||0===m)return rN;if(0===d)return W({},rz,{items:r_(0,0,l)});var g=rM(1,rj((m+f)/(d+f))),h=g*rj((n+s)/(p+s)),v=g*rU((a+s)/(p+s))-1;v=rM(g-1,rG(t-1,v));var D=r_(h=rG(v,rM(0,h)),v,l),b=rK(c,i,u,D),y=b.top,x=b.bottom,w=rU(t/g);return{items:D,offsetTop:y,offsetBottom:w*p+(w-1)*s-x,top:y,bottom:x,itemHeight:p,itemWidth:d}})),U),v(E(K,A(function(e){return void 0!==e}),T(function(e){return e.length})),z),v(E(j,T(function(e){return e.height})),u),v(E(P(j,G,U,Y),T(function(e){var r=rK(e[0],e[3],e[1],e[2].items);return[r.top,r.bottom]}),q(e_)),n);var J=x(E(O(U),A(function(e){return e.items.length>0}),H(z),A(function(e){var r=e[0].items;return r[r.length-1].index===e[1]-1}),T(function(e){return e[1]-1}),q())),$=x(E(O(U),A(function(e){var r=e.items;return r.length>0&&0===r[0].index}),k(0),q())),Q=x(E(O(U),A(function(e){return e.items.length>0}),T(function(e){var r=e.items;return{startIndex:r[0].index,endIndex:r[r.length-1].index}}),q(eW)));v(Q,g.scrollSeekRangeChanged),v(E(M,H(j,G,z,Y),T(function(e){var r=e[1],t=e[2],o=e[3],n=e[4],a=eF(e[0]),i=a.align,u=a.behavior,l=a.offset,c=a.index;"LAST"===c&&(c=o-1);var s=rY(r,n,t,c=rM(0,c,rG(o-1,c)));return"end"===i?s=rV(s-r.height+t.height):"center"===i&&(s=rV(s-r.height/2+t.height/2)),l&&(s+=l),{top:s,behavior:u}})),c);var X=w(E(U,T(function(e){return e.offsetBottom+e.bottom})),0);return v(E(I,T(function(e){return{width:e.visibleWidth,height:e.visibleHeight}})),j),W({data:K,totalCount:z,viewportDimensions:j,itemDimensions:G,scrollTop:i,scrollHeight:_,overscan:t,scrollBy:l,scrollTo:c,scrollToIndex:M,smoothScrollTargetReached:s,windowViewportRect:I,windowScrollTo:R,useWindowScroll:B,customScrollParent:L,windowScrollContainerState:F,deviation:Z,scrollContainerState:f,footerHeight:p,headerHeight:d,initialItemCount:V,gap:Y},g,{gridState:U,totalListHeight:X},m,{startReached:$,endReached:J,rangeChanged:Q,propsReady:D},N)},c(eY,eu,eN,e1,ez,e7,ee));function rK(e,r,t,o){var n=t.height;return void 0===n||0===o.length?{top:0,bottom:0}:{top:rY(e,r,t,o[0].index),bottom:rY(e,r,t,o[o.length-1].index)+n}}function rY(e,r,t,o){var n,a,i,u=rj(o/(n=e.width,a=t.width,rM(1,rj((n+(i=r.column))/(a+i))))),l=u*t.height+rM(0,u-1)*r.row;return l>0?l+r.row:l}var rJ=["placeholder"],r$=N(function(){var e=y(function(e){return"Item "+e}),r=y({}),t=y(null),o=y("virtuoso-grid-item"),n=y("virtuoso-grid-list"),a=y(rp),i=y("div"),u=y(d),l=function(e,t){return void 0===t&&(t=null),w(E(r,T(function(r){return r[e]}),q()),t)};return{context:t,itemContent:e,components:r,computeItemKey:a,itemClassName:o,listClassName:n,headerFooterTag:i,scrollerRef:u,FooterComponent:l("Footer"),HeaderComponent:l("Header"),ListComponent:l("List","div"),ItemComponent:l("Item","div"),ScrollerComponent:l("Scroller","div"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder","div")}}),rQ=N(function(e){var r=e[0],t=e[1],o={item:rm(t.itemContent,"Rename the %citem%c prop to %citemContent."),ItemContainer:b(),ScrollContainer:b(),ListContainer:b(),emptyComponent:b(),scrollSeek:b()};function n(e,r,o){v(E(e,H(t.components),T(function(e){var t,n=e[0],a=e[1];return console.warn("react-virtuoso: "+o+" property is deprecated. Pass components."+r+" instead."),W({},a,((t={})[r]=n,t))})),t.components)}return(0,o.scrollSeek)(1,function(e){var o=e.placeholder,n=Z(e,rJ);console.warn("react-virtuoso: scrollSeek property is deprecated. Pass scrollSeekConfiguration and specify the placeholder in components.ScrollSeekPlaceholder instead."),m(t.components,W({},h(t.components),{ScrollSeekPlaceholder:o})),m(r.scrollSeekConfiguration,n)}),n(o.ItemContainer,"Item","ItemContainer"),n(o.ListContainer,"List","ListContainer"),n(o.ScrollContainer,"Scroller","ScrollContainer"),W({},r,t,o)},c(rZ,r$)),rX=n.memo(function(){var e=r4("gridState"),r=r4("listClassName"),t=r4("itemClassName"),o=r4("itemContent"),a=r4("computeItemKey"),i=r4("isSeeking"),u=r8("scrollHeight"),l=r4("ItemComponent"),c=r4("ListComponent"),s=r4("ScrollSeekPlaceholder"),f=r4("context"),p=r8("itemDimensions"),d=r8("gap"),m=r4("log"),g=et(function(e){u(e.parentElement.parentElement.scrollHeight);var r=e.firstChild;r&&p(r.getBoundingClientRect()),d({row:te("row-gap",getComputedStyle(e).rowGap,m),column:te("column-gap",getComputedStyle(e).columnGap,m)})});return(0,n.createElement)(c,W({ref:g,className:r},rC(c,f),{style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom}}),e.items.map(function(r){var u=a(r.index,r.data,f);return i?(0,n.createElement)(s,W({key:u},rC(s,f),{index:r.index,height:e.itemHeight,width:e.itemWidth})):(0,n.createElement)(l,W({},rC(l,f),{className:t,"data-index":r.index,key:u}),o(r.index,r.data,f))}))}),r0=n.memo(function(){var e=r4("HeaderComponent"),r=r8("headerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r1=n.memo(function(){var e=r4("FooterComponent"),r=r8("footerHeight"),t=r4("headerFooterTag"),o=et(function(e){return r(en(e,"height"))}),a=r4("context");return e?(0,n.createElement)(t,{ref:o},(0,n.createElement)(e,rC(e,a))):null}),r2=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("itemDimensions"),a=r8("viewportDimensions"),i=et(function(e){a(e.getBoundingClientRect())});return n.useEffect(function(){t&&(a({height:t.viewportHeight,width:t.viewportWidth}),o({height:t.itemHeight,width:t.itemWidth}))},[t,a,o]),n.createElement("div",{style:rx,ref:i},r)},r3=function(e){var r=e.children,t=(0,n.useContext)(rl),o=r8("windowViewportRect"),a=r8("itemDimensions"),i=ri(o,r4("customScrollParent"));return n.useEffect(function(){t&&(a({height:t.itemHeight,width:t.itemWidth}),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,o,a]),n.createElement("div",{ref:i,style:rx},r)},r5=M(rQ,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",item:"item",ItemContainer:"ItemContainer",ScrollContainer:"ScrollContainer",ListContainer:"ListContainer",scrollSeek:"scrollSeek"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange"}},n.memo(function(e){var r=W({},e),t=r4("useWindowScroll"),o=r4("customScrollParent");return n.createElement(o||t?r7:r9,W({},r),n.createElement(o||t?r3:r2,null,n.createElement(r0,null),n.createElement(rX,null),n.createElement(r1,null)))})),r8=(r5.Component,r5.usePublisher),r4=r5.useEmitterValue,r6=r5.useEmitter,r9=rq({usePublisher:r8,useEmitterValue:r4,useEmitter:r6}),r7=rA({usePublisher:r8,useEmitterValue:r4,useEmitter:r6});function te(e,r,t){return"normal"===r||null!=r&&r.endsWith("px")||t(e+" was not resolved to pixel value correctly",r,$.WARN),"normal"===r?0:parseInt(null!=r?r:"0",10)}var tr=N(function(){var e=y(function(e){return n.createElement("td",null,"Item $",e)}),r=y(null),t=y(null),o=y(null),a=y({}),i=y(rp),u=y(d),l=function(e,r){return void 0===r&&(r=null),w(E(a,T(function(r){return r[e]}),q()),r)};return{context:r,itemContent:e,fixedHeaderContent:t,fixedFooterContent:o,components:a,computeItemKey:i,scrollerRef:u,TableComponent:l("Table","table"),TableHeadComponent:l("TableHead","thead"),TableFooterComponent:l("TableFoot","tfoot"),TableBodyComponent:l("TableBody","tbody"),TableRowComponent:l("TableRow","tr"),ScrollerComponent:l("Scroller","div"),EmptyPlaceholder:l("EmptyPlaceholder"),ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),FillerRow:l("FillerRow")}}),tt=N(function(e){return W({},e[0],e[1])},c(rn,tr)),to=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height}}))},tn=function(e){return n.createElement("tr",null,n.createElement("td",{style:{height:e.height,padding:0,border:0}}))},ta=n.memo(function(){var e=ts("listState"),r=tc("sizeRanges"),t=ts("useWindowScroll"),o=ts("customScrollParent"),a=tc("windowScrollContainerState"),i=tc("scrollContainerState"),u=ts("itemContent"),l=ts("trackItemSizes"),c=eo(r,ts("itemSize"),l,o||t?a:i,ts("log"),void 0,o),s=c.callbackRef,f=c.ref,p=n.useState(0),d=p[0],m=p[1];tf("deviation",function(e){d!==e&&(f.current.style.marginTop=e+"px",m(e))});var g=ts("EmptyPlaceholder"),h=ts("ScrollSeekPlaceholder")||to,v=ts("FillerRow")||tn,D=ts("TableBodyComponent"),b=ts("TableRowComponent"),y=ts("computeItemKey"),x=ts("isSeeking"),w=ts("paddingTopAddition"),C=ts("firstItemIndex"),E=ts("statefulTotalCount"),S=ts("context");if(0===E&&g)return(0,n.createElement)(g,rC(g,S));var q=e.offsetTop+w+d,A=e.offsetBottom,T=q>0?n.createElement(v,{height:q,key:"padding-top"}):null,k=A>0?n.createElement(v,{height:A,key:"padding-bottom"}):null,I=e.items.map(function(e){var r=e.originalIndex,t=y(r+C,e.data,S);return x?(0,n.createElement)(h,W({},rC(h,S),{key:t,index:e.index,height:e.size,type:e.type||"item"})):(0,n.createElement)(b,W({},rC(b,S),{key:t,"data-index":r,"data-known-size":e.size,"data-item-index":e.index,style:{overflowAnchor:"none"}}),u(e.index,e.data,S))});return(0,n.createElement)(D,W({ref:s,"data-test-id":"virtuoso-item-list"},rC(D,S)),[T].concat(I,[k]))}),ti=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("viewportHeight"),i=tc("fixedItemHeight"),u=et(a(o,function(e){return en(e,"height")}));return n.useEffect(function(){t&&(o(t.viewportHeight),i(t.itemHeight))},[t,o,i]),n.createElement("div",{style:rx,ref:u,"data-viewport-type":"element"},r)},tu=function(e){var r=e.children,t=(0,n.useContext)(ru),o=tc("windowViewportRect"),a=tc("fixedItemHeight"),i=ri(o,ts("customScrollParent"));return n.useEffect(function(){t&&(a(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,a]),n.createElement("div",{ref:i,style:rx,"data-viewport-type":"window"},r)},tl=M(tt,{required:{},optional:{context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",react18ConcurrentRendering:"react18ConcurrentRendering"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},n.memo(function(e){var r=ts("useWindowScroll"),t=ts("customScrollParent"),o=tc("fixedHeaderHeight"),i=tc("fixedFooterHeight"),u=ts("fixedHeaderContent"),l=ts("fixedFooterContent"),c=ts("context"),s=et(a(o,function(e){return en(e,"height")})),f=et(a(i,function(e){return en(e,"height")})),p=ts("TableComponent"),d=ts("TableHeadComponent"),m=ts("TableFooterComponent"),g=u?n.createElement(d,W({key:"TableHead",style:{zIndex:1,position:"sticky",top:0},ref:s},rC(d,c)),u()):null,h=l?n.createElement(m,W({key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:f},rC(m,c)),l()):null;return n.createElement(t||r?td:tp,W({},e),n.createElement(t||r?tu:ti,null,n.createElement(p,W({style:{borderSpacing:0}},rC(p,c)),[g,n.createElement(ta,{key:"TableBody"}),h])))})),tc=(tl.Component,tl.usePublisher),ts=tl.useEmitterValue,tf=tl.useEmitter,tp=rq({usePublisher:tc,useEmitterValue:ts,useEmitter:tf}),td=rA({usePublisher:tc,useEmitterValue:ts,useEmitter:tf}),tm=rB},12615:function(e,r,t){"use strict";function o(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function n(e,r){return(!r||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function a(e,r){if(e.clientHeightr||a>e&&i=r&&u>=t?a-e-o:i>r&&ut?i-r+n:0}function u(e,r){var t=window,n=r.scrollMode,u=r.block,l=r.inline,c=r.boundary,s=r.skipOverflowHiddenElements,f="function"==typeof c?c:function(e){return e!==c};if(!o(e))throw TypeError("Invalid target");for(var p=document.scrollingElement||document.documentElement,d=[],m=e;o(m)&&f(m);){if((m=m.parentElement)===p){d.push(m);break}null!=m&&m===document.body&&a(m)&&!a(document.documentElement)||null!=m&&a(m,s)&&d.push(m)}for(var g=t.visualViewport?t.visualViewport.width:innerWidth,h=t.visualViewport?t.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,D=window.scrollY||pageYOffset,b=e.getBoundingClientRect(),y=b.height,x=b.width,w=b.top,C=b.right,E=b.bottom,S=b.left,q="start"===u||"nearest"===u?w:"end"===u?E:w+y/2,A="center"===l?S+x/2:"end"===l?C:S,T=[],k=0;k=0&&S>=0&&E<=h&&C<=g&&w>=H&&E<=O&&S>=P&&C<=F)break;var N=getComputedStyle(I),z=parseInt(N.borderLeftWidth,10),V=parseInt(N.borderTopWidth,10),U=parseInt(N.borderRightWidth,10),j=parseInt(N.borderBottomWidth,10),G=0,M=0,_="offsetWidth"in I?I.offsetWidth-I.clientWidth-z-U:0,W="offsetHeight"in I?I.offsetHeight-I.clientHeight-V-j:0;if(p===I)G="start"===u?q:"end"===u?q-h:"nearest"===u?i(D,D+h,h,V,j,D+q,D+q+y,y):q-h/2,M="start"===l?A:"center"===l?A-g/2:"end"===l?A-g:i(v,v+g,g,z,U,v+A,v+A+x,x),G=Math.max(0,G+D),M=Math.max(0,M+v);else{G="start"===u?q-H-V:"end"===u?q-O+j+W:"nearest"===u?i(H,O,B,V,j+W,q,q+y,y):q-(H+B/2)+W/2,M="start"===l?A-P-z:"center"===l?A-(P+L/2)+_/2:"end"===l?A-F+U+_:i(P,F,L,z,U+_,A,A+x,x);var Z=I.scrollLeft,K=I.scrollTop;q+=K-(G=Math.max(0,Math.min(K+G,I.scrollHeight-B+W))),A+=Z-(M=Math.max(0,Math.min(Z+M,I.scrollWidth-L+_)))}T.push({el:I,top:G,left:M})}return T}function l(e){return e===Object(e)&&0!==Object.keys(e).length}t.d(r,{Z:function(){return c}});var c=function(e,r){var t=e.isConnected||e.ownerDocument.documentElement.contains(e);if(l(r)&&"function"==typeof r.behavior)return r.behavior(t?u(e,r):[]);if(t){var o=!1===r?{block:"end",inline:"nearest"}:l(r)?r:{block:"start",inline:"nearest"};return function(e,r){void 0===r&&(r="auto");var t="scrollBehavior"in document.body.style;e.forEach(function(e){var o=e.el,n=e.top,a=e.left;o.scroll&&t?o.scroll({top:n,left:a,behavior:r}):(o.scrollTop=n,o.scrollLeft=a)})}(u(e,o),o.behavior)}}},12902:function(e,r,t){"use strict";function o(e){for(var r=arguments.length,t=Array(r>1?r-1:0),o=1;o3?r.i-4:r.i:Array.isArray(e)?1:s(e)?2:f(e)?3:0}function l(e,r){return 2===u(e)?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function c(e,r,t){var o=u(e);2===o?e.set(r,t):3===o?(e.delete(r),e.add(t)):e[r]=t}function s(e){return O&&e instanceof Map}function f(e){return P&&e instanceof Set}function p(e){return e.o||e.t}function d(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=M(e);delete r[U];for(var t=G(r),o=0;o1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),r&&i(e,function(e,r){return m(r,!0)},!0)),e}function g(){o(2)}function h(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var r=_[e];return r||o(18,e),r}function D(e,r){r&&(v("Patches"),e.u=[],e.s=[],e.v=r)}function b(e){y(e),e.p.forEach(w),e.p=null}function y(e){e===H&&(H=e.l)}function x(e){return H={p:[],l:H,h:e,m:!0,_:0}}function w(e){var r=e[U];0===r.i||1===r.i?r.j():r.O=!0}function C(e,r){r._=r.p.length;var t=r.p[0],n=void 0!==e&&e!==t;return r.h.g||v("ES5").S(r,e,n),n?(t[U].P&&(b(r),o(4)),a(e)&&(e=E(r,e),r.l||q(r,e)),r.u&&v("Patches").M(t[U].t,e,r.u,r.s)):e=E(r,t,[]),b(r),r.u&&r.v(r.u,r.s),e!==z?e:void 0}function E(e,r,t){if(h(r))return r;var o=r[U];if(!o)return i(r,function(n,a){return S(e,o,r,n,a,t)},!0),r;if(o.A!==e)return r;if(!o.P)return q(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=4===o.i||5===o.i?o.o=d(o.k):o.o;i(3===o.i?new Set(n):n,function(r,a){return S(e,o,n,r,a,t)}),q(e,n,!1),t&&e.u&&v("Patches").R(o,t,e.u,e.s)}return o.o}function S(e,r,t,o,i,u){if(n(i)){var s=E(e,i,u&&r&&3!==r.i&&!l(r.D,o)?u.concat(o):void 0);if(c(t,o,s),!n(s))return;e.m=!1}if(a(i)&&!h(i)){if(!e.h.F&&e._<1)return;E(e,i),r&&r.A.l||q(e,i)}}function q(e,r,t){void 0===t&&(t=!1),e.h.F&&e.m&&m(r,t)}function A(e,r){var t=e[U];return(t?p(t):e)[r]}function T(e,r){if(r in e)for(var t=Object.getPrototypeOf(e);t;){var o=Object.getOwnPropertyDescriptor(t,r);if(o)return o;t=Object.getPrototypeOf(t)}}function k(e){e.P||(e.P=!0,e.l&&k(e.l))}function I(e){e.o||(e.o=d(e.t))}function R(e,r,t){var o,n,a,i,u,l,c,p=s(r)?v("MapSet").N(r,t):f(r)?v("MapSet").T(r,t):e.g?(a=n={i:(o=Array.isArray(r))?1:0,A:t?t.A:H,P:!1,I:!1,D:{},l:t,t:r,k:null,o:null,j:null,C:!1},i=W,o&&(a=[n],i=Z),l=(u=Proxy.revocable(a,i)).revoke,c=u.proxy,n.k=c,n.j=l,c):v("ES5").J(r,t);return(t?t.A:H).p.push(p),p}function B(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return d(e)}t.d(r,{P2:function(){return J},Uy:function(){return Y},_x:function(){return $},mv:function(){return n}});var L,H,F="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),O="undefined"!=typeof Map,P="undefined"!=typeof Set,N="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,z=F?Symbol.for("immer-nothing"):((L={})["immer-nothing"]=!0,L),V=F?Symbol.for("immer-draftable"):"__$immer_draftable",U=F?Symbol.for("immer-state"):"__$immer_state",j=""+Object.prototype.constructor,G="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,M=Object.getOwnPropertyDescriptors||function(e){var r={};return G(e).forEach(function(t){r[t]=Object.getOwnPropertyDescriptor(e,t)}),r},_={},W={get:function(e,r){if(r===U)return e;var t,o,n=p(e);if(!l(n,r))return(o=T(n,r))?"value"in o?o.value:null===(t=o.get)||void 0===t?void 0:t.call(e.k):void 0;var i=n[r];return e.I||!a(i)?i:i===A(e.t,r)?(I(e),e.o[r]=R(e.A.h,i,e)):i},has:function(e,r){return r in p(e)},ownKeys:function(e){return Reflect.ownKeys(p(e))},set:function(e,r,t){var o=T(p(e),r);if(null==o?void 0:o.set)return o.set.call(e.k,t),!0;if(!e.P){var n=A(p(e),r),a=null==n?void 0:n[U];if(a&&a.t===t)return e.o[r]=t,e.D[r]=!1,!0;if((t===n?0!==t||1/t==1/n:t!=t&&n!=n)&&(void 0!==t||l(e.t,r)))return!0;I(e),k(e)}return e.o[r]===t&&"number"!=typeof t&&(void 0!==t||r in e.o)||(e.o[r]=t,e.D[r]=!0,!0)},deleteProperty:function(e,r){return void 0!==A(e.t,r)||r in e.t?(e.D[r]=!1,I(e),k(e)):delete e.D[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var t=p(e),o=Reflect.getOwnPropertyDescriptor(t,r);return o?{writable:!0,configurable:1!==e.i||"length"!==r,enumerable:o.enumerable,value:t[r]}:o},defineProperty:function(){o(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){o(12)}},Z={};i(W,function(e,r){Z[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Z.deleteProperty=function(e,r){return Z.set.call(this,e,r,void 0)},Z.set=function(e,r,t){return W.set.call(this,e[0],r,t,e[0])};var K=new(function(){function e(e){var r=this;this.g=N,this.F=!0,this.produce=function(e,t,n){if("function"==typeof e&&"function"!=typeof t){var i,u=t;return t=e,function(e){var o=this;void 0===e&&(e=u);for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i1?o-1:0),a=1;a=0;t--){var t,o=r[t];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}t>-1&&(r=r.slice(t+1));var a=v("Patches").$;return n(e)?a(e,r):this.produce(e,function(e){return a(e,r)})},e}()),Y=K.produce,J=(K.produceWithPatches.bind(K),K.setAutoFreeze.bind(K),K.setUseProxies.bind(K),K.applyPatches.bind(K),K.createDraft.bind(K)),$=K.finishDraft.bind(K)},45628:function(e,r,t){"use strict";/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function n(e){var r,t;return!1!==o(e)&&(void 0===(r=e.constructor)||!1!==o(t=r.prototype)&&!1!==t.hasOwnProperty("isPrototypeOf"))}t.d(r,{P:function(){return n}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2858-46f8295e2b7e6ef0.js b/static/web/_next/static/chunks/2858-46f8295e2b7e6ef0.js deleted file mode 100644 index a3d8183ee..000000000 --- a/static/web/_next/static/chunks/2858-46f8295e2b7e6ef0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2858],{24019:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},i=n(42135),u=function(e,t){return r.createElement(i.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};u.displayName="ClockCircleOutlined";var s=r.forwardRef(u)},31326:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"eye",theme:"filled"},i=n(42135),u=function(e,t){return r.createElement(i.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};u.displayName="EyeFilled";var s=r.forwardRef(u)},86559:function(e,t,n){n.d(t,{Z:function(){return g}});var a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=function(e,t,n){var r,o=a[e];return r="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function o(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}var i={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},s=function(e,t,n,a){return u[e]};function l(e){return function(t,n){var a;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):r;a=e.formattingValues[o]||e.formattingValues[r]}else{var i=e.defaultWidth,u=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[i]}return a[e.argumentCallback?e.argumentCallback(t):t]}}var d={ordinalNumber:function(e,t){var n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function c(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;var i,u=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?h(s,(function(e){return e.test(u)})):f(s,(function(e){return e.test(u)}));i=e.valueCallback?e.valueCallback(l):l,i=n.valueCallback?n.valueCallback(i):i;var d=t.slice(u.length);return{value:i,rest:d}}}function f(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function h(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(m.matchPattern);if(!n)return null;var a=n[0],r=e.match(m.parsePattern);if(!r)return null;var o=m.valueCallback?m.valueCallback(r[0]):r[0];o=t.valueCallback?t.valueCallback(o):o;var i=e.slice(a.length);return{value:o,rest:i}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},g={code:"en-US",formatDistance:r,formatLong:i,formatRelative:s,localize:d,match:y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(e,t,n){n.d(t,{j:function(){return r}});var a={};function r(){return a}},24262:function(e,t,n){function a(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return a}})},83946:function(e,t,n){function a(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return a}})},77349:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,a.Z)(t);return isNaN(i)?new Date(NaN):i?(n.setDate(n.getDate()+i),n):n}},11640:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,a.Z)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var u=n.getDate(),s=new Date(n.getTime());s.setMonth(n.getMonth()+i+1,0);var l=s.getDate();return u>=l?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},75401:function(e,t,n){n.d(t,{Z:function(){return s}});var a=n(24262),r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var u=864e5;function s(e,t){(0,o.Z)(2,arguments);var n=i(e),r=i(t),s=n.getTime()-(0,a.Z)(n),l=r.getTime()-(0,a.Z)(r);return Math.round((s-l)/u)}},68730:function(e,t,n){n.d(t,{Z:function(){return Z}});var a=n(49474),r=n(77349),o=n(11640),i=n(19013),u=n(13882),s=n(83946);function l(e){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function d(e,t){if((0,u.Z)(2,arguments),!t||"object"!==l(t))return new Date(NaN);var n=t.years?(0,s.Z)(t.years):0,a=t.months?(0,s.Z)(t.months):0,d=t.weeks?(0,s.Z)(t.weeks):0,c=t.days?(0,s.Z)(t.days):0,f=t.hours?(0,s.Z)(t.hours):0,h=t.minutes?(0,s.Z)(t.minutes):0,m=t.seconds?(0,s.Z)(t.seconds):0,y=(0,i.Z)(e),g=a||n?(0,o.Z)(y,a+12*n):y,v=c||d?(0,r.Z)(g,c+7*d):g,p=h+60*f,b=m+60*p,w=1e3*b,M=new Date(v.getTime()+w);return M}var c=n(75401);function f(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function h(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),a=(0,i.Z)(t),r=f(n,a),o=Math.abs((0,c.Z)(n,a));n.setDate(n.getDate()-r*o);var s=Number(f(n,a)===-r),l=r*(o-s);return 0===l?0:l}Math.pow(10,8);var m=36e5,y=n(59910),g=n(93645);function v(e,t,n){(0,u.Z)(2,arguments);var a=(0,y.Z)(e,t)/m;return(0,g.u)(null===n||void 0===n?void 0:n.roundingMethod)(a)}function p(e,t,n){(0,u.Z)(2,arguments);var a=(0,y.Z)(e,t)/6e4;return(0,g.u)(null===n||void 0===n?void 0:n.roundingMethod)(a)}var b=n(82161),w=n(11699);function M(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),a=(0,i.Z)(t);return n.getFullYear()-a.getFullYear()}function k(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),r=(0,i.Z)(t),o=(0,a.Z)(n,r),s=Math.abs(M(n,r));n.setFullYear(1584),r.setFullYear(1584);var l=(0,a.Z)(n,r)===-o,d=o*(s-Number(l));return 0===d?0:d}function Z(e){(0,u.Z)(1,arguments);var t=(0,i.Z)(e.start),n=(0,i.Z)(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var r={};r.years=Math.abs(k(n,t));var o=(0,a.Z)(n,t),s=d(t,{years:o*r.years});r.months=Math.abs((0,b.Z)(n,s));var l=d(s,{months:o*r.months});r.days=Math.abs(h(n,l));var c=d(l,{days:o*r.days});r.hours=Math.abs(v(n,c));var f=d(c,{hours:o*r.hours});r.minutes=Math.abs(p(n,f));var m=d(f,{minutes:o*r.minutes});return r.seconds=Math.abs((0,w.Z)(n,m)),r}},49218:function(e,t,n){n.d(t,{y1:function(){return W}});var a="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function r(e,t,n,a){e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function o(e,t){for(var n=t.slice(0,t.length-1),a=0;a=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var u={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"\u21ea":20,",":188,".":190,"/":191,"`":192,"-":a?173:189,"=":a?61:187,";":a?59:186,"'":222,"[":219,"]":221,"\\":220},s={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,cmd:91,command:91},l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},d={16:!1,18:!1,17:!1,91:!1},c={},f=1;f<20;f++)u["f".concat(f)]=111+f;var h=[],m=!1,y="all",g=[],v=function(e){return u[e.toLowerCase()]||s[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function p(e){y=e||"all"}function b(){return y||"all"}var w=function(e){var t=e.key,n=e.scope,a=e.method,r=e.splitKey,u=void 0===r?"+":r;i(t).forEach((function(e){var t=e.split(u),r=t.length,i=t[r-1],l="*"===i?"*":v(i);if(c[l]){n||(n=b());var d=r>1?o(s,t):[];c[l]=c[l].filter((function(e){return!((!a||e.method===a)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,a=e.length>=t.length?t:e,r=!0,o=0;o0,d)Object.prototype.hasOwnProperty.call(d,o)&&(!d[o]&&t.mods.indexOf(+o)>-1||d[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||d[16]||d[18]||d[17]||d[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function k(e,t){var n=c["*"],a=e.keyCode||e.which||e.charCode;if(Z.filter.call(this,e)){if(93!==a&&224!==a||(a=91),-1===h.indexOf(a)&&229!==a&&h.push(a),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=l[t];e[t]&&-1===h.indexOf(n)?h.push(n):!e[t]&&h.indexOf(n)>-1?h.splice(h.indexOf(n),1):"metaKey"===t&&e[t]&&3===h.length&&(e.ctrlKey||e.shiftKey||e.altKey||(h=h.slice(h.indexOf(n))))})),a in d){for(var r in d[a]=!0,s)s[r]===a&&(Z[r]=!0);if(!n)return}for(var o in d)Object.prototype.hasOwnProperty.call(d,o)&&(d[o]=e[l[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===h.indexOf(17)&&h.push(17),-1===h.indexOf(18)&&h.push(18),d[17]=!0,d[18]=!0);var i=b();if(n)for(var u=0;u1&&(u=o(s,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in c||(c[e]=[]),c[e].push({keyup:p,keydown:b,scope:l,mods:u,shortcut:a[y],method:n,key:a[y],splitKey:w,element:f});"undefined"!==typeof f&&!function(e){return g.indexOf(e)>-1}(f)&&window&&(g.push(f),r(f,"keydown",(function(e){k(e,f)}),M),m||(m=!0,r(window,"focus",(function(){h=[]}),M)),r(f,"keyup",(function(e){k(e,f),function(e){var t=e.keyCode||e.which||e.charCode,n=h.indexOf(t);if(n>=0&&h.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&h.splice(0,h.length),93!==t&&224!==t||(t=91),t in d)for(var a in d[t]=!1,s)s[a]===t&&(Z[a]=!1)}(e)}),M))}var C={setScope:p,getScope:b,deleteScope:function(e,t){var n,a;for(var r in e||(e=b()),c)if(Object.prototype.hasOwnProperty.call(c,r))for(n=c[r],a=0;a1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(c).forEach((function(n){var a=c[n].find((function(n){return n.scope===t&&n.shortcut===e}));a&&a.method&&a.method()}))},unbind:function(e){if("undefined"===typeof e)Object.keys(c).forEach((function(e){return delete c[e]}));else if(Array.isArray(e))e.forEach((function(e){e.key&&w(e)}));else if("object"===typeof e)e.key&&w(e);else if("string"===typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0?"in "+a:a+" ago":a};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var u={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return function(t,n){var a;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):r;a=e.formattingValues[o]||e.formattingValues[r]}else{var i=e.defaultWidth,u=null!=n&&n.width?String(n.width):e.defaultWidth;a=e.values[u]||e.values[i]}return a[e.argumentCallback?e.argumentCallback(t):t]}}function d(e){return function(t){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var u=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(var n=0;n20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:l({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:l({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:l({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(a={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(a.matchPattern);if(!n)return null;var r=n[0],o=e.match(a.parsePattern);if(!o)return null;var i=a.valueCallback?a.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(e,t,n){n.d(t,{j:function(){return r}});var a={};function r(){return a}},24262:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}},83946:function(e,t,n){n.d(t,{Z:function(){return a}});function a(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}},77349:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,a.Z)(t);return isNaN(i)?new Date(NaN):(i&&n.setDate(n.getDate()+i),n)}},11640:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(83946),r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),i=(0,a.Z)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var u=n.getDate(),s=new Date(n.getTime());return(s.setMonth(n.getMonth()+i+1,0),u>=s.getDate())?s:(n.setFullYear(s.getFullYear(),s.getMonth(),u),n)}},75401:function(e,t,n){n.d(t,{Z:function(){return u}});var a=n(24262),r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}function u(e,t){(0,o.Z)(2,arguments);var n=i(e),r=i(t);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},68730:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(49474),r=n(77349),o=n(11640),i=n(19013),u=n(13882),s=n(83946);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if((0,u.Z)(2,arguments),!t||"object"!==l(t))return new Date(NaN);var n=t.years?(0,s.Z)(t.years):0,a=t.months?(0,s.Z)(t.months):0,d=t.weeks?(0,s.Z)(t.weeks):0,c=t.days?(0,s.Z)(t.days):0,f=t.hours?(0,s.Z)(t.hours):0,h=t.minutes?(0,s.Z)(t.minutes):0,m=t.seconds?(0,s.Z)(t.seconds):0,g=(0,i.Z)(e),y=a||n?(0,o.Z)(g,a+12*n):g,v=c||d?(0,r.Z)(y,c+7*d):y;return new Date(v.getTime()+1e3*(m+60*(h+60*f)))}var c=n(75401);function f(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var h=n(59910),m=n(93645),g=n(82161),y=n(11699);function v(e){(0,u.Z)(1,arguments);var t=(0,i.Z)(e.start),n=(0,i.Z)(e.end);if(isNaN(t.getTime()))throw RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw RangeError("End Date is invalid");var r={};r.years=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),r=(0,i.Z)(t),o=(0,a.Z)(n,r),s=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),a=(0,i.Z)(t);return n.getFullYear()-a.getFullYear()}(n,r));n.setFullYear(1584),r.setFullYear(1584);var l=(0,a.Z)(n,r)===-o,d=o*(s-Number(l));return 0===d?0:d}(n,t));var o=(0,a.Z)(n,t),s=d(t,{years:o*r.years});r.months=Math.abs((0,g.Z)(n,s));var l=d(s,{months:o*r.months});r.days=Math.abs(function(e,t){(0,u.Z)(2,arguments);var n=(0,i.Z)(e),a=(0,i.Z)(t),r=f(n,a),o=Math.abs((0,c.Z)(n,a));n.setDate(n.getDate()-r*o);var s=Number(f(n,a)===-r),l=r*(o-s);return 0===l?0:l}(n,l));var v=d(l,{days:o*r.days});r.hours=Math.abs(function(e,t,n){(0,u.Z)(2,arguments);var a=(0,h.Z)(e,t)/36e5;return(0,m.u)(null==n?void 0:n.roundingMethod)(a)}(n,v));var p=d(v,{hours:o*r.hours});r.minutes=Math.abs(function(e,t,n){(0,u.Z)(2,arguments);var a=(0,h.Z)(e,t)/6e4;return(0,m.u)(null==n?void 0:n.roundingMethod)(a)}(n,p));var b=d(p,{minutes:o*r.minutes});return r.seconds=Math.abs((0,y.Z)(n,b)),r}},49218:function(e,t,n){n.d(t,{y1:function(){return W}});var a="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function r(e,t,n,a){e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function o(e,t){for(var n=t.slice(0,t.length-1),a=0;a=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var u={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":a?173:189,"=":a?61:187,";":a?59:186,"'":222,"[":219,"]":221,"\\":220},s={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},l={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},d={16:!1,18:!1,17:!1,91:!1},c={},f=1;f<20;f++)u["f".concat(f)]=111+f;var h=[],m=!1,g="all",y=[],v=function(e){return u[e.toLowerCase()]||s[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function p(e){g=e||"all"}function b(){return g||"all"}var w=function(e){var t=e.key,n=e.scope,a=e.method,r=e.splitKey,u=void 0===r?"+":r;i(t).forEach(function(e){var t=e.split(u),r=t.length,i=t[r-1],l="*"===i?"*":v(i);if(c[l]){n||(n=b());var d=r>1?o(s,t):[];c[l]=c[l].filter(function(e){return!((!a||e.method===a)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,a=e.length>=t.length?t:e,r=!0,o=0;o0,d)Object.prototype.hasOwnProperty.call(d,o)&&(!d[o]&&t.mods.indexOf(+o)>-1||d[o]&&-1===t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||d[16]||d[18]||d[17]||d[91])&&!r&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function M(e,t){var n=c["*"],a=e.keyCode||e.which||e.charCode;if(Z.filter.call(this,e)){if((93===a||224===a)&&(a=91),-1===h.indexOf(a)&&229!==a&&h.push(a),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var n=l[t];e[t]&&-1===h.indexOf(n)?h.push(n):!e[t]&&h.indexOf(n)>-1?h.splice(h.indexOf(n),1):"metaKey"===t&&e[t]&&3===h.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(h=h.slice(h.indexOf(n)))}),a in d){for(var r in d[a]=!0,s)s[r]===a&&(Z[r]=!0);if(!n)return}for(var o in d)Object.prototype.hasOwnProperty.call(d,o)&&(d[o]=e[l[o]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===h.indexOf(17)&&h.push(17),-1===h.indexOf(18)&&h.push(18),d[17]=!0,d[18]=!0);var i=b();if(n)for(var u=0;u1&&(l=o(s,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in c||(c[e]=[]),c[e].push({keyup:b,keydown:w,scope:f,mods:l,shortcut:u[p],method:n,key:u[p],splitKey:k,element:g});void 0!==g&&(a=g,!(y.indexOf(a)>-1))&&window&&(y.push(g),r(g,"keydown",function(e){M(e,g)},C),m||(m=!0,r(window,"focus",function(){h=[]},C)),r(g,"keyup",function(e){M(e,g),function(e){var t=e.keyCode||e.which||e.charCode,n=h.indexOf(t);if(n>=0&&h.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&h.splice(0,h.length),(93===t||224===t)&&(t=91),t in d)for(var a in d[t]=!1,s)s[a]===t&&(Z[a]=!1)}(e)},C))}var C={setScope:p,getScope:b,deleteScope:function(e,t){var n,a;for(var r in e||(e=b()),c)if(Object.prototype.hasOwnProperty.call(c,r))for(a=0,n=c[r];a1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(c).forEach(function(n){var a=c[n].find(function(n){return n.scope===t&&n.shortcut===e});a&&a.method&&a.method()})},unbind:function(e){if(void 0===e)Object.keys(c).forEach(function(e){return delete c[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&w(e)});else if("object"==typeof e)e.key&&w(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a=N.length)){var n=(0,o.Z)(N),a=n[e-1];n[e-1]=n[e],n[e]=a,oe(n)}}(a)}}),(0,r.jsx)(f.Z,{icon:(0,r.jsx)(j.Z,{}),size:"small",hidden:a===N.length-1,onClick:function(){return function(e){if(!(e<0||e>=N.length-1)){var n=(0,o.Z)(N),a=n[e+1];n[e+1]=n[e],n[e]=a,oe(n)}}(a)}}),(0,r.jsx)(f.Z,{className:"delete-button",icon:(0,r.jsx)(v.Z,{}),size:"small",onClick:function(){return function(e){var n=(0,o.Z)(N);n.splice(e,1),oe(n)}(a)}})]})}}],re={disabled:!(0,S.Z)(K.url)},ue=(0,r.jsxs)("div",{className:"other-field-container formfield-container",children:[(0,r.jsx)("div",{className:"label-side"}),(0,r.jsx)("div",{className:"input-side",children:(0,r.jsx)(m.Z,{placeholder:"Other platform name",defaultValue:K.platform,onChange:function(e){var n=e.target.value;ie("platform",n)}})})]});return(0,r.jsxs)("div",{className:"social-links-edit-container",children:[(0,r.jsx)(_,{level:3,className:"section-title",children:"Your Social Handles"}),(0,r.jsx)("p",{className:"description",children:"Add all your social media handles and links to your other profiles here."}),(0,r.jsx)(C.E,{status:Y}),(0,r.jsx)(p.Z,{className:"social-handles-table",pagination:!1,size:"small",rowKey:function(e){return"".concat(e.platform,"-").concat(e.url)},columns:ce,dataSource:N}),(0,r.jsx)(h.Z,{title:"Edit Social Handle",open:O,onOk:function(){U(!0);var e=N.length?(0,o.Z)(N):[];-1===V?e.push(K):e.splice(V,1,K),oe(e)},onCancel:se,confirmLoading:P,okButtonProps:re,children:(0,r.jsxs)("div",{className:"social-handle-modal-content",children:[(0,r.jsx)(k,{iconList:n,selectedOption:ae?Z.z_:K.platform,onSelected:function(e){e===Z.z_?(L(!0),ie("platform","")):(L(!1),ie("platform",e))}}),H&&ue,(0,r.jsx)("br",{}),(0,r.jsx)(b.nv,{fieldName:"social-url",label:"URL",placeholder:{mastodon:"https://mastodon.social/@username",twitter:"https://twitter.com/username"}[K.platform]||"Url to page",value:K.url,onChange:function(e){var n=e.value;ie("url",n)},useTrim:!0,type:"url",pattern:S.a}),(0,r.jsx)(C.E,{status:Y})]})}),(0,r.jsx)("br",{}),(0,r.jsx)(f.Z,{type:"primary",onClick:function(){le(),I(!0)},children:"Add a new social link"})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2877.4a5ca5df09892683.js b/static/web/_next/static/chunks/2877.4a5ca5df09892683.js new file mode 100644 index 000000000..3bd7ffaa3 --- /dev/null +++ b/static/web/_next/static/chunks/2877.4a5ca5df09892683.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2877],{82877:function(t,e,i){i.r(e),i.d(e,{yaml:function(){return r}});var a=RegExp("\\b((true)|(false)|(on)|(off)|(yes)|(no))$","i");let r={name:"yaml",token:function(t,e){var i=t.peek(),r=e.escaped;if(e.escaped=!1,"#"==i&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&t.indentation()>e.keyCol)return t.skipToEnd(),"string";if(e.literal&&(e.literal=!1),t.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,t.match("---")||t.match("..."))return"def";if(t.match(/^\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return"{"==i?e.inlinePairs++:"}"==i?e.inlinePairs--:"["==i?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!r&&","==i)return t.next(),"meta";if(e.inlinePairs>0&&!r&&","==i)return e.keyCol=0,e.pair=!1,e.pairStart=!1,t.next(),"meta";if(e.pairStart){if(t.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(0==e.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(a))return"keyword"}return!e.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=t.indentation(),"atom"):e.pair&&t.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped="\\"==i,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/29107295-1453a3860b50f70e.js b/static/web/_next/static/chunks/29107295-1453a3860b50f70e.js new file mode 100644 index 000000000..9bc694091 --- /dev/null +++ b/static/web/_next/static/chunks/29107295-1453a3860b50f70e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{96486:function(n,t,r){var e;n=r.nmd(n),(function(){var u,i="Expected a function",o="__lodash_hash_undefined__",f="__lodash_placeholder__",a=1/0,c=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",h="[object Array]",p="[object Boolean]",v="[object Date]",_="[object Error]",g="[object Function]",y="[object GeneratorFunction]",d="[object Map]",b="[object Number]",w="[object Object]",m="[object Promise]",x="[object RegExp]",j="[object Set]",A="[object String]",k="[object Symbol]",O="[object WeakMap]",I="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",z="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",W="[object Int32Array]",L="[object Uint8Array]",U="[object Uint8ClampedArray]",B="[object Uint16Array]",T="[object Uint32Array]",$=/\b__p \+= '';/g,D=/\b(__p \+=) '' \+/g,M=/(__e\(.*?\)|\b__t\)) \+\n'';/g,F=/&(?:amp|lt|gt|quot|#39);/g,N=/[&<>"']/g,P=RegExp(F.source),q=RegExp(N.source),Z=/<%-([\s\S]+?)%>/g,K=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source),X=/^\s+/,nn=/\s/,nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,nr=/\{\n\/\* \[wrapped with (.+)\] \*/,ne=/,? & /,nu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ni=/[()=,{}\[\]\/\s]/,no=/\\(\\)?/g,nf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,na=/\w*$/,nc=/^[-+]0x[0-9a-f]+$/i,nl=/^0b[01]+$/i,ns=/^\[object .+?Constructor\]$/,nh=/^0o[0-7]+$/i,np=/^(?:0|[1-9]\d*)$/,nv=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n_=/($^)/,ng=/['\n\r\u2028\u2029\\]/g,ny="\ud800-\udfff",nd="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nb="\\u2700-\\u27bf",nw="a-z\\xdf-\\xf6\\xf8-\\xff",nm="A-Z\\xc0-\\xd6\\xd8-\\xde",nx="\\ufe0e\\ufe0f",nj="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nA="['’]",nk="["+nj+"]",nO="["+nd+"]",nI="["+nw+"]",nE="[^"+ny+nj+"\\d+"+nb+nw+nm+"]",nR="\ud83c[\udffb-\udfff]",nz="[^"+ny+"]",nS="(?:\ud83c[\udde6-\uddff]){2}",nC="[\ud800-\udbff][\udc00-\udfff]",nW="["+nm+"]",nL="\\u200d",nU="(?:"+nI+"|"+nE+")",nB="(?:"+nA+"(?:d|ll|m|re|s|t|ve))?",nT="(?:"+nA+"(?:D|LL|M|RE|S|T|VE))?",n$="(?:"+nO+"|"+nR+")?",nD="["+nx+"]?",nM="(?:"+nL+"(?:"+[nz,nS,nC].join("|")+")"+nD+n$+")*",nF=nD+n$+nM,nN="(?:"+["["+nb+"]",nS,nC].join("|")+")"+nF,nP="(?:"+[nz+nO+"?",nO,nS,nC,"["+ny+"]"].join("|")+")",nq=RegExp(nA,"g"),nZ=RegExp(nO,"g"),nK=RegExp(nR+"(?="+nR+")|"+nP+nF,"g"),nV=RegExp([nW+"?"+nI+"+"+nB+"(?="+[nk,nW,"$"].join("|")+")","(?:"+nW+"|"+nE+")+"+nT+"(?="+[nk,nW+nU,"$"].join("|")+")",nW+"?"+nU+"+"+nB,nW+"+"+nT,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",nN].join("|"),"g"),nG=RegExp("["+nL+ny+nd+nx+"]"),nH=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nY=-1,nQ={};nQ[R]=nQ[z]=nQ[S]=nQ[C]=nQ[W]=nQ[L]=nQ[U]=nQ[B]=nQ[T]=!0,nQ[s]=nQ[h]=nQ[I]=nQ[p]=nQ[E]=nQ[v]=nQ[_]=nQ[g]=nQ[d]=nQ[b]=nQ[w]=nQ[x]=nQ[j]=nQ[A]=nQ[O]=!1;var nX={};nX[s]=nX[h]=nX[I]=nX[E]=nX[p]=nX[v]=nX[R]=nX[z]=nX[S]=nX[C]=nX[W]=nX[d]=nX[b]=nX[w]=nX[x]=nX[j]=nX[A]=nX[k]=nX[L]=nX[U]=nX[B]=nX[T]=!0,nX[_]=nX[g]=nX[O]=!1;var n0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n1=parseFloat,n2=parseInt,n9="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,n3="object"==typeof self&&self&&self.Object===Object&&self,n4=n9||n3||Function("return this")(),n6=t&&!t.nodeType&&t,n7=n6&&n&&!n.nodeType&&n,n8=n7&&n7.exports===n6,n5=n8&&n9.process,tn=function(){try{var n=n7&&n7.require&&n7.require("util").types;if(n)return n;return n5&&n5.binding&&n5.binding("util")}catch(t){}}(),tt=tn&&tn.isArrayBuffer,tr=tn&&tn.isDate,te=tn&&tn.isMap,tu=tn&&tn.isRegExp,ti=tn&&tn.isSet,to=tn&&tn.isTypedArray;function tf(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function ta(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function tv(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function tT(n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ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tD=tE({"&":"&","<":"<",">":">",'"':""","'":"'"});function tM(n){return"\\"+n0[n]}function tF(n){return nG.test(n)}function tN(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function tP(n,t){return function(r){return n(t(r))}}function tq(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"}),tJ=function n(t){var r,e,nn,ny,nd=(t=null==t?n4:tJ.defaults(n4.Object(),t,tJ.pick(n4,nJ))).Array,nb=t.Date,nw=t.Error,nm=t.Function,nx=t.Math,nj=t.Object,nA=t.RegExp,nk=t.String,nO=t.TypeError,nI=nd.prototype,nE=nm.prototype,nR=nj.prototype,nz=t["__core-js_shared__"],nS=nE.toString,nC=nR.hasOwnProperty,nW=0,nL=(r=/[^.]+$/.exec(nz&&nz.keys&&nz.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",nU=nR.toString,nB=nS.call(nj),nT=n4._,n$=nA("^"+nS.call(nC).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nD=n8?t.Buffer:u,nM=t.Symbol,nF=t.Uint8Array,nN=nD?nD.allocUnsafe:u,nP=tP(nj.getPrototypeOf,nj),nK=nj.create,nG=nR.propertyIsEnumerable,n0=nI.splice,n9=nM?nM.isConcatSpreadable:u,n3=nM?nM.iterator:u,n6=nM?nM.toStringTag:u,n7=function(){try{var n=uy(nj,"defineProperty");return n({},"",{}),n}catch(t){}}(),n5=t.clearTimeout!==n4.clearTimeout&&t.clearTimeout,tn=nb&&nb.now!==n4.Date.now&&nb.now,tw=t.setTimeout!==n4.setTimeout&&t.setTimeout,tE=nx.ceil,tY=nx.floor,tQ=nj.getOwnPropertySymbols,tX=nD?nD.isBuffer:u,t0=t.isFinite,t1=nI.join,t2=tP(nj.keys,nj),t9=nx.max,t3=nx.min,t4=nb.now,t6=t.parseInt,t7=nx.random,t8=nI.reverse,t5=uy(t,"DataView"),rn=uy(t,"Map"),rt=uy(t,"Promise"),rr=uy(t,"Set"),re=uy(t,"WeakMap"),ru=uy(nj,"create"),ri=re&&new re,ro={},rf=uN(t5),ra=uN(rn),rc=uN(rt),rl=uN(rr),rs=uN(re),rh=nM?nM.prototype:u,rp=rh?rh.valueOf:u,rv=rh?rh.toString:u;function r_(n){if(iY(n)&&!iM(n)&&!(n instanceof rb)){if(n instanceof rd)return n;if(nC.call(n,"__wrapped__"))return uP(n)}return new rd(n)}var rg=function(){function n(){}return function(t){if(!iJ(t))return{};if(nK)return nK(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function ry(){}function rd(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function rb(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function rw(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function rT(n,t,r,e,i,o){var f,a=1&t,c=2&t;if(r&&(f=i?r(n,e,i,o):r(n)),u!==f)return f;if(!iJ(n))return n;var l=iM(n);if(l){if(_=(h=n).length,m=new h.constructor(_),_&&"string"==typeof h[0]&&nC.call(h,"index")&&(m.index=h.index,m.input=h.input),f=m,!a)return eZ(n,f)}else{var h,_,m,O,$,D,M=uw(n),F=M==g||M==y;if(iq(n))return eD(n,a);if(M==w||M==s||F&&!i){if(f=c||F?{}:ux(n),!a)return c?(O=(D=f)&&eK(n,od(n),D),eK(n,ub(n),O)):($=rW(f,n),eK(n,ud(n),$))}else{if(!nX[M])return i?n:{};f=function(n,t,r){var e,u,i=n.constructor;switch(t){case I:return eM(n);case p:case v:return new i(+n);case E:return e=r?eM(n.buffer):n.buffer,new n.constructor(e,n.byteOffset,n.byteLength);case R:case z:case S:case C:case W:case L:case U:case B:case T:return eF(n,r);case d:return new i;case b:case A:return new i(n);case x:return(u=new n.constructor(n.source,na.exec(n))).lastIndex=n.lastIndex,u;case j:return new i;case k:return rp?nj(rp.call(n)):{}}}(n,M,a)}}o||(o=new rA);var N=o.get(n);if(N)return N;o.set(n,f),i2(n)?n.forEach(function(e){f.add(rT(e,t,r,e,n,o))}):iQ(n)&&n.forEach(function(e,u){f.set(u,rT(e,t,r,u,n,o))});var P=l?u:(4&t?c?ul:uc:c?od:oy)(n);return tc(P||n,function(e,u){P&&(e=n[u=e]),rz(f,u,rT(e,t,r,u,n,o))}),f}function r$(n,t,r){var e=r.length;if(null==n)return!e;for(n=nj(n);e--;){var i=r[e],o=t[i],f=n[i];if(u===f&&!(i in n)||!o(f))return!1}return!0}function rD(n,t,r){if("function"!=typeof n)throw new nO(i);return uU(function(){n.apply(u,r)},t)}function rM(n,t,r,e){var u=-1,i=tp,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=t_(t,tW(r))),e?(i=tv,o=!1):t.length>=200&&(i=tU,o=!1,t=new rj(t));n:for(;++u-1},rm.prototype.set=function(n,t){var r=this.__data__,e=rS(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},rx.prototype.clear=function(){this.size=0,this.__data__={hash:new rw,map:new(rn||rm),string:new rw}},rx.prototype.delete=function(n){var t=u_(this,n).delete(n);return this.size-=t?1:0,t},rx.prototype.get=function(n){return u_(this,n).get(n)},rx.prototype.has=function(n){return u_(this,n).has(n)},rx.prototype.set=function(n,t){var r=u_(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},rj.prototype.add=rj.prototype.push=function(n){return this.__data__.set(n,o),this},rj.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.clear=function(){this.__data__=new rm,this.size=0},rA.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},rA.prototype.get=function(n){return this.__data__.get(n)},rA.prototype.has=function(n){return this.__data__.has(n)},rA.prototype.set=function(n,t){var r=this.__data__;if(r instanceof rm){var e=r.__data__;if(!rn||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new rx(e)}return r.set(n,t),this.size=r.size,this};var rF=eH(rH),rN=eH(rJ,!0);function rP(n,t){var r=!0;return rF(n,function(n,e,u){return r=!!t(n,e,u)}),r}function rq(n,t,r){for(var e=-1,i=n.length;++e0&&r(f)?t>1?rK(f,t-1,r,e,u):tg(u,f):e||(u[u.length]=f)}return u}var rV=eJ(),rG=eJ(!0);function rH(n,t){return n&&rV(n,t,oy)}function rJ(n,t){return n&&rG(n,t,oy)}function rY(n,t){return th(t,function(t){return iV(n[t])})}function rQ(n,t){t=eB(t,n);for(var r=0,e=t.length;null!=n&&rt}function r2(n,t){return null!=n&&nC.call(n,t)}function r9(n,t){return null!=n&&t in nj(n)}function r3(n,t,r){for(var e=r?tv:tp,i=n[0].length,o=n.length,f=o,a=nd(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=t_(s,tW(t))),c=t3(s.length,c),a[f]=!r&&(t||i>=120&&s.length>=120)?new rj(f&&s):u}s=n[0];var h=-1,p=a[0];n:for(;++h=f)return a;return a*("desc"==r[e]?-1:1)}}return n.index-t.index}(n,t,r)})}function ec(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&n0.call(f,a,1),n0.call(n,a,1);return n}function es(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;uA(u)?n0.call(n,u,1):eE(n,u)}}return n}function eh(n,t){return n+tY(t7()*(t-n+1))}function ep(n,t){var r="";if(!n||t<1||t>9007199254740991)return r;do t%2&&(r+=n),(t=tY(t/2))&&(n+=n);while(t);return r}function ev(n,t){return uB(uS(n,t,oP),n+"")}function e_(n){return rO(oO(n))}function eg(n,t){var r=oO(n);return uD(r,rB(t,0,r.length))}function ey(n,t,r,e){if(!iJ(n))return n;t=eB(t,n);for(var i=-1,o=t.length,f=o-1,a=n;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=nd(u);++e>>1,o=n[i];null!==o&&!i3(o)&&(r?o<=t:o=200){var c=t?null:ut(n);if(c)return tZ(c);o=!1,u=tU,a=new rj}else a=t?[]:f;n:for(;++e=e?n:ew(n,t,r)}var e$=n5||function(n){return n4.clearTimeout(n)};function eD(n,t){if(t)return n.slice();var r=n.length,e=nN?nN(r):new n.constructor(r);return n.copy(e),e}function eM(n){var t=new n.constructor(n.byteLength);return new nF(t).set(new nF(n)),t}function eF(n,t){var r=t?eM(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function eN(n,t){if(n!==t){var r=u!==n,e=null===n,i=n==n,o=i3(n),f=u!==t,a=null===t,c=t==t,l=i3(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||e&&f&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,f=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,f&&uk(r[0],r[1],f)&&(o=i<3?u:o,i=1),t=nj(t);++e-1?i[o?t[f]:f]:u}}function e1(n){return ua(function(t){var r=t.length,e=r,o=rd.prototype.thru;for(n&&t.reverse();e--;){var f=t[e];if("function"!=typeof f)throw new nO(i);if(o&&!a&&"wrapper"==uh(f))var a=new rd([],!0)}for(e=a?e:r;++e1&&b.reverse(),s&&ca))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new rj:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(nt,"{\n/* [wrapped with "+t+"] */\n")}(i,(e=(u=i.match(nr))?u[1].split(ne):[],tc(l,function(n){var t="_."+n[0];r&n[1]&&!tp(e,t)&&e.push(t)}),e.sort())))}function u$(n){var t=0,r=0;return function(){var e=t4(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function uD(n,t){var r=-1,e=n.length,i=e-1;for(t=u===t?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,u5(n,r)});function ia(n){var t=r_(n);return t.__chain__=!0,t}function ic(n,t){return t(n)}var il=ua(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return rU(t,n)};return!(t>1)&&!this.__actions__.length&&e instanceof rb&&uA(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:ic,args:[i],thisArg:u}),new rd(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(u),n})):this.thru(i)}),is=eV(function(n,t,r){nC.call(n,r)?++n[r]:rL(n,r,1)}),ih=e0(uV),ip=e0(uG);function iv(n,t){return(iM(n)?tc:rF)(n,uv(t,3))}function i_(n,t){return(iM(n)?tl:rN)(n,uv(t,3))}var ig=eV(function(n,t,r){nC.call(n,r)?n[r].push(t):rL(n,r,[t])}),iy=ev(function(n,t,r){var e=-1,u="function"==typeof t,i=iN(n)?nd(n.length):[];return rF(n,function(n){i[++e]=u?tf(t,n,r):r4(n,t,r)}),i}),id=eV(function(n,t,r){rL(n,r,t)});function ib(n,t){return(iM(n)?t_:ee)(n,uv(t,3))}var iw=eV(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),im=ev(function(n,t){if(null==n)return[];var r=t.length;return r>1&&uk(n,t[0],t[1])?t=[]:r>2&&uk(t[0],t[1],t[2])&&(t=[t[0]]),ea(n,rK(t,1),[])}),ix=tn||function(){return n4.Date.now()};function ij(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,ue(n,128,u,u,u,u,t)}function iA(n,t){var r;if("function"!=typeof t)throw new nO(i);return n=on(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var ik=ev(function(n,t,r){var e=1;if(r.length){var u=tq(r,up(ik));e|=32}return ue(n,e,t,r,u)}),iO=ev(function(n,t,r){var e=3;if(r.length){var u=tq(r,up(iO));e|=32}return ue(t,e,n,r,u)});function iI(n,t,r){var e,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new nO(i);function _(t){var r=e,i=o;return e=o=u,s=t,a=n.apply(i,r)}function g(n){var r=n-l,e=n-s;return u===l||r>=t||r<0||p&&e>=f}function y(){var n,r,e,u=ix();if(g(u))return d(u);c=uU(y,(n=u-l,r=u-s,e=t-n,p?t3(e,f-r):e))}function d(n){return(c=u,v&&e)?_(n):(e=o=u,a)}function b(){var n,r=ix(),i=g(r);if(e=arguments,o=this,l=r,i){if(u===c)return s=n=l,c=uU(y,t),h?_(n):a;if(p)return e$(c),c=uU(y,t),_(l)}return u===c&&(c=uU(y,t)),a}return t=or(t)||0,iJ(r)&&(h=!!r.leading,f=(p="maxWait"in r)?t9(or(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),b.cancel=function(){u!==c&&e$(c),s=0,e=l=o=c=u},b.flush=function(){return u===c?a:d(ix())},b}var iE=ev(function(n,t){return rD(n,1,t)}),iR=ev(function(n,t,r){return rD(n,or(t)||0,r)});function iz(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new nO(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(iz.Cache||rx),r}function iS(n){if("function"!=typeof n)throw new nO(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}iz.Cache=rx;var iC=ev(function(n,t){var r=(t=1==t.length&&iM(t[0])?t_(t[0],tW(uv())):t_(rK(t,1),tW(uv()))).length;return ev(function(e){for(var u=-1,i=t3(e.length,r);++u=t}),iD=r6(function(){return arguments}())?r6:function(n){return iY(n)&&nC.call(n,"callee")&&!nG.call(n,"callee")},iM=nd.isArray,iF=tt?tW(tt):function(n){return iY(n)&&r0(n)==I};function iN(n){return null!=n&&iH(n.length)&&!iV(n)}function iP(n){return iY(n)&&iN(n)}var iq=tX||o2,iZ=tr?tW(tr):function(n){return iY(n)&&r0(n)==v};function iK(n){if(!iY(n))return!1;var t=r0(n);return t==_||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!i0(n)}function iV(n){if(!iJ(n))return!1;var t=r0(n);return t==g||t==y||"[object AsyncFunction]"==t||"[object Proxy]"==t}function iG(n){return"number"==typeof n&&n==on(n)}function iH(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=9007199254740991}function iJ(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function iY(n){return null!=n&&"object"==typeof n}var iQ=te?tW(te):function(n){return iY(n)&&uw(n)==d};function iX(n){return"number"==typeof n||iY(n)&&r0(n)==b}function i0(n){if(!iY(n)||r0(n)!=w)return!1;var t=nP(n);if(null===t)return!0;var r=nC.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&nS.call(r)==nB}var i1=tu?tW(tu):function(n){return iY(n)&&r0(n)==x},i2=ti?tW(ti):function(n){return iY(n)&&uw(n)==j};function i9(n){return"string"==typeof n||!iM(n)&&iY(n)&&r0(n)==A}function i3(n){return"symbol"==typeof n||iY(n)&&r0(n)==k}var i4=to?tW(to):function(n){return iY(n)&&iH(n.length)&&!!nQ[r0(n)]},i6=e8(er),i7=e8(function(n,t){return n<=t});function i8(n){if(!n)return[];if(iN(n))return i9(n)?tV(n):eZ(n);if(n3&&n[n3])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[n3]());var t=uw(n);return(t==d?tN:t==j?tZ:oO)(n)}function i5(n){return n?(n=or(n))===a||n===-a?(n<0?-1:1)*17976931348623157e292:n==n?n:0:0===n?n:0}function on(n){var t=i5(n),r=t%1;return t==t?r?t-r:t:0}function ot(n){return n?rB(on(n),0,4294967295):0}function or(n){if("number"==typeof n)return n;if(i3(n))return c;if(iJ(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=iJ(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=tC(n);var r=nl.test(n);return r||nh.test(n)?n2(n.slice(2),r?2:8):nc.test(n)?c:+n}function oe(n){return eK(n,od(n))}function ou(n){return null==n?"":eO(n)}var oi=eG(function(n,t){if(uR(t)||iN(t)){eK(t,oy(t),n);return}for(var r in t)nC.call(t,r)&&rz(n,r,t[r])}),oo=eG(function(n,t){eK(t,od(t),n)}),of=eG(function(n,t,r,e){eK(t,od(t),n,e)}),oa=eG(function(n,t,r,e){eK(t,oy(t),n,e)}),oc=ua(rU),ol=ev(function(n,t){n=nj(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&uk(t[0],t[1],i)&&(e=1);++r1),t}),eK(n,ul(n),r),e&&(r=rT(r,7,uo));for(var u=t.length;u--;)eE(r,t[u]);return r}),ox=ua(function(n,t){return null==n?{}:ec(n,t,function(t,r){return op(n,r)})});function oj(n,t){if(null==n)return{};var r=t_(ul(n),function(n){return[n]});return t=uv(t),ec(n,r,function(n,r){return t(n,r[0])})}var oA=ur(oy),ok=ur(od);function oO(n){return null==n?[]:tL(n,oy(n))}var oI=eQ(function(n,t,r){return t=t.toLowerCase(),n+(r?oE(t):t)});function oE(n){return oB(ou(n).toLowerCase())}function oR(n){return(n=ou(n))&&n.replace(nv,t$).replace(nZ,"")}var oz=eQ(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),oS=eQ(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),oC=eY("toLowerCase"),oW=eQ(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),oL=eQ(function(n,t,r){return n+(r?" ":"")+oB(t)}),oU=eQ(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),oB=eY("toUpperCase");function oT(n,t,r){if(n=ou(n),t=r?u:t,u===t){var e;return(e=n,nH.test(e))?n.match(nV)||[]:n.match(nu)||[]}return n.match(t)||[]}var o$=ev(function(n,t){try{return tf(n,u,t)}catch(r){return iK(r)?r:new nw(r)}}),oD=ua(function(n,t){return tc(t,function(t){rL(n,t=uF(t),ik(n[t],n))}),n});function oM(n){return function(){return n}}var oF=e1(),oN=e1(!0);function oP(n){return n}function oq(n){return en("function"==typeof n?n:rT(n,1))}var oZ=ev(function(n,t){return function(r){return r4(r,n,t)}}),oK=ev(function(n,t){return function(r){return r4(n,r,t)}});function oV(n,t,r){var e=oy(t),u=rY(t,e);null!=r||iJ(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=rY(t,oy(t)));var i=!(iJ(r)&&"chain"in r)||!!r.chain,o=iV(n);return tc(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=eZ(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,tg([this.value()],arguments))})}),n}function oG(){}var oH=e4(t_),oJ=e4(ts),oY=e4(tb);function oQ(n){return uO(n)?tI(uF(n)):function(t){return rQ(t,n)}}var oX=e7(),o0=e7(!0);function o1(){return[]}function o2(){return!1}var o9=e3(function(n,t){return n+t},0),o3=un("ceil"),o4=e3(function(n,t){return n/t},1),o6=un("floor"),o7=e3(function(n,t){return n*t},1),o8=un("round"),o5=e3(function(n,t){return n-t},0);return r_.after=function(n,t){if("function"!=typeof t)throw new nO(i);return n=on(n),function(){if(--n<1)return t.apply(this,arguments)}},r_.ary=ij,r_.assign=oi,r_.assignIn=oo,r_.assignInWith=of,r_.assignWith=oa,r_.at=oc,r_.before=iA,r_.bind=ik,r_.bindAll=oD,r_.bindKey=iO,r_.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return iM(n)?n:[n]},r_.chain=ia,r_.chunk=function(n,t,r){t=(r?uk(n,t,r):u===t)?1:t9(on(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var i=0,o=0,f=nd(tE(e/t));ii?0:i+r),(e=u===e||e>i?i:on(e))<0&&(e+=i),e=r>e?0:ot(e);r>>0)?(n=ou(n))&&("string"==typeof t||null!=t&&!i1(t))&&!(t=eO(t))&&tF(n)?eT(tV(n),0,r):n.split(t,r):[]},r_.spread=function(n,t){if("function"!=typeof n)throw new nO(i);return t=null==t?0:t9(on(t),0),ev(function(r){var e=r[t],u=eT(r,0,t);return e&&tg(u,e),tf(n,this,u)})},r_.tail=function(n){var t=null==n?0:n.length;return t?ew(n,1,t):[]},r_.take=function(n,t,r){return n&&n.length?ew(n,0,(t=r||u===t?1:on(t))<0?0:t):[]},r_.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?ew(n,(t=e-(t=r||u===t?1:on(t)))<0?0:t,e):[]},r_.takeRightWhile=function(n,t){return n&&n.length?ez(n,uv(t,3),!1,!0):[]},r_.takeWhile=function(n,t){return n&&n.length?ez(n,uv(t,3)):[]},r_.tap=function(n,t){return t(n),n},r_.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new nO(i);return iJ(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),iI(n,t,{leading:e,maxWait:t,trailing:u})},r_.thru=ic,r_.toArray=i8,r_.toPairs=oA,r_.toPairsIn=ok,r_.toPath=function(n){return iM(n)?t_(n,uF):i3(n)?[n]:eZ(uM(ou(n)))},r_.toPlainObject=oe,r_.transform=function(n,t,r){var e=iM(n),u=e||iq(n)||i4(n);if(t=uv(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:iJ(n)&&iV(i)?rg(nP(n)):{}}return(u?tc:rH)(n,function(n,e,u){return t(r,n,e,u)}),r},r_.unary=function(n){return ij(n,1)},r_.union=u4,r_.unionBy=u6,r_.unionWith=u7,r_.uniq=function(n){return n&&n.length?eI(n):[]},r_.uniqBy=function(n,t){return n&&n.length?eI(n,uv(t,2)):[]},r_.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?eI(n,u,t):[]},r_.unset=function(n,t){return null==n||eE(n,t)},r_.unzip=u8,r_.unzipWith=u5,r_.update=function(n,t,r){return null==n?n:eR(n,t,eU(r))},r_.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:eR(n,t,eU(r),e)},r_.values=oO,r_.valuesIn=function(n){return null==n?[]:tL(n,od(n))},r_.without=it,r_.words=oT,r_.wrap=function(n,t){return iW(eU(t),n)},r_.xor=ir,r_.xorBy=ie,r_.xorWith=iu,r_.zip=ii,r_.zipObject=function(n,t){return eW(n||[],t||[],rz)},r_.zipObjectDeep=function(n,t){return eW(n||[],t||[],ey)},r_.zipWith=io,r_.entries=oA,r_.entriesIn=ok,r_.extend=oo,r_.extendWith=of,oV(r_,r_),r_.add=o9,r_.attempt=o$,r_.camelCase=oI,r_.capitalize=oE,r_.ceil=o3,r_.clamp=function(n,t,r){return u===r&&(r=t,t=u),u!==r&&(r=(r=or(r))==r?r:0),u!==t&&(t=(t=or(t))==t?t:0),rB(or(n),t,r)},r_.clone=function(n){return rT(n,4)},r_.cloneDeep=function(n){return rT(n,5)},r_.cloneDeepWith=function(n,t){return rT(n,5,t="function"==typeof t?t:u)},r_.cloneWith=function(n,t){return rT(n,4,t="function"==typeof t?t:u)},r_.conformsTo=function(n,t){return null==t||r$(n,t,oy(t))},r_.deburr=oR,r_.defaultTo=function(n,t){return null==n||n!=n?t:n},r_.divide=o4,r_.endsWith=function(n,t,r){n=ou(n),t=eO(t);var e=n.length,i=r=u===r?e:rB(on(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},r_.eq=iB,r_.escape=function(n){return(n=ou(n))&&q.test(n)?n.replace(N,tD):n},r_.escapeRegExp=function(n){return(n=ou(n))&&Q.test(n)?n.replace(Y,"\\$&"):n},r_.every=function(n,t,r){var e=iM(n)?ts:rP;return r&&uk(n,t,r)&&(t=u),e(n,uv(t,3))},r_.find=ih,r_.findIndex=uV,r_.findKey=function(n,t){return tm(n,uv(t,3),rH)},r_.findLast=ip,r_.findLastIndex=uG,r_.findLastKey=function(n,t){return tm(n,uv(t,3),rJ)},r_.floor=o6,r_.forEach=iv,r_.forEachRight=i_,r_.forIn=function(n,t){return null==n?n:rV(n,uv(t,3),od)},r_.forInRight=function(n,t){return null==n?n:rG(n,uv(t,3),od)},r_.forOwn=function(n,t){return n&&rH(n,uv(t,3))},r_.forOwnRight=function(n,t){return n&&rJ(n,uv(t,3))},r_.get=oh,r_.gt=iT,r_.gte=i$,r_.has=function(n,t){return null!=n&&um(n,t,r2)},r_.hasIn=op,r_.head=uJ,r_.identity=oP,r_.includes=function(n,t,r,e){n=iN(n)?n:oO(n),r=r&&!e?on(r):0;var u=n.length;return r<0&&(r=t9(u+r,0)),i9(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&tj(n,t,r)>-1},r_.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var u=null==r?0:on(r);return u<0&&(u=t9(e+u,0)),tj(n,t,u)},r_.inRange=function(n,t,r){var e,i,o;return t=i5(t),u===r?(r=t,t=0):r=i5(r),(e=n=or(n))>=t3(i=t,o=r)&&e=-9007199254740991&&n<=9007199254740991},r_.isSet=i2,r_.isString=i9,r_.isSymbol=i3,r_.isTypedArray=i4,r_.isUndefined=function(n){return u===n},r_.isWeakMap=function(n){return iY(n)&&uw(n)==O},r_.isWeakSet=function(n){return iY(n)&&"[object WeakSet]"==r0(n)},r_.join=function(n,t){return null==n?"":t1.call(n,t)},r_.kebabCase=oz,r_.last=u0,r_.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return -1;var i=e;return u!==r&&(i=(i=on(r))<0?t9(e+i,0):t3(i,e-1)),t==t?function(n,t,r){for(var e=r+1;e--&&n[e]!==t;);return e}(n,t,i):tx(n,tk,i,!0)},r_.lowerCase=oS,r_.lowerFirst=oC,r_.lt=i6,r_.lte=i7,r_.max=function(n){return n&&n.length?rq(n,oP,r1):u},r_.maxBy=function(n,t){return n&&n.length?rq(n,uv(t,2),r1):u},r_.mean=function(n){return tO(n,oP)},r_.meanBy=function(n,t){return tO(n,uv(t,2))},r_.min=function(n){return n&&n.length?rq(n,oP,er):u},r_.minBy=function(n,t){return n&&n.length?rq(n,uv(t,2),er):u},r_.stubArray=o1,r_.stubFalse=o2,r_.stubObject=function(){return{}},r_.stubString=function(){return""},r_.stubTrue=function(){return!0},r_.multiply=o7,r_.nth=function(n,t){return n&&n.length?ef(n,on(t)):u},r_.noConflict=function(){return n4._===this&&(n4._=nT),this},r_.noop=oG,r_.now=ix,r_.pad=function(n,t,r){n=ou(n);var e=(t=on(t))?tK(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return e6(tY(u),r)+n+e6(tE(u),r)},r_.padEnd=function(n,t,r){n=ou(n);var e=(t=on(t))?tK(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=t7();return t3(n+i*(t-n+n1("1e-"+((i+"").length-1))),t)}return eh(n,t)},r_.reduce=function(n,t,r){var e=iM(n)?ty:tR,u=arguments.length<3;return e(n,uv(t,4),r,u,rF)},r_.reduceRight=function(n,t,r){var e=iM(n)?td:tR,u=arguments.length<3;return e(n,uv(t,4),r,u,rN)},r_.repeat=function(n,t,r){return t=(r?uk(n,t,r):u===t)?1:on(t),ep(ou(n),t)},r_.replace=function(){var n=arguments,t=ou(n[0]);return n.length<3?t:t.replace(n[1],n[2])},r_.result=function(n,t,r){t=eB(t,n);var e=-1,i=t.length;for(i||(i=1,n=u);++e9007199254740991)return[];var r=4294967295,e=t3(n,4294967295);t=uv(t),n-=4294967295;for(var u=tS(e,t);++r=o)return n;var a=r-tK(e);if(a<1)return e;var c=f?eT(f,0,a).join(""):n.slice(0,a);if(u===i)return c+e;if(f&&(a+=c.length-a),i1(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=nA(i.source,ou(na.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,u===h?a:h)}}else if(n.indexOf(eO(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},r_.unescape=function(n){return(n=ou(n))&&P.test(n)?n.replace(F,tH):n},r_.uniqueId=function(n){var t=++nW;return ou(n)+t},r_.upperCase=oU,r_.upperFirst=oB,r_.each=iv,r_.eachRight=i_,r_.first=uJ,oV(r_,(ny={},rH(r_,function(n,t){nC.call(r_.prototype,t)||(ny[t]=n)}),ny),{chain:!1}),r_.VERSION="4.17.21",tc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){r_[n].placeholder=r_}),tc(["drop","take"],function(n,t){rb.prototype[n]=function(r){r=u===r?1:t9(on(r),0);var e=this.__filtered__&&!t?new rb(this):this.clone();return e.__filtered__?e.__takeCount__=t3(r,e.__takeCount__):e.__views__.push({size:t3(r,4294967295),type:n+(e.__dir__<0?"Right":"")}),e},rb.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),tc(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;rb.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:uv(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),tc(["head","last"],function(n,t){var r="take"+(t?"Right":"");rb.prototype[n]=function(){return this[r](1).value()[0]}}),tc(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");rb.prototype[n]=function(){return this.__filtered__?new rb(this):this[r](1)}}),rb.prototype.compact=function(){return this.filter(oP)},rb.prototype.find=function(n){return this.filter(n).head()},rb.prototype.findLast=function(n){return this.reverse().find(n)},rb.prototype.invokeMap=ev(function(n,t){return"function"==typeof n?new rb(this):this.map(function(r){return r4(r,n,t)})}),rb.prototype.reject=function(n){return this.filter(iS(uv(n)))},rb.prototype.slice=function(n,t){n=on(n);var r=this;return r.__filtered__&&(n>0||t<0)?new rb(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),u!==t&&(r=(t=on(t))<0?r.dropRight(-t):r.take(t-n)),r)},rb.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},rb.prototype.toArray=function(){return this.take(4294967295)},rH(rb.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=r_[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(r_.prototype[t]=function(){var t=this.__wrapped__,f=e?[1]:arguments,a=t instanceof rb,c=f[0],l=a||iM(t),s=function(n){var t=i.apply(r_,tg([n],f));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new rb(this);var g=n.apply(t,f);return g.__actions__.push({func:ic,args:[s],thisArg:u}),new rd(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})}),tc(["pop","push","shift","sort","splice","unshift"],function(n){var t=nI[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);r_.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(iM(u)?u:[],n)}return this[r](function(r){return t.apply(iM(r)?r:[],n)})}}),rH(rb.prototype,function(n,t){var r=r_[t];if(r){var e=r.name+"";nC.call(ro,e)||(ro[e]=[]),ro[e].push({name:t,func:r})}}),ro[e2(u,2).name]=[{name:"wrapper",func:u}],rb.prototype.clone=function(){var n=new rb(this.__wrapped__);return n.__actions__=eZ(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=eZ(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=eZ(this.__views__),n},rb.prototype.reverse=function(){if(this.__filtered__){var n=new rb(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n},rb.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=iM(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length,t=n?u:this.__values__[this.__index__++];return{done:n,value:t}},r_.prototype.plant=function(n){for(var t,r=this;r instanceof ry;){var e=uP(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},r_.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof rb){var t=n;return this.__actions__.length&&(t=new rb(this)),(t=t.reverse()).__actions__.push({func:ic,args:[u3],thisArg:u}),new rd(t,this.__chain__)}return this.thru(u3)},r_.prototype.toJSON=r_.prototype.valueOf=r_.prototype.value=function(){return eS(this.__wrapped__,this.__actions__)},r_.prototype.first=r_.prototype.head,n3&&(r_.prototype[n3]=function(){return this}),r_}();n4._=tJ,e=(function(){return tJ}).call(t,r,t,n),u!==e&&(n.exports=e)}).call(this)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/29107295-4a69275373f23f88.js b/static/web/_next/static/chunks/29107295-4a69275373f23f88.js deleted file mode 100644 index 9854e52e8..000000000 --- a/static/web/_next/static/chunks/29107295-4a69275373f23f88.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3662],{96486:function(n,t,r){var e;n=r.nmd(n),function(){var u,i="Expected a function",o="__lodash_hash_undefined__",f="__lodash_placeholder__",a=16,c=32,l=64,s=128,h=256,p=1/0,v=9007199254740991,_=NaN,g=4294967295,y=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",a],["flip",512],["partial",c],["partialRight",l],["rearg",h]],d="[object Arguments]",b="[object Array]",w="[object Boolean]",m="[object Date]",x="[object Error]",j="[object Function]",A="[object GeneratorFunction]",k="[object Map]",O="[object Number]",I="[object Object]",E="[object Promise]",R="[object RegExp]",z="[object Set]",S="[object String]",C="[object Symbol]",W="[object WeakMap]",L="[object ArrayBuffer]",U="[object DataView]",B="[object Float32Array]",T="[object Float64Array]",$="[object Int8Array]",D="[object Int16Array]",N="[object Int32Array]",M="[object Uint8Array]",F="[object Uint8ClampedArray]",P="[object Uint16Array]",q="[object Uint32Array]",Z=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,J=RegExp(G.source),Y=RegExp(H.source),Q=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,nn=/<%=([\s\S]+?)%>/g,tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rn=/^\w*$/,en=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,un=/[\\^$.*+?()[\]{}|]/g,on=RegExp(un.source),fn=/^\s+/,an=/\s/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ln=/\{\n\/\* \[wrapped with (.+)\] \*/,sn=/,? & /,hn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pn=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,_n=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gn=/\w*$/,yn=/^[-+]0x[0-9a-f]+$/i,dn=/^0b[01]+$/i,bn=/^\[object .+?Constructor\]$/,wn=/^0o[0-7]+$/i,mn=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jn=/($^)/,An=/['\n\r\u2028\u2029\\]/g,kn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",On="\\u2700-\\u27bf",In="a-z\\xdf-\\xf6\\xf8-\\xff",En="A-Z\\xc0-\\xd6\\xd8-\\xde",Rn="\\ufe0e\\ufe0f",zn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Sn="['\u2019]",Cn="[\\ud800-\\udfff]",Wn="["+zn+"]",Ln="["+kn+"]",Un="\\d+",Bn="[\\u2700-\\u27bf]",Tn="["+In+"]",$n="[^\\ud800-\\udfff"+zn+Un+On+In+En+"]",Dn="\\ud83c[\\udffb-\\udfff]",Nn="[^\\ud800-\\udfff]",Mn="(?:\\ud83c[\\udde6-\\uddff]){2}",Fn="[\\ud800-\\udbff][\\udc00-\\udfff]",Pn="["+En+"]",qn="(?:"+Tn+"|"+$n+")",Zn="(?:"+Pn+"|"+$n+")",Kn="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Vn="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Gn="(?:"+Ln+"|"+Dn+")"+"?",Hn="[\\ufe0e\\ufe0f]?",Jn=Hn+Gn+("(?:\\u200d(?:"+[Nn,Mn,Fn].join("|")+")"+Hn+Gn+")*"),Yn="(?:"+[Bn,Mn,Fn].join("|")+")"+Jn,Qn="(?:"+[Nn+Ln+"?",Ln,Mn,Fn,Cn].join("|")+")",Xn=RegExp(Sn,"g"),nt=RegExp(Ln,"g"),tt=RegExp(Dn+"(?="+Dn+")|"+Qn+Jn,"g"),rt=RegExp([Pn+"?"+Tn+"+"+Kn+"(?="+[Wn,Pn,"$"].join("|")+")",Zn+"+"+Vn+"(?="+[Wn,Pn+qn,"$"].join("|")+")",Pn+"?"+qn+"+"+Kn,Pn+"+"+Vn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Un,Yn].join("|"),"g"),et=RegExp("[\\u200d\\ud800-\\udfff"+kn+Rn+"]"),ut=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,ft={};ft[B]=ft[T]=ft[$]=ft[D]=ft[N]=ft[M]=ft[F]=ft[P]=ft[q]=!0,ft[d]=ft[b]=ft[L]=ft[w]=ft[U]=ft[m]=ft[x]=ft[j]=ft[k]=ft[O]=ft[I]=ft[R]=ft[z]=ft[S]=ft[W]=!1;var at={};at[d]=at[b]=at[L]=at[U]=at[w]=at[m]=at[B]=at[T]=at[$]=at[D]=at[N]=at[k]=at[O]=at[I]=at[R]=at[z]=at[S]=at[C]=at[M]=at[F]=at[P]=at[q]=!0,at[x]=at[j]=at[W]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,st=parseInt,ht="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,pt="object"==typeof self&&self&&self.Object===Object&&self,vt=ht||pt||Function("return this")(),_t=t&&!t.nodeType&&t,gt=_t&&n&&!n.nodeType&&n,yt=gt&>.exports===_t,dt=yt&&ht.process,bt=function(){try{var n=gt&>.require&>.require("util").types;return n||dt&&dt.binding&&dt.binding("util")}catch(t){}}(),wt=bt&&bt.isArrayBuffer,mt=bt&&bt.isDate,xt=bt&&bt.isMap,jt=bt&&bt.isRegExp,At=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Ot(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function It(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function Wt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function rr(n,t){for(var r=n.length;r--&&Ft(t,n[r],0)>-1;);return r}function er(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}var ur=Vt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),ir=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function or(n){return"\\"+ct[n]}function fr(n){return et.test(n)}function ar(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function cr(n,t){return function(r){return n(t(r))}}function lr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"});var yr=function n(t){var r=(t=null==t?vt:yr.defaults(vt.Object(),t,yr.pick(vt,it))).Array,e=t.Date,an=t.Error,kn=t.Function,On=t.Math,In=t.Object,En=t.RegExp,Rn=t.String,zn=t.TypeError,Sn=r.prototype,Cn=kn.prototype,Wn=In.prototype,Ln=t["__core-js_shared__"],Un=Cn.toString,Bn=Wn.hasOwnProperty,Tn=0,$n=function(){var n=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),Dn=Wn.toString,Nn=Un.call(In),Mn=vt._,Fn=En("^"+Un.call(Bn).replace(un,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pn=yt?t.Buffer:u,qn=t.Symbol,Zn=t.Uint8Array,Kn=Pn?Pn.allocUnsafe:u,Vn=cr(In.getPrototypeOf,In),Gn=In.create,Hn=Wn.propertyIsEnumerable,Jn=Sn.splice,Yn=qn?qn.isConcatSpreadable:u,Qn=qn?qn.iterator:u,tt=qn?qn.toStringTag:u,et=function(){try{var n=hi(In,"defineProperty");return n({},"",{}),n}catch(t){}}(),ct=t.clearTimeout!==vt.clearTimeout&&t.clearTimeout,ht=e&&e.now!==vt.Date.now&&e.now,pt=t.setTimeout!==vt.setTimeout&&t.setTimeout,_t=On.ceil,gt=On.floor,dt=In.getOwnPropertySymbols,bt=Pn?Pn.isBuffer:u,Dt=t.isFinite,Vt=Sn.join,dr=cr(In.keys,In),br=On.max,wr=On.min,mr=e.now,xr=t.parseInt,jr=On.random,Ar=Sn.reverse,kr=hi(t,"DataView"),Or=hi(t,"Map"),Ir=hi(t,"Promise"),Er=hi(t,"Set"),Rr=hi(t,"WeakMap"),zr=hi(In,"create"),Sr=Rr&&new Rr,Cr={},Wr=Di(kr),Lr=Di(Or),Ur=Di(Ir),Br=Di(Er),Tr=Di(Rr),$r=qn?qn.prototype:u,Dr=$r?$r.valueOf:u,Nr=$r?$r.toString:u;function Mr(n){if(ef(n)&&!Ko(n)&&!(n instanceof Zr)){if(n instanceof qr)return n;if(Bn.call(n,"__wrapped__"))return Ni(n)}return new qr(n)}var Fr=function(){function n(){}return function(t){if(!rf(t))return{};if(Gn)return Gn(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function Pr(){}function qr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function Zr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Kr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function ce(n,t,r,e,i,o){var f,a=1&t,c=2&t,l=4&t;if(r&&(f=i?r(n,e,i,o):r(n)),f!==u)return f;if(!rf(n))return n;var s=Ko(n);if(s){if(f=function(n){var t=n.length,r=new n.constructor(t);t&&"string"==typeof n[0]&&Bn.call(n,"index")&&(r.index=n.index,r.input=n.input);return r}(n),!a)return zu(n,f)}else{var h=_i(n),p=h==j||h==A;if(Jo(n))return Au(n,a);if(h==I||h==d||p&&!i){if(f=c||p?{}:yi(n),!a)return c?function(n,t){return Su(n,vi(n),t)}(n,function(n,t){return n&&Su(t,Uf(t),n)}(f,n)):function(n,t){return Su(n,pi(n),t)}(n,ie(f,n))}else{if(!at[h])return i?n:{};f=function(n,t,r){var e=n.constructor;switch(t){case L:return ku(n);case w:case m:return new e(+n);case U:return function(n,t){var r=t?ku(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case B:case T:case $:case D:case N:case M:case F:case P:case q:return Ou(n,r);case k:return new e;case O:case S:return new e(n);case R:return function(n){var t=new n.constructor(n.source,gn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case z:return new e;case C:return u=n,Dr?In(Dr.call(u)):{}}var u}(n,h,a)}}o||(o=new Jr);var v=o.get(n);if(v)return v;o.set(n,f),cf(n)?n.forEach((function(e){f.add(ce(e,t,r,e,n,o))})):uf(n)&&n.forEach((function(e,u){f.set(u,ce(e,t,r,u,n,o))}));var _=s?u:(l?c?ii:ui:c?Uf:Lf)(n);return Et(_||n,(function(e,u){_&&(e=n[u=e]),re(f,u,ce(e,t,r,u,n,o))})),f}function le(n,t,r){var e=r.length;if(null==n)return!e;for(n=In(n);e--;){var i=r[e],o=t[i],f=n[i];if(f===u&&!(i in n)||!o(f))return!1}return!0}function se(n,t,r){if("function"!=typeof n)throw new zn(i);return Ci((function(){n.apply(u,r)}),t)}function he(n,t,r,e){var u=-1,i=Ct,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=Lt(t,Qt(r))),e?(i=Wt,o=!1):t.length>=200&&(i=nr,o=!1,t=new Hr(t));n:for(;++u-1},Vr.prototype.set=function(n,t){var r=this.__data__,e=ee(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Gr.prototype.clear=function(){this.size=0,this.__data__={hash:new Kr,map:new(Or||Vr),string:new Kr}},Gr.prototype.delete=function(n){var t=li(this,n).delete(n);return this.size-=t?1:0,t},Gr.prototype.get=function(n){return li(this,n).get(n)},Gr.prototype.has=function(n){return li(this,n).has(n)},Gr.prototype.set=function(n,t){var r=li(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Hr.prototype.add=Hr.prototype.push=function(n){return this.__data__.set(n,o),this},Hr.prototype.has=function(n){return this.__data__.has(n)},Jr.prototype.clear=function(){this.__data__=new Vr,this.size=0},Jr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Jr.prototype.get=function(n){return this.__data__.get(n)},Jr.prototype.has=function(n){return this.__data__.has(n)},Jr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Vr){var e=r.__data__;if(!Or||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Gr(e)}return r.set(n,t),this.size=r.size,this};var pe=Lu(me),ve=Lu(xe,!0);function _e(n,t){var r=!0;return pe(n,(function(n,e,u){return r=!!t(n,e,u)})),r}function ge(n,t,r){for(var e=-1,i=n.length;++e0&&r(f)?t>1?de(f,t-1,r,e,u):Ut(u,f):e||(u[u.length]=f)}return u}var be=Uu(),we=Uu(!0);function me(n,t){return n&&be(n,t,Lf)}function xe(n,t){return n&&we(n,t,Lf)}function je(n,t){return St(t,(function(t){return Xo(n[t])}))}function Ae(n,t){for(var r=0,e=(t=wu(t,n)).length;null!=n&&rt}function Ee(n,t){return null!=n&&Bn.call(n,t)}function Re(n,t){return null!=n&&t in In(n)}function ze(n,t,e){for(var i=e?Wt:Ct,o=n[0].length,f=n.length,a=f,c=r(f),l=1/0,s=[];a--;){var h=n[a];a&&t&&(h=Lt(h,Qt(t))),l=wr(h.length,l),c[a]=!e&&(t||o>=120&&h.length>=120)?new Hr(a&&h):u}h=n[0];var p=-1,v=c[0];n:for(;++p=f?a:a*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)}))}function Ke(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&Jn.call(f,a,1),Jn.call(n,a,1);return n}function Ge(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;bi(u)?Jn.call(n,u,1):hu(n,u)}}return n}function He(n,t){return n+gt(jr()*(t-n+1))}function Je(n,t){var r="";if(!n||t<1||t>v)return r;do{t%2&&(r+=n),(t=gt(t/2))&&(n+=n)}while(t);return r}function Ye(n,t){return Wi(Ii(n,t,oa),n+"")}function Qe(n){return Qr(Pf(n))}function Xe(n,t){var r=Pf(n);return Bi(r,ae(t,0,r.length))}function nu(n,t,r,e){if(!rf(n))return n;for(var i=-1,o=(t=wu(t,n)).length,f=o-1,a=n;null!=a&&++ii?0:i+t),(e=e>i?i:e)<0&&(e+=i),i=t>e?0:e-t>>>0,t>>>=0;for(var o=r(i);++u>>1,o=n[i];null!==o&&!sf(o)&&(r?o<=t:o=200){var c=t?null:Ju(n);if(c)return sr(c);o=!1,u=nr,a=new Hr}else a=t?[]:f;n:for(;++e=e?n:uu(n,t,r)}var ju=ct||function(n){return vt.clearTimeout(n)};function Au(n,t){if(t)return n.slice();var r=n.length,e=Kn?Kn(r):new n.constructor(r);return n.copy(e),e}function ku(n){var t=new n.constructor(n.byteLength);return new Zn(t).set(new Zn(n)),t}function Ou(n,t){var r=t?ku(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function Iu(n,t){if(n!==t){var r=n!==u,e=null===n,i=n===n,o=sf(n),f=t!==u,a=null===t,c=t===t,l=sf(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||e&&f&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,f=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,f&&wi(r[0],r[1],f)&&(o=i<3?u:o,i=1),t=In(t);++e-1?i[o?t[f]:f]:u}}function Nu(n){return ei((function(t){var r=t.length,e=r,o=qr.prototype.thru;for(n&&t.reverse();e--;){var f=t[e];if("function"!=typeof f)throw new zn(i);if(o&&!a&&"wrapper"==fi(f))var a=new qr([],!0)}for(e=a?e:r;++e1&&b.reverse(),p&&la))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new Hr:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(cn,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return Et(y,(function(r){var e="_."+r[0];t&r[1]&&!Ct(n,e)&&n.push(e)})),n.sort()}(function(n){var t=n.match(ln);return t?t[1].split(sn):[]}(e),r)))}function Ui(n){var t=0,r=0;return function(){var e=mr(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function Bi(n,t){var r=-1,e=n.length,i=e-1;for(t=t===u?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,oo(n,r)}));function po(n){var t=Mr(n);return t.__chain__=!0,t}function vo(n,t){return t(n)}var _o=ei((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return fe(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Zr&&bi(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:vo,args:[i],thisArg:u}),new qr(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(u),n}))):this.thru(i)}));var go=Cu((function(n,t,r){Bn.call(n,r)?++n[r]:oe(n,r,1)}));var yo=Du(qi),bo=Du(Zi);function wo(n,t){return(Ko(n)?Et:pe)(n,ci(t,3))}function mo(n,t){return(Ko(n)?Rt:ve)(n,ci(t,3))}var xo=Cu((function(n,t,r){Bn.call(n,r)?n[r].push(t):oe(n,r,[t])}));var jo=Ye((function(n,t,e){var u=-1,i="function"==typeof t,o=Go(n)?r(n.length):[];return pe(n,(function(n){o[++u]=i?Ot(t,n,e):Se(n,t,e)})),o})),Ao=Cu((function(n,t,r){oe(n,r,t)}));function ko(n,t){return(Ko(n)?Lt:Ne)(n,ci(t,3))}var Oo=Cu((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]}));var Io=Ye((function(n,t){if(null==n)return[];var r=t.length;return r>1&&wi(n,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Ze(n,de(t,1),[])})),Eo=ht||function(){return vt.Date.now()};function Ro(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,Qu(n,s,u,u,u,u,t)}function zo(n,t){var r;if("function"!=typeof t)throw new zn(i);return n=yf(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var So=Ye((function(n,t,r){var e=1;if(r.length){var u=lr(r,ai(So));e|=c}return Qu(n,e,t,r,u)})),Co=Ye((function(n,t,r){var e=3;if(r.length){var u=lr(r,ai(Co));e|=c}return Qu(t,e,n,r,u)}));function Wo(n,t,r){var e,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new zn(i);function _(t){var r=e,i=o;return e=o=u,s=t,a=n.apply(i,r)}function g(n){return s=n,c=Ci(d,t),h?_(n):a}function y(n){var r=n-l;return l===u||r>=t||r<0||p&&n-s>=f}function d(){var n=Eo();if(y(n))return b(n);c=Ci(d,function(n){var r=t-(n-l);return p?wr(r,f-(n-s)):r}(n))}function b(n){return c=u,v&&e?_(n):(e=o=u,a)}function w(){var n=Eo(),r=y(n);if(e=arguments,o=this,l=n,r){if(c===u)return g(l);if(p)return ju(c),c=Ci(d,t),_(l)}return c===u&&(c=Ci(d,t)),a}return t=bf(t)||0,rf(r)&&(h=!!r.leading,f=(p="maxWait"in r)?br(bf(r.maxWait)||0,t):f,v="trailing"in r?!!r.trailing:v),w.cancel=function(){c!==u&&ju(c),s=0,e=l=o=c=u},w.flush=function(){return c===u?a:b(Eo())},w}var Lo=Ye((function(n,t){return se(n,1,t)})),Uo=Ye((function(n,t,r){return se(n,bf(t)||0,r)}));function Bo(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new zn(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Bo.Cache||Gr),r}function To(n){if("function"!=typeof n)throw new zn(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Bo.Cache=Gr;var $o=mu((function(n,t){var r=(t=1==t.length&&Ko(t[0])?Lt(t[0],Qt(ci())):Lt(de(t,1),Qt(ci()))).length;return Ye((function(e){for(var u=-1,i=wr(e.length,r);++u=t})),Zo=Ce(function(){return arguments}())?Ce:function(n){return ef(n)&&Bn.call(n,"callee")&&!Hn.call(n,"callee")},Ko=r.isArray,Vo=wt?Qt(wt):function(n){return ef(n)&&Oe(n)==L};function Go(n){return null!=n&&tf(n.length)&&!Xo(n)}function Ho(n){return ef(n)&&Go(n)}var Jo=bt||ba,Yo=mt?Qt(mt):function(n){return ef(n)&&Oe(n)==m};function Qo(n){if(!ef(n))return!1;var t=Oe(n);return t==x||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ff(n)}function Xo(n){if(!rf(n))return!1;var t=Oe(n);return t==j||t==A||"[object AsyncFunction]"==t||"[object Proxy]"==t}function nf(n){return"number"==typeof n&&n==yf(n)}function tf(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=v}function rf(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function ef(n){return null!=n&&"object"==typeof n}var uf=xt?Qt(xt):function(n){return ef(n)&&_i(n)==k};function of(n){return"number"==typeof n||ef(n)&&Oe(n)==O}function ff(n){if(!ef(n)||Oe(n)!=I)return!1;var t=Vn(n);if(null===t)return!0;var r=Bn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Un.call(r)==Nn}var af=jt?Qt(jt):function(n){return ef(n)&&Oe(n)==R};var cf=At?Qt(At):function(n){return ef(n)&&_i(n)==z};function lf(n){return"string"==typeof n||!Ko(n)&&ef(n)&&Oe(n)==S}function sf(n){return"symbol"==typeof n||ef(n)&&Oe(n)==C}var hf=kt?Qt(kt):function(n){return ef(n)&&tf(n.length)&&!!ft[Oe(n)]};var pf=Vu(De),vf=Vu((function(n,t){return n<=t}));function _f(n){if(!n)return[];if(Go(n))return lf(n)?vr(n):zu(n);if(Qn&&n[Qn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Qn]());var t=_i(n);return(t==k?ar:t==z?sr:Pf)(n)}function gf(n){return n?(n=bf(n))===p||n===-1/0?17976931348623157e292*(n<0?-1:1):n===n?n:0:0===n?n:0}function yf(n){var t=gf(n),r=t%1;return t===t?r?t-r:t:0}function df(n){return n?ae(yf(n),0,g):0}function bf(n){if("number"==typeof n)return n;if(sf(n))return _;if(rf(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=rf(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Yt(n);var r=dn.test(n);return r||wn.test(n)?st(n.slice(2),r?2:8):yn.test(n)?_:+n}function wf(n){return Su(n,Uf(n))}function mf(n){return null==n?"":lu(n)}var xf=Wu((function(n,t){if(Ai(t)||Go(t))Su(t,Lf(t),n);else for(var r in t)Bn.call(t,r)&&re(n,r,t[r])})),jf=Wu((function(n,t){Su(t,Uf(t),n)})),Af=Wu((function(n,t,r,e){Su(t,Uf(t),n,e)})),kf=Wu((function(n,t,r,e){Su(t,Lf(t),n,e)})),Of=ei(fe);var If=Ye((function(n,t){n=In(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&wi(t[0],t[1],i)&&(e=1);++r1),t})),Su(n,ii(n),r),e&&(r=ce(r,7,ti));for(var u=t.length;u--;)hu(r,t[u]);return r}));var Df=ei((function(n,t){return null==n?{}:function(n,t){return Ke(n,t,(function(t,r){return zf(n,r)}))}(n,t)}));function Nf(n,t){if(null==n)return{};var r=Lt(ii(n),(function(n){return[n]}));return t=ci(t),Ke(n,r,(function(n,r){return t(n,r[0])}))}var Mf=Yu(Lf),Ff=Yu(Uf);function Pf(n){return null==n?[]:Xt(n,Lf(n))}var qf=Tu((function(n,t,r){return t=t.toLowerCase(),n+(r?Zf(t):t)}));function Zf(n){return Xf(mf(n).toLowerCase())}function Kf(n){return(n=mf(n))&&n.replace(xn,ur).replace(nt,"")}var Vf=Tu((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),Gf=Tu((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),Hf=Bu("toLowerCase");var Jf=Tu((function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}));var Yf=Tu((function(n,t,r){return n+(r?" ":"")+Xf(t)}));var Qf=Tu((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),Xf=Bu("toUpperCase");function na(n,t,r){return n=mf(n),(t=r?u:t)===u?function(n){return ut.test(n)}(n)?function(n){return n.match(rt)||[]}(n):function(n){return n.match(hn)||[]}(n):n.match(t)||[]}var ta=Ye((function(n,t){try{return Ot(n,u,t)}catch(r){return Qo(r)?r:new an(r)}})),ra=ei((function(n,t){return Et(t,(function(t){t=$i(t),oe(n,t,So(n[t],n))})),n}));function ea(n){return function(){return n}}var ua=Nu(),ia=Nu(!0);function oa(n){return n}function fa(n){return Be("function"==typeof n?n:ce(n,1))}var aa=Ye((function(n,t){return function(r){return Se(r,n,t)}})),ca=Ye((function(n,t){return function(r){return Se(n,r,t)}}));function la(n,t,r){var e=Lf(t),u=je(t,e);null!=r||rf(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=je(t,Lf(t)));var i=!(rf(r)&&"chain"in r)||!!r.chain,o=Xo(n);return Et(u,(function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__),u=r.__actions__=zu(this.__actions__);return u.push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Ut([this.value()],arguments))})})),n}function sa(){}var ha=qu(Lt),pa=qu(zt),va=qu($t);function _a(n){return mi(n)?Kt($i(n)):function(n){return function(t){return Ae(t,n)}}(n)}var ga=Ku(),ya=Ku(!0);function da(){return[]}function ba(){return!1}var wa=Pu((function(n,t){return n+t}),0),ma=Hu("ceil"),xa=Pu((function(n,t){return n/t}),1),ja=Hu("floor");var Aa=Pu((function(n,t){return n*t}),1),ka=Hu("round"),Oa=Pu((function(n,t){return n-t}),0);return Mr.after=function(n,t){if("function"!=typeof t)throw new zn(i);return n=yf(n),function(){if(--n<1)return t.apply(this,arguments)}},Mr.ary=Ro,Mr.assign=xf,Mr.assignIn=jf,Mr.assignInWith=Af,Mr.assignWith=kf,Mr.at=Of,Mr.before=zo,Mr.bind=So,Mr.bindAll=ra,Mr.bindKey=Co,Mr.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Ko(n)?n:[n]},Mr.chain=po,Mr.chunk=function(n,t,e){t=(e?wi(n,t,e):t===u)?1:br(yf(t),0);var i=null==n?0:n.length;if(!i||t<1)return[];for(var o=0,f=0,a=r(_t(i/t));oi?0:i+r),(e=e===u||e>i?i:yf(e))<0&&(e+=i),e=r>e?0:df(e);r>>0)?(n=mf(n))&&("string"==typeof t||null!=t&&!af(t))&&!(t=lu(t))&&fr(n)?xu(vr(n),0,r):n.split(t,r):[]},Mr.spread=function(n,t){if("function"!=typeof n)throw new zn(i);return t=null==t?0:br(yf(t),0),Ye((function(r){var e=r[t],u=xu(r,0,t);return e&&Ut(u,e),Ot(n,this,u)}))},Mr.tail=function(n){var t=null==n?0:n.length;return t?uu(n,1,t):[]},Mr.take=function(n,t,r){return n&&n.length?uu(n,0,(t=r||t===u?1:yf(t))<0?0:t):[]},Mr.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?uu(n,(t=e-(t=r||t===u?1:yf(t)))<0?0:t,e):[]},Mr.takeRightWhile=function(n,t){return n&&n.length?vu(n,ci(t,3),!1,!0):[]},Mr.takeWhile=function(n,t){return n&&n.length?vu(n,ci(t,3)):[]},Mr.tap=function(n,t){return t(n),n},Mr.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new zn(i);return rf(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),Wo(n,t,{leading:e,maxWait:t,trailing:u})},Mr.thru=vo,Mr.toArray=_f,Mr.toPairs=Mf,Mr.toPairsIn=Ff,Mr.toPath=function(n){return Ko(n)?Lt(n,$i):sf(n)?[n]:zu(Ti(mf(n)))},Mr.toPlainObject=wf,Mr.transform=function(n,t,r){var e=Ko(n),u=e||Jo(n)||hf(n);if(t=ci(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:rf(n)&&Xo(i)?Fr(Vn(n)):{}}return(u?Et:me)(n,(function(n,e,u){return t(r,n,e,u)})),r},Mr.unary=function(n){return Ro(n,1)},Mr.union=ro,Mr.unionBy=eo,Mr.unionWith=uo,Mr.uniq=function(n){return n&&n.length?su(n):[]},Mr.uniqBy=function(n,t){return n&&n.length?su(n,ci(t,2)):[]},Mr.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?su(n,u,t):[]},Mr.unset=function(n,t){return null==n||hu(n,t)},Mr.unzip=io,Mr.unzipWith=oo,Mr.update=function(n,t,r){return null==n?n:pu(n,t,bu(r))},Mr.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:pu(n,t,bu(r),e)},Mr.values=Pf,Mr.valuesIn=function(n){return null==n?[]:Xt(n,Uf(n))},Mr.without=fo,Mr.words=na,Mr.wrap=function(n,t){return Do(bu(t),n)},Mr.xor=ao,Mr.xorBy=co,Mr.xorWith=lo,Mr.zip=so,Mr.zipObject=function(n,t){return yu(n||[],t||[],re)},Mr.zipObjectDeep=function(n,t){return yu(n||[],t||[],nu)},Mr.zipWith=ho,Mr.entries=Mf,Mr.entriesIn=Ff,Mr.extend=jf,Mr.extendWith=Af,la(Mr,Mr),Mr.add=wa,Mr.attempt=ta,Mr.camelCase=qf,Mr.capitalize=Zf,Mr.ceil=ma,Mr.clamp=function(n,t,r){return r===u&&(r=t,t=u),r!==u&&(r=(r=bf(r))===r?r:0),t!==u&&(t=(t=bf(t))===t?t:0),ae(bf(n),t,r)},Mr.clone=function(n){return ce(n,4)},Mr.cloneDeep=function(n){return ce(n,5)},Mr.cloneDeepWith=function(n,t){return ce(n,5,t="function"==typeof t?t:u)},Mr.cloneWith=function(n,t){return ce(n,4,t="function"==typeof t?t:u)},Mr.conformsTo=function(n,t){return null==t||le(n,t,Lf(t))},Mr.deburr=Kf,Mr.defaultTo=function(n,t){return null==n||n!==n?t:n},Mr.divide=xa,Mr.endsWith=function(n,t,r){n=mf(n),t=lu(t);var e=n.length,i=r=r===u?e:ae(yf(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},Mr.eq=Fo,Mr.escape=function(n){return(n=mf(n))&&Y.test(n)?n.replace(H,ir):n},Mr.escapeRegExp=function(n){return(n=mf(n))&&on.test(n)?n.replace(un,"\\$&"):n},Mr.every=function(n,t,r){var e=Ko(n)?zt:_e;return r&&wi(n,t,r)&&(t=u),e(n,ci(t,3))},Mr.find=yo,Mr.findIndex=qi,Mr.findKey=function(n,t){return Nt(n,ci(t,3),me)},Mr.findLast=bo,Mr.findLastIndex=Zi,Mr.findLastKey=function(n,t){return Nt(n,ci(t,3),xe)},Mr.floor=ja,Mr.forEach=wo,Mr.forEachRight=mo,Mr.forIn=function(n,t){return null==n?n:be(n,ci(t,3),Uf)},Mr.forInRight=function(n,t){return null==n?n:we(n,ci(t,3),Uf)},Mr.forOwn=function(n,t){return n&&me(n,ci(t,3))},Mr.forOwnRight=function(n,t){return n&&xe(n,ci(t,3))},Mr.get=Rf,Mr.gt=Po,Mr.gte=qo,Mr.has=function(n,t){return null!=n&&gi(n,t,Ee)},Mr.hasIn=zf,Mr.head=Vi,Mr.identity=oa,Mr.includes=function(n,t,r,e){n=Go(n)?n:Pf(n),r=r&&!e?yf(r):0;var u=n.length;return r<0&&(r=br(u+r,0)),lf(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Ft(n,t,r)>-1},Mr.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:yf(r);return u<0&&(u=br(e+u,0)),Ft(n,t,u)},Mr.inRange=function(n,t,r){return t=gf(t),r===u?(r=t,t=0):r=gf(r),function(n,t,r){return n>=wr(t,r)&&n=-9007199254740991&&n<=v},Mr.isSet=cf,Mr.isString=lf,Mr.isSymbol=sf,Mr.isTypedArray=hf,Mr.isUndefined=function(n){return n===u},Mr.isWeakMap=function(n){return ef(n)&&_i(n)==W},Mr.isWeakSet=function(n){return ef(n)&&"[object WeakSet]"==Oe(n)},Mr.join=function(n,t){return null==n?"":Vt.call(n,t)},Mr.kebabCase=Vf,Mr.last=Yi,Mr.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var i=e;return r!==u&&(i=(i=yf(r))<0?br(e+i,0):wr(i,e-1)),t===t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Mt(n,qt,i,!0)},Mr.lowerCase=Gf,Mr.lowerFirst=Hf,Mr.lt=pf,Mr.lte=vf,Mr.max=function(n){return n&&n.length?ge(n,oa,Ie):u},Mr.maxBy=function(n,t){return n&&n.length?ge(n,ci(t,2),Ie):u},Mr.mean=function(n){return Zt(n,oa)},Mr.meanBy=function(n,t){return Zt(n,ci(t,2))},Mr.min=function(n){return n&&n.length?ge(n,oa,De):u},Mr.minBy=function(n,t){return n&&n.length?ge(n,ci(t,2),De):u},Mr.stubArray=da,Mr.stubFalse=ba,Mr.stubObject=function(){return{}},Mr.stubString=function(){return""},Mr.stubTrue=function(){return!0},Mr.multiply=Aa,Mr.nth=function(n,t){return n&&n.length?qe(n,yf(t)):u},Mr.noConflict=function(){return vt._===this&&(vt._=Mn),this},Mr.noop=sa,Mr.now=Eo,Mr.pad=function(n,t,r){n=mf(n);var e=(t=yf(t))?pr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Zu(gt(u),r)+n+Zu(_t(u),r)},Mr.padEnd=function(n,t,r){n=mf(n);var e=(t=yf(t))?pr(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=jr();return wr(n+i*(t-n+lt("1e-"+((i+"").length-1))),t)}return He(n,t)},Mr.reduce=function(n,t,r){var e=Ko(n)?Bt:Gt,u=arguments.length<3;return e(n,ci(t,4),r,u,pe)},Mr.reduceRight=function(n,t,r){var e=Ko(n)?Tt:Gt,u=arguments.length<3;return e(n,ci(t,4),r,u,ve)},Mr.repeat=function(n,t,r){return t=(r?wi(n,t,r):t===u)?1:yf(t),Je(mf(n),t)},Mr.replace=function(){var n=arguments,t=mf(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Mr.result=function(n,t,r){var e=-1,i=(t=wu(t,n)).length;for(i||(i=1,n=u);++ev)return[];var r=g,e=wr(n,g);t=ci(t),n-=g;for(var u=Jt(e,t);++r=o)return n;var a=r-pr(e);if(a<1)return e;var c=f?xu(f,0,a).join(""):n.slice(0,a);if(i===u)return c+e;if(f&&(a+=c.length-a),af(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=En(i.source,mf(gn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===u?a:h)}}else if(n.indexOf(lu(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},Mr.unescape=function(n){return(n=mf(n))&&J.test(n)?n.replace(G,gr):n},Mr.uniqueId=function(n){var t=++Tn;return mf(n)+t},Mr.upperCase=Qf,Mr.upperFirst=Xf,Mr.each=wo,Mr.eachRight=mo,Mr.first=Vi,la(Mr,function(){var n={};return me(Mr,(function(t,r){Bn.call(Mr.prototype,r)||(n[r]=t)})),n}(),{chain:!1}),Mr.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Mr[n].placeholder=Mr})),Et(["drop","take"],(function(n,t){Zr.prototype[n]=function(r){r=r===u?1:br(yf(r),0);var e=this.__filtered__&&!t?new Zr(this):this.clone();return e.__filtered__?e.__takeCount__=wr(r,e.__takeCount__):e.__views__.push({size:wr(r,g),type:n+(e.__dir__<0?"Right":"")}),e},Zr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),Et(["filter","map","takeWhile"],(function(n,t){var r=t+1,e=1==r||3==r;Zr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ci(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}})),Et(["head","last"],(function(n,t){var r="take"+(t?"Right":"");Zr.prototype[n]=function(){return this[r](1).value()[0]}})),Et(["initial","tail"],(function(n,t){var r="drop"+(t?"":"Right");Zr.prototype[n]=function(){return this.__filtered__?new Zr(this):this[r](1)}})),Zr.prototype.compact=function(){return this.filter(oa)},Zr.prototype.find=function(n){return this.filter(n).head()},Zr.prototype.findLast=function(n){return this.reverse().find(n)},Zr.prototype.invokeMap=Ye((function(n,t){return"function"==typeof n?new Zr(this):this.map((function(r){return Se(r,n,t)}))})),Zr.prototype.reject=function(n){return this.filter(To(ci(n)))},Zr.prototype.slice=function(n,t){n=yf(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Zr(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==u&&(r=(t=yf(t))<0?r.dropRight(-t):r.take(t-n)),r)},Zr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Zr.prototype.toArray=function(){return this.take(g)},me(Zr.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=Mr[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(Mr.prototype[t]=function(){var t=this.__wrapped__,f=e?[1]:arguments,a=t instanceof Zr,c=f[0],l=a||Ko(t),s=function(n){var t=i.apply(Mr,Ut([n],f));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new Zr(this);var g=n.apply(t,f);return g.__actions__.push({func:vo,args:[s],thisArg:u}),new qr(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(n){var t=Sn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Mr.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Ko(u)?u:[],n)}return this[r]((function(r){return t.apply(Ko(r)?r:[],n)}))}})),me(Zr.prototype,(function(n,t){var r=Mr[t];if(r){var e=r.name+"";Bn.call(Cr,e)||(Cr[e]=[]),Cr[e].push({name:t,func:r})}})),Cr[Mu(u,2).name]=[{name:"wrapper",func:u}],Zr.prototype.clone=function(){var n=new Zr(this.__wrapped__);return n.__actions__=zu(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=zu(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=zu(this.__views__),n},Zr.prototype.reverse=function(){if(this.__filtered__){var n=new Zr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Zr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Ko(n),e=t<0,u=r?n.length:0,i=function(n,t,r){var e=-1,u=r.length;for(;++e=this.__values__.length;return{done:n,value:n?u:this.__values__[this.__index__++]}},Mr.prototype.plant=function(n){for(var t,r=this;r instanceof Pr;){var e=Ni(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},Mr.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Zr){var t=n;return this.__actions__.length&&(t=new Zr(this)),(t=t.reverse()).__actions__.push({func:vo,args:[to],thisArg:u}),new qr(t,this.__chain__)}return this.thru(to)},Mr.prototype.toJSON=Mr.prototype.valueOf=Mr.prototype.value=function(){return _u(this.__wrapped__,this.__actions__)},Mr.prototype.first=Mr.prototype.head,Qn&&(Mr.prototype[Qn]=function(){return this}),Mr}();vt._=yr,(e=function(){return yr}.call(t,r,t,n))===u||(n.exports=e)}.call(this)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2934-579ac0f2008d1a8a.js b/static/web/_next/static/chunks/2934-579ac0f2008d1a8a.js new file mode 100644 index 000000000..59f8bcb6d --- /dev/null +++ b/static/web/_next/static/chunks/2934-579ac0f2008d1a8a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2934],{24019:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},a=n(42135),c=function(e,t){return r.createElement(a.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:o}))};c.displayName="ClockCircleOutlined";var l=r.forwardRef(c)},93069:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},a=n(42135),c=function(e,t){return r.createElement(a.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:o}))};c.displayName="WifiOutlined";var l=r.forwardRef(c)},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(97685),r=n(67294);function o(){var e=r.useReducer(function(e){return e+1},0);return(0,i.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var i=n(4942),r=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={};t.ZP={matchHandlers:{},dispatch:function(e){return s=e,c.forEach(function(e){return e(s)}),c.size>=1},subscribe:function(e){return c.size||this.register(),l+=1,c.set(l,e),e(s),l},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],i=e.matchHandlers[n];null==i||i.mql.removeListener(null==i?void 0:i.listener)}),c.clear()},register:function(){var e=this;Object.keys(a).forEach(function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,i.Z)({},t,o)))},c=window.matchMedia(n);c.addListener(o),e.matchHandlers[n]={mql:c,listener:o},o(c)})}}},11382:function(e,t,n){"use strict";var i=n(87462),r=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),p=n(53124),d=n(96159),m=n(93355),v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};(0,m.b)("small","default","large");var g=null,h=function(e){var t=e.spinPrefixCls,n=e.spinning,a=void 0===n||n,l=e.delay,m=e.className,h=e.size,w=void 0===h?"default":h,b=e.tip,y=e.wrapperClassName,C=e.style,x=e.children,Z=v(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=f.useState(function(){return a&&(!a||!l||!!isNaN(Number(l)))}),E=(0,o.Z)(N,2),O=E[0],k=E[1];f.useEffect(function(){var e=s()(function(){k(a)},l);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[l,a]);var P=function(n){var o,a,l,s=n.direction,p=c()(t,(l={},(0,r.Z)(l,"".concat(t,"-sm"),"small"===w),(0,r.Z)(l,"".concat(t,"-lg"),"large"===w),(0,r.Z)(l,"".concat(t,"-spinning"),O),(0,r.Z)(l,"".concat(t,"-show-text"),!!b),(0,r.Z)(l,"".concat(t,"-rtl"),"rtl"===s),l),m),v=(0,u.Z)(Z,["indicator","prefixCls"]),h=f.createElement("div",(0,i.Z)({},v,{style:C,className:p,"aria-live":"polite","aria-busy":O}),(o=e.indicator,a="".concat(t,"-dot"),null===o?null:(0,d.l$)(o)?(0,d.Tm)(o,{className:c()(o.props.className,a)}):(0,d.l$)(g)?(0,d.Tm)(g,{className:c()(g.props.className,a)}):f.createElement("span",{className:c()(a,"".concat(t,"-dot-spin"))},f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}),f.createElement("i",{className:"".concat(t,"-dot-item")}))),b?f.createElement("div",{className:"".concat(t,"-text")},b):null);if(void 0!==x){var N=c()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),O));return f.createElement("div",(0,i.Z)({},v,{className:c()("".concat(t,"-nested-loading"),y)}),O&&f.createElement("div",{key:"loading"},h),f.createElement("div",{className:N,key:"container"},x))}return h};return f.createElement(p.C,null,P)},w=function(e){var t=e.prefixCls,n=(0,f.useContext(p.E_).getPrefixCls)("spin",t),r=(0,i.Z)((0,i.Z)({},e),{spinPrefixCls:n});return f.createElement(h,(0,i.Z)({},r))};w.setDefaultIndicator=function(e){g=e},t.Z=w},23279:function(e,t,n){var i=n(13218),r=n(7771),o=n(14841),a=Math.max,c=Math.min;e.exports=function(e,t,n){var l,s,u,f,p,d,m=0,v=!1,g=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var n=l,i=s;return l=s=void 0,m=t,f=e.apply(i,n)}function b(e){var n=e-d,i=e-m;return void 0===d||n>=t||n<0||g&&i>=u}function y(){var e,n,i,o=r();if(b(o))return C(o);p=setTimeout(y,(e=o-d,n=o-m,i=t-e,g?c(i,u-n):i))}function C(e){return(p=void 0,h&&l)?w(e):(l=s=void 0,f)}function x(){var e,n=r(),i=b(n);if(l=arguments,s=this,d=n,i){if(void 0===p)return m=e=d,p=setTimeout(y,t),v?w(e):f;if(g)return clearTimeout(p),p=setTimeout(y,t),w(d)}return void 0===p&&(p=setTimeout(y,t)),f}return t=o(t)||0,i(n)&&(v=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),x.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=d=s=p=void 0},x.flush=function(){return void 0===p?f:C(r())},x}},7771:function(e,t,n){var i=n(55639),r=function(){return i.Date.now()};e.exports=r},60057:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var i=n(4942),r=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(51169),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},p=[0,0],d={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:p}},m=n(15105),v=n(75164),g=n(88603),h=m.Z.ESC,w=m.Z.TAB,b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],y=c.forwardRef(function(e,t){var n,s,f,p,m,y,C,x,Z,N,E,O,k,P,T,z,R=e.arrow,M=void 0!==R&&R,S=e.prefixCls,A=void 0===S?"rc-dropdown":S,V=e.transitionName,j=e.animation,L=e.align,W=e.placement,F=e.placements,H=e.getPopupContainer,_=e.showAction,B=e.hideAction,D=e.overlayClassName,I=e.overlayStyle,q=e.visible,$=e.trigger,X=void 0===$?["hover"]:$,Y=e.autoFocus,G=(0,a.Z)(e,b),J=c.useState(),K=(0,o.Z)(J,2),Q=K[0],U=K[1],ee="visible"in e?q:Q,et=c.useRef(null);c.useImperativeHandle(t,function(){return et.current}),f=(s={visible:ee,setTriggerVisible:U,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Y}).visible,p=s.setTriggerVisible,m=s.triggerRef,y=s.onVisibleChange,C=s.autoFocus,x=c.useRef(!1),Z=function(){if(f&&m.current){var e,t,n,i;null===(e=m.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(i=n.focus)||void 0===i||i.call(n),p(!1),"function"==typeof y&&y(!1)}},N=function(){var e,t,n,i,r=(0,g.tS)(null===(e=m.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(i=n.getElement)||void 0===i?void 0:i.call(n))[0];return null!=r&&!!r.focus&&(r.focus(),x.current=!0,!0)},E=function(e){switch(e.keyCode){case h:Z();break;case w:var t=!1;x.current||(t=N()),t?e.preventDefault():Z()}},c.useEffect(function(){return f?(window.addEventListener("keydown",E),C&&(0,v.Z)(N,3),function(){window.removeEventListener("keydown",E),x.current=!1}):function(){x.current=!1}},[f]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},ei=function(t){var n=e.onOverlayClick;U(!1),n&&n(t)},er=function(t){var n=e.onVisibleChange;U(t),"function"==typeof n&&n(t)},eo=function(){var e=en();return c.createElement(c.Fragment,null,M&&c.createElement("div",{className:"".concat(A,"-arrow")}),e)},ea=B;return ea||-1===X.indexOf("contextMenu")||(ea=["click"]),c.createElement(l.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===F?d:F},G),{},{prefixCls:A,ref:et,popupClassName:u()(D,(0,i.Z)({},"".concat(A,"-show-arrow"),M)),popupStyle:I,action:X,showAction:_,hideAction:ea||[],popupPlacement:void 0===W?"bottomLeft":W,popupAlign:L,popupTransitionName:V,popupAnimation:j,popupVisible:ee,stretch:(O=e.minOverlayWidthMatchTrigger,k=e.alignPoint,"minOverlayWidthMatchTrigger"in e?O:!k)?"minWidth":"",popup:"function"==typeof e.overlay?eo:eo(),onPopupVisibleChange:er,onPopupClick:ei,getPopupContainer:H}),(T=(P=e.children).props?P.props:{},z=u()(T.className,void 0!==(n=e.openClassName)?n:"".concat(A,"-open")),ee&&P?c.cloneElement(P,{className:z}):P))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2934-a0634ff87273dd23.js b/static/web/_next/static/chunks/2934-a0634ff87273dd23.js deleted file mode 100644 index 45c3cd9bf..000000000 --- a/static/web/_next/static/chunks/2934-a0634ff87273dd23.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2934],{24019:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="ClockCircleOutlined";var l=i.forwardRef(c)},93069:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),i=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},a=n(42135),c=function(e,t){return i.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};c.displayName="WifiOutlined";var l=i.forwardRef(c)},57838:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(97685),i=n(67294);function o(){var e=i.useReducer((function(e){return e+1}),0);return(0,r.Z)(e,2)[1]}},24308:function(e,t,n){"use strict";n.d(t,{c4:function(){return o}});var r=n(4942),i=n(87462),o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,l=-1,s={},u={matchHandlers:{},dispatch:function(e){return s=e,c.forEach((function(e){return e(s)})),c.size>=1},subscribe:function(e){return c.size||this.register(),l+=1,c.set(l,e),e(s),l},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],r=e.matchHandlers[n];null===r||void 0===r||r.mql.removeListener(null===r||void 0===r?void 0:r.listener)})),c.clear()},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch((0,i.Z)((0,i.Z)({},s),(0,r.Z)({},t,o)))},c=window.matchMedia(n);c.addListener(o),e.matchHandlers[n]={mql:c,listener:o},o(c)}))}};t.ZP=u},11382:function(e,t,n){"use strict";var r=n(87462),i=n(4942),o=n(97685),a=n(94184),c=n.n(a),l=n(23279),s=n.n(l),u=n(98423),f=n(67294),d=n(53124),p=n(96159),v=n(93355),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=t||n<0||g&&e-v>=u}function C(){var e=i();if(y(e))return x(e);d=setTimeout(C,function(e){var n=t-(e-p);return g?c(n,u-(e-v)):n}(e))}function x(e){return d=void 0,h&&l?w(e):(l=s=void 0,f)}function Z(){var e=i(),n=y(e);if(l=arguments,s=this,p=e,n){if(void 0===d)return b(p);if(g)return clearTimeout(d),d=setTimeout(C,t),w(p)}return void 0===d&&(d=setTimeout(C,t)),f}return t=o(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(o(n.maxWait)||0,t):u,h="trailing"in n?!!n.trailing:h),Z.cancel=function(){void 0!==d&&clearTimeout(d),v=0,l=p=s=d=void 0},Z.flush=function(){return void 0===d?f:x(i())},Z}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},60057:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(4942),i=n(1413),o=n(97685),a=n(45987),c=n(67294),l=n(51169),s=n(94184),u=n.n(s),f={adjustX:1,adjustY:1},d=[0,0],p={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},v=n(15105),m=n(75164),g=n(88603),h=v.Z.ESC,w=v.Z.TAB;var b=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function y(e,t){var n=e.arrow,s=void 0!==n&&n,f=e.prefixCls,d=void 0===f?"rc-dropdown":f,v=e.transitionName,y=e.animation,C=e.align,x=e.placement,Z=void 0===x?"bottomLeft":x,N=e.placements,E=void 0===N?p:N,O=e.getPopupContainer,k=e.showAction,P=e.hideAction,T=e.overlayClassName,z=e.overlayStyle,R=e.visible,M=e.trigger,S=void 0===M?["hover"]:M,A=e.autoFocus,V=(0,a.Z)(e,b),j=c.useState(),L=(0,o.Z)(j,2),W=L[0],F=L[1],H="visible"in e?R:W,_=c.useRef(null);c.useImperativeHandle(t,(function(){return _.current})),function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,i=e.onVisibleChange,o=e.autoFocus,a=c.useRef(!1),l=function(){var e,o,a,c;t&&r.current&&(null===(e=r.current)||void 0===e||null===(o=e.triggerRef)||void 0===o||null===(a=o.current)||void 0===a||null===(c=a.focus)||void 0===c||c.call(a),n(!1),"function"===typeof i&&i(!1))},s=function(){var e,t,n,i,o=(0,g.tS)(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(i=n.getElement)||void 0===i?void 0:i.call(n))[0];return!!(null===o||void 0===o?void 0:o.focus)&&(o.focus(),a.current=!0,!0)},u=function(e){switch(e.keyCode){case h:l();break;case w:var t=!1;a.current||(t=s()),t?e.preventDefault():l()}};c.useEffect((function(){return t?(window.addEventListener("keydown",u),o&&(0,m.Z)(s,3),function(){window.removeEventListener("keydown",u),a.current=!1}):function(){a.current=!1}}),[t])}({visible:H,setTriggerVisible:F,triggerRef:_,onVisibleChange:e.onVisibleChange,autoFocus:A});var B=function(){var t=function(){var t=e.overlay;return"function"===typeof t?t():t}();return c.createElement(c.Fragment,null,s&&c.createElement("div",{className:"".concat(d,"-arrow")}),t)},D=P;return D||-1===S.indexOf("contextMenu")||(D=["click"]),c.createElement(l.Z,(0,i.Z)((0,i.Z)({builtinPlacements:E},V),{},{prefixCls:d,ref:_,popupClassName:u()(T,(0,r.Z)({},"".concat(d,"-show-arrow"),s)),popupStyle:z,action:S,showAction:k,hideAction:D||[],popupPlacement:Z,popupAlign:C,popupTransitionName:v,popupAnimation:y,popupVisible:H,stretch:function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n}()?"minWidth":"",popup:"function"===typeof e.overlay?B:B(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;F(t),"function"===typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;F(!1),n&&n(t)},getPopupContainer:O}),function(){var t=e.children,n=t.props?t.props:{},r=u()(n.className,function(){var t=e.openClassName;return void 0!==t?t:"".concat(d,"-open")}());return H&&t?c.cloneElement(t,{className:r}):t}())}var C=c.forwardRef(y)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/305.1f151ed0a969e860.js b/static/web/_next/static/chunks/305.1f151ed0a969e860.js deleted file mode 100644 index 1905764f7..000000000 --- a/static/web/_next/static/chunks/305.1f151ed0a969e860.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[305],{14630:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r+\-\/^\[\]]/,s=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,c=/[0-9]/,k=/[_a-zA-Z]/;function f(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function p(e,t){for(var n,r=!1;n=e.next();){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return"comment"}function m(e,t){for(var n,r=!1;null!=(n=e.next());){if('"'==n&&!r){t.tokenize=null,t.sol=!1;break}r=!r&&"\\"==n}return"string"}function d(e,t){for(e.eatWhile(c);e.eat(c)||e.eat(k););var n=e.current();return!t.sol||"package"!=n&&"model"!=n&&"when"!=n&&"connector"!=n?t.sol&&"end"==n&&t.level>0&&t.level--:t.level++,t.tokenize=null,t.sol=!1,o.propertyIsEnumerable(n)?"keyword":i.propertyIsEnumerable(n)?"builtin":l.propertyIsEnumerable(n)?"atom":"variable"}function b(e,t){for(;e.eat(/[^']/););return t.tokenize=null,t.sol=!1,e.eat("'")?"variable":"error"}function h(e,t){return e.eatWhile(c),e.eat(".")&&e.eatWhile(c),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(c)),t.tokenize=null,t.sol=!1,"number"}const z={name:"modelica",startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=f;else if("/"==n&&e.eat("*"))t.tokenize=p;else{if(s.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";if(u.test(n))return t.tokenize=null,"operator";if(k.test(n))t.tokenize=d;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=b;else if('"'==n)t.tokenize=m;else{if(!c.test(n))return t.tokenize=null,"error";t.tokenize=h}}return t.tokenize(e,t)},indent:function(e,t,n){if(null!=e.tokenize)return null;var r=e.level;return/(algorithm)/.test(t)&&r--,/(equation)/.test(t)&&r--,/(initial algorithm)/.test(t)&&r--,/(initial equation)/.test(t)&&r--,/(end)/.test(t)&&r--,r>0?n.unit*r:0},languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:a}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/305.89841c282a61cef8.js b/static/web/_next/static/chunks/305.89841c282a61cef8.js new file mode 100644 index 000000000..957aebe4a --- /dev/null +++ b/static/web/_next/static/chunks/305.89841c282a61cef8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[305],{40305:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r+\-\/^\[\]]/,s=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,c=/[0-9]/,k=/[_a-zA-Z]/;function f(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function p(e,t){for(var n,r=!1;n=e.next();){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return"comment"}function m(e,t){for(var n,r=!1;null!=(n=e.next());){if('"'==n&&!r){t.tokenize=null,t.sol=!1;break}r=!r&&"\\"==n}return"string"}function d(e,t){for(e.eatWhile(c);e.eat(c)||e.eat(k););var n=e.current();return(t.sol&&("package"==n||"model"==n||"when"==n||"connector"==n)?t.level++:t.sol&&"end"==n&&t.level>0&&t.level--,t.tokenize=null,t.sol=!1,o.propertyIsEnumerable(n))?"keyword":l.propertyIsEnumerable(n)?"builtin":i.propertyIsEnumerable(n)?"atom":"variable"}function b(e,t){for(;e.eat(/[^']/););return(t.tokenize=null,t.sol=!1,e.eat("'"))?"variable":"error"}function h(e,t){return e.eatWhile(c),e.eat(".")&&e.eatWhile(c),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(c)),t.tokenize=null,t.sol=!1,"number"}let z={name:"modelica",startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=f;else if("/"==n&&e.eat("*"))t.tokenize=p;else if(s.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";else if(u.test(n))return t.tokenize=null,"operator";else if(k.test(n))t.tokenize=d;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=b;else if('"'==n)t.tokenize=m;else{if(!c.test(n))return t.tokenize=null,"error";t.tokenize=h}return t.tokenize(e,t)},indent:function(e,t,n){if(null!=e.tokenize)return null;var r=e.level;return(/(algorithm)/.test(t)&&r--,/(equation)/.test(t)&&r--,/(initial algorithm)/.test(t)&&r--,/(initial equation)/.test(t)&&r--,/(end)/.test(t)&&r--,r>0)?n.unit*r:0},languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:a}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3203.47eecf7905764bb4.js b/static/web/_next/static/chunks/3203.47eecf7905764bb4.js deleted file mode 100644 index 4e98e402f..000000000 --- a/static/web/_next/static/chunks/3203.47eecf7905764bb4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3203],{93203:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach(function(t){var a=o[t],n=e.matchHandlers[a];null==n||n.mql.removeListener(null==n?void 0:n.listener)}),c.clear()},register:function(){var e=this;Object.keys(o).forEach(function(t){var a=o[t],l=function(a){var l=a.matches;e.dispatch((0,r.Z)((0,r.Z)({},u),(0,n.Z)({},t,l)))},c=window.matchMedia(a);c.addListener(l),e.matchHandlers[a]={mql:c,listener:l},l(c)})}}},33859:function(e,t,a){a.d(t,{ZP:function(){return O}});var n=a(4942),r=a(89739),l=a(4340),o=a(21640),c=a(1413),i=a(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},s=a(42135),f=function(e,t){return i.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="WarningFilled";var d=i.forwardRef(f),p=a(94184),v=a.n(p),m=a(53124),h=function(){return i.createElement("svg",{width:"252",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .012)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),i.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),i.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),i.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),i.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),i.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),i.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),i.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),i.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),i.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),i.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),i.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),i.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),i.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),i.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),i.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),i.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),i.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),i.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),i.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),i.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),i.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),i.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),i.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),i.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),i.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),i.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),i.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),i.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),i.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),i.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),i.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),i.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),i.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),i.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},E=function(){return i.createElement("svg",{width:"254",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),i.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .067)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),i.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),i.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),i.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),i.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),i.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),i.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),i.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),i.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),i.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),i.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),i.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),i.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),i.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),i.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),i.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),i.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),i.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),i.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),i.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),i.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),i.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),i.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),i.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),i.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),i.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),i.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),i.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),i.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),i.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),i.createElement("mask",{fill:"#fff"}),i.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),i.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),i.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),i.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},M=function(){return i.createElement("svg",{width:"251",height:"294"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),i.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),i.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),i.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),i.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),i.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),i.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),i.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),i.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),i.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),i.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),i.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),i.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),i.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),i.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),i.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),i.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),i.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),i.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),i.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),i.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),i.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),i.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),i.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),i.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),i.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),i.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),i.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),i.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),i.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),i.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),i.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),i.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},g={success:r.Z,error:l.Z,info:o.Z,warning:d},y={404:h,500:E,403:M},k=Object.keys(y),b=function(e){var t=e.prefixCls,a=e.icon,n=e.status,r=v()("".concat(t,"-icon"));if(k.includes("".concat(n))){var l=y[n];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(l,null))}var o=i.createElement(g[n]);return i.createElement("div",{className:r},a||o)},C=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},F=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,l=e.title,o=e.style,c=e.children,u=e.status,s=void 0===u?"info":u,f=e.icon,d=e.extra,p=i.useContext(m.E_),h=p.getPrefixCls,E=p.direction,M=h("result",t),g=v()(M,"".concat(M,"-").concat(s),a,(0,n.Z)({},"".concat(M,"-rtl"),"rtl"===E));return i.createElement("div",{className:g,style:o},i.createElement(b,{prefixCls:M,status:s,icon:f}),i.createElement("div",{className:"".concat(M,"-title")},l),r&&i.createElement("div",{className:"".concat(M,"-subtitle")},r),i.createElement(C,{prefixCls:M,extra:d}),c&&i.createElement("div",{className:"".concat(M,"-content")},c))};F.PRESENTED_IMAGE_403=y["403"],F.PRESENTED_IMAGE_404=y["404"],F.PRESENTED_IMAGE_500=y["500"];var O=F},45471:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=a(66764),r=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=r;var l=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=l},53683:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var n=a(66764),r=function(){return{height:0,opacity:0}},l=function(e){return{height:e.scrollHeight,opacity:1}},o=function(e){return{height:e?e.offsetHeight:0}},c=function(e,t){return(null==t?void 0:t.deadline)===!0||"height"===t.propertyName};(0,n.tuple)("bottomLeft","bottomRight","topLeft","topRight");var i=function(e){return void 0!==e&&("topLeft"===e||"topRight"===e)?"slide-down":"slide-up"};t.getTransitionDirection=i;var u=function(e,t,a){return void 0!==a?a:"".concat(e,"-").concat(t)};t.getTransitionName=u,t.default={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:l,onEnterActive:l,onLeaveStart:o,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},74132:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,a=void 0===t?4:t,n=e.horizontalArrowShift,o=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+a),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+a)]},topRight:{points:["br","tc"],offset:[o+a,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+a)]},bottomRight:{points:["tr","bc"],offset:[o+a,4]},rightBottom:{points:["bl","cr"],offset:[4,s+a]},bottomLeft:{points:["tl","bc"],offset:[-(o+a),4]},leftBottom:{points:["br","cl"],offset:[-4,s+a]}};return Object.keys(p).forEach(function(e){p[e]=d?(0,r.default)((0,r.default)({},p[e]),{overflow:u(f),targetOffset:i}):(0,r.default)((0,r.default)({},l.placements[e]),{overflow:u(f)}),p[e].ignoreShake=!0}),p},t.getOverflowOptions=u;var r=n(a(10434)),l=a(24375),o={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"==typeof e?e?o:c:(0,r.default)((0,r.default)({},c),e)}},47419:function(e,t,a){var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return o(e,e,t)},t.isFragment=function(e){return e&&l(e)&&e.type===r.Fragment},t.isValidElement=void 0,t.replaceElement=o;var r=n(a(67294)),l=r.isValidElement;function o(e,t,a){return l(e)?r.cloneElement(e,"function"==typeof a?a(e.props||{}):a):t}t.isValidElement=l},71434:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,a){var n;return(0,l.default)((n={},(0,r.default)(n,"".concat(e,"-status-success"),"success"===t),(0,r.default)(n,"".concat(e,"-status-warning"),"warning"===t),(0,r.default)(n,"".concat(e,"-status-error"),"error"===t),(0,r.default)(n,"".concat(e,"-status-validating"),"validating"===t),(0,r.default)(n,"".concat(e,"-has-feedback"),a),n))};var r=n(a(38416)),l=n(a(94184));(0,a(66764).tuple)("warning","error","");var o=function(e,t){return t||e};t.getMergedStatus=o},38882:function(e,t,a){var n,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return o.isStyleSupport}});var l=r(a(19158)),o=a(3481),c=function(){return(0,l.default)()&&window.document.documentElement};t.canUseDocElement=c;var i=function(){if(!c())return!1;if(void 0!==n)return n;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),n=1===e.scrollHeight,document.body.removeChild(e),n};t.detectFlexGapSupported=i},60938:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27712)),c=n(a(67294)),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},u={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},s=c.forwardRef(function(e,t){var a=function(e){e.keyCode===o.default.ENTER&&e.preventDefault()},n=function(t){var a=t.keyCode,n=e.onClick;a===o.default.ENTER&&n&&n()},r=e.style,s=e.noStyle,f=e.disabled,d=i(e,["style","noStyle","disabled"]),p={};return s||(p=(0,l.default)({},u)),f&&(p.pointerEvents="none"),p=(0,l.default)((0,l.default)({},p),r),c.createElement("div",(0,l.default)({role:"button",tabIndex:0,ref:t},d,{onKeyDown:a,onKeyUp:n,style:p}))});t.default=s},66764:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.tupleNum=t.tuple=void 0;var a=function(){for(var e=arguments.length,t=Array(e),a=0;at.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},s=function(e){return c.createElement(i.ConfigConsumer,null,function(t){var a=t.getPrefixCls,n=e.prefixCls,r=e.className,i=e.avatar,s=e.title,f=e.description,d=u(e,["prefixCls","className","avatar","title","description"]),p=a("card",n),v=(0,o.default)("".concat(p,"-meta"),r),m=i?c.createElement("div",{className:"".concat(p,"-meta-avatar")},i):null,h=s?c.createElement("div",{className:"".concat(p,"-meta-title")},s):null,E=f?c.createElement("div",{className:"".concat(p,"-meta-description")},f):null,M=h||E?c.createElement("div",{className:"".concat(p,"-meta-detail")},h,E):null;return c.createElement("div",(0,l.default)({},d,{className:v}),m,M)})};t.Z=s},51130:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.NoStyleItemContext=t.NoFormStyle=t.FormProvider=t.FormItemPrefixContext=t.FormItemInputContext=t.FormContext=void 0;var l=r(a(10434)),o=a(71990),c=r(a(18475)),i=n(a(67294)),u=i.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}});t.FormContext=u;var s=i.createContext(null);t.NoStyleItemContext=s;var f=function(e){var t=(0,c.default)(e,["prefixCls"]);return i.createElement(o.FormProvider,(0,l.default)({},t))};t.FormProvider=f;var d=i.createContext({prefixCls:""});t.FormItemPrefixContext=d;var p=i.createContext({});t.FormItemInputContext=p;var v=function(e){var t=e.children,a=e.status,n=e.override,r=(0,i.useContext)(p),o=(0,i.useMemo)(function(){var e=(0,l.default)({},r);return n&&delete e.isFormItemInput,a&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[a,n,r]);return i.createElement(p.Provider,{value:o},t)};t.NoFormStyle=v},67434:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(38416)),o=r(a(56690)),c=r(a(89728)),i=r(a(61655)),u=r(a(26389)),s=r(a(42547)),f=r(a(94184)),d=n(a(67294)),p=a(51130),v=a(47419),m=a(71434),h=(0,a(66764).tuple)("text","input"),E=function(e){(0,i.default)(a,e);var t=(0,u.default)(a);function a(){return(0,o.default)(this,a),t.apply(this,arguments)}return(0,c.default)(a,[{key:"renderClearIcon",value:function(e){var t,a=this.props,n=a.value,r=a.disabled,o=a.readOnly,c=a.handleReset,i=a.suffix,u="".concat(e,"-clear-icon");return d.createElement(s.default,{onClick:c,onMouseDown:function(e){return e.preventDefault()},className:(0,f.default)((t={},(0,l.default)(t,"".concat(u,"-hidden"),!(!r&&!o&&n)),(0,l.default)(t,"".concat(u,"-has-suffix"),!!i),t),u),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,a){var n,r,o=this.props,c=o.value,i=o.allowClear,u=o.className,s=o.style,p=o.direction,h=o.bordered,E=o.hidden,M=o.status,g=a.status,y=a.hasFeedback;if(!i)return(0,v.cloneElement)(t,{value:c});var k=(0,f.default)("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,m.getStatusClassNames)("".concat(e,"-affix-wrapper"),(0,m.getMergedStatus)(g,M),y),(r={},(0,l.default)(r,"".concat(e,"-affix-wrapper-rtl"),"rtl"===p),(0,l.default)(r,"".concat(e,"-affix-wrapper-borderless"),!h),(0,l.default)(r,"".concat(u),!((n=this.props).addonBefore||n.addonAfter)&&u),r));return d.createElement("span",{className:k,style:s,hidden:E},(0,v.cloneElement)(t,{style:null,value:c}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return d.createElement(p.FormItemInputContext.Consumer,null,function(t){var a=e.props,n=a.prefixCls,r=a.inputType,l=a.element;if(r===h[0])return e.renderTextAreaWithClearIcon(n,l,t)})}}]),a}(d.Component);t.default=E},10815:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.fixControlledValue=function(e){return null==e?"":String(e)},t.resolveOnChange=function(e,t,a,n){if(a){var r=t;if("click"===t.type){var l=e.cloneNode(!0);r=Object.create(t,{target:{value:l},currentTarget:{value:l}}),l.value="",a(r);return}if(void 0!==n){r=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=n,a(r);return}a(r)}},t.triggerFocus=function(e,t){if(e){e.focus(t);var a=(t||{}).cursor;if(a){var n=e.value.length;switch(a){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}};var l=r(a(38416)),o=r(a(10434)),c=r(a(18698)),i=r(a(42547)),u=r(a(94184)),s=r(a(59775)),f=a(75531),d=n(a(67294)),p=a(31929),v=r(a(93319)),m=r(a(3236)),h=a(51130),E=a(71434);r(a(13594));var M=r(a(81722)),g=a(36714),y=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},k=(0,d.forwardRef)(function(e,t){var a,n,r,k,b=e.prefixCls,C=e.bordered,F=void 0===C||C,O=e.status,w=e.size,x=e.disabled,L=e.onBlur,N=e.onFocus,A=e.suffix,S=e.allowClear,_=e.addonAfter,P=e.addonBefore,j=e.onChange,z=y(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","onChange"]),R=d.default.useContext(p.ConfigContext),B=R.getPrefixCls,T=R.direction,D=R.input,I=B("input",b),H=(0,d.useRef)(null),W=d.default.useContext(m.default),Z=w||W,V=d.default.useContext(v.default),U=(0,d.useContext)(h.FormItemInputContext),K=U.status,G=U.hasFeedback,Q=U.feedbackIcon,Y=(0,E.getMergedStatus)(K,O),X=(0,g.hasPrefixSuffix)(e)||!!G,q=(0,d.useRef)(X);(0,d.useEffect)(function(){X&&q.current,q.current=X},[X]);var J=(0,M.default)(H,!0),$=function(e){J(),null==L||L(e)},ee=function(e){J(),null==N||N(e)},et=function(e){J(),null==j||j(e)},ea=(G||A)&&d.default.createElement(d.default.Fragment,null,A,G&&Q);return"object"===(0,c.default)(S)&&(null==S?void 0:S.clearIcon)?k=S:S&&(k={clearIcon:d.default.createElement(i.default,null)}),d.default.createElement(s.default,(0,o.default)({ref:(0,f.composeRef)(t,H),prefixCls:I,autoComplete:null==D?void 0:D.autoComplete},z,{disabled:x||V||void 0,onBlur:$,onFocus:ee,suffix:ea,allowClear:k,onChange:et,addonAfter:_&&d.default.createElement(h.NoFormStyle,{override:!0,status:!0},_),addonBefore:P&&d.default.createElement(h.NoFormStyle,{override:!0,status:!0},P),inputClassName:(0,u.default)((a={},(0,l.default)(a,"".concat(I,"-sm"),"small"===Z),(0,l.default)(a,"".concat(I,"-lg"),"large"===Z),(0,l.default)(a,"".concat(I,"-rtl"),"rtl"===T),(0,l.default)(a,"".concat(I,"-borderless"),!F),a),!X&&(0,E.getStatusClassNames)(I,Y)),affixWrapperClassName:(0,u.default)((n={},(0,l.default)(n,"".concat(I,"-affix-wrapper-sm"),"small"===Z),(0,l.default)(n,"".concat(I,"-affix-wrapper-lg"),"large"===Z),(0,l.default)(n,"".concat(I,"-affix-wrapper-rtl"),"rtl"===T),(0,l.default)(n,"".concat(I,"-affix-wrapper-borderless"),!F),n),(0,E.getStatusClassNames)("".concat(I,"-affix-wrapper"),Y,G)),wrapperClassName:(0,u.default)((0,l.default)({},"".concat(I,"-group-rtl"),"rtl"===T)),groupClassName:(0,u.default)((r={},(0,l.default)(r,"".concat(I,"-group-wrapper-sm"),"small"===Z),(0,l.default)(r,"".concat(I,"-group-wrapper-lg"),"large"===Z),(0,l.default)(r,"".concat(I,"-group-wrapper-rtl"),"rtl"===T),r),(0,E.getStatusClassNames)("".concat(I,"-group-wrapper"),Y,G))}))});t.default=k},14104:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(18698)),o=r(a(38416)),c=r(a(10434)),i=r(a(27424)),u=r(a(861)),s=r(a(94184)),f=r(a(57239)),d=r(a(60869)),p=r(a(18475)),v=n(a(67294)),m=a(31929),h=r(a(93319)),E=r(a(3236)),M=a(51130),g=a(71434),y=r(a(67434)),k=a(10815),b=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};function C(e,t){return(0,u.default)(e||"").slice(0,t).join("")}function F(e,t,a,n){var r=a;return e?r=C(a,n):(0,u.default)(t||"").lengthn&&(r=t),r}var O=v.forwardRef(function(e,t){var a=e.prefixCls,n=e.bordered,r=void 0===n||n,O=e.showCount,w=void 0!==O&&O,x=e.maxLength,L=e.className,N=e.style,A=e.size,S=e.disabled,_=e.onCompositionStart,P=e.onCompositionEnd,j=e.onChange,z=e.status,R=b(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),B=v.useContext(m.ConfigContext),T=B.getPrefixCls,D=B.direction,I=v.useContext(E.default),H=v.useContext(h.default),W=S||H,Z=v.useContext(M.FormItemInputContext),V=Z.status,U=Z.hasFeedback,K=Z.isFormItemInput,G=Z.feedbackIcon,Q=(0,g.getMergedStatus)(V,z),Y=v.useRef(null),X=v.useRef(null),q=v.useState(!1),J=(0,i.default)(q,2),$=J[0],ee=J[1],et=v.useRef(),ea=v.useRef(0),en=(0,d.default)(R.defaultValue,{value:R.value}),er=(0,i.default)(en,2),el=er[0],eo=er[1],ec=R.hidden,ei=function(e,t){void 0===R.value&&(eo(e),null==t||t())},eu=Number(x)>0,es=function(e){ee(!0),et.current=el,ea.current=e.currentTarget.selectionStart,null==_||_(e)},ef=function(e){ee(!1);var t,a=e.currentTarget.value;eu&&(a=F(ea.current>=x+1||ea.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,a,x)),a!==el&&(ei(a),(0,k.resolveOnChange)(e.currentTarget,e,j,a)),null==P||P(e)},ed=function(e){var t=e.target.value;!$&&eu&&(t=F(e.target.selectionStart>=x+1||e.target.selectionStart===t.length||!e.target.selectionStart,el,t,x)),ei(t),(0,k.resolveOnChange)(e.currentTarget,e,j,t)},ep=function(e){var t,a,n;ei(""),null===(t=Y.current)||void 0===t||t.focus(),(0,k.resolveOnChange)(null===(n=null===(a=Y.current)||void 0===a?void 0:a.resizableTextArea)||void 0===n?void 0:n.textArea,e,j)},ev=T("input",a);v.useImperativeHandle(t,function(){var e;return{resizableTextArea:null===(e=Y.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,a;(0,k.triggerFocus)(null===(a=null===(t=Y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===a?void 0:a.textArea,e)},blur:function(){var e;return null===(e=Y.current)||void 0===e?void 0:e.blur()}}});var em=v.createElement(f.default,(0,c.default)({},(0,p.default)(R,["allowClear"]),{disabled:W,className:(0,s.default)((eM={},(0,o.default)(eM,"".concat(ev,"-borderless"),!r),(0,o.default)(eM,L,L&&!w),(0,o.default)(eM,"".concat(ev,"-sm"),"small"===I||"small"===A),(0,o.default)(eM,"".concat(ev,"-lg"),"large"===I||"large"===A),eM),(0,g.getStatusClassNames)(ev,Q)),style:w?{resize:null==N?void 0:N.resize}:N,prefixCls:ev,onCompositionStart:es,onChange:ed,onCompositionEnd:ef,ref:Y})),eh=(0,k.fixControlledValue)(el);!$&&eu&&(null===R.value||void 0===R.value)&&(eh=C(eh,x));var eE=v.createElement(y.default,(0,c.default)({disabled:W},R,{prefixCls:ev,direction:D,inputType:"text",value:eh,element:em,handleReset:ep,ref:X,bordered:r,status:z,style:w?void 0:N}));if(w||U){var eM,eg,ey=(0,u.default)(eh).length,ek="";return ek="object"===(0,l.default)(w)?w.formatter({value:eh,count:ey,maxLength:x}):"".concat(ey).concat(eu?" / ".concat(x):""),v.createElement("div",{hidden:ec,className:(0,s.default)("".concat(ev,"-textarea"),(eg={},(0,o.default)(eg,"".concat(ev,"-textarea-rtl"),"rtl"===D),(0,o.default)(eg,"".concat(ev,"-textarea-show-count"),w),(0,o.default)(eg,"".concat(ev,"-textarea-in-form-item"),K),eg),(0,g.getStatusClassNames)("".concat(ev,"-textarea"),Q,U),L),style:N,"data-count":ek},eE,U&&v.createElement("span",{className:"".concat(ev,"-textarea-suffix")},G))}return eE});t.default=O},81722:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a=(0,n.useRef)([]),r=function(){a.current.push(window.setTimeout(function(){var t,a,n,r;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(a=e.current)||void 0===a?void 0:a.input.getAttribute("type"))==="password"&&(null===(n=e.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(r=e.current)||void 0===r||r.input.removeAttribute("value"))}))};return(0,n.useEffect)(function(){return t&&r(),function(){return a.current.forEach(function(e){return window.clearTimeout(e)})}},[]),r};var n=a(67294)},36714:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},94055:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(38416)),o=r(a(27424)),c=r(a(10434)),i=r(a(94184)),u=r(a(43763)),s=r(a(60869)),f=n(a(67294)),d=a(31929),p=a(45471),v=a(53683),m=r(a(74132)),h=a(47419);r(a(13594));var E=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},M=function(e,t){var a={},n=(0,c.default)({},e);return t.forEach(function(t){e&&t in e&&(a[t]=e[t],delete n[t])}),{picked:a,omitted:n}},g=RegExp("^(".concat(p.PresetColorTypes.join("|"),")(-inverse)?$")),y=f.forwardRef(function(e,t){var a,n,r,p=f.useContext(d.ConfigContext),y=p.getPopupContainer,k=p.getPrefixCls,b=p.direction,C=(0,s.default)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),F=(0,o.default)(C,2),O=F[0],w=F[1],x=function(){var t=e.title,a=e.overlay;return!t&&!a&&0!==t},L=function(t){var a,n;w(!x()&&t),x()||(null===(a=e.onOpenChange)||void 0===a||a.call(e,t),null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},N=function(){var t=e.builtinPlacements,a=e.arrowPointAtCenter,n=e.autoAdjustOverflow;return t||(0,m.default)({arrowPointAtCenter:void 0!==a&&a,autoAdjustOverflow:void 0===n||n})},A=function(e,t){var a=N(),n=Object.keys(a).find(function(e){var n,r;return a[e].points[0]===(null===(n=t.points)||void 0===n?void 0:n[0])&&a[e].points[1]===(null===(r=t.points)||void 0===r?void 0:r[1])});if(n){var r=e.getBoundingClientRect(),l={top:"50%",left:"50%"};["top","Bottom"].includes(n)?l.top="".concat(r.height-t.offset[1],"px"):["Top","bottom"].includes(n)&&(l.top="".concat(-t.offset[1],"px")),["left","Right"].includes(n)?l.left="".concat(r.width-t.offset[0],"px"):["right","Left"].includes(n)&&(l.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(l.left," ").concat(l.top)}},S=e.getPopupContainer,_=e.placement,P=e.mouseEnterDelay,j=e.mouseLeaveDelay,z=E(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay"]),R=e.prefixCls,B=e.openClassName,T=e.getTooltipContainer,D=e.overlayClassName,I=e.color,H=e.overlayInnerStyle,W=e.children,Z=k("tooltip",R),V=k(),U=O;!("open"in e)&&!("visible"in e)&&x()&&(U=!1);var K=function(e,t){var a=e.type;if((!0===a.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===a.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===a.__ANT_RADIO&&e.props.disabled){var n=M(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,l=n.omitted,o=(0,c.default)((0,c.default)({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),u=(0,c.default)((0,c.default)({},l),{pointerEvents:"none"}),s=(0,h.cloneElement)(e,{style:u,className:null});return f.createElement("span",{style:o,className:(0,i.default)(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},s)}return e}((0,h.isValidElement)(W)&&!(0,h.isFragment)(W)?W:f.createElement("span",null,W),Z),G=K.props,Q=G.className&&"string"!=typeof G.className?G.className:(0,i.default)(G.className,(0,l.default)({},B||"".concat(Z,"-open"),!0)),Y=(0,i.default)(D,(r={},(0,l.default)(r,"".concat(Z,"-rtl"),"rtl"===b),(0,l.default)(r,"".concat(Z,"-").concat(I),I&&g.test(I)),r)),X=H,q={};return I&&!g.test(I)&&(X=(0,c.default)((0,c.default)({},H),{background:I}),q={"--antd-arrow-background-color":I}),f.createElement(u.default,(0,c.default)({},z,{placement:void 0===_?"top":_,mouseEnterDelay:void 0===P?.1:P,mouseLeaveDelay:void 0===j?.1:j,prefixCls:Z,overlayClassName:Y,getTooltipContainer:S||T||y,ref:t,builtinPlacements:N(),overlay:(a=e.title,n=e.overlay,0===a?a:n||a||""),visible:U,onVisibleChange:L,onPopupAlign:A,overlayInnerStyle:X,arrowContent:f.createElement("span",{className:"".concat(Z,"-arrow-content"),style:q}),motion:{motionName:(0,v.getTransitionName)(V,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),U?(0,h.cloneElement)(K,{className:Q}):K)});t.default=y},12385:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27424)),c=r(a(18698)),i=r(a(45598)),u=r(a(82546)),s=n(a(67294));function f(e){var t=(0,c.default)(e);return"string"===t||"number"===t}function d(e,t){for(var a=0,n=[],r=0;rt){var c=t-a;return n.push(String(l).slice(0,c)),n}n.push(l),a=o}return e}var p=function(e){var t=e.enabledMeasure,a=e.children,n=e.text,r=e.width,c=e.fontSize,p=e.rows,v=e.onEllipsis,m=s.useState([0,0,0]),h=(0,o.default)(m,2),E=h[0],M=h[1],g=s.useState(0),y=(0,o.default)(g,2),k=y[0],b=y[1],C=(0,o.default)(E,3),F=C[0],O=C[1],w=C[2],x=s.useState(0),L=(0,o.default)(x,2),N=L[0],A=L[1],S=s.useRef(null),_=s.useRef(null),P=s.useMemo(function(){return(0,i.default)(n)},[n]),j=s.useMemo(function(){var e;return e=0,P.forEach(function(t){f(t)?e+=String(t).length:e+=1}),e},[P]),z=s.useMemo(function(){return t&&3===k?a(d(P,O),Ot.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};function P(e,t,a){return!0===e||void 0===e?t:e||a&&t}function j(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var z=y.forwardRef(function(e,t){var a=e.prefixCls,n=e.className,r=e.style,z=e.type,R=e.disabled,B=e.children,T=e.ellipsis,D=e.editable,I=e.copyable,H=e.component,W=e.title,Z=_(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),V=y.useContext(k.ConfigContext),U=V.getPrefixCls,K=V.direction,G=(0,b.useLocaleReceiver)("Text")[0],Q=y.useRef(null),Y=y.useRef(null),X=U("typography",a),q=(0,M.default)(Z,["mark","code","delete","underline","strong","keyboard","italic"]),J=(0,x.default)(D),$=(0,i.default)(J,2),ee=$[0],et=$[1],ea=(0,E.default)(!1,{value:et.editing}),en=(0,i.default)(ea,2),er=en[0],el=en[1],eo=et.triggerType,ec=void 0===eo?["icon"]:eo,ei=function(e){var t;e&&(null===(t=et.onStart)||void 0===t||t.call(et)),el(e)};(0,L.default)(function(){var e;er||null===(e=Y.current)||void 0===e||e.focus()},[er]);var eu=function(e){null==e||e.preventDefault(),ei(!0)},es=function(e){var t;null===(t=et.onChange)||void 0===t||t.call(et,e),ei(!1)},ef=function(){var e;null===(e=et.onCancel)||void 0===e||e.call(et),ei(!1)},ed=(0,x.default)(I),ep=(0,i.default)(ed,2),ev=ep[0],em=ep[1],eh=y.useState(!1),eE=(0,i.default)(eh,2),eM=eE[0],eg=eE[1],ey=y.useRef(),ek={};em.format&&(ek.format=em.format);var eb=function(){clearTimeout(ey.current)},eC=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),(0,p.default)(em.text||String(B)||"",ek),eg(!0),eb(),ey.current=setTimeout(function(){eg(!1)},3e3),null===(t=em.onCopy)||void 0===t||t.call(em,e)};y.useEffect(function(){return eb},[]);var eF=y.useState(!1),eO=(0,i.default)(eF,2),ew=eO[0],ex=eO[1],eL=y.useState(!1),eN=(0,i.default)(eL,2),eA=eN[0],eS=eN[1],e_=y.useState(!1),eP=(0,i.default)(e_,2),ej=eP[0],ez=eP[1],eR=y.useState(!1),eB=(0,i.default)(eR,2),eT=eB[0],eD=eB[1],eI=y.useState(!1),eH=(0,i.default)(eI,2),eW=eH[0],eZ=eH[1],eV=y.useState(!0),eU=(0,i.default)(eV,2),eK=eU[0],eG=eU[1],eQ=(0,x.default)(T,{expandable:!1}),eY=(0,i.default)(eQ,2),eX=eY[0],eq=eY[1],eJ=eX&&!ej,e$=eq.rows,e1=void 0===e$?1:e$,e2=y.useMemo(function(){return!eJ||void 0!==eq.suffix||eq.onEllipsis||eq.expandable||ee||ev},[eJ,eq,ee,ev]);(0,h.default)(function(){eX&&!e2&&(ex((0,F.isStyleSupport)("webkitLineClamp")),eS((0,F.isStyleSupport)("textOverflow")))},[e2,eX]);var e0=y.useMemo(function(){return!e2&&(1===e1?eA:ew)},[e2,eA,ew]),e4=eJ&&(e0?eW:eT),e3=eJ&&1===e1&&e0,e6=eJ&&e1>1&&e0,e8=function(e){var t;ez(!0),null===(t=eq.onExpand)||void 0===t||t.call(eq,e)},e7=y.useState(0),e5=(0,i.default)(e7,2),e9=e5[0],te=e5[1],tt=y.useState(0),ta=(0,i.default)(tt,2),tn=ta[0],tr=ta[1],tl=function(e,t){var a;te(e.offsetWidth),tr(parseInt(null===(a=window.getComputedStyle)||void 0===a?void 0:a.call(window,t).fontSize,10)||0)},to=function(e){var t;eD(e),eT!==e&&(null===(t=eq.onEllipsis)||void 0===t||t.call(eq,e))};y.useEffect(function(){var e=Q.current;if(eX&&e0&&e){var t=e6?e.offsetHeightt.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},s=(0,c.tupleNum)(1,2,3,4,5),f=function(e,t){var a,n=e.level,r=void 0===n?1:n,c=u(e,["level"]);return a=-1!==s.indexOf(r)?"h".concat(r):"h1",o.createElement(i.default,(0,l.default)({ref:t},c,{component:a}))},d=o.forwardRef(f);t.Z=d},89652:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(38416)),c=r(a(94184)),i=a(75531),u=n(a(67294)),s=a(31929);r(a(13594));var f=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);rt.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a},d=function(e,t){var a=e.prefixCls,n=e.component,r=e.className,d=e["aria-label"],p=e.setContentRef,v=e.children,m=f(e,["prefixCls","component","className","aria-label","setContentRef","children"]),h=u.useContext(s.ConfigContext),E=h.getPrefixCls,M=h.direction,g=t;p&&(g=(0,i.composeRef)(t,p));var y=E("typography",a),k=(0,c.default)(y,(0,o.default)({},"".concat(y,"-rtl"),"rtl"===M),r);return u.createElement(void 0===n?"article":n,(0,l.default)({className:k,"aria-label":d,ref:g},m),v)},p=u.forwardRef(d);t.default=p},92759:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return c.useMemo(function(){var a=!!e;return[a,(0,o.default)((0,o.default)({},t),a&&"object"===(0,l.default)(e)?e:null)]},[e])};var l=r(a(18698)),o=r(a(10434)),c=n(a(67294))},67312:function(e,t,a){var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(67294)),l=function(e,t){var a=r.useRef(!1);r.useEffect(function(){a.current?e():a.current=!0},t)};t.default=l},60057:function(e,t,a){a.d(t,{Z:function(){return y}});var n=a(4942),r=a(1413),l=a(97685),o=a(45987),c=a(67294),i=a(51169),u=a(94184),s=a.n(u),f={adjustX:1,adjustY:1},d=[0,0],p={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},v=a(15105),m=a(75164),h=a(88603),E=v.Z.ESC,M=v.Z.TAB,g=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],y=c.forwardRef(function(e,t){var a,u,f,d,v,y,k,b,C,F,O,w,x,L,N,A,S=e.arrow,_=void 0!==S&&S,P=e.prefixCls,j=void 0===P?"rc-dropdown":P,z=e.transitionName,R=e.animation,B=e.align,T=e.placement,D=e.placements,I=e.getPopupContainer,H=e.showAction,W=e.hideAction,Z=e.overlayClassName,V=e.overlayStyle,U=e.visible,K=e.trigger,G=void 0===K?["hover"]:K,Q=e.autoFocus,Y=(0,o.Z)(e,g),X=c.useState(),q=(0,l.Z)(X,2),J=q[0],$=q[1],ee="visible"in e?U:J,et=c.useRef(null);c.useImperativeHandle(t,function(){return et.current}),f=(u={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:Q}).visible,d=u.setTriggerVisible,v=u.triggerRef,y=u.onVisibleChange,k=u.autoFocus,b=c.useRef(!1),C=function(){if(f&&v.current){var e,t,a,n;null===(e=v.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(a=t.current)||void 0===a||null===(n=a.focus)||void 0===n||n.call(a),d(!1),"function"==typeof y&&y(!1)}},F=function(){var e,t,a,n,r=(0,h.tS)(null===(e=v.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(a=t.current)||void 0===a?void 0:null===(n=a.getElement)||void 0===n?void 0:n.call(a))[0];return null!=r&&!!r.focus&&(r.focus(),b.current=!0,!0)},O=function(e){switch(e.keyCode){case E:C();break;case M:var t=!1;b.current||(t=F()),t?e.preventDefault():C()}},c.useEffect(function(){return f?(window.addEventListener("keydown",O),k&&(0,m.Z)(F,3),function(){window.removeEventListener("keydown",O),b.current=!1}):function(){b.current=!1}},[f]);var ea=function(){var t=e.overlay;return"function"==typeof t?t():t},en=function(t){var a=e.onOverlayClick;$(!1),a&&a(t)},er=function(t){var a=e.onVisibleChange;$(t),"function"==typeof a&&a(t)},el=function(){var e=ea();return c.createElement(c.Fragment,null,_&&c.createElement("div",{className:"".concat(j,"-arrow")}),e)},eo=W;return eo||-1===G.indexOf("contextMenu")||(eo=["click"]),c.createElement(i.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===D?p:D},Y),{},{prefixCls:j,ref:et,popupClassName:s()(Z,(0,n.Z)({},"".concat(j,"-show-arrow"),_)),popupStyle:V,action:G,showAction:H,hideAction:eo||[],popupPlacement:void 0===T?"bottomLeft":T,popupAlign:B,popupTransitionName:z,popupAnimation:R,popupVisible:ee,stretch:(w=e.minOverlayWidthMatchTrigger,x=e.alignPoint,"minOverlayWidthMatchTrigger"in e?w:!x)?"minWidth":"",popup:"function"==typeof e.overlay?el:el(),onPopupVisibleChange:er,onPopupClick:en,getPopupContainer:I}),(N=(L=e.children).props?L.props:{},A=s()(N.className,void 0!==(a=e.openClassName)?a:"".concat(j,"-open")),ee&&L?c.cloneElement(L,{className:A}):L))})},24375:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.placements=void 0;var a={adjustX:1,adjustY:1},n=[0,0],r={left:{points:["cr","cl"],overflow:a,offset:[-4,0],targetOffset:n},right:{points:["cl","cr"],overflow:a,offset:[4,0],targetOffset:n},top:{points:["bc","tc"],overflow:a,offset:[0,-4],targetOffset:n},bottom:{points:["tc","bc"],overflow:a,offset:[0,4],targetOffset:n},topLeft:{points:["bl","tl"],overflow:a,offset:[0,-4],targetOffset:n},leftTop:{points:["tr","tl"],overflow:a,offset:[-4,0],targetOffset:n},topRight:{points:["br","tr"],overflow:a,offset:[0,-4],targetOffset:n},rightTop:{points:["tl","tr"],overflow:a,offset:[4,0],targetOffset:n},bottomRight:{points:["tr","br"],overflow:a,offset:[0,4],targetOffset:n},rightBottom:{points:["bl","br"],overflow:a,offset:[4,0],targetOffset:n},bottomLeft:{points:["tl","bl"],overflow:a,offset:[0,4],targetOffset:n},leftBottom:{points:["br","bl"],overflow:a,offset:[-4,0],targetOffset:n}};t.placements=r,t.default=r},45598:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.default.Children.forEach(t,function(t){(null!=t||a.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,l.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,a)):n.push(t))}),n};var r=n(a(67294)),l=a(11805)},3481:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)};var r=n(a(19158)),l=function(e){if((0,r.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],a=window.document.documentElement;return t.some(function(e){return e in a.style})}return!1},o=function(e,t){if(!l(e))return!1;var a=document.createElement("div"),n=a.style[e];return a.style[e]=t,a.style[e]!==n}},27712:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=a.F1&&t<=a.F12)return!1;switch(t){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a.ZERO&&e<=a.NINE||e>=a.NUM_ZERO&&e<=a.NUM_MULTIPLY||e>=a.A&&e<=a.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.default=a},18545:function(e,t,a){var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,a=arguments.length,n=Array(a),r=0;r=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],n=e.matchHandlers[a];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var e=this;Object.keys(o).forEach((function(t){var a=o[t],l=function(a){var l=a.matches;e.dispatch((0,r.Z)((0,r.Z)({},u),(0,n.Z)({},t,l)))},c=window.matchMedia(a);c.addListener(l),e.matchHandlers[a]={mql:c,listener:l},l(c)}))}};t.ZP=s},33859:function(e,t,a){a.d(t,{ZP:function(){return w}});var n=a(4942),r=a(89739),l=a(4340),o=a(21640),c=a(1413),i=a(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},s=a(42135),f=function(e,t){return i.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="WarningFilled";var d=i.forwardRef(f),p=a(94184),v=a.n(p),m=a(53124),h=function(){return i.createElement("svg",{width:"252",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .012)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),i.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),i.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),i.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),i.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),i.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),i.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),i.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),i.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),i.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),i.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),i.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),i.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),i.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),i.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),i.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),i.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),i.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),i.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),i.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),i.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),i.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),i.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),i.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),i.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),i.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),i.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),i.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),i.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),i.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),i.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),i.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),i.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),i.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),i.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},E=function(){return i.createElement("svg",{width:"254",height:"294"},i.createElement("defs",null,i.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),i.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(0 .067)"},i.createElement("mask",{fill:"#fff"}),i.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),i.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),i.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),i.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),i.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),i.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),i.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),i.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),i.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),i.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),i.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),i.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),i.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),i.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),i.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),i.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),i.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),i.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),i.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),i.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),i.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),i.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),i.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),i.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),i.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),i.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),i.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),i.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),i.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),i.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),i.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),i.createElement("mask",{fill:"#fff"}),i.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),i.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),i.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),i.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),i.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),i.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),i.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},M=function(){return i.createElement("svg",{width:"251",height:"294"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),i.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),i.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),i.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),i.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),i.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),i.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),i.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),i.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),i.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),i.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),i.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),i.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),i.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),i.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),i.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),i.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),i.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),i.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),i.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),i.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),i.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),i.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),i.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),i.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),i.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),i.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),i.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),i.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),i.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),i.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),i.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),i.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),i.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),i.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),i.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),i.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},g={success:r.Z,error:l.Z,info:o.Z,warning:d},y={404:h,500:E,403:M},k=Object.keys(y),b=function(e){var t=e.prefixCls,a=e.icon,n=e.status,r=v()("".concat(t,"-icon"));if(k.includes("".concat(n))){var l=y[n];return i.createElement("div",{className:"".concat(r," ").concat(t,"-image")},i.createElement(l,null))}var o=i.createElement(g[n]);return i.createElement("div",{className:r},a||o)},C=function(e){var t=e.prefixCls,a=e.extra;return a?i.createElement("div",{className:"".concat(t,"-extra")},a):null},F=function(e){var t=e.prefixCls,a=e.className,r=e.subTitle,l=e.title,o=e.style,c=e.children,u=e.status,s=void 0===u?"info":u,f=e.icon,d=e.extra,p=i.useContext(m.E_),h=p.getPrefixCls,E=p.direction,M=h("result",t),g=v()(M,"".concat(M,"-").concat(s),a,(0,n.Z)({},"".concat(M,"-rtl"),"rtl"===E));return i.createElement("div",{className:g,style:o},i.createElement(b,{prefixCls:M,status:s,icon:f}),i.createElement("div",{className:"".concat(M,"-title")},l),r&&i.createElement("div",{className:"".concat(M,"-subtitle")},r),i.createElement(C,{prefixCls:M,extra:d}),c&&i.createElement("div",{className:"".concat(M,"-content")},c))};F.PRESENTED_IMAGE_403=y[403],F.PRESENTED_IMAGE_404=y[404],F.PRESENTED_IMAGE_500=y[500];var w=F},45471:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=a(66764),r=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=r;var l=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=l},53683:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.getTransitionDirection=t.default=void 0;var n=function(){return{height:0,opacity:0}},r=function(e){return{height:e.scrollHeight,opacity:1}},l=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},o={motionName:"ant-motion-collapse",onAppearStart:n,onEnterStart:n,onAppearActive:r,onEnterActive:r,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:n,onAppearEnd:l,onEnterEnd:l,onLeaveEnd:l,motionDeadline:500};(0,a(66764).tuple)("bottomLeft","bottomRight","topLeft","topRight");t.getTransitionDirection=function(e){return void 0===e||"topLeft"!==e&&"topRight"!==e?"slide-up":"slide-down"};t.getTransitionName=function(e,t,a){return void 0!==a?a:"".concat(e,"-").concat(t)};var c=o;t.default=c},74132:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,a=void 0===t?4:t,n=e.horizontalArrowShift,o=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,f=e.autoAdjustOverflow,d=e.arrowPointAtCenter,p={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+a),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+a)]},topRight:{points:["br","tc"],offset:[o+a,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+a)]},bottomRight:{points:["tr","bc"],offset:[o+a,4]},rightBottom:{points:["bl","cr"],offset:[4,s+a]},bottomLeft:{points:["tl","bc"],offset:[-(o+a),4]},leftBottom:{points:["br","cl"],offset:[-4,s+a]}};return Object.keys(p).forEach((function(e){p[e]=d?(0,r.default)((0,r.default)({},p[e]),{overflow:u(f),targetOffset:i}):(0,r.default)((0,r.default)({},l.placements[e]),{overflow:u(f)}),p[e].ignoreShake=!0})),p},t.getOverflowOptions=u;var r=n(a(10434)),l=a(24375),o={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"===typeof e?e?o:c:(0,r.default)((0,r.default)({},c),e)}},47419:function(e,t,a){var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return o(e,e,t)},t.isFragment=function(e){return e&&l(e)&&e.type===r.Fragment},t.isValidElement=void 0,t.replaceElement=o;var r=n(a(67294)),l=r.isValidElement;function o(e,t,a){return l(e)?r.cloneElement(e,"function"===typeof a?a(e.props||{}):a):t}t.isValidElement=l},71434:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.getMergedStatus=void 0,t.getStatusClassNames=function(e,t,a){var n;return(0,l.default)((n={},(0,r.default)(n,"".concat(e,"-status-success"),"success"===t),(0,r.default)(n,"".concat(e,"-status-warning"),"warning"===t),(0,r.default)(n,"".concat(e,"-status-error"),"error"===t),(0,r.default)(n,"".concat(e,"-status-validating"),"validating"===t),(0,r.default)(n,"".concat(e,"-has-feedback"),a),n))};var r=n(a(38416)),l=n(a(94184));(0,a(66764).tuple)("warning","error","");t.getMergedStatus=function(e,t){return t||e}},38882:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return o.isStyleSupport}});var r,l=n(a(19158)),o=a(3481),c=function(){return(0,l.default)()&&window.document.documentElement};t.canUseDocElement=c;t.detectFlexGapSupported=function(){if(!c())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},60938:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(10434)),o=r(a(27712)),c=n(a(67294)),i=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);rn&&(r=t),r}var w=v.forwardRef((function(e,t){var a,n=e.prefixCls,r=e.bordered,w=void 0===r||r,O=e.showCount,x=void 0!==O&&O,L=e.maxLength,N=e.className,A=e.style,S=e.size,_=e.disabled,P=e.onCompositionStart,j=e.onCompositionEnd,z=e.onChange,R=e.status,B=b(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","status"]),T=v.useContext(m.ConfigContext),D=T.getPrefixCls,I=T.direction,H=v.useContext(E.default),W=v.useContext(h.default),Z=_||W,V=v.useContext(M.FormItemInputContext),U=V.status,K=V.hasFeedback,G=V.isFormItemInput,Q=V.feedbackIcon,Y=(0,g.getMergedStatus)(U,R),X=v.useRef(null),q=v.useRef(null),J=v.useState(!1),$=(0,i.default)(J,2),ee=$[0],te=$[1],ae=v.useRef(),ne=v.useRef(0),re=(0,d.default)(B.defaultValue,{value:B.value}),le=(0,i.default)(re,2),oe=le[0],ce=le[1],ie=B.hidden,ue=function(e,t){void 0===B.value&&(ce(e),null===t||void 0===t||t())},se=Number(L)>0,fe=D("input",n);v.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=X.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,a;(0,k.triggerFocus)(null===(a=null===(t=X.current)||void 0===t?void 0:t.resizableTextArea)||void 0===a?void 0:a.textArea,e)},blur:function(){var e;return null===(e=X.current)||void 0===e?void 0:e.blur()}}}));var de=v.createElement(f.default,(0,c.default)({},(0,p.default)(B,["allowClear"]),{disabled:Z,className:(0,s.default)((a={},(0,o.default)(a,"".concat(fe,"-borderless"),!w),(0,o.default)(a,N,N&&!x),(0,o.default)(a,"".concat(fe,"-sm"),"small"===H||"small"===S),(0,o.default)(a,"".concat(fe,"-lg"),"large"===H||"large"===S),a),(0,g.getStatusClassNames)(fe,Y)),style:x?{resize:null===A||void 0===A?void 0:A.resize}:A,prefixCls:fe,onCompositionStart:function(e){te(!0),ae.current=oe,ne.current=e.currentTarget.selectionStart,null===P||void 0===P||P(e)},onChange:function(e){var t=e.target.value;!ee&&se&&(t=F(e.target.selectionStart>=L+1||e.target.selectionStart===t.length||!e.target.selectionStart,oe,t,L));ue(t),(0,k.resolveOnChange)(e.currentTarget,e,z,t)},onCompositionEnd:function(e){var t;te(!1);var a=e.currentTarget.value;se&&(a=F(ne.current>=L+1||ne.current===(null===(t=ae.current)||void 0===t?void 0:t.length),ae.current,a,L));a!==oe&&(ue(a),(0,k.resolveOnChange)(e.currentTarget,e,z,a)),null===j||void 0===j||j(e)},ref:X})),pe=(0,k.fixControlledValue)(oe);ee||!se||null!==B.value&&void 0!==B.value||(pe=C(pe,L));var ve=v.createElement(y.default,(0,c.default)({disabled:Z},B,{prefixCls:fe,direction:I,inputType:"text",value:pe,element:de,handleReset:function(e){var t,a,n;ue(""),null===(t=X.current)||void 0===t||t.focus(),(0,k.resolveOnChange)(null===(n=null===(a=X.current)||void 0===a?void 0:a.resizableTextArea)||void 0===n?void 0:n.textArea,e,z)},ref:q,bordered:w,status:R,style:x?void 0:A}));if(x||K){var me,he=(0,u.default)(pe).length,Ee="";return Ee="object"===(0,l.default)(x)?x.formatter({value:pe,count:he,maxLength:L}):"".concat(he).concat(se?" / ".concat(L):""),v.createElement("div",{hidden:ie,className:(0,s.default)("".concat(fe,"-textarea"),(me={},(0,o.default)(me,"".concat(fe,"-textarea-rtl"),"rtl"===I),(0,o.default)(me,"".concat(fe,"-textarea-show-count"),x),(0,o.default)(me,"".concat(fe,"-textarea-in-form-item"),G),me),(0,g.getStatusClassNames)("".concat(fe,"-textarea"),Y,K),N),style:A,"data-count":Ee},ve,K&&v.createElement("span",{className:"".concat(fe,"-textarea-suffix")},Q))}return ve}));t.default=w},81722:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var a=(0,n.useRef)([]),r=function(){a.current.push(window.setTimeout((function(){var t,a,n,r;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(a=e.current)||void 0===a?void 0:a.input.getAttribute("type"))&&(null===(n=e.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(r=e.current)||void 0===r||r.input.removeAttribute("value"))})))};return(0,n.useEffect)((function(){return t&&r(),function(){return a.current.forEach((function(e){return window.clearTimeout(e)}))}}),[]),r};var n=a(67294)},36714:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)}},94055:function(e,t,a){var n=a(75263).default,r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(a(38416)),o=r(a(27424)),c=r(a(10434)),i=r(a(94184)),u=r(a(43763)),s=r(a(60869)),f=n(a(67294)),d=a(31929),p=a(45471),v=a(53683),m=r(a(74132)),h=a(47419),E=(r(a(13594)),function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);rt){var c=t-a;return n.push(String(l).slice(0,c)),n}n.push(l),a=o}return e}var p=function(e){var t=e.enabledMeasure,a=e.children,n=e.text,r=e.width,c=e.fontSize,p=e.rows,v=e.onEllipsis,m=s.useState([0,0,0]),h=(0,o.default)(m,2),E=h[0],M=h[1],g=s.useState(0),y=(0,o.default)(g,2),k=y[0],b=y[1],C=(0,o.default)(E,3),F=C[0],w=C[1],O=C[2],x=s.useState(0),L=(0,o.default)(x,2),N=L[0],A=L[1],S=s.useRef(null),_=s.useRef(null),P=s.useMemo((function(){return(0,i.default)(n)}),[n]),j=s.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){f(e)?t+=String(e).length:t+=1})),t}(P)}),[P]),z=s.useMemo((function(){return t&&3===k?a(d(P,w),w1&&et,rt=function(e){var t;Pe(!0),null===(t=Ye.onExpand)||void 0===t||t.call(Ye,e)},lt=y.useState(0),ot=(0,i.default)(lt,2),ct=ot[0],it=ot[1],ut=y.useState(0),st=(0,i.default)(ut,2),ft=st[0],dt=st[1],pt=function(e){var t;Be(e),Re!==e&&(null===(t=Ye.onEllipsis)||void 0===t||t.call(Ye,e))};y.useEffect((function(){var e=Q.current;if(Qe&&et&&e){var t=nt?e.offsetHeight1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.default.Children.forEach(t,(function(t){(void 0!==t&&null!==t||a.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,l.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,a)):n.push(t))})),n};var r=n(a(67294)),l=a(11805)},3481:function(e,t,a){var n=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){if(!Array.isArray(e)&&void 0!==t)return function(e,t){if(!l(e))return!1;var a=document.createElement("div"),n=a.style[e];return a.style[e]=t,a.style[e]!==n}(e,t);return l(e)};var r=n(a(19158)),l=function(e){if((0,r.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],a=window.document.documentElement;return t.some((function(e){return e in a.style}))}return!1}},27712:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=a.F1&&t<=a.F12)return!1;switch(t){case a.ALT:case a.CAPS_LOCK:case a.CONTEXT_MENU:case a.CTRL:case a.DOWN:case a.END:case a.ESC:case a.HOME:case a.INSERT:case a.LEFT:case a.MAC_FF_META:case a.META:case a.NUMLOCK:case a.NUM_CENTER:case a.PAGE_DOWN:case a.PAGE_UP:case a.PAUSE:case a.PRINT_SCREEN:case a.RIGHT:case a.SHIFT:case a.UP:case a.WIN_KEY:case a.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=a.ZERO&&e<=a.NINE)return!0;if(e>=a.NUM_ZERO&&e<=a.NUM_MULTIPLY)return!0;if(e>=a.A&&e<=a.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case a.SPACE:case a.QUESTION_MARK:case a.NUM_PLUS:case a.NUM_MINUS:case a.NUM_PERIOD:case a.NUM_DIVISION:case a.SEMICOLON:case a.DASH:case a.EQUALS:case a.COMMA:case a.PERIOD:case a.SLASH:case a.APOSTROPHE:case a.SINGLE_QUOTE:case a.OPEN_SQUARE_BRACKET:case a.BACKSLASH:case a.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},n=a;t.default=n},18545:function(e,t,a){var n=a(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.useRef();t.current=e;var a=r.useCallback((function(){for(var e,a=arguments.length,n=new Array(a),r=0;r!@'\\\\]"),i=RegExp("^[\\(\\[\\{\\},:=;\\.]"),o=RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),c=RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=RegExp("^((>>=)|(<<=))"),s=RegExp("^[\\]\\)]"),u=RegExp("^[_A-Za-z\xa1-￿][_A-Za-z0-9\xa1-￿]*"),l=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),f=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function p(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=d,d(e,n)):(e.next(),n.tokenize=d,"operator")}function h(e,n){return e.match(/^.*%}/)?(n.tokenize=d,"comment"):(e.skipToEnd(),"comment")}function d(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=h,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=d,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var t=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return t?t[1]?"string":"error":e.match(f)?"keyword":e.match(l)?"builtin":e.match(u)?"variable":e.match(a)||e.match(o)?"operator":e.match(i)||e.match(c)||e.match(m)?null:e.match(s)?(n.tokenize=p,null):(e.next(),"error")}let k={name:"octave",startState:function(){return{tokenize:d}},token:function(e,n){var t=n.tokenize(e,n);return("number"===t||"variable"===t)&&(n.tokenize=p),t},languageData:{commentTokens:{line:"%"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3283.d6db094387112b8f.js b/static/web/_next/static/chunks/3283.d6db094387112b8f.js deleted file mode 100644 index 7ea4b3cba..000000000 --- a/static/web/_next/static/chunks/3283.d6db094387112b8f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3283],{33283:function(e,n,t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}t.r(n),t.d(n,{octave:function(){return k}});var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),a=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),o=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),c=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),s=new RegExp("^[\\]\\)]"),u=new RegExp("^[_A-Za-z\xa1-\uffff][_A-Za-z0-9\xa1-\uffff]*"),l=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),f=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function p(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=d,d(e,n)):(e.next(),n.tokenize=d,"operator")}function h(e,n){return e.match(/^.*%}/)?(n.tokenize=d,"comment"):(e.skipToEnd(),"comment")}function d(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=h,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=d,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var t=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return t?t[1]?"string":"error":e.match(f)?"keyword":e.match(l)?"builtin":e.match(u)?"variable":e.match(i)||e.match(o)?"operator":e.match(a)||e.match(c)||e.match(m)?null:e.match(s)?(n.tokenize=p,null):(e.next(),"error")}const k={name:"octave",startState:function(){return{tokenize:d}},token:function(e,n){var t=n.tokenize(e,n);return"number"!==t&&"variable"!==t||(n.tokenize=p),t},languageData:{commentTokens:{line:"%"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3286-a15aa91d3d2fc97f.js b/static/web/_next/static/chunks/3286-a15aa91d3d2fc97f.js deleted file mode 100644 index b0c4eb65f..000000000 --- a/static/web/_next/static/chunks/3286-a15aa91d3d2fc97f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3286],{54907:function(e,n,t){t.d(n,{Z:function(){return T}});var o=t(87462),a=t(4942),r=t(18073),l=t(94184),i=t.n(l),c=t(74902),s=t(15671),d=t(43144),p=t(60136),u=t(33643),v=t(71002),f=t(67294),m=t(96774),y=t.n(m),C=t(50344),h=t(62874),Z=t(97685),x=f.forwardRef((function(e,n){var t,o=e.prefixCls,r=e.forceRender,l=e.className,c=e.style,s=e.children,d=e.isActive,p=e.role,u=f.useState(d||r),v=(0,Z.Z)(u,2),m=v[0],y=v[1];return f.useEffect((function(){(r||d)&&y(!0)}),[r,d]),m?f.createElement("div",{ref:n,className:i()("".concat(o,"-content"),(t={},(0,a.Z)(t,"".concat(o,"-content-active"),d),(0,a.Z)(t,"".concat(o,"-content-inactive"),!d),t),l),style:c,role:p},f.createElement("div",{className:"".concat(o,"-content-box")},s)):null}));x.displayName="PanelContent";var b=x,k=function(e){(0,p.Z)(t,e);var n=(0,u.Z)(t);function t(){var e;(0,s.Z)(this,t);for(var o=arguments.length,a=new Array(o),r=0;r-1?n.splice(t,1):n.push(e)}o.setActiveKey(n)},o.getNewChild=function(e,n){if(!e)return null;var t=o.state.activeKey,a=o.props,r=a.prefixCls,l=a.openMotion,i=a.accordion,c=a.destroyInactivePanel,s=a.expandIcon,d=a.collapsible,p=e.key||String(n),u=e.props,v=u.header,m=u.headerClass,y=u.destroyInactivePanel,C=u.collapsible,h=null!==C&&void 0!==C?C:d,Z={key:p,panelKey:p,header:v,headerClass:m,isActive:i?t[0]===p:t.indexOf(p)>-1,prefixCls:r,destroyInactivePanel:null!==y&&void 0!==y?y:c,openMotion:l,accordion:i,children:e.props.children,onItemClick:"disabled"===h?null:o.onClickItem,expandIcon:s,collapsible:h};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),f.cloneElement(e,Z))},o.getItems=function(){var e=o.props.children;return(0,C.Z)(e).map(o.getNewChild)},o.setActiveKey=function(e){"activeKey"in o.props||o.setState({activeKey:e}),o.props.onChange(o.props.accordion?e[0]:e)};var a=e.activeKey,r=e.defaultActiveKey;return"activeKey"in e&&(r=a),o.state={activeKey:N(r)},o}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!y()(this.props,e)||!y()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,o=n.className,r=n.style,l=n.accordion,c=i()((e={},(0,a.Z)(e,t,!0),(0,a.Z)(e,o,!!o),e));return f.createElement("div",{className:c,style:r,role:l?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=N(e.activeKey)),n}}]),t}(f.Component);g.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},g.Panel=E;var P=g,I=(g.Panel,t(98423)),w=t(53124),K=t(33603),O=t(96159),A=function(e){var n,t=f.useContext(w.E_),l=t.getPrefixCls,c=t.direction,s=e.prefixCls,d=e.className,p=void 0===d?"":d,u=e.bordered,v=void 0===u||u,m=e.ghost,y=e.expandIconPosition,h=void 0===y?"start":y,Z=l("collapse",s),x=f.useMemo((function(){return"left"===h?"start":"right"===h?"end":h}),[h]),b=i()("".concat(Z,"-icon-position-").concat(x),(n={},(0,a.Z)(n,"".concat(Z,"-borderless"),!v),(0,a.Z)(n,"".concat(Z,"-rtl"),"rtl"===c),(0,a.Z)(n,"".concat(Z,"-ghost"),!!m),n),p),k=(0,o.Z)((0,o.Z)({},K.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return f.createElement(P,(0,o.Z)({openMotion:k},e,{expandIcon:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,o=t?t(n):f.createElement(r.Z,{rotate:n.isActive?90:void 0});return(0,O.Tm)(o,(function(){return{className:i()(o.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:b}),function(){var n=e.children;return(0,C.Z)(n).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var a=e.key||String(n),r=e.props,l=r.disabled,i=r.collapsible,c=(0,o.Z)((0,o.Z)({},(0,I.Z)(e.props,["disabled"])),{key:a,collapsible:null!==i&&void 0!==i?i:l?"disabled":void 0});return(0,O.Tm)(e,c)}return e}))}())};A.Panel=function(e){var n=f.useContext(w.E_).getPrefixCls,t=e.prefixCls,r=e.className,l=void 0===r?"":r,c=e.showArrow,s=void 0===c||c,d=n("collapse",t),p=i()((0,a.Z)({},"".concat(d,"-no-arrow"),!s),l);return f.createElement(P.Panel,(0,o.Z)({},e,{prefixCls:d,className:p}))};var T=A},65360:function(e,n,t){t.d(n,{Z:function(){return E}});var o=t(87462),a=t(97685),r=t(21640),l=t(94184),i=t.n(l),c=t(21770),s=t(15105),d=t(67294),p=t(53124),u=t(55241),v=t(96159),f=t(71577),m=t(6134),y=t(86743),C=t(23715),h=t(6213),Z=t(81643),x=function(e){var n=e.prefixCls,t=e.okButtonProps,a=e.cancelButtonProps,r=e.title,l=e.cancelText,i=e.okText,c=e.okType,s=e.icon,u=e.showCancel,v=void 0===u||u,x=e.close,b=e.onConfirm,k=e.onCancel,E=d.useContext(p.E_).getPrefixCls;return d.createElement(C.Z,{componentName:"Popconfirm",defaultLocale:h.Z.Popconfirm},(function(e){return d.createElement("div",{className:"".concat(n,"-inner-content")},d.createElement("div",{className:"".concat(n,"-message")},s,d.createElement("div",{className:"".concat(n,"-message-title")},(0,Z.Z)(r))),d.createElement("div",{className:"".concat(n,"-buttons")},v&&d.createElement(f.Z,(0,o.Z)({onClick:k,size:"small"},a),null!==l&&void 0!==l?l:e.cancelText),d.createElement(y.Z,{buttonProps:(0,o.Z)((0,o.Z)({size:"small"},(0,m.n)(c)),t),actionFn:b,close:x,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},null!==i&&void 0!==i?i:e.okText)))}))},b=void 0,k=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a-1?n.splice(t,1):n.push(e)}o.setActiveKey(n)},o.getNewChild=function(e,n){if(!e)return null;var t=o.state.activeKey,a=o.props,r=a.prefixCls,l=a.openMotion,c=a.accordion,i=a.destroyInactivePanel,s=a.expandIcon,d=a.collapsible,p=e.key||String(n),u=e.props,v=u.header,m=u.headerClass,y=u.destroyInactivePanel,C=u.collapsible,h=!1;h=c?t[0]===p:t.indexOf(p)>-1;var Z=null!=C?C:d,x={key:p,panelKey:p,header:v,headerClass:m,isActive:h,prefixCls:r,destroyInactivePanel:null!=y?y:i,openMotion:l,accordion:c,children:e.props.children,onItemClick:"disabled"===Z?null:o.onClickItem,expandIcon:s,collapsible:Z};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),f.cloneElement(e,x))},o.getItems=function(){var e=o.props.children;return(0,C.Z)(e).map(o.getNewChild)},o.setActiveKey=function(e){"activeKey"in o.props||o.setState({activeKey:e}),o.props.onChange(o.props.accordion?e[0]:e)};var o,a=e.activeKey,r=e.defaultActiveKey;return"activeKey"in e&&(r=a),o.state={activeKey:k(r)},o}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!y()(this.props,e)||!y()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,o=n.className,r=n.style,l=n.accordion,i=c()((e={},(0,a.Z)(e,t,!0),(0,a.Z)(e,o,!!o),e));return f.createElement("div",{className:i,style:r,role:l?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=k(e.activeKey)),n}}]),t}(f.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=b,E.Panel;var N=t(98423),g=t(53124),P=t(33603),I=t(96159),w=function(e){var n=f.useContext(g.E_).getPrefixCls,t=e.prefixCls,r=e.className,l=e.showArrow,i=n("collapse",t),s=c()((0,a.Z)({},"".concat(i,"-no-arrow"),!(void 0===l||l)),void 0===r?"":r);return f.createElement(E.Panel,(0,o.Z)({},e,{prefixCls:i,className:s}))},K=function(e){var n,t,l=f.useContext(g.E_),i=l.getPrefixCls,s=l.direction,d=e.prefixCls,p=e.className,u=e.bordered,v=e.ghost,m=e.expandIconPosition,y=void 0===m?"start":m,h=i("collapse",d),Z=f.useMemo(function(){return"left"===y?"start":"right"===y?"end":y},[y]),x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,o=t?t(n):f.createElement(r.Z,{rotate:n.isActive?90:void 0});return(0,I.Tm)(o,function(){return{className:c()(o.props.className,"".concat(h,"-arrow"))}})},b=c()("".concat(h,"-icon-position-").concat(Z),(t={},(0,a.Z)(t,"".concat(h,"-borderless"),!(void 0===u||u)),(0,a.Z)(t,"".concat(h,"-rtl"),"rtl"===s),(0,a.Z)(t,"".concat(h,"-ghost"),!!v),t),void 0===p?"":p),k=(0,o.Z)((0,o.Z)({},P.ZP),{motionAppear:!1,leavedClassName:"".concat(h,"-content-hidden")});return f.createElement(E,(0,o.Z)({openMotion:k},e,{expandIcon:x,prefixCls:h,className:b}),(n=e.children,(0,C.Z)(n).map(function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var a=e.key||String(n),r=e.props,l=r.disabled,c=r.collapsible,i=(0,o.Z)((0,o.Z)({},(0,N.Z)(e.props,["disabled"])),{key:a,collapsible:null!=c?c:l?"disabled":void 0});return(0,I.Tm)(e,i)}return e})))};K.Panel=w;var O=K},65360:function(e,n,t){t.d(n,{Z:function(){return E}});var o=t(87462),a=t(97685),r=t(21640),l=t(94184),c=t.n(l),i=t(21770),s=t(15105),d=t(67294),p=t(53124),u=t(55241),v=t(96159),f=t(71577),m=t(6134),y=t(86743),C=t(23715),h=t(6213),Z=t(81643),x=function(e){var n=e.prefixCls,t=e.okButtonProps,a=e.cancelButtonProps,r=e.title,l=e.cancelText,c=e.okText,i=e.okType,s=e.icon,u=e.showCancel,v=void 0===u||u,x=e.close,b=e.onConfirm,k=e.onCancel,E=d.useContext(p.E_).getPrefixCls;return d.createElement(C.Z,{componentName:"Popconfirm",defaultLocale:h.Z.Popconfirm},function(e){return d.createElement("div",{className:"".concat(n,"-inner-content")},d.createElement("div",{className:"".concat(n,"-message")},s,d.createElement("div",{className:"".concat(n,"-message-title")},(0,Z.Z)(r))),d.createElement("div",{className:"".concat(n,"-buttons")},v&&d.createElement(f.Z,(0,o.Z)({onClick:k,size:"small"},a),null!=l?l:e.cancelText),d.createElement(y.Z,{buttonProps:(0,o.Z)((0,o.Z)({size:"small"},(0,m.n)(i)),t),actionFn:b,close:x,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},null!=c?c:e.okText)))})},b=void 0,k=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>n.indexOf(o)&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,o=Object.getOwnPropertySymbols(e);an.indexOf(o[a])&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(t[o[a]]=e[o[a]]);return t},E=d.forwardRef(function(e,n){var t=d.useContext(p.E_).getPrefixCls,l=(0,i.Z)(!1,{value:void 0!==e.open?e.open:e.visible,defaultValue:void 0!==e.defaultOpen?e.defaultOpen:e.defaultVisible}),f=(0,a.Z)(l,2),m=f[0],y=f[1],C=function(n,t){var o,a;y(n,!0),null===(o=e.onVisibleChange)||void 0===o||o.call(e,n,t),null===(a=e.onOpenChange)||void 0===a||a.call(e,n,t)},h=function(e){C(!1,e)},Z=function(n){var t;return null===(t=e.onConfirm)||void 0===t?void 0:t.call(b,n)},E=function(n){var t;C(!1,n),null===(t=e.onCancel)||void 0===t||t.call(b,n)},N=function(e){e.keyCode===s.Z.ESC&&m&&C(!1,e)},g=function(n){var t=e.disabled;void 0!==t&&t||C(n)},P=e.prefixCls,I=e.placement,w=e.trigger,K=e.okType,O=e.icon,A=void 0===O?d.createElement(r.Z,null):O,T=e.children,S=e.overlayClassName,_=k(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName"]),R=t("popover",P),j=t("popconfirm",P),M=c()(j,S);return d.createElement(u.Z,(0,o.Z)({},_,{trigger:void 0===w?"click":w,prefixCls:R,placement:void 0===I?"top":I,onOpenChange:g,open:m,ref:n,overlayClassName:M,_overlay:d.createElement(x,(0,o.Z)({okType:void 0===K?"primary":K,icon:A},e,{prefixCls:R,close:h,onConfirm:Z,onCancel:E}))}),(0,v.Tm)(T,{onKeyDown:function(e){var n,t;d.isValidElement(T)&&(null===(t=null==T?void 0:(n=T.props).onKeyDown)||void 0===t||t.call(n,e)),N(e)}}))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3314.141e2dca41748fac.js b/static/web/_next/static/chunks/3314.141e2dca41748fac.js new file mode 100644 index 000000000..84a6394b9 --- /dev/null +++ b/static/web/_next/static/chunks/3314.141e2dca41748fac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3314],{43314:function(_,I,R){R.r(I),R.d(I,{ntriples:function(){return e}});var n={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function t(_,I){var R,t=_.location;R=t==n.PRE_SUBJECT&&"<"==I?n.WRITING_SUB_URI:t==n.PRE_SUBJECT&&"_"==I?n.WRITING_BNODE_URI:t==n.PRE_PRED&&"<"==I?n.WRITING_PRED_URI:t==n.PRE_OBJ&&"<"==I?n.WRITING_OBJ_URI:t==n.PRE_OBJ&&"_"==I?n.WRITING_OBJ_BNODE:t==n.PRE_OBJ&&'"'==I?n.WRITING_OBJ_LITERAL:t==n.WRITING_SUB_URI&&">"==I?n.PRE_PRED:t==n.WRITING_BNODE_URI&&" "==I?n.PRE_PRED:t==n.WRITING_PRED_URI&&">"==I?n.PRE_OBJ:t==n.WRITING_OBJ_URI&&">"==I?n.POST_OBJ:t==n.WRITING_OBJ_BNODE&&" "==I?n.POST_OBJ:t==n.WRITING_OBJ_LITERAL&&'"'==I?n.POST_OBJ:t==n.WRITING_LIT_LANG&&" "==I?n.POST_OBJ:t==n.WRITING_LIT_TYPE&&">"==I?n.POST_OBJ:t==n.WRITING_OBJ_LITERAL&&"@"==I?n.WRITING_LIT_LANG:t==n.WRITING_OBJ_LITERAL&&"^"==I?n.WRITING_LIT_TYPE:" "==I&&(t==n.PRE_SUBJECT||t==n.PRE_PRED||t==n.PRE_OBJ||t==n.POST_OBJ)?t:t==n.POST_OBJ&&"."==I?n.PRE_SUBJECT:n.ERROR,_.location=R}let e={name:"ntriples",startState:function(){return{location:n.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(_,I){var R=_.next();if("<"==R){t(I,R);var n="";return _.eatWhile(function(_){return"#"!=_&&">"!=_&&(n+=_,!0)}),I.uris.push(n),_.match("#",!1)||(_.next(),t(I,">")),"variable"}if("#"==R){var e="";return _.eatWhile(function(_){return">"!=_&&" "!=_&&(e+=_,!0)}),I.anchors.push(e),"url"}if(">"==R)return t(I,">"),"variable";if("_"==R){t(I,R);var T="";return _.eatWhile(function(_){return" "!=_&&(T+=_,!0)}),I.bnodes.push(T),_.next(),t(I," "),"builtin"}if('"'==R)return t(I,R),_.eatWhile(function(_){return'"'!=_}),_.next(),"@"!=_.peek()&&"^"!=_.peek()&&t(I,'"'),"string";if("@"==R){t(I,"@");var r="";return _.eatWhile(function(_){return" "!=_&&(r+=_,!0)}),I.langs.push(r),_.next(),t(I," "),"string.special"}if("^"==R){_.next(),t(I,"^");var E="";return _.eatWhile(function(_){return">"!=_&&(E+=_,!0)}),I.types.push(E),_.next(),t(I,">"),"variable"}" "==R&&t(I,R),"."==R&&t(I,R)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3314.fb64c6c3e1a93126.js b/static/web/_next/static/chunks/3314.fb64c6c3e1a93126.js deleted file mode 100644 index 2c014fffb..000000000 --- a/static/web/_next/static/chunks/3314.fb64c6c3e1a93126.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3314],{43314:function(n,t,e){e.r(t),e.d(t,{ntriples:function(){return x}});var r=0,i=1,u=2,a=3,s=4,o=5,c=6,l=7,f=8,h=9,p=10,v=11,b=12;function k(n,t){var e,k=n.location;e=k==r&&"<"==t?i:k==r&&"_"==t?u:k==a&&"<"==t?s:k==o&&"<"==t?c:k==o&&"_"==t?l:k==o&&'"'==t?f:k==i&&">"==t||k==u&&" "==t?a:k==s&&">"==t?o:k==c&&">"==t||k==l&&" "==t||k==f&&'"'==t||k==h&&" "==t||k==p&&">"==t?v:k==f&&"@"==t?h:k==f&&"^"==t?p:" "!=t||k!=r&&k!=a&&k!=o&&k!=v?k==v&&"."==t?r:b:k,n.location=e}const x={name:"ntriples",startState:function(){return{location:r,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(n,t){var e=n.next();if("<"==e){k(t,e);var r="";return n.eatWhile((function(n){return"#"!=n&&">"!=n&&(r+=n,!0)})),t.uris.push(r),n.match("#",!1)?"variable":(n.next(),k(t,">"),"variable")}if("#"==e){var i="";return n.eatWhile((function(n){return">"!=n&&" "!=n&&(i+=n,!0)})),t.anchors.push(i),"url"}if(">"==e)return k(t,">"),"variable";if("_"==e){k(t,e);var u="";return n.eatWhile((function(n){return" "!=n&&(u+=n,!0)})),t.bnodes.push(u),n.next(),k(t," "),"builtin"}if('"'==e)return k(t,e),n.eatWhile((function(n){return'"'!=n})),n.next(),"@"!=n.peek()&&"^"!=n.peek()&&k(t,'"'),"string";if("@"==e){k(t,"@");var a="";return n.eatWhile((function(n){return" "!=n&&(a+=n,!0)})),t.langs.push(a),n.next(),k(t," "),"string.special"}if("^"==e){n.next(),k(t,"^");var s="";return n.eatWhile((function(n){return">"!=n&&(s+=n,!0)})),t.types.push(s),n.next(),k(t,">"),"variable"}" "==e&&k(t,e),"."==e&&k(t,e)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3465.77dee7ec6cc7e947.js b/static/web/_next/static/chunks/3465.77dee7ec6cc7e947.js new file mode 100644 index 000000000..86d68c8d8 --- /dev/null +++ b/static/web/_next/static/chunks/3465.77dee7ec6cc7e947.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3465],{43465:function(e,r,t){function n(e){for(var r={},t=e.split(" "),n=0;n!?^\/\|]/;function l(e,r,t){return r.tokenize=t,t(e,r)}function u(e,r){var t=r.beforeParams;r.beforeParams=!1;var n=e.next();if(('"'==n||"'"==n)&&r.inParams)return l(e,r,function(e,r){for(var t,a=!1,o=!1;null!=(t=e.next());){if(t==n&&!a){o=!0;break}a=!a&&"\\"==t}return o&&(r.tokenize=u),"string"});if(/[\[\]{}\(\),;\.]/.test(n))return"("==n&&t?r.inParams=!0:")"==n&&(r.inParams=!1),null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("#"==n)return e.eat("*")?l(e,r,f):"#"==n&&e.match(/ *\[ *\[/)?l(e,r,s):(e.skipToEnd(),"comment");if('"'==n)return e.skipTo(/"/),"comment";if("$"==n)return e.eatWhile(/[$_a-z0-9A-Z\.{:]/),e.eatWhile(/}/),r.beforeParams=!0,"builtin";if(i.test(n))return e.eatWhile(i),"comment";e.eatWhile(/[\w\$_{}\xa1-\uffff]/);var c=e.current().toLowerCase();return a&&a.propertyIsEnumerable(c)?"keyword":o&&o.propertyIsEnumerable(c)?(r.beforeParams=!0,"keyword"):null}function f(e,r){for(var t,n=!1;t=e.next();){if("#"==t&&n){r.tokenize=u;break}n="*"==t}return"comment"}function s(e,r){for(var t,n=0;t=e.next();){if("#"==t&&2==n){r.tokenize=u;break}"]"==t?n++:" "!=t&&(n=0)}return"meta"}let c={name:"tcl",startState:function(){return{tokenize:u,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3465.ed8411e98f832659.js b/static/web/_next/static/chunks/3465.ed8411e98f832659.js deleted file mode 100644 index 05f355906..000000000 --- a/static/web/_next/static/chunks/3465.ed8411e98f832659.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3465],{43465:function(e,r,t){function n(e){for(var r={},t=e.split(" "),n=0;n!?^\/\|]/;function l(e,r,t){return r.tokenize=t,t(e,r)}function s(e,r){var t=r.beforeParams;r.beforeParams=!1;var n,f=e.next();if('"'!=f&&"'"!=f||!r.inParams){if(/[\[\]{}\(\),;\.]/.test(f))return"("==f&&t?r.inParams=!0:")"==f&&(r.inParams=!1),null;if(/\d/.test(f))return e.eatWhile(/[\w\.]/),"number";if("#"==f)return e.eat("*")?l(e,r,u):"#"==f&&e.match(/ *\[ *\[/)?l(e,r,c):(e.skipToEnd(),"comment");if('"'==f)return e.skipTo(/"/),"comment";if("$"==f)return e.eatWhile(/[$_a-z0-9A-Z\.{:]/),e.eatWhile(/}/),r.beforeParams=!0,"builtin";if(i.test(f))return e.eatWhile(i),"comment";e.eatWhile(/[\w\$_{}\xa1-\uffff]/);var m=e.current().toLowerCase();return a&&a.propertyIsEnumerable(m)?"keyword":o&&o.propertyIsEnumerable(m)?(r.beforeParams=!0,"keyword"):null}return l(e,r,(n=f,function(e,r){for(var t,a=!1,o=!1;null!=(t=e.next());){if(t==n&&!a){o=!0;break}a=!a&&"\\"==t}return o&&(r.tokenize=s),"string"}))}function u(e,r){for(var t,n=!1;t=e.next();){if("#"==t&&n){r.tokenize=s;break}n="*"==t}return"comment"}function c(e,r){for(var t,n=0;t=e.next();){if("#"==t&&2==n){r.tokenize=s;break}"]"==t?n++:" "!=t&&(n=0)}return"meta"}const f={name:"tcl",startState:function(){return{tokenize:s,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3482.da84fa2799b498e2.js b/static/web/_next/static/chunks/3482.f8558073446e8bd9.js similarity index 65% rename from static/web/_next/static/chunks/3482.da84fa2799b498e2.js rename to static/web/_next/static/chunks/3482.f8558073446e8bd9.js index adb7deb1a..7fd6c9334 100644 --- a/static/web/_next/static/chunks/3482.da84fa2799b498e2.js +++ b/static/web/_next/static/chunks/3482.f8558073446e8bd9.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3482],{33482:function(O,T,E){function N(O){for(var T={},E=O.split(" "),N=0;N=&?:\/!|]/;function r(O,T,E){return T.tokenize=E,E(O,T)}function n(O,T){for(var E,N=!1;E=O.next();){if("/"==E&&N){T.tokenize=U;break}N="*"==E}return"comment"}function U(O,T){var E,N=O.next();return'"'==N||"'"==N?r(O,T,(E=N,function(O,T){for(var N,I=!1,e=!1;null!=(N=O.next());){if(N==E&&!I){e=!0;break}I=!I&&"\\"==N}return!e&&I||(T.tokenize=U),"error"})):/[\[\]{}\(\),;\.]/.test(N)?null:/\d/.test(N)?(O.eatWhile(/[\w\.]/),"number"):"/"==N?O.eat("*")?r(O,T,n):(O.eatWhile(L),"operator"):"-"==N?O.eat("-")?(O.skipToEnd(),"comment"):(O.eatWhile(L),"operator"):L.test(N)?(O.eatWhile(L),"operator"):(O.eatWhile(/[\w\$_]/),S&&S.propertyIsEnumerable(O.current().toUpperCase())&&!O.eat(")")&&!O.eat(".")?"keyword":R&&R.propertyIsEnumerable(O.current().toUpperCase())?"builtin":t&&t.propertyIsEnumerable(O.current().toUpperCase())?"type":"variable")}const C={name:"pig",startState:function(){return{tokenize:U,startOfLine:!0}},token:function(O,T){return O.eatSpace()?null:T.tokenize(O,T)},languageData:{autocomplete:(I+A+e).split(" ")}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3482],{33482:function(O,T,E){function N(O){for(var T={},E=O.split(" "),N=0;N=&?:\/!|]/;function r(O,T,E){return T.tokenize=E,E(O,T)}function n(O,T){for(var E,N=!1;E=O.next();){if("/"==E&&N){T.tokenize=U;break}N="*"==E}return"comment"}function U(O,T){var E=O.next();return'"'==E||"'"==E?r(O,T,function(O,T){for(var N,I=!1,e=!1;null!=(N=O.next());){if(N==E&&!I){e=!0;break}I=!I&&"\\"==N}return(e||!I)&&(T.tokenize=U),"error"}):/[\[\]{}\(\),;\.]/.test(E)?null:/\d/.test(E)?(O.eatWhile(/[\w\.]/),"number"):"/"==E?O.eat("*")?r(O,T,n):(O.eatWhile(L),"operator"):"-"==E?O.eat("-")?(O.skipToEnd(),"comment"):(O.eatWhile(L),"operator"):L.test(E)?(O.eatWhile(L),"operator"):(O.eatWhile(/[\w\$_]/),S&&S.propertyIsEnumerable(O.current().toUpperCase())&&!O.eat(")")&&!O.eat("."))?"keyword":R&&R.propertyIsEnumerable(O.current().toUpperCase())?"builtin":t&&t.propertyIsEnumerable(O.current().toUpperCase())?"type":"variable"}let C={name:"pig",startState:function(){return{tokenize:U,startOfLine:!0}},token:function(O,T){return O.eatSpace()?null:T.tokenize(O,T)},languageData:{autocomplete:(I+A+e).split(" ")}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3509.553ed549af93ffa1.js b/static/web/_next/static/chunks/3509.553ed549af93ffa1.js new file mode 100644 index 000000000..d83a58ad1 --- /dev/null +++ b/static/web/_next/static/chunks/3509.553ed549af93ffa1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3509],{63509:function(e,t,n){function r(e){return{type:e,style:"keyword"}}n.r(t),n.d(t,{haxe:function(){return et},hxml:function(){return en}});var i,a,o=r("keyword a"),u=r("keyword b"),l=r("keyword c"),c=r("operator"),f={type:"atom",style:"atom"},s={type:"attribute",style:"attribute"},i=r("typedef"),d={if:o,while:o,else:u,do:u,try:u,return:l,break:l,continue:l,new:l,throw:l,var:r("var"),inline:s,static:s,using:r("import"),public:s,private:s,cast:r("cast"),import:r("import"),macro:r("macro"),function:r("function"),catch:r("catch"),untyped:r("untyped"),callback:r("cb"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:c,never:r("property_access"),trace:r("trace"),class:i,abstract:i,enum:i,interface:i,typedef:i,extends:i,implements:i,dynamic:i,true:f,false:f,null:f},p=/[+\-*&%=<>!?|]/;function m(e,t,n){return t.tokenize=n,n(e,t)}function v(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function y(e,t){var n,r=e.next();if('"'==r||"'"==r)return m(e,t,(o=r,function(e,t){return v(e,o)&&(t.tokenize=y),i="string",a=void 0,"string"}));if(/[\[\]{}\(\),;\:\.]/.test(r))return i=r,void(a=void 0);if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),i="number",a=void 0,"number";if(/\d/.test(r)||"-"==r&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),i="number",a=void 0,"number";if(t.reAllowed&&"~"==r&&e.eat(/\//))return v(e,"/"),e.eatWhile(/[gimsu]/),i="regexp",a=void 0,"string.special";if("/"==r)return e.eat("*")?m(e,t,h):e.eat("/")?(e.skipToEnd(),i="comment",a=void 0,"comment"):(e.eatWhile(p),u=e.current(),i="operator",a=u,null);if("#"==r)return e.skipToEnd(),i="conditional",a=void 0,"meta";if("@"==r)return e.eat(/:/),e.eatWhile(/[\w_]/),i="metadata",a=void 0,"meta";if(p.test(r))return e.eatWhile(p),l=e.current(),i="operator",a=l,null;if(/[A-Z]/.test(r))return e.eatWhile(/[\w_<>]/),c=n=e.current(),i="type",a=c,"type";e.eatWhile(/[\w_]/);var o,u,l,c,f,s,b,n=e.current(),k=d.propertyIsEnumerable(n)&&d[n];return k&&t.kwAllowed?(f=k.type,s=k.style,b=n,i=f,a=b,s):(i="variable",a=n,"variable")}function h(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=y;break}r="*"==n}return i="comment",a=void 0,"comment"}var b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function k(e,t,n,r,i,a){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=a,null!=r&&(this.align=r)}function x(e){for(var t=w.state,n=t.importedtypes;n;n=n.next)if(n.name==e)return;t.importedtypes={name:e,next:t.importedtypes}}var w={state:null,column:null,marked:null,cc:null};function g(){for(var e=arguments.length-1;e>=0;e--)w.cc.push(arguments[e])}function A(){return g.apply(null,arguments),!0}function V(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function S(e){var t=w.state;if(t.context){if(w.marked="def",V(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if(V(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}var E={name:"this",next:null};function W(){w.state.context||(w.state.localVars=E),w.state.context={prev:w.state.context,vars:w.state.localVars}}function _(){w.state.localVars=w.state.context.vars,w.state.context=w.state.context.prev}function z(e,t){var n=function(){var n=w.state;n.lexical=new k(n.indented,w.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function T(){var e=w.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function D(e){return function t(n){return n==e?A():";"==e?g():A(t)}}function O(e){return"@"==e?A(C):"var"==e?A(z("vardef"),K,D(";"),T):"keyword a"==e?A(z("form"),Z,O,T):"keyword b"==e?A(z("form"),O,T):"{"==e?A(z("}"),W,J,T,_):";"==e?A():"attribute"==e?A(I):"function"==e?A(R):"for"==e?A(z("form"),D("("),z(")"),M,D(")"),T,O,T):"variable"==e?A(z("stat"),j):"switch"==e?A(z("form"),Z,z("}","switch"),D("{"),J,T,T):"case"==e?A(Z,D(":")):"default"==e?A(D(":")):"catch"==e?A(z("form"),W,D("("),ee,D(")"),O,T,_):"import"==e?A(B,D(";")):"typedef"==e?A(F):g(z("stat"),Z,D(";"),T)}function Z(e){return b.hasOwnProperty(e)||"type"==e?A(P):"function"==e?A(R):"keyword c"==e?A(N):"("==e?A(z(")"),N,D(")"),T,P):"operator"==e?A(Z):"["==e?A(z("]"),H(N,"]"),T,P):"{"==e?A(z("}"),H(G,"}"),T,P):A()}function N(e){return e.match(/[;\}\)\],]/)?g():g(Z)}function P(e,t){if("operator"==e&&/\+\+|--/.test(t))return A(P);if("operator"==e||":"==e)return A(Z);if(";"!=e){if("("==e)return A(z(")"),H(Z,")"),T,P);if("."==e)return A(q,P);if("["==e)return A(z("]"),Z,D("]"),T,P)}}function I(e){return"attribute"==e?A(I):"function"==e?A(R):"var"==e?A(K):void 0}function C(e){return":"==e||"variable"==e?A(C):"("==e?A(z(")"),H($,")"),T,O):void 0}function $(e){if("variable"==e)return A()}function B(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(x(t),A()):"variable"==e||"property"==e||"."==e||"*"==t?A(B):void 0}function F(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(x(t),A()):"type"==e&&/[A-Z]/.test(t.charAt(0))?A():void 0}function j(e){return":"==e?A(T,O):g(P,D(";"),T)}function q(e){if("variable"==e)return w.marked="property",A()}function G(e){if("variable"==e&&(w.marked="property"),b.hasOwnProperty(e))return A(D(":"),Z)}function H(e,t){function n(r){return","==r?A(e,n):r==t?A():A(D(t))}return function(r){return r==t?A():g(e,n)}}function J(e){return"}"==e?A():g(O,J)}function K(e,t){return"variable"==e?(S(t),A(U,L)):A()}function L(e,t){return"="==t?A(Z,L):","==e?A(K):void 0}function M(e,t){return"variable"==e?(S(t),A(Q,Z)):g()}function Q(e,t){if("in"==t)return A()}function R(e,t){return"variable"==e||"type"==e?(S(t),A(R)):"new"==t?A(R):"("==e?A(z(")"),W,H(ee,")"),T,U,O,_):void 0}function U(e){if(":"==e)return A(X)}function X(e){return"type"==e||"variable"==e?A():"{"==e?A(z("}"),H(Y,"}"),T):void 0}function Y(e){if("variable"==e)return A(U)}function ee(e,t){if("variable"==e)return S(t),A(U)}_.lex=!0,T.lex=!0;let et={name:"haxe",startState:function(e){return{tokenize:y,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new k(-e,0,"block",!1),importedtypes:["Int","Float","String","Void","Std","Bool","Dynamic","Array"],context:null,indented:0}},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==i?n:(t.reAllowed=!!("operator"==i||"keyword c"==i||i.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=i,function(e,t,n,r,i){var a=e.cc;for(w.state=e,w.stream=i,w.marked=null,w.cc=a,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():O)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();if(w.marked)return w.marked;if("variable"==n&&function(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}(e,r))return"variableName.local";if("variable"==n&&function(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r!?|]/;function m(e,t,n){return t.tokenize=n,n(e,t)}function v(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function y(e,t,n){return s=e,a=n,t}function h(e,t){var n=e.next();if('"'==n||"'"==n)return m(e,t,(r=n,function(e,t){return v(e,r)&&(t.tokenize=h),y("string","string")}));if(/[\[\]{}\(\),;\:\.]/.test(n))return y(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),y("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),y("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return v(e,"/"),e.eatWhile(/[gimsu]/),y("regexp","string.special");if("/"==n)return e.eat("*")?m(e,t,b):e.eat("/")?(e.skipToEnd(),y("comment","comment")):(e.eatWhile(p),y("operator",null,e.current()));if("#"==n)return e.skipToEnd(),y("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),y("metadata","meta");if(p.test(n))return e.eatWhile(p),y("operator",null,e.current());if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),y("type","type",a=e.current());e.eatWhile(/[\w_]/);var r,a=e.current(),i=d.propertyIsEnumerable(a)&&d[a];return i&&t.kwAllowed?y(i.type,i.style,a):y("variable","variable",a)}function b(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=h;break}r="*"==n}return y("comment","comment")}var k={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function x(e,t,n,r,a,i){this.indented=e,this.column=t,this.type=n,this.prev=a,this.info=i,null!=r&&(this.align=r)}function w(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function g(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r=0;e--)V.cc.push(arguments[e])}function E(){return S.apply(null,arguments),!0}function W(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function _(e){var t=V.state;if(t.context){if(V.marked="def",W(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if(W(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}var z={name:"this",next:null};function T(){V.state.context||(V.state.localVars=z),V.state.context={prev:V.state.context,vars:V.state.localVars}}function D(){V.state.localVars=V.state.context.vars,V.state.context=V.state.context.prev}function O(e,t){var n=function(){var n=V.state;n.lexical=new x(n.indented,V.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function Z(){var e=V.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function N(e){return function t(n){return n==e?E():";"==e?S():E(t)}}function P(e){return"@"==e?E(F):"var"==e?E(O("vardef"),Q,N(";"),Z):"keyword a"==e?E(O("form"),I,P,Z):"keyword b"==e?E(O("form"),P,Z):"{"==e?E(O("}"),T,M,Z,D):";"==e?E():"attribute"==e?E(B):"function"==e?E(Y):"for"==e?E(O("form"),N("("),O(")"),U,N(")"),Z,P,Z):"variable"==e?E(O("stat"),H):"switch"==e?E(O("form"),I,O("}","switch"),N("{"),M,Z,Z):"case"==e?E(I,N(":")):"default"==e?E(N(":")):"catch"==e?E(O("form"),T,N("("),re,N(")"),P,Z,D):"import"==e?E(q,N(";")):"typedef"==e?E(G):S(O("stat"),I,N(";"),Z)}function I(e){return k.hasOwnProperty(e)||"type"==e?E($):"function"==e?E(Y):"keyword c"==e?E(C):"("==e?E(O(")"),C,N(")"),Z,$):"operator"==e?E(I):"["==e?E(O("]"),L(C,"]"),Z,$):"{"==e?E(O("}"),L(K,"}"),Z,$):E()}function C(e){return e.match(/[;\}\)\],]/)?S():S(I)}function $(e,t){return"operator"==e&&/\+\+|--/.test(t)?E($):"operator"==e||":"==e?E(I):";"!=e?"("==e?E(O(")"),L(I,")"),Z,$):"."==e?E(J,$):"["==e?E(O("]"),I,N("]"),Z,$):void 0:void 0}function B(e){return"attribute"==e?E(B):"function"==e?E(Y):"var"==e?E(Q):void 0}function F(e){return":"==e||"variable"==e?E(F):"("==e?E(O(")"),L(j,")"),Z,P):void 0}function j(e){if("variable"==e)return E()}function q(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(A(t),E()):"variable"==e||"property"==e||"."==e||"*"==t?E(q):void 0}function G(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(A(t),E()):"type"==e&&/[A-Z]/.test(t.charAt(0))?E():void 0}function H(e){return":"==e?E(Z,P):S($,N(";"),Z)}function J(e){if("variable"==e)return V.marked="property",E()}function K(e){if("variable"==e&&(V.marked="property"),k.hasOwnProperty(e))return E(N(":"),I)}function L(e,t){function n(r){return","==r?E(e,n):r==t?E():E(N(t))}return function(r){return r==t?E():S(e,n)}}function M(e){return"}"==e?E():S(P,M)}function Q(e,t){return"variable"==e?(_(t),E(ee,R)):E()}function R(e,t){return"="==t?E(I,R):","==e?E(Q):void 0}function U(e,t){return"variable"==e?(_(t),E(X,I)):S()}function X(e,t){if("in"==t)return E()}function Y(e,t){return"variable"==e||"type"==e?(_(t),E(Y)):"new"==t?E(Y):"("==e?E(O(")"),T,L(re,")"),Z,ee,P,D):void 0}function ee(e){if(":"==e)return E(te)}function te(e){return"type"==e||"variable"==e?E():"{"==e?E(O("}"),L(ne,"}"),Z):void 0}function ne(e){if("variable"==e)return E(ee)}function re(e,t){if("variable"==e)return _(t),E(ee)}D.lex=!0,Z.lex=!0;const ae={name:"haxe",startState:function(e){return{tokenize:h,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new x(-e,0,"block",!1),importedtypes:["Int","Float","String","Void","Std","Bool","Dynamic","Array"],context:null,indented:0}},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==s?n:(t.reAllowed=!("operator"!=s&&"keyword c"!=s&&!s.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=s,function(e,t,n,r,a){var i=e.cc;for(V.state=e,V.stream=a,V.marked=null,V.cc=i,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((i.length?i.pop():P)(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return V.marked?V.marked:"variable"==n&&w(e,r)?"variableName.local":"variable"==n&&g(e,r)?"variableName.special":t}}(t,n,s,a,e))},indent:function(e,t,n){if(e.tokenize!=h)return 0;var r=t&&t.charAt(0),a=e.lexical;"stat"==a.type&&"}"==r&&(a=a.prev);var i=a.type,o=r==i;return"vardef"==i?a.indented+4:"form"==i&&"{"==r?a.indented:"stat"==i||"form"==i?a.indented+n.unit:"switch"!=a.info||o?a.align?a.column+(o?0:1):a.indented+(o?0:n.unit):a.indented+(/^(?:case|default)\b/.test(t)?n.unit:2*n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},ie={name:"hxml",startState:function(){return{define:!1,inString:!1}},token:function(e,t){var n=e.peek(),r=e.sol();if("#"==n)return e.skipToEnd(),"comment";if(r&&"-"==n){var a="variable-2";return e.eat(/-/),"-"==e.peek()&&(e.eat(/-/),a="keyword a"),"D"==e.peek()&&(e.eat(/[D]/),a="keyword c",t.define=!0),e.eatWhile(/[A-Z]/i),a}n=e.peek();return 0==t.inString&&"'"==n&&(t.inString=!0,e.next()),1==t.inString?(e.skipTo("'")||e.skipToEnd(),"'"==e.peek()&&(e.next(),t.inString=!1),"string"):(e.next(),null)},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3519.2a44d25a006ebc05.js b/static/web/_next/static/chunks/3519.2a44d25a006ebc05.js new file mode 100644 index 000000000..7fbbe0f51 --- /dev/null +++ b/static/web/_next/static/chunks/3519.2a44d25a006ebc05.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3519],{3519:function(e,t,n){function a(e){return RegExp("^(?:"+e.join("|")+")$","i")}n.r(t),n.d(t,{lua:function(){return m}});var r=a(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),o=a(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),i=a(["function","if","repeat","do","\\(","{"]),s=a(["end","until","\\)","}"]),u=RegExp("^(?:end|until|\\)|}|else|elseif)","i");function l(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function c(e,t){var n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=g(l(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=function(e,t){for(var a,r=!1;null!=(a=e.next())&&(a!=n||r);)r=!r&&"\\"==a;return r||(t.cur=c),"string"})(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=g(l(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function g(e,t){return function(n,a){for(var r,o=null;null!=(r=n.next());)if(null==o)"]"==r&&(o=0);else if("="==r)++o;else if("]"==r&&o==e){a.cur=c;break}else o=null;return t}}let m={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:c}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),a=e.current();return"variable"==n&&(o.test(a)?n="keyword":r.test(a)&&(n="builtin")),"comment"!=n&&"string"!=n&&(i.test(a)?++t.indentDepth:s.test(a)&&--t.indentDepth),n},indent:function(e,t,n){var a=u.test(t);return e.basecol+n.unit*(e.indentDepth-(a?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3519.c3db7f1845991d2c.js b/static/web/_next/static/chunks/3519.c3db7f1845991d2c.js deleted file mode 100644 index 421e1d0ce..000000000 --- a/static/web/_next/static/chunks/3519.c3db7f1845991d2c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3519],{3519:function(e,t,n){function a(e){return new RegExp("^(?:"+e.join("|")+")$","i")}n.r(t),n.d(t,{lua:function(){return m}});var r=a(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),o=a(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),i=a(["function","if","repeat","do","\\(","{"]),s=a(["end","until","\\)","}"]),u=new RegExp("^(?:"+["end","until","\\)","}","else","elseif"].join("|")+")","i");function l(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function c(e,t){var n,a=e.next();return"-"==a&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=g(l(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==a||"'"==a?(t.cur=(n=a,function(e,t){for(var a,r=!1;null!=(a=e.next())&&(a!=n||r);)r=!r&&"\\"==a;return r||(t.cur=c),"string"}))(e,t):"["==a&&/[\[=]/.test(e.peek())?(t.cur=g(l(e),"string"))(e,t):/\d/.test(a)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(a)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function g(e,t){return function(n,a){for(var r,o=null;null!=(r=n.next());)if(null==o)"]"==r&&(o=0);else if("="==r)++o;else{if("]"==r&&o==e){a.cur=c;break}o=null}return t}}const m={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:c}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),a=e.current();return"variable"==n&&(o.test(a)?n="keyword":r.test(a)&&(n="builtin")),"comment"!=n&&"string"!=n&&(i.test(a)?++t.indentDepth:s.test(a)&&--t.indentDepth),n},indent:function(e,t,n){var a=u.test(t);return e.basecol+n.unit*(e.indentDepth-(a?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3626-a2c864eae8ea3761.js b/static/web/_next/static/chunks/3626-a2c864eae8ea3761.js new file mode 100644 index 000000000..0ca41f647 --- /dev/null +++ b/static/web/_next/static/chunks/3626-a2c864eae8ea3761.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3626],{10010:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},l=t(42135),i=function(e,n){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};i.displayName="CaretUpOutlined";var c=o.forwardRef(i)},32808:function(e,n,t){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},h=c.createContext(null),m=function(e,n){var t=e.defaultValue,a=e.children,i=e.options,s=void 0===i?[]:i,m=e.prefixCls,y=e.className,g=e.style,x=e.onChange,C=v(e,["defaultValue","children","options","prefixCls","className","style","onChange"]),E=c.useContext(d.E_),Z=E.getPrefixCls,N=E.direction,b=c.useState(C.value||t||[]),w=(0,f.Z)(b,2),S=w[0],K=w[1],O=c.useState([]),D=(0,f.Z)(O,2),P=D[0],R=D[1];c.useEffect(function(){"value"in C&&K(C.value||[])},[C.value]);var M=function(){return s.map(function(e){return"string"==typeof e||"number"==typeof e?{label:e,value:e}:e})},L=function(e){R(function(n){return n.filter(function(n){return n!==e})})},T=function(e){R(function(n){return[].concat((0,u.Z)(n),[e])})},I=function(e){var n=S.indexOf(e.value),t=(0,u.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in C||K(t);var r=M();null==x||x(t.filter(function(e){return -1!==P.indexOf(e)}).sort(function(e,n){return r.findIndex(function(n){return n.value===e})-r.findIndex(function(e){return e.value===n})}))},A=Z("checkbox",m),H="".concat(A,"-group"),z=(0,p.Z)(C,["value","disabled"]);s&&s.length>0&&(a=M().map(function(e){return c.createElement(k,{prefixCls:A,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(e.value),onChange:e.onChange,className:"".concat(H,"-item"),style:e.style},e.label)}));var F={toggleOption:I,value:S,disabled:C.disabled,name:C.name,registerValue:T,cancelValue:L},_=l()(H,(0,r.Z)({},"".concat(H,"-rtl"),"rtl"===N),y);return c.createElement("div",(0,o.Z)({className:_,style:g},z,{ref:n}),c.createElement(h.Provider,{value:F},a))},y=c.forwardRef(m),g=c.memo(y),x=t(98866),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},E=function(e,n){var t,a=e.prefixCls,u=e.className,f=e.children,p=e.indeterminate,v=void 0!==p&&p,m=e.style,y=e.onMouseEnter,g=e.onMouseLeave,E=e.skipGroup,k=void 0!==E&&E,Z=e.disabled,N=C(e,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),b=c.useContext(d.E_),w=b.getPrefixCls,S=b.direction,K=c.useContext(h),O=(0,c.useContext)(s.aM).isFormItemInput,D=(0,c.useContext)(x.Z),P=Z||(null==K?void 0:K.disabled)||D,R=c.useRef(N.value);c.useEffect(function(){null==K||K.registerValue(N.value)},[]),c.useEffect(function(){if(!k)return N.value!==R.current&&(null==K||K.cancelValue(R.current),null==K||K.registerValue(N.value),R.current=N.value),function(){return null==K?void 0:K.cancelValue(N.value)}},[N.value]);var M=w("checkbox",a),L=(0,o.Z)({},N);K&&!k&&(L.onChange=function(){N.onChange&&N.onChange.apply(N,arguments),K.toggleOption&&K.toggleOption({label:f,value:N.value})},L.name=K.name,L.checked=-1!==K.value.indexOf(N.value));var T=l()((t={},(0,r.Z)(t,"".concat(M,"-wrapper"),!0),(0,r.Z)(t,"".concat(M,"-rtl"),"rtl"===S),(0,r.Z)(t,"".concat(M,"-wrapper-checked"),L.checked),(0,r.Z)(t,"".concat(M,"-wrapper-disabled"),P),(0,r.Z)(t,"".concat(M,"-wrapper-in-form-item"),O),t),u),I=l()((0,r.Z)({},"".concat(M,"-indeterminate"),v));return c.createElement("label",{className:T,style:m,onMouseEnter:y,onMouseLeave:g},c.createElement(i.Z,(0,o.Z)({"aria-checked":v?"mixed":void 0},L,{prefixCls:M,className:I,disabled:P,ref:n})),void 0!==f&&c.createElement("span",null,f))},k=c.forwardRef(E),Z=k;Z.Group=g,Z.__ANT_CHECKBOX=!0;var N=Z},93626:function(e,n,t){t.d(n,{Z:function(){return re}});var r,o,a,l,i=t(71002),c=t(4942),d=t(87462),s=t(97685),u=t(94184),f=t.n(u),p=t(1413),v=t(74902),h=t(67294),m=t(5110),y=t(64217),g=t(79370),x=t(96774),C=t.n(x),E=t(80334),k=t(48555),Z=t(74204),N=function(e){return null},b=function(e){return null},w=t(45987),S=t(42550);function K(e){return null==e?[]:Array.isArray(e)?e:[e]}function O(e,n){if(!n&&"number"!=typeof n)return e;for(var t=K(n),r=e,o=0;o=t);return{onHover:null==e?void 0:e.onHover,hovering:r}},r=(0,M.Z)(t),l=(a=(o=h.useContext(null==L?void 0:L.Context))||{}).listeners,i=a.getValue,c=h.useState(function(){return r(o?i():null)}),f=(u=(0,s.Z)(c,2))[0],p=u[1],(0,R.Z)(function(){if(o)return l.add(e),function(){l.delete(e)};function e(e){p(function(n){var t=r(e);return C()(n,t)?n:t})}},[o]),f),b=N.onHover,w=N.hovering;return h.createElement(_,(0,d.Z)({},e,{colSpan:null!=g?g:E,rowSpan:Z,hovering:w,ref:n,onHover:b}))});j.displayName="WrappedCell";var B=h.createContext(null);function V(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];return"rtl"===o?void 0!==a?f=!(v&&"left"===v.fixed):void 0!==l&&(u=!(p&&"right"===p.fixed)):void 0!==a?d=!(p&&"left"===p.fixed):void 0!==l&&(s=!(v&&"right"===v.fixed)),{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function W(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,l=e.cellComponent,i=e.onHeaderRow,c=e.index,s=h.useContext(B),u=s.prefixCls,f=s.direction;i&&(n=i(t.map(function(e){return e.column}),c));var p=D(t.map(function(e){return e.column}));return h.createElement(a,n,t.map(function(e,n){var t,a=e.column,i=V(e.colStart,e.colEnd,o,r,f);return a&&a.onHeaderCell&&(t=e.column.onHeaderCell(a)),h.createElement(j,(0,d.Z)({},e,{ellipsis:a.ellipsis,align:a.align,component:l,prefixCls:u,key:p[n]},i,{additionalProps:t,rowType:"header"}))}))}W.displayName="HeaderRow";var U=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=h.useContext(B),l=a.prefixCls,i=a.getComponent,c=h.useMemo(function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map(function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce(function(e,n){return e+n},0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l})}(e,0);for(var t=n.length,r=function(e){n[e].forEach(function(n){("rowSpan"in n)||n.hasSubColumns||(n.rowSpan=t-e)})},o=0;o1?t-1:0),o=1;o0?[].concat((0,v.Z)(e),(0,v.Z)(ei(o).map(function(e){return(0,p.Z)({fixed:r},e)}))):[].concat((0,v.Z)(e),[(0,p.Z)((0,p.Z)({},n),{},{fixed:r})])},[])}var ec=function(e,n){var t=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,l=e.expandedKeys,i=e.columnTitle,d=e.getRowKey,s=e.onTriggerExpand,u=e.expandIcon,f=e.rowExpandable,v=e.expandIconColumnIndex,m=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=h.useMemo(function(){return r||el(o)},[r,o]),E=h.useMemo(function(){if(a){var e,n,r=C.slice();if(!r.includes(er)){var o=v||0;o>=0&&r.splice(o,0,er)}var p=r.indexOf(er);r=r.filter(function(e,n){return e!==er||n===p});var m=C[p];n=("left"===x||x)&&!v?"left":("right"===x||x)&&v===C.length?"right":m?m.fixed:null;var E=(e={},(0,c.Z)(e,et,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,c.Z)(e,"title",i),(0,c.Z)(e,"fixed",n),(0,c.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,c.Z)(e,"width",g),(0,c.Z)(e,"render",function(e,n,r){var o=d(n,r),a=u({prefixCls:t,expanded:l.has(o),expandable:!f||f(n),record:n,onExpand:s});return y?h.createElement("span",{onClick:function(e){return e.stopPropagation()}},a):a}),e);return r.map(function(e){return e===er?E:e})}return C.filter(function(e){return e!==er})},[a,C,d,l,u,m]),k=h.useMemo(function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e},[n,E,m]),Z=h.useMemo(function(){return"rtl"===m?ei(k).map(function(e){var n=e.fixed,t=(0,w.Z)(e,ea),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,p.Z)({fixed:r},t)}):ei(k)},[k,m]);return[k,Z]};function ed(e){var n=(0,h.useRef)(e),t=(0,h.useState)({}),r=(0,s.Z)(t,2)[1],o=(0,h.useRef)(null),a=(0,h.useRef)([]);return(0,h.useEffect)(function(){return function(){o.current=null}},[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then(function(){if(o.current===t){var e=a.current,l=n.current;a.current=[],e.forEach(function(e){n.current=e(n.current)}),o.current=null,l!==n.current&&r({})}})}]}var es=["columnType"],eu=function(e){for(var n=e.colWidths,t=e.columns,r=e.columCount,o=[],a=r||t.length,l=!1,i=a-1;i>=0;i-=1){var c=n[i],s=t&&t[i],u=s&&s[et];if(c||u||l){var f=u||{},p=(f.columnType,(0,w.Z)(f,es));o.unshift(h.createElement("col",(0,d.Z)({key:i,style:{width:c}},p))),l=!0}}return h.createElement("colgroup",null,o)},ef=function(e){var n=e.className,t=e.children;return h.createElement("div",{className:n},t)},ep=h.createContext({}),ev=["children"];function eh(e){return e.children}eh.Row=function(e){var n=e.children,t=(0,w.Z)(e,ev);return h.createElement("tr",t,n)},eh.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,a=void 0===o?1:o,l=e.rowSpan,i=e.align,c=h.useContext(B),s=c.prefixCls,u=c.direction,f=h.useContext(ep),p=f.scrollColumnIndex,v=f.stickyOffsets,m=f.flattenColumns,y=t+a-1+1===p?a+1:a,g=V(t,t+y-1,m,v,u);return h.createElement(j,(0,d.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:i,colSpan:y,rowSpan:l,render:function(){return r}},g))};var em=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=h.useContext(B).prefixCls,a=r.length-1,l=r[a],i=h.useMemo(function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null==l?void 0:l.scrollbar)?a:null}},[l,r,a,t]);return h.createElement(ep.Provider,{value:i},h.createElement("tfoot",{className:"".concat(o,"-summary")},n))};function ey(e){var n,t=e.prefixCls,r=e.record,o=e.onExpand,a=e.expanded,l=e.expandable,i="".concat(t,"-row-expand-icon");if(!l)return h.createElement("span",{className:f()(i,"".concat(t,"-row-spaced"))});var d=function(e){o(r,e),e.stopPropagation()};return h.createElement("span",{className:f()(i,(n={},(0,c.Z)(n,"".concat(t,"-row-expanded"),a),(0,c.Z)(n,"".concat(t,"-row-collapsed"),!a),n)),onClick:d})}var eg=t(64019),ex=t(27678),eC=function(e,n){var t,r,o=e.scrollBodyRef,a=e.onScroll,l=e.offsetScroll,i=e.container,d=h.useContext(B).prefixCls,u=(null===(t=o.current)||void 0===t?void 0:t.scrollWidth)||0,v=(null===(r=o.current)||void 0===r?void 0:r.clientWidth)||0,m=u&&v*(v/u),y=h.useRef(),g=ed({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,s.Z)(g,2),C=x[0],E=x[1],k=h.useRef({delta:0,x:0}),N=h.useState(!1),b=(0,s.Z)(N,2),w=b[0],S=b[1],K=function(){S(!1)},O=function(e){e.persist(),k.current.delta=e.pageX-C.scrollLeft,k.current.x=0,S(!0),e.preventDefault()},D=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(!w||0===t){w&&S(!1);return}var r=k.current.x+e.pageX-k.current.x-k.current.delta;r<=0&&(r=0),r+m>=v&&(r=v-m),a({scrollLeft:r/v*(u+2)}),k.current.x=e.pageX},P=function(){if(o.current){var e=(0,ex.os)(o.current).top,n=e+o.current.offsetHeight,t=i===window?document.documentElement.scrollTop+window.innerHeight:(0,ex.os)(i).top+i.clientHeight;n-(0,Z.Z)()<=t||e>=t-l?E(function(e){return(0,p.Z)((0,p.Z)({},e),{},{isHiddenScrollBar:!0})}):E(function(e){return(0,p.Z)((0,p.Z)({},e),{},{isHiddenScrollBar:!1})})}},R=function(e){E(function(n){return(0,p.Z)((0,p.Z)({},n),{},{scrollLeft:e/u*v||0})})};return(h.useImperativeHandle(n,function(){return{setScrollLeft:R}}),h.useEffect(function(){var e=(0,eg.Z)(document.body,"mouseup",K,!1),n=(0,eg.Z)(document.body,"mousemove",D,!1);return P(),function(){e.remove(),n.remove()}},[m,w]),h.useEffect(function(){var e=(0,eg.Z)(i,"scroll",P,!1),n=(0,eg.Z)(window,"resize",P,!1);return function(){e.remove(),n.remove()}},[i]),h.useEffect(function(){C.isHiddenScrollBar||E(function(e){var n=o.current;return n?(0,p.Z)((0,p.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e})},[C.isHiddenScrollBar]),u<=v||!m||C.isHiddenScrollBar)?null:h.createElement("div",{style:{height:(0,Z.Z)(),width:v,bottom:l},className:"".concat(d,"-sticky-scroll")},h.createElement("div",{onMouseDown:O,ref:y,className:f()("".concat(d,"-sticky-scroll-bar"),(0,c.Z)({},"".concat(d,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(C.scrollLeft,"px, 0, 0)")}}))},eE=h.forwardRef(eC),ek=(0,t(98924).Z)()?window:null,eZ=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],eN=h.forwardRef(function(e,n){var t=e.className,r=e.noData,o=e.columns,a=e.flattenColumns,l=e.colWidths,i=e.columCount,d=e.stickyOffsets,s=e.direction,u=e.fixHeader,m=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,k=(0,w.Z)(e,eZ),Z=h.useContext(B),N=Z.prefixCls,b=Z.scrollbarSize,K=Z.isSticky,O=K&&!u?0:b,D=h.useRef(null),P=h.useCallback(function(e){(0,S.mH)(n,e),(0,S.mH)(D,e)},[]);h.useEffect(function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}},[]);var R=h.useMemo(function(){return a.every(function(e){return e.width>=0})},[a]),M=a[a.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(N,"-cell-scrollbar")}}},T=(0,h.useMemo)(function(){return O?[].concat((0,v.Z)(o),[L]):o},[O,o]),I=(0,h.useMemo)(function(){return O?[].concat((0,v.Z)(a),[L]):a},[O,a]),A=(0,h.useMemo)(function(){var e=d.right,n=d.left;return(0,p.Z)((0,p.Z)({},d),{},{left:"rtl"===s?[].concat((0,v.Z)(n.map(function(e){return e+O})),[0]):n,right:"rtl"===s?e:[].concat((0,v.Z)(e.map(function(e){return e+O})),[0]),isSticky:K})},[O,d,K]),H=(0,h.useMemo)(function(){for(var e=[],n=0;n0)):(e0(o>0),e4(on.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nr=function(e,n){var t,r=h.useContext(e8),o=h.useContext(e5),a=h.useContext(eP.E_),l=a.getPrefixCls,i=a.direction,s=h.useRef(),u=(0,S.sQ)(n,s),p=(0,h.useContext)(nn.aM).isFormItemInput,v=function(n){var t,o;null===(t=e.onChange)||void 0===t||t.call(e,n),null===(o=null==r?void 0:r.onChange)||void 0===o||o.call(r,n)},m=e.prefixCls,y=e.className,g=e.children,x=e.style,C=e.disabled,E=nt(e,["prefixCls","className","children","style","disabled"]),k=l("radio",m),Z="button"===((null==r?void 0:r.optionType)||o)?"".concat(k,"-button"):k,N=(0,d.Z)({},E),b=h.useContext(ne.Z);N.disabled=C||b,r&&(N.name=r.name,N.onChange=v,N.checked=e.value===r.value,N.disabled=N.disabled||r.disabled);var w=f()("".concat(Z,"-wrapper"),(t={},(0,c.Z)(t,"".concat(Z,"-wrapper-checked"),N.checked),(0,c.Z)(t,"".concat(Z,"-wrapper-disabled"),N.disabled),(0,c.Z)(t,"".concat(Z,"-wrapper-rtl"),"rtl"===i),(0,c.Z)(t,"".concat(Z,"-wrapper-in-form-item"),p),t),y);return h.createElement("label",{className:w,style:x,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},h.createElement(e9.Z,(0,d.Z)({},N,{type:"radio",prefixCls:Z,ref:u})),void 0!==g?h.createElement("span",null,g):null)},no=h.forwardRef(nr),na=h.forwardRef(function(e,n){var t,r=h.useContext(eP.E_),o=r.getPrefixCls,a=r.direction,l=h.useContext(eM.Z),i=(0,e3.Z)(e.defaultValue,{value:e.value}),u=(0,s.Z)(i,2),p=u[0],v=u[1],m=function(n){var t=n.target.value;"value"in e||v(t);var r=e.onChange;r&&t!==p&&r(n)},y=e.prefixCls,g=e.className,x=e.options,C=e.buttonStyle,E=e.disabled,k=e.children,Z=e.size,N=e.style,b=e.id,w=e.onMouseEnter,S=e.onMouseLeave,K=e.onFocus,O=e.onBlur,D=o("radio",y),P="".concat(D,"-group"),R=k;x&&x.length>0&&(R=x.map(function(e){return"string"==typeof e||"number"==typeof e?h.createElement(no,{key:e.toString(),prefixCls:D,disabled:E,value:e,checked:p===e},e):h.createElement(no,{key:"radio-group-value-options-".concat(e.value),prefixCls:D,disabled:e.disabled||E,value:e.value,checked:p===e.value,style:e.style},e.label)}));var M=Z||l,L=f()(P,"".concat(P,"-").concat(void 0===C?"outline":C),(t={},(0,c.Z)(t,"".concat(P,"-").concat(M),M),(0,c.Z)(t,"".concat(P,"-rtl"),"rtl"===a),t),void 0===g?"":g);return h.createElement("div",(0,d.Z)({},(0,e4.Z)(e),{className:L,style:N,onMouseEnter:w,onMouseLeave:S,onFocus:K,onBlur:O,id:b,ref:n}),h.createElement(e6,{value:{onChange:m,value:p,disabled:e.disabled,name:e.name,optionType:e.optionType}},R))}),nl=h.memo(na),ni=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},nc=function(e,n){var t=h.useContext(eP.E_).getPrefixCls,r=e.prefixCls,o=ni(e,["prefixCls"]),a=t("radio",r);return h.createElement(e7,{value:"button"},h.createElement(no,(0,d.Z)({prefixCls:a},o,{type:"radio",ref:n})))},nd=h.forwardRef(nc),ns=no;ns.Button=nd,ns.Group=nl,ns.__ANT_RADIO=!0;var nu={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},nf=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:nu}))};nf.displayName="HolderOutlined";var np=h.forwardRef(nf),nv=t(15671),nh=t(43144),nm=t(97326),ny=t(60136),ng=t(33643),nx=t(15105),nC=h.createContext(null),nE=function(e){for(var n,t=e.prefixCls,r=e.level,o=e.isStart,a=e.isEnd,l="".concat(t,"-indent-unit"),i=[],d=0;d1&&void 0!==arguments[1]?arguments[1]:null;return t.map(function(d,s){for(var u,f=nz(r?r.pos:"0",s),h=nN(d[a],f),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},p=f.initWrapper,h=f.processEntity,m=f.onProcessFinished,y=f.externalGetKey,g=f.childrenPropName,x=f.fieldNames,C=arguments.length>2?arguments[2]:void 0,E={},k={},Z={posEntities:E,keyEntities:k};return p&&(Z=p(Z)||Z),n=function(e){var n=e.node,t=e.index,r=e.pos,o=e.key,a=e.parentPos,l=e.level,i={node:n,nodes:e.nodes,index:t,key:o,pos:r,level:l},c=nN(o,r);E[r]=i,k[c]=i,i.parent=E[a],i.parent&&(i.parent.children=i.parent.children||[],i.parent.children.push(i)),h&&h(i,Z)},t={externalGetKey:y||C,childrenPropName:g,fieldNames:x},a=(o=("object"===(0,i.Z)(t)?t:{externalGetKey:t})||{}).childrenPropName,l=o.externalGetKey,d=(c=nb(o.fieldNames)).key,s=c.children,u=a||s,l?"string"==typeof l?r=function(e){return e[l]}:"function"==typeof l&&(r=function(e){return l(e)}):r=function(e,n){return nN(e[d],n)},function t(o,a,l,i){var c=o?o[u]:e,d=o?nz(l.pos,a):"0",s=o?[].concat((0,v.Z)(i),[o]):[];if(o){var f=r(o,d);n({node:o,index:a,pos:d,key:f,parentPos:l.node?l.pos:null,level:l.level+1,nodes:s})}c&&c.forEach(function(e,n){t(e,n,{node:o,pos:d,level:l?l.level+1:-1},s)})}(null),m&&m(Z),Z}function nO(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function nD(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,d=e.dragOverGapTop,s=e.dragOverGapBottom,u=e.pos,f=e.active,v=e.eventKey,h=(0,p.Z)((0,p.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:d,dragOverGapBottom:s,pos:u,active:f,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,E.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var nP=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],nR="open",nM="close",nL=function(e){(0,ny.Z)(t,e);var n=(0,ng.Z)(t);function t(){var e;(0,nv.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a=0&&t.splice(r,1),t}function nA(e,n){var t=(e||[]).slice();return -1===t.indexOf(n)&&t.push(n),t}function nH(e){return e.split("-")}function nz(e,n){return"".concat(e,"-").concat(n)}function nF(e,n,t,r,o,a,l,i,c,d){var s,u,f=e.clientX,p=e.clientY,v=e.target.getBoundingClientRect(),h=v.top,m=v.height,y=(("rtl"===d?-1:1)*(((null==o?void 0:o.x)||0)-f)-12)/r,g=i[t.props.eventKey];if(p-1.5?a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:0})?Z=0:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1,{dropPosition:Z,dropLevelOffset:N,dropTargetKey:g.key,dropTargetPos:g.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(u=g.parent)||void 0===u?void 0:u.key)||null,dropAllowed:K}}function n_(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function nj(e){var n;if(!e)return null;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,i.Z)(e))return(0,E.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function nB(e,n){var t=new Set;return(e||[]).forEach(function(e){!function e(r){if(!t.has(r)){var o=n[r];if(o){t.add(r);var a=o.parent;!o.node.disabled&&a&&e(a.key)}}}(e)}),(0,v.Z)(t)}nT.displayName="TreeNode",nT.defaultProps={title:"---"},nT.isTreeNode=1;var nV=t(73453),nW=t(62874),nU=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],nG=function(e,n){var t=e.className,r=e.style,o=e.motion,a=e.motionNodes,l=e.motionType,i=e.onMotionStart,c=e.onMotionEnd,u=e.active,p=e.treeNodeRequiredProps,v=(0,w.Z)(e,nU),m=h.useState(!0),y=(0,s.Z)(m,2),g=y[0],x=y[1],C=h.useContext(nC).prefixCls,E=h.useRef(!1),k=function(){E.current||c(),E.current=!0};return((0,h.useEffect)(function(){a&&"hide"===l&&g&&x(!1)},[a]),(0,h.useEffect)(function(){return a&&i(),function(){a&&k()}},[]),a)?h.createElement(nW.Z,(0,d.Z)({ref:n,visible:g},o,{motionAppear:"show"===l,onAppearEnd:k,onLeaveEnd:k}),function(e,n){var t=e.className,r=e.style;return h.createElement("div",{ref:n,className:f()("".concat(C,"-treenode-motion"),t),style:r},a.map(function(e){var n=(0,d.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,a=e.isEnd;delete n.children;var l=nO(r,p);return h.createElement(nT,(0,d.Z)({},n,l,{title:t,active:u,data:e.data,key:r,isStart:o,isEnd:a}))}))}):h.createElement(nT,(0,d.Z)({domRef:n,className:t,style:r},v,{active:u}))};nG.displayName="MotionTreeNode";var nX=h.forwardRef(nG);function nq(e,n,t){var r=e[e.findIndex(function(e){return e.key===t})+1],o=n.findIndex(function(e){return e.key===t});if(r){var a=n.findIndex(function(e){return e.key===r.key});return n.slice(o+1,a)}return n.slice(o+1)}var nY=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],n$={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},nJ=function(){},nQ="RC_TREE_MOTION_".concat(Math.random()),n0={key:nQ},n1={key:nQ,level:0,index:0,pos:"0",node:n0,nodes:[n0]},n2={parent:null,children:[],pos:n1.pos,data:n0,title:null,key:nQ,isStart:[],isEnd:[]};function n3(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function n4(e){return nN(e.key,e.pos)}var n8=h.forwardRef(function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),a=e.selectedKeys,l=e.checkedKeys,i=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,f=e.keyEntities,p=e.disabled,v=e.dragging,m=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,k=e.focusable,Z=e.activeItem,N=e.focused,b=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,D=e.onActiveChange,P=e.onListChangeStart,R=e.onListChangeEnd,M=(0,w.Z)(e,nY),L=h.useRef(null),T=h.useRef(null);h.useImperativeHandle(n,function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}});var I=h.useState(o),A=(0,s.Z)(I,2),H=A[0],z=A[1],F=h.useState(r),_=(0,s.Z)(F,2),j=_[0],B=_[1],V=h.useState(r),W=(0,s.Z)(V,2),U=W[0],G=W[1],X=h.useState([]),q=(0,s.Z)(X,2),Y=q[0],$=q[1],J=h.useState(null),Q=(0,s.Z)(J,2),ee=Q[0],en=Q[1],et=h.useRef(r);function er(){var e=et.current;B(e),G(e),$([]),en(null),R()}et.current=r,h.useEffect(function(){z(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach(function(e){t.set(e,!0)});var r=n.filter(function(e){return!t.has(e)});return 1===r.length?r[0]:null}return t ").concat(n);return n}(Z)),h.createElement("div",null,h.createElement("input",{style:n$,disabled:!1===k||p,tabIndex:!1!==k?b:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:nJ,"aria-label":"for screen reader"})),h.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},h.createElement("div",{className:"".concat(t,"-indent")},h.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),h.createElement(nV.Z,(0,d.Z)({},M,{data:g?U:r,itemKey:n4,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:L,onVisibleChange:function(e,n){var t=new Set(e);n.filter(function(e){return!t.has(e)}).some(function(e){return n4(e)===nQ})&&er()}}),function(e){var n=e.pos,t=(0,d.Z)({},e.data),r=e.title,o=e.key,a=e.isStart,l=e.isEnd,i=nN(o,n);delete t.key,delete t.children;var c=nO(i,eo);return h.createElement(nX,(0,d.Z)({},t,c,{title:r,active:!!Z&&o===Z.key,pos:n,data:e.data,isStart:a,isEnd:l,motion:g,motionNodes:o===nQ?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:er,treeNodeRequiredProps:eo,onMouseMove:function(){D(null)}}))}))});function n6(e,n){var t=new Set;return e.forEach(function(e){n.has(e)||t.add(e)}),t}function n5(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!!(t||r)||!1===o}function n7(e,n,t,r){var o,a=[];o=r||n5;var l=new Set(e.filter(function(e){var n=!!t[e];return n||a.push(e),n})),i=new Map,c=0;return Object.keys(t).forEach(function(e){var n=t[e],r=n.level,o=i.get(r);o||(o=new Set,i.set(r,o)),o.add(n),c=Math.max(c,r)}),(0,E.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach(function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter(function(e){return!r(e.node)}).forEach(function(e){o.add(e.key)})});for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach(function(e){var n=e.parent;if(!(r(e.node)||!e.parent||i.has(e.parent.key))){if(r(e.parent.node)){i.add(n.key);return}var t=!0,l=!1;(n.children||[]).filter(function(e){return!r(e.node)}).forEach(function(e){var n=e.key,r=o.has(n);t&&!r&&(t=!1),!l&&(r||a.has(n))&&(l=!0)}),t&&o.add(n.key),l&&a.add(n.key),i.add(n.key)}});return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(n6(a,o))}}(l,i,c,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach(function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter(function(e){return!o(e.node)}).forEach(function(e){a.delete(e.key)})});l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach(function(e){var n=e.parent;if(!(o(e.node)||!e.parent||c.has(e.parent.key))){if(o(e.parent.node)){c.add(n.key);return}var t=!0,r=!1;(n.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var n=e.key,o=a.has(n);t&&!o&&(t=!1),!r&&(o||l.has(n))&&(r=!0)}),t||a.delete(n.key),r&&l.add(n.key),c.add(n.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(n6(l,a))}}(l,n.halfCheckedKeys,i,c,o)}n8.displayName="NodeList";var n9=function(e){(0,ny.Z)(t,e);var n=(0,ng.Z)(t);function t(){var e;(0,nv.Z)(this,t);for(var r=arguments.length,o=Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];n.forEach(function(n){var t=n.key,o=n.children;r.push(t),e(o)})}(l[c].children),r),indent:e.listRef.current.getIndentWidth()}),e.setExpandedKeys(d),window.addEventListener("dragend",e.onWindowDragEnd),null==i||i({event:n,node:nD(t.props)})},e.onNodeDragEnter=function(n,t){var r=e.state,o=r.expandedKeys,a=r.keyEntities,l=r.dragChildrenKeys,i=r.flattenNodes,c=r.indent,d=e.props,s=d.onDragEnter,u=d.onExpand,f=d.allowDrop,p=d.direction,h=t.props,m=h.pos,y=h.eventKey,g=(0,nm.Z)(e).dragNode;if(e.currentMouseOverDroppableNodeKey!==y&&(e.currentMouseOverDroppableNodeKey=y),!g){e.resetDragState();return}var x=nF(n,g,t,c,e.dragStartMousePosition,f,i,a,o,p),C=x.dropPosition,E=x.dropLevelOffset,k=x.dropTargetKey,Z=x.dropContainerKey,N=x.dropTargetPos,b=x.dropAllowed,w=x.dragOverNodeKey;if(-1!==l.indexOf(k)||!b||(e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach(function(n){clearTimeout(e.delayedDragEnterLogic[n])}),g.props.eventKey!==t.props.eventKey&&(n.persist(),e.delayedDragEnterLogic[m]=window.setTimeout(function(){if(null!==e.state.draggingNodeKey){var r=(0,v.Z)(o),l=a[t.props.eventKey];l&&(l.children||[]).length&&(r=nA(o,t.props.eventKey)),"expandedKeys"in e.props||e.setExpandedKeys(r),null==u||u(r,{node:nD(t.props),expanded:!0,nativeEvent:n.nativeEvent})}},800)),g.props.eventKey===k&&0===E)){e.resetDragState();return}e.setState({dragOverNodeKey:w,dropPosition:C,dropLevelOffset:E,dropTargetKey:k,dropContainerKey:Z,dropTargetPos:N,dropAllowed:b}),null==s||s({event:n,node:nD(t.props),expandedKeys:o})},e.onNodeDragOver=function(n,t){var r=e.state,o=r.dragChildrenKeys,a=r.flattenNodes,l=r.keyEntities,i=r.expandedKeys,c=r.indent,d=e.props,s=d.onDragOver,u=d.allowDrop,f=d.direction,p=(0,nm.Z)(e).dragNode;if(p){var v=nF(n,p,t,c,e.dragStartMousePosition,u,a,l,i,f),h=v.dropPosition,m=v.dropLevelOffset,y=v.dropTargetKey,g=v.dropContainerKey,x=v.dropAllowed,C=v.dropTargetPos,E=v.dragOverNodeKey;-1===o.indexOf(y)&&x&&(p.props.eventKey===y&&0===m?null===e.state.dropPosition&&null===e.state.dropLevelOffset&&null===e.state.dropTargetKey&&null===e.state.dropContainerKey&&null===e.state.dropTargetPos&&!1===e.state.dropAllowed&&null===e.state.dragOverNodeKey||e.resetDragState():h===e.state.dropPosition&&m===e.state.dropLevelOffset&&y===e.state.dropTargetKey&&g===e.state.dropContainerKey&&C===e.state.dropTargetPos&&x===e.state.dropAllowed&&E===e.state.dragOverNodeKey||e.setState({dropPosition:h,dropLevelOffset:m,dropTargetKey:y,dropContainerKey:g,dropTargetPos:C,dropAllowed:x,dragOverNodeKey:E}),null==s||s({event:n,node:nD(t.props)}))}},e.onNodeDragLeave=function(n,t){e.currentMouseOverDroppableNodeKey!==t.props.eventKey||n.currentTarget.contains(n.relatedTarget)||(e.resetDragState(),e.currentMouseOverDroppableNodeKey=null);var r=e.props.onDragLeave;null==r||r({event:n,node:nD(t.props)})},e.onWindowDragEnd=function(n){e.onNodeDragEnd(n,null,!0),window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDragEnd=function(n,t){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:null}),e.cleanDragState(),null==r||r({event:n,node:nD(t.props)}),e.dragNode=null,window.removeEventListener("dragend",e.onWindowDragEnd)},e.onNodeDrop=function(n,t){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,d=a.dropTargetPos;if(a.dropAllowed){var s=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var u=(0,p.Z)((0,p.Z)({},nO(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),f=-1!==l.indexOf(c);(0,E.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var v=nH(d),h={event:n,node:nD(u),dragNode:e.dragNode?nD(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(v[v.length-1])};o||null==s||s(h),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,t){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,l=t.expanded,i=t.key;if(!t.isLeaf&&!n.shiftKey&&!n.metaKey&&!n.ctrlKey){var c=a.filter(function(e){return e.key===i})[0],d=nD((0,p.Z)((0,p.Z)({},nO(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?nI(o,i):nA(o,i)),e.onNodeExpand(n,d)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(n,t),null==o||o(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?nA(r,u):[u]:nI(r,u)).map(function(e){var n=a[e];return n?n.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:r}),null==c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,l=a.keyEntities,i=a.checkedKeys,c=a.halfCheckedKeys,d=e.props,s=d.checkStrictly,u=d.onCheck,f=t.key,p={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(s){var h=r?nA(i,f):nI(i,f);o={checked:h,halfChecked:nI(c,f)},p.checkedNodes=h.map(function(e){return l[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:h})}else{var m=n7([].concat((0,v.Z)(i),[f]),!0,l),y=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(f);var C=n7(Array.from(x),{checked:!1,halfCheckedKeys:g},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=g,y.forEach(function(e){var n=l[e];if(n){var t=n.node,r=n.pos;p.checkedNodes.push(t),p.checkedNodesPositions.push({node:t,pos:r})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null==u||u(o,p)},e.onNodeLoad=function(n){var t=n.key,r=new Promise(function(r,o){e.setState(function(a){var l=a.loadedKeys,i=a.loadingKeys,c=void 0===i?[]:i,d=e.props,s=d.loadData,u=d.onLoad;return s&&-1===(void 0===l?[]:l).indexOf(t)&&-1===c.indexOf(t)?(s(n).then(function(){var o=nA(e.state.loadedKeys,t);null==u||u(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState(function(e){return{loadingKeys:nI(e.loadingKeys,t)}}),r()}).catch(function(n){if(e.setState(function(e){return{loadingKeys:nI(e.loadingKeys,t)}}),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:nA(a,t)}),r()}o(n)}),{loadingKeys:nA(c,t)}):null})});return r.catch(function(){}),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null==r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null==r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,l={};Object.keys(n).forEach(function(t){if(t in e.props){a=!1;return}o=!0,l[t]=n[t]}),o&&(!t||a)&&e.setState((0,p.Z)((0,p.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,nh.Z)(t,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,r=t.focused,o=t.flattenNodes,a=t.keyEntities,l=t.draggingNodeKey,s=t.activeKey,u=t.dropLevelOffset,p=t.dropContainerKey,v=t.dropTargetKey,m=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,k=C.className,Z=C.style,N=C.showLine,b=C.focusable,w=C.tabIndex,S=C.selectable,K=C.showIcon,O=C.icon,D=C.switcherIcon,P=C.draggable,R=C.checkable,M=C.checkStrictly,L=C.disabled,T=C.motion,I=C.loadData,A=C.filterTreeNode,H=C.height,z=C.itemHeight,F=C.virtual,_=C.titleRender,j=C.dropIndicatorRender,B=C.onContextMenu,V=C.onScroll,W=C.direction,U=C.rootClassName,G=C.rootStyle,X=(0,y.Z)(this.props,{aria:!0,data:!0});return P&&(n="object"===(0,i.Z)(P)?P:"function"==typeof P?{nodeDraggable:P}:{}),h.createElement(nC.Provider,{value:{prefixCls:E,selectable:S,showIcon:K,icon:O,switcherIcon:D,draggable:n,draggingNodeKey:l,checkable:R,checkStrictly:M,disabled:L,keyEntities:a,dropLevelOffset:u,dropContainerKey:p,dropTargetKey:v,dropPosition:m,dragOverNodeKey:g,indent:x,direction:W,dropIndicatorRender:j,loadData:I,filterTreeNode:A,titleRender:_,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},h.createElement("div",{role:"tree",className:f()(E,k,U,(e={},(0,c.Z)(e,"".concat(E,"-show-line"),N),(0,c.Z)(e,"".concat(E,"-focused"),r),(0,c.Z)(e,"".concat(E,"-active-focused"),null!==s),e)),style:G},h.createElement(n8,(0,d.Z)({ref:this.listRef,prefixCls:E,style:Z,data:o,disabled:L,selectable:S,checkable:!!R,motion:T,dragging:null!==l,height:H,itemHeight:z,virtual:F,focusable:b,focused:r,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:B,onScroll:V},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r,o=n.prevProps,a={prevProps:e};function l(n){return!o&&n in e||o&&o[n]!==e[n]}var i=n.fieldNames;if(l("fieldNames")&&(i=nb(e.fieldNames),a.fieldNames=i),l("treeData")?t=e.treeData:l("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=nw(e.children)),t){a.treeData=t;var d=nK(t,{fieldNames:i});a.keyEntities=(0,p.Z)((0,c.Z)({},nQ,n1),d.keyEntities)}var s=a.keyEntities||n.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!o&&e.defaultExpandParent?nB(e.expandedKeys,s):e.expandedKeys;else if(!o&&e.defaultExpandAll){var u=(0,p.Z)({},s);delete u[nQ],a.expandedKeys=Object.keys(u).map(function(e){return u[e].key})}else!o&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?nB(e.defaultExpandedKeys,s):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var f=nS(t||n.treeData,a.expandedKeys||n.expandedKeys,i);a.flattenNodes=f}if(e.selectable&&(l("selectedKeys")?a.selectedKeys=n_(e.selectedKeys,e):!o&&e.defaultSelectedKeys&&(a.selectedKeys=n_(e.defaultSelectedKeys,e))),e.checkable&&(l("checkedKeys")?r=nj(e.checkedKeys)||{}:!o&&e.defaultCheckedKeys?r=nj(e.defaultCheckedKeys)||{}:t&&(r=nj(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),r)){var v=r,h=v.checkedKeys,m=void 0===h?[]:h,y=v.halfCheckedKeys,g=void 0===y?[]:y;if(!e.checkStrictly){var x=n7(m,!0,s);m=x.checkedKeys,g=x.halfCheckedKeys}a.checkedKeys=m,a.halfCheckedKeys=g}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(h.Component);n9.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case -1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return h.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},n9.TreeNode=nT;var te=t(33603),tn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},tt=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:tn}))};tt.displayName="FileOutlined";var tr=h.forwardRef(tt),to={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ta=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:to}))};ta.displayName="FolderOpenOutlined";var tl=h.forwardRef(ta),ti={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},tc=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:ti}))};tc.displayName="FolderOutlined";var td=h.forwardRef(tc);function ts(e,n){e.forEach(function(e){var t=e.key,r=e.children;!1!==n(t,e)&&ts(r||[],n)})}function tu(e,n){var t=(0,v.Z)(n),r=[];return ts(e,function(e,n){var o=t.indexOf(e);return -1!==o&&(r.push(n),t.splice(o,1)),!!t.length}),r}(a=l||(l={}))[a.None=0]="None",a[a.Start=1]="Start",a[a.End=2]="End";var tf=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t};function tp(e){var n=e.isLeaf,t=e.expanded;return n?h.createElement(tr,null):t?h.createElement(tl,null):h.createElement(td,null)}function tv(e){var n=e.treeData,t=e.children;return n||nw(t)}var th=function(e,n){var t=e.defaultExpandAll,r=e.defaultExpandParent,o=e.defaultExpandedKeys,a=tf(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),i=h.useRef(),u=h.useRef(),p=h.createRef();h.useImperativeHandle(n,function(){return p.current});var m=function(){var e=nK(tv(a)).keyEntities;return t?Object.keys(e):r?nB(a.expandedKeys||o||[],e):a.expandedKeys||o},y=h.useState(a.selectedKeys||a.defaultSelectedKeys||[]),g=(0,s.Z)(y,2),x=g[0],C=g[1],E=h.useState(function(){return m()}),k=(0,s.Z)(E,2),Z=k[0],N=k[1];h.useEffect(function(){"selectedKeys"in a&&C(a.selectedKeys)},[a.selectedKeys]),h.useEffect(function(){"expandedKeys"in a&&N(a.expandedKeys)},[a.expandedKeys]);var b=function(e,n){var t;return"expandedKeys"in a||N(e),null===(t=a.onExpand)||void 0===t?void 0:t.call(a,e,n)},w=function(e,n){var t,r,o,c,s,f,p,h,m,y=a.multiple,g=n.node,x=n.nativeEvent,E=g.key,k=void 0===E?"":E,N=tv(a),b=(0,d.Z)((0,d.Z)({},n),{selected:!0}),w=(null==x?void 0:x.ctrlKey)||(null==x?void 0:x.metaKey),S=null==x?void 0:x.shiftKey;y&&w?(m=e,i.current=k,u.current=m,b.selectedNodes=tu(N,m)):y&&S?(m=Array.from(new Set([].concat((0,v.Z)(u.current||[]),(0,v.Z)((r=(t={treeData:N,expandedKeys:Z,startKey:k,endKey:i.current}).treeData,o=t.expandedKeys,c=t.startKey,s=t.endKey,f=[],p=l.None,c&&c===s?[c]:c&&s?(ts(r,function(e){if(p===l.End)return!1;if(e===c||e===s){if(f.push(e),p===l.None)p=l.Start;else if(p===l.Start)return p=l.End,!1}else p===l.Start&&f.push(e);return -1!==o.indexOf(e)}),f):[]))))),b.selectedNodes=tu(N,m)):(m=[k],i.current=k,u.current=m,b.selectedNodes=tu(N,m)),null===(h=a.onSelect)||void 0===h||h.call(a,m,b),"selectedKeys"in a||C(m)},S=h.useContext(eP.E_),K=S.getPrefixCls,O=S.direction,D=a.prefixCls,P=a.className,R=a.showIcon,M=a.expandAction,L=tf(a,["prefixCls","className","showIcon","expandAction"]),T=K("tree",D),I=f()("".concat(T,"-directory"),(0,c.Z)({},"".concat(T,"-directory-rtl"),"rtl"===O),P);return h.createElement(tD,(0,d.Z)({icon:tp,ref:p,blockNode:!0},L,{showIcon:void 0===R||R,expandAction:void 0===M?"click":M,prefixCls:T,className:I,expandedKeys:Z,selectedKeys:x,onSelect:w,onExpand:b}))},tm=h.forwardRef(th);function ty(e){var n,t=e.dropPosition,r=e.dropLevelOffset,o=e.prefixCls,a=e.indent,l=e.direction,i=void 0===l?"ltr":l,d="ltr"===i?"left":"right",s=(n={},(0,c.Z)(n,d,-r*a+4),(0,c.Z)(n,"ltr"===i?"right":"left",0),n);switch(t){case -1:s.top=-3;break;case 1:s.bottom=-3;break;default:s.bottom=-3,s[d]=a+4}return h.createElement("div",{style:s,className:"".concat(o,"-drop-indicator")})}var tg={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},tx=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:tg}))};tx.displayName="CaretDownFilled";var tC=h.forwardRef(tx),tE=t(50888),tk={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},tZ=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:tk}))};tZ.displayName="MinusSquareOutlined";var tN=h.forwardRef(tZ),tb={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},tw=function(e,n){return h.createElement(eU.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:n,icon:tb}))};tw.displayName="PlusSquareOutlined";var tS=h.forwardRef(tw),tK=t(96159),tO=h.forwardRef(function(e,n){var t,r=h.useContext(eP.E_),o=r.getPrefixCls,a=r.direction,l=r.virtual,s=e.prefixCls,u=e.className,p=e.showIcon,v=void 0!==p&&p,m=e.showLine,y=e.switcherIcon,g=e.blockNode,x=void 0!==g&&g,C=e.children,E=e.checkable,k=void 0!==E&&E,Z=e.selectable,N=void 0===Z||Z,b=e.draggable,w=e.motion,S=void 0===w?(0,d.Z)((0,d.Z)({},te.ZP),{motionAppear:!1}):w,K=o("tree",s),O=(0,d.Z)((0,d.Z)({},e),{checkable:k,selectable:N,showIcon:v,motion:S,blockNode:x,showLine:Boolean(m),dropIndicatorRender:ty}),D=h.useMemo(function(){if(!b)return!1;var e={};switch((0,i.Z)(b)){case"function":e.nodeDraggable=b;break;case"object":e=(0,d.Z)({},b)}return!1!==e.icon&&(e.icon=e.icon||h.createElement(np,null)),e},[b]);return h.createElement(n9,(0,d.Z)({itemHeight:20,ref:n,virtual:l},O,{prefixCls:K,className:f()((t={},(0,c.Z)(t,"".concat(K,"-icon-hide"),!v),(0,c.Z)(t,"".concat(K,"-block-node"),x),(0,c.Z)(t,"".concat(K,"-unselectable"),!N),(0,c.Z)(t,"".concat(K,"-rtl"),"rtl"===a),t),u),direction:a,checkable:k?h.createElement("span",{className:"".concat(K,"-checkbox-inner")}):k,selectable:N,switcherIcon:function(e){return function(e,n,t,r){var o,a=r.isLeaf,l=r.expanded;if(r.loading)return h.createElement(tE.Z,{className:"".concat(e,"-switcher-loading-icon")});if(t&&"object"===(0,i.Z)(t)&&(o=t.showLeafIcon),a){if(!t)return null;if("boolean"!=typeof o&&o){var c="function"==typeof o?o(r):o;return(0,tK.l$)(c)?(0,tK.Tm)(c,{className:f()(c.props.className||"","".concat(e,"-switcher-line-custom-icon"))}):c}return o?h.createElement(tr,{className:"".concat(e,"-switcher-line-icon")}):h.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var d="".concat(e,"-switcher-icon"),s="function"==typeof n?n(r):n;return(0,tK.l$)(s)?(0,tK.Tm)(s,{className:f()(s.props.className||"",d)}):s||(t?l?h.createElement(tN,{className:"".concat(e,"-switcher-line-icon")}):h.createElement(tS,{className:"".concat(e,"-switcher-line-icon")}):h.createElement(tC,{className:d}))}(K,y,m,e)},draggable:D}),C)});tO.TreeNode=nT,tO.DirectoryTree=tm;var tD=tO,tP=t(57838),tR=t(68795),tM=t(69677),tL=function(e){var n=e.value,t=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,a=e.locale;return r?h.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},h.createElement(tM.Z,{prefix:h.createElement(tR.Z,null),placeholder:a.filterSearchPlaceholder,onChange:t,value:n,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null},tT=function(e){return h.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function tI(e,n){return("string"==typeof n||"number"==typeof n)&&(null==n?void 0:n.toString().toLowerCase().includes(e.trim().toLowerCase()))}var tA=function(e){var n,t,r,o,a,l,i=e.tablePrefixCls,u=e.prefixCls,p=e.column,v=e.dropdownPrefixCls,m=e.columnKey,y=e.filterMultiple,g=e.filterMode,x=e.filterSearch,C=void 0!==x&&x,E=e.filterState,k=e.triggerFilter,Z=e.locale,N=e.children,b=e.getPopupContainer,w=p.filterDropdownOpen,S=p.onFilterDropdownOpenChange,K=p.filterDropdownVisible,O=p.onFilterDropdownVisibleChange,D=p.filterResetToDefaultFilteredValue,P=p.defaultFilteredValue,R=h.useState(!1),M=(0,s.Z)(R,2),L=M[0],T=M[1],I=!!(E&&((null===(r=E.filteredKeys)||void 0===r?void 0:r.length)||E.forceFiltered)),A=function(e){T(e),null==S||S(e),null==O||O(e)};o="boolean"==typeof w?w:"boolean"==typeof K?K:L;var H=null==E?void 0:E.filteredKeys,z=(n=h.useRef(H||[]),t=(0,tP.Z)(),[function(){return n.current},function(e){n.current=e,t()}]),F=(0,s.Z)(z,2),_=F[0],j=F[1],B=function(e){j(e.selectedKeys)},V=function(e,n){var t=n.node,r=n.checked;y?B({selectedKeys:e}):B({selectedKeys:r&&t.key?[t.key]:[]})};h.useEffect(function(){L&&B({selectedKeys:H||[]})},[H]);var W=h.useState([]),U=(0,s.Z)(W,2),G=U[0],X=U[1],q=function(e){X(e)},Y=h.useState(""),$=(0,s.Z)(Y,2),J=$[0],Q=$[1],ee=function(e){Q(e.target.value)};h.useEffect(function(){L||Q("")},[L]);var en=function(e){var n=e&&e.length?e:null;if(null===n&&(!E||!E.filteredKeys)||eY()(n,null==E?void 0:E.filteredKeys))return null;k({column:p,key:m,filteredKeys:n})},et=function(){A(!1),en(_())},er=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&en([]),t&&A(!1),Q(""),D?j((P||[]).map(function(e){return String(e)})):j([])},eo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e.closeDropdown&&A(!1),en(_())},ea=function(e){e&&void 0!==H&&j(H||[]),A(e),e||p.filterDropdown||et()},el=f()((0,c.Z)({},"".concat(v,"-menu-without-submenu"),!(p.filters||[]).some(function(e){return e.children}))),ei=function(e){e.target.checked?j(tz(null==p?void 0:p.filters).map(function(e){return String(e)})):j([])},ec=function e(n){var t;return(0,d.Z)((0,d.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map(function(n){return e(n)}))||[]})};if("function"==typeof p.filterDropdown)a=p.filterDropdown({prefixCls:"".concat(v,"-custom"),setSelectedKeys:function(e){return B({selectedKeys:e})},selectedKeys:_(),confirm:eo,clearFilters:er,filters:p.filters,visible:o});else if(p.filterDropdown)a=p.filterDropdown;else{var ed=_()||[];a=h.createElement(h.Fragment,null,0===(p.filters||[]).length?h.createElement(e0.Z,{image:e0.Z.PRESENTED_IMAGE_SIMPLE,description:Z.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===(void 0===g?"menu":g)?h.createElement(h.Fragment,null,h.createElement(tL,{filterSearch:C,value:J,onChange:ee,tablePrefixCls:i,locale:Z}),h.createElement("div",{className:"".concat(i,"-filter-dropdown-tree")},y?h.createElement(eJ.Z,{checked:ed.length===tz(p.filters).length,indeterminate:ed.length>0&&ed.lengthn.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);on.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t},tV=t(84506),tW=t(80882),tU={},tG="SELECT_ALL",tX="SELECT_INVERT",tq="SELECT_NONE",tY=[],t$=t(39398),tJ=t(10010),tQ=t(94199),t0="ascend",t1="descend";function t2(e){return"object"===(0,i.Z)(e.sorter)&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function t3(e){return"function"==typeof e?e:!!e&&"object"===(0,i.Z)(e)&&!!e.compare&&e.compare}function t4(e,n,t){var r=[];function o(e,n){r.push({column:e,key:ej(e,n),multiplePriority:t2(e),sortOrder:e.sortOrder})}return(e||[]).forEach(function(e,a){var l=eB(a,t);e.children?("sortOrder"in e&&o(e,l),r=[].concat((0,v.Z)(r),(0,v.Z)(t4(e.children,n,l)))):e.sorter&&("sortOrder"in e?o(e,l):n&&e.defaultSortOrder&&r.push({column:e,key:ej(e,l),multiplePriority:t2(e),sortOrder:e.defaultSortOrder}))}),r}function t8(e){var n=e.column;return{column:n,order:e.sortOrder,field:n.dataIndex,columnKey:n.key}}function t6(e){var n=e.filter(function(e){return e.sortOrder}).map(t8);return 0===n.length&&e.length?(0,d.Z)((0,d.Z)({},t8(e[e.length-1])),{column:void 0}):n.length<=1?n[0]||{}:n}function t5(e,n,t){var r=n.slice().sort(function(e,n){return n.multiplePriority-e.multiplePriority}),o=e.slice(),a=r.filter(function(e){var n=e.column.sorter,t=e.sortOrder;return t3(n)&&t});return a.length?o.sort(function(e,n){for(var t=0;t2&&void 0!==arguments[2]&&arguments[2],r=(0,d.Z)((0,d.Z)({},es),e);t&&(es.resetPagination(),r.pagination.current&&(r.pagination.current=1),y&&y.onChange&&y.onChange(1,r.pagination.pageSize)),M&&!1!==M.scrollToFirstRowOnChange&&ea.body.current&&function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=n.callback,o=n.duration,a=void 0===o?450:o,l=(void 0===t?function(){return window}:t)(),i=function(e,n){if("undefined"==typeof window)return 0;var t,r,o=n?"scrollTop":"scrollLeft",a=0;return ez(e)?a=e[n?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!ez(e)&&"number"!=typeof a&&(a=null===(r=(null!==(t=e.ownerDocument)&&void 0!==t?t:e).documentElement)||void 0===r?void 0:r[o]),a}(l,!0),c=Date.now(),d=function e(){var n,t,o=Date.now()-c,d=(n=o>a?a:o,t=0-i,(n/=a/2)<1?t/2*n*n*n+i:t/2*((n-=2)*n*n+2)+i);ez(l)?l.scrollTo(window.pageXOffset,d):l instanceof Document||"HTMLDocument"===l.constructor.name?l.documentElement.scrollTop=d:l.scrollTop=d,o0?e9:e6}),nl=Math.ceil((e9||e6)/na.pageSize),na.current>nl&&(na.current=nl||1),ni=function(e,n){no({current:null!=e?e:1,pageSize:n||na.pageSize})},nc=function(e,n){var t;y&&(null===(t=y.onChange)||void 0===t||t.call(y,e,n)),ni(e,n),eK(e,n||(null==na?void 0:na.pageSize))},!1===y?[{},function(){}]:[(0,d.Z)((0,d.Z)({},na),{onChange:nc}),ni]),e_=(0,s.Z)(eF,2),eW=e_[0],eU=e_[1];es.pagination=!1===y?{}:(nd=y,nf={current:(nu=eW).current,pageSize:nu.pageSize},Object.keys(nd&&"object"===(0,i.Z)(nd)?nd:{}).forEach(function(e){var n=nu[e];"function"!=typeof n&&(nf[e]=n)}),nf),es.resetPagination=eU;var eG=h.useMemo(function(){if(!1===y||!eW.pageSize)return eN;var e=eW.current,n=void 0===e?1:e,t=eW.total,r=eW.pageSize,o=void 0===r?10:r;return eN.lengtho?eN.slice((n-1)*o,n*o):eN:eN.slice((n-1)*o,n*o)},[!!y,eN,eW&&eW.current,eW&&eW.pageSize,eW&&eW.total]),eX=(np={prefixCls:J,data:eN,pageData:eG,getRowKey:ei,getRecordByKey:ed,expandType:eo,childrenColumnName:er,locale:q,getPopupContainer:w},nh=(nv=g||{}).preserveSelectedRowKeys,nm=nv.selectedRowKeys,ny=nv.defaultSelectedRowKeys,ng=nv.getCheckboxProps,nC=nv.onChange,nE=nv.onSelect,nk=nv.onSelectAll,nZ=nv.onSelectInvert,nN=nv.onSelectNone,nb=nv.onSelectMultiple,nw=nv.columnWidth,nS=nv.type,nO=nv.selections,nD=nv.fixed,nP=nv.renderCell,nR=nv.hideSelectAll,nL=void 0===(nM=nv.checkStrictly)||nM,nT=np.prefixCls,nH=np.data,nz=np.pageData,nF=np.getRecordByKey,n_=np.getRowKey,nj=np.expandType,nB=np.childrenColumnName,nV=np.locale,nW=np.getPopupContainer,nU=(0,e3.Z)(nm||ny||tY,{value:nm}),nX=(nG=(0,s.Z)(nU,2))[0],nq=nG[1],nY=h.useRef(new Map),n$=(0,h.useCallback)(function(e){if(nh){var n=new Map;e.forEach(function(e){var t=nF(e);!t&&nY.current.has(e)&&(t=nY.current.get(e)),n.set(e,t)}),nY.current=n}},[nF,nh]),h.useEffect(function(){n$(nX)},[nX]),nJ=(0,h.useMemo)(function(){return nL?{keyEntities:null}:nK(nH,{externalGetKey:n_,childrenPropName:nB})},[nH,n_,nL,nB]).keyEntities,nQ=(0,h.useMemo)(function(){return function e(n,t){var r=[];return(n||[]).forEach(function(n){r.push(n),n&&"object"===(0,i.Z)(n)&&t in n&&(r=[].concat((0,v.Z)(r),(0,v.Z)(e(n[t],t))))}),r}(nz,nB)},[nz,nB]),n0=(0,h.useMemo)(function(){var e=new Map;return nQ.forEach(function(n,t){var r=n_(n,t),o=(ng?ng(n):null)||{};e.set(r,o)}),e},[nQ,n_,ng]),n1=(0,h.useCallback)(function(e){var n;return!!(null===(n=n0.get(n_(e)))||void 0===n?void 0:n.disabled)},[n0,n_]),n2=(0,h.useMemo)(function(){if(nL)return[nX||[],[]];var e=n7(nX,!0,nJ,n1);return[e.checkedKeys||[],e.halfCheckedKeys]},[nX,nL,nJ,n1]),n4=(n3=(0,s.Z)(n2,2))[0],n8=n3[1],n6=(0,h.useMemo)(function(){var e="radio"===nS?n4.slice(0,1):n4;return new Set(e)},[n4,nS]),n5=(0,h.useMemo)(function(){return"radio"===nS?new Set:new Set(n8)},[n8,nS]),n9=(0,h.useState)(null),tn=(te=(0,s.Z)(n9,2))[0],tt=te[1],h.useEffect(function(){g||nq(tY)},[!!g]),tr=(0,h.useCallback)(function(e,n){var t,r;n$(e),nh?(t=e,r=e.map(function(e){return nY.current.get(e)})):(t=[],r=[],e.forEach(function(e){var n=nF(e);void 0!==n&&(t.push(e),r.push(n))})),nq(t),null==nC||nC(t,r,{type:n})},[nq,nF,nC,nh]),to=(0,h.useCallback)(function(e,n,t,r){if(nE){var o=t.map(function(e){return nF(e)});nE(nF(e),n,o,r)}tr(t,"single")},[nE,nF,tr]),ta=(0,h.useMemo)(function(){return!nO||nR?null:(!0===nO?[tG,tX,tq]:nO).map(function(e){return e===tG?{key:"all",text:nV.selectionAll,onSelect:function(){tr(nH.map(function(e,n){return n_(e,n)}).filter(function(e){var n=n0.get(e);return!(null==n?void 0:n.disabled)||n6.has(e)}),"all")}}:e===tX?{key:"invert",text:nV.selectInvert,onSelect:function(){var e=new Set(n6);nz.forEach(function(n,t){var r=n_(n,t),o=n0.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))});var n=Array.from(e);nZ&&nZ(n),tr(n,"invert")}}:e===tq?{key:"none",text:nV.selectNone,onSelect:function(){null==nN||nN(),tr(Array.from(n6).filter(function(e){var n=n0.get(e);return null==n?void 0:n.disabled}),"none")}}:e}).map(function(e){return(0,d.Z)((0,d.Z)({},e),{onSelect:function(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&g&&(ee.expandIconColumnIndex-=1),"number"!=typeof ee.indentSize&&(ee.indentSize="number"==typeof R?R:15);var e2=h.useCallback(function(e){return ew(eY(eE(ev(e))))},[ev,eE,eY]);if(!1!==y&&(null==eW?void 0:eW.total)){ts=eW.size?eW.size:"small"===X||"middle"===X?"small":void 0;var e4,e8,e6,e5,e7,e9,ne,nn,nt,nr,no,na,nl,ni,nc,nd,nu,nf,np,nv,nh,nm,ny,ng,nC,nE,nk,nZ,nN,nb,nw,nS,nO,nD,nP,nR,nM,nL,nT,nH,nz,nF,n_,nj,nB,nV,nW,nU,nG,nX,nq,nY,n$,nJ,nQ,n0,n1,n2,n3,n4,n8,n6,n5,n9,te,tn,tt,tr,to,ta,tl,ti,tc,td,ts,tu=function(e){return h.createElement(eI.Z,(0,d.Z)({},eW,{className:f()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),eW.className),size:ts}))},tf="rtl"===G?"left":"right",tp=eW.position;if(null!==tp&&Array.isArray(tp)){var tv=tp.find(function(e){return -1!==e.indexOf("top")}),th=tp.find(function(e){return -1!==e.indexOf("bottom")}),tm=tp.every(function(e){return"none"==="".concat(e)});tv||th||tm||(td=tu(tf)),tv&&(tc=tu(tv.toLowerCase().replace("top",""))),th&&(td=tu(th.toLowerCase().replace("bottom","")))}else td=tu(tf)}"boolean"==typeof S?t={spinning:S}:"object"===(0,i.Z)(S)&&(t=(0,d.Z)({spinning:!0},S));var ty=f()("".concat(J,"-wrapper"),(0,c.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),o);return h.createElement("div",{ref:n,className:ty,style:a},h.createElement(eA.Z,(0,d.Z)({spinning:!1},t),tc,h.createElement(eO,(0,d.Z)({},_,{columns:F,direction:G,expandable:ee,prefixCls:J,className:f()((ti={},(0,c.Z)(ti,"".concat(J,"-middle"),"middle"===X),(0,c.Z)(ti,"".concat(J,"-small"),"small"===X),(0,c.Z)(ti,"".concat(J,"-bordered"),u),(0,c.Z)(ti,"".concat(J,"-empty"),0===Y.length),ti)),data:eG,rowKey:ei,rowClassName:e0,emptyText:T&&T.emptyText||(U||eR.Z)("Table"),internalHooks:eS,internalRefs:ea,transformColumns:e2})),td))});t9.SELECTION_COLUMN=tU,t9.EXPAND_COLUMN=eO.EXPAND_COLUMN,t9.SELECTION_ALL=tG,t9.SELECTION_INVERT=tX,t9.SELECTION_NONE=tq,t9.Column=eF,t9.ColumnGroup=e_,t9.Summary=eh;var re=t9},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;!t&&("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var r,o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,h=n.tabIndex,m=n.onClick,y=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,k=n.autoFocus,Z=n.value,N=n.required,b=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),w=Object.keys(b).reduce(function(e,n){return("aria-"===n.substr(0,5)||"data-"===n.substr(0,5)||"role"===n)&&(e[n]=b[n]),e},{}),S=this.state.checked,K=p()(t,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:h,className:"".concat(t,"-input"),checked:!!S,onClick:m,onFocus:y,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:Z},w)),u.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3626-d074077c8897dd8b.js b/static/web/_next/static/chunks/3626-d074077c8897dd8b.js deleted file mode 100644 index 450e92bbc..000000000 --- a/static/web/_next/static/chunks/3626-d074077c8897dd8b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3626],{10010:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(1413),o=t(67294),a={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},l=t(42135),i=function(e,n){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:n,icon:a}))};i.displayName="CaretUpOutlined";var c=o.forwardRef(i)},32808:function(e,n,t){t.d(n,{Z:function(){return N}});var r=t(4942),o=t(87462),a=t(94184),l=t.n(a),i=t(50132),c=t(67294),d=t(53124),s=t(65223),u=t(74902),f=t(97685),p=t(98423),v=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(a=M().map((function(e){return c.createElement(k,{prefixCls:L,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:-1!==S.indexOf(e.value),onChange:e.onChange,className:"".concat(T,"-item"),style:e.style},e.label)})));var A={toggleOption:function(e){var n=S.indexOf(e.value),t=(0,u.Z)(S);-1===n?t.push(e.value):t.splice(n,1),"value"in C||K(t);var r=M();null===x||void 0===x||x(t.filter((function(e){return-1!==P.indexOf(e)})).sort((function(e,n){return r.findIndex((function(n){return n.value===e}))-r.findIndex((function(e){return e.value===n}))})))},value:S,disabled:C.disabled,name:C.name,registerValue:function(e){R((function(n){return[].concat((0,u.Z)(n),[e])}))},cancelValue:function(e){R((function(n){return n.filter((function(n){return n!==e}))}))}},H=l()(T,(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===N),y);return c.createElement("div",(0,o.Z)({className:H,style:g},I,{ref:n}),c.createElement(h.Provider,{value:A},a))},y=c.forwardRef(m),g=c.memo(y),x=t(98866),C=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=t}(t,p||1,null===e||void 0===e?void 0:e.startRow,null===e||void 0===e?void 0:e.endRow);return{onHover:null===e||void 0===e?void 0:e.onHover,hovering:n}})),h=v.onHover,y=v.hovering;return u.createElement(z,(0,a.Z)({},e,{colSpan:f,rowSpan:p,hovering:y,ref:n,onHover:h}))}));F.displayName="WrappedCell";var _=F,j=u.createContext(null);function B(e,n,t,r,o){var a,l,i=t[e]||{},c=t[n]||{};"left"===i.fixed?a=r.left[e]:"right"===c.fixed&&(l=r.right[n]);var d=!1,s=!1,u=!1,f=!1,p=t[n+1],v=t[e-1];if("rtl"===o){if(void 0!==a)f=!(v&&"left"===v.fixed);else if(void 0!==l){u=!(p&&"right"===p.fixed)}}else if(void 0!==a){d=!(p&&"left"===p.fixed)}else if(void 0!==l){s=!(v&&"right"===v.fixed)}return{fixLeft:a,fixRight:l,lastFixLeft:d,firstFixRight:s,lastFixRight:u,firstFixLeft:f,isSticky:r.isSticky}}function V(e){var n,t=e.cells,r=e.stickyOffsets,o=e.flattenColumns,l=e.rowComponent,i=e.cellComponent,c=e.onHeaderRow,d=e.index,s=u.useContext(j),f=s.prefixCls,p=s.direction;c&&(n=c(t.map((function(e){return e.column})),d));var v=w(t.map((function(e){return e.column})));return u.createElement(l,n,t.map((function(e,n){var t,l=e.column,c=B(e.colStart,e.colEnd,o,r,p);return l&&l.onHeaderCell&&(t=e.column.onHeaderCell(l)),u.createElement(_,(0,a.Z)({},e,{ellipsis:l.ellipsis,align:l.align,component:i,prefixCls:f,key:v[n]},c,{additionalProps:t,rowType:"header"}))})))}V.displayName="HeaderRow";var W=V;var U=function(e){var n=e.stickyOffsets,t=e.columns,r=e.flattenColumns,o=e.onHeaderRow,a=u.useContext(j),l=a.prefixCls,i=a.getComponent,c=u.useMemo((function(){return function(e){var n=[];!function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n[o]=n[o]||[];var a=r;return t.filter(Boolean).map((function(t){var r={key:t.key,className:t.className||"",children:t.title,column:t,colStart:a},l=1,i=t.children;return i&&i.length>0&&(l=e(i,a,o+1).reduce((function(e,n){return e+n}),0),r.hasSubColumns=!0),"colSpan"in t&&(l=t.colSpan),"rowSpan"in t&&(r.rowSpan=t.rowSpan),r.colSpan=l,r.colEnd=r.colStart+l-1,n[o].push(r),a+=l,l}))}(e,0);for(var t=n.length,r=function(e){n[e].forEach((function(n){"rowSpan"in n||n.hasSubColumns||(n.rowSpan=t-e)}))},o=0;o1?t-1:0),a=1;a0?[].concat((0,s.Z)(e),(0,s.Z)(ue(o).map((function(e){return(0,d.Z)({fixed:r},e)})))):[].concat((0,s.Z)(e),[(0,d.Z)((0,d.Z)({},n),{},{fixed:r})])}),[])}var fe=function(e,n){var t=e.prefixCls,r=e.columns,a=e.children,l=e.expandable,i=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,f=e.onTriggerExpand,p=e.expandIcon,v=e.rowExpandable,h=e.expandIconColumnIndex,m=e.direction,y=e.expandRowByClick,g=e.columnWidth,x=e.fixed,C=u.useMemo((function(){return r||se(a)}),[r,a]),E=u.useMemo((function(){if(l){var e,n=C.slice();if(!n.includes(ie)){var r=h||0;r>=0&&n.splice(r,0,ie)}0;var a=n.indexOf(ie);n=n.filter((function(e,n){return e!==ie||n===a}));var d,m=C[a];d="left"!==x&&!x||h?"right"!==x&&!x||h!==C.length?m?m.fixed:null:"right":"left";var E=(e={},(0,o.Z)(e,le,{className:"".concat(t,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,o.Z)(e,"title",c),(0,o.Z)(e,"fixed",d),(0,o.Z)(e,"className","".concat(t,"-row-expand-icon-cell")),(0,o.Z)(e,"width",g),(0,o.Z)(e,"render",(function(e,n,r){var o=s(n,r),a=i.has(o),l=!v||v(n),c=p({prefixCls:t,expanded:a,expandable:l,record:n,onExpand:f});return y?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},c):c})),e);return n.map((function(e){return e===ie?E:e}))}return C.filter((function(e){return e!==ie}))}),[l,C,s,i,p,m]),Z=u.useMemo((function(){var e=E;return n&&(e=n(e)),e.length||(e=[{render:function(){return null}}]),e}),[n,E,m]),N=u.useMemo((function(){return"rtl"===m?function(e){return e.map((function(e){var n=e.fixed,t=(0,k.Z)(e,de),r=n;return"left"===n?r="right":"right"===n&&(r="left"),(0,d.Z)({fixed:r},t)}))}(ue(Z)):ue(Z)}),[Z,m]);return[Z,N]};function pe(e){var n=(0,u.useRef)(e),t=(0,u.useState)({}),r=(0,l.Z)(t,2)[1],o=(0,u.useRef)(null),a=(0,u.useRef)([]);return(0,u.useEffect)((function(){return function(){o.current=null}}),[]),[n.current,function(e){a.current.push(e);var t=Promise.resolve();o.current=t,t.then((function(){if(o.current===t){var e=a.current,l=n.current;a.current=[],e.forEach((function(e){n.current=e(n.current)})),o.current=null,l!==n.current&&r({})}}))}]}var ve=function(e,n,t){return(0,u.useMemo)((function(){for(var r=[],o=[],a=0,l=0,i=0;i=0;l-=1){var i=n[l],c=t&&t[l],d=c&&c[le];if(i||d||o){var s=d||{},f=(s.columnType,(0,k.Z)(s,he));r.unshift(u.createElement("col",(0,a.Z)({key:l,style:{width:i}},f))),o=!0}}return u.createElement("colgroup",null,r)};var ye=function(e){var n=e.className,t=e.children;return u.createElement("div",{className:n},t)},ge=u.createContext({});var xe=["children"];function Ce(e){return e.children}Ce.Row=function(e){var n=e.children,t=(0,k.Z)(e,xe);return u.createElement("tr",t,n)},Ce.Cell=function(e){var n=e.className,t=e.index,r=e.children,o=e.colSpan,l=void 0===o?1:o,i=e.rowSpan,c=e.align,d=u.useContext(j),s=d.prefixCls,f=d.direction,p=u.useContext(ge),v=p.scrollColumnIndex,h=p.stickyOffsets,m=t+l-1+1===v?l+1:l,y=B(t,t+m-1,p.flattenColumns,h,f);return u.createElement(_,(0,a.Z)({className:n,index:t,component:"td",prefixCls:s,record:null,dataIndex:null,align:c,colSpan:m,rowSpan:i,render:function(){return r}},y))};var Ee=Ce;var ke=function(e){var n=e.children,t=e.stickyOffsets,r=e.flattenColumns,o=u.useContext(j).prefixCls,a=r.length-1,l=r[a],i=u.useMemo((function(){return{stickyOffsets:t,flattenColumns:r,scrollColumnIndex:(null===l||void 0===l?void 0:l.scrollbar)?a:null}}),[l,r,a,t]);return u.createElement(ge.Provider,{value:i},u.createElement("tfoot",{className:"".concat(o,"-summary")},n))},Ze=Ee;function Ne(e){var n,t=e.prefixCls,r=e.record,a=e.onExpand,l=e.expanded,i=e.expandable,d="".concat(t,"-row-expand-icon");if(!i)return u.createElement("span",{className:c()(d,"".concat(t,"-row-spaced"))});return u.createElement("span",{className:c()(d,(n={},(0,o.Z)(n,"".concat(t,"-row-expanded"),l),(0,o.Z)(n,"".concat(t,"-row-collapsed"),!l),n)),onClick:function(e){a(r,e),e.stopPropagation()}})}var be=t(64019),we=t(27678),Se=function(e,n){var t,r,a=e.scrollBodyRef,i=e.onScroll,s=e.offsetScroll,f=e.container,p=u.useContext(j).prefixCls,v=(null===(t=a.current)||void 0===t?void 0:t.scrollWidth)||0,h=(null===(r=a.current)||void 0===r?void 0:r.clientWidth)||0,m=v&&h*(h/v),y=u.useRef(),g=pe({scrollLeft:0,isHiddenScrollBar:!1}),C=(0,l.Z)(g,2),E=C[0],k=C[1],Z=u.useRef({delta:0,x:0}),N=u.useState(!1),b=(0,l.Z)(N,2),w=b[0],S=b[1],K=function(){S(!1)},O=function(e){var n,t=(e||(null===(n=window)||void 0===n?void 0:n.event)).buttons;if(w&&0!==t){var r=Z.current.x+e.pageX-Z.current.x-Z.current.delta;r<=0&&(r=0),r+m>=h&&(r=h-m),i({scrollLeft:r/h*(v+2)}),Z.current.x=e.pageX}else w&&S(!1)},D=function(){if(a.current){var e=(0,we.os)(a.current).top,n=e+a.current.offsetHeight,t=f===window?document.documentElement.scrollTop+window.innerHeight:(0,we.os)(f).top+f.clientHeight;n-(0,x.Z)()<=t||e>=t-s?k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!0})})):k((function(e){return(0,d.Z)((0,d.Z)({},e),{},{isHiddenScrollBar:!1})}))}},P=function(e){k((function(n){return(0,d.Z)((0,d.Z)({},n),{},{scrollLeft:e/v*h||0})}))};return u.useImperativeHandle(n,(function(){return{setScrollLeft:P}})),u.useEffect((function(){var e=(0,be.Z)(document.body,"mouseup",K,!1),n=(0,be.Z)(document.body,"mousemove",O,!1);return D(),function(){e.remove(),n.remove()}}),[m,w]),u.useEffect((function(){var e=(0,be.Z)(f,"scroll",D,!1),n=(0,be.Z)(window,"resize",D,!1);return function(){e.remove(),n.remove()}}),[f]),u.useEffect((function(){E.isHiddenScrollBar||k((function(e){var n=a.current;return n?(0,d.Z)((0,d.Z)({},e),{},{scrollLeft:n.scrollLeft/n.scrollWidth*n.clientWidth}):e}))}),[E.isHiddenScrollBar]),v<=h||!m||E.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,x.Z)(),width:h,bottom:s},className:"".concat(p,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),Z.current.delta=e.pageX-E.scrollLeft,Z.current.x=0,S(!0),e.preventDefault()},ref:y,className:c()("".concat(p,"-sticky-scroll-bar"),(0,o.Z)({},"".concat(p,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(E.scrollLeft,"px, 0, 0)")}}))},Ke=u.forwardRef(Se),Oe=(0,t(98924).Z)()?window:null;var De=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];var Pe=u.forwardRef((function(e,n){var t=e.className,r=e.noData,a=e.columns,l=e.flattenColumns,i=e.colWidths,f=e.columCount,p=e.stickyOffsets,v=e.direction,h=e.fixHeader,m=e.stickyTopOffset,y=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,C=e.maxContentScroll,E=e.children,N=(0,k.Z)(e,De),b=u.useContext(j),w=b.prefixCls,S=b.scrollbarSize,K=b.isSticky,O=K&&!h?0:S,D=u.useRef(null),P=u.useCallback((function(e){(0,Z.mH)(n,e),(0,Z.mH)(D,e)}),[]);u.useEffect((function(){var e;function n(e){var n=e.currentTarget,t=e.deltaX;t&&(x({currentTarget:n,scrollLeft:n.scrollLeft+t}),e.preventDefault())}return null===(e=D.current)||void 0===e||e.addEventListener("wheel",n),function(){var e;null===(e=D.current)||void 0===e||e.removeEventListener("wheel",n)}}),[]);var R=u.useMemo((function(){return l.every((function(e){return e.width>=0}))}),[l]),M=l[l.length-1],L={fixed:M?M.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(w,"-cell-scrollbar")}}},T=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(a),[L]):a}),[O,a]),I=(0,u.useMemo)((function(){return O?[].concat((0,s.Z)(l),[L]):l}),[O,l]),A=(0,u.useMemo)((function(){var e=p.right,n=p.left;return(0,d.Z)((0,d.Z)({},p),{},{left:"rtl"===v?[].concat((0,s.Z)(n.map((function(e){return e+O}))),[0]):n,right:"rtl"===v?e:[].concat((0,s.Z)(e.map((function(e){return e+O}))),[0]),isSticky:K})}),[O,p,K]),H=function(e,n){return(0,u.useMemo)((function(){for(var t=[],r=0;r0)):(ln(a>0),un(a1&&void 0!==arguments[1]?arguments[1]:{},t=n.getContainer,r=void 0===t?function(){return window}:t,o=n.callback,a=n.duration,l=void 0===a?450:a,i=r(),c=Ye(i,!0),d=Date.now(),s=function n(){var t=Date.now()-d,r=Xe(t>l?l:t,c,e,l);qe(i)?i.scrollTo(window.pageXOffset,r):i instanceof Document||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=r:i.scrollTop=r,t0&&(M=x.map((function(e){return"string"===typeof e||"number"===typeof e?u.createElement(On,{key:e.toString(),prefixCls:P,disabled:k,value:e,checked:v===e},e):u.createElement(On,{key:"radio-group-value-options-".concat(e.value),prefixCls:P,disabled:e.disabled||k,value:e.value,checked:v===e.value,style:e.style},e.label)})));var L=N||s,T=c()(R,"".concat(R,"-").concat(E),(t={},(0,o.Z)(t,"".concat(R,"-").concat(L),L),(0,o.Z)(t,"".concat(R,"-rtl"),"rtl"===d),t),g);return u.createElement("div",(0,a.Z)({},(0,gn.Z)(e),{className:T,style:b,onMouseEnter:S,onMouseLeave:K,onFocus:O,onBlur:D,id:w,ref:n}),u.createElement(Cn,{value:{onChange:function(n){var t=v,r=n.target.value;"value"in e||h(r);var o=e.onChange;o&&r!==t&&o(n)},value:v,disabled:e.disabled,name:e.name,optionType:e.optionType}},M))})),Pn=u.memo(Dn),Rn=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:null;return t.map((function(u,f){for(var p,v=pt(r?r.pos:"0",f),h=Yn(u[a],v),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},t=n.initWrapper,r=n.processEntity,o=n.onProcessFinished,a=n.externalGetKey,l=n.childrenPropName,i=n.fieldNames,c=arguments.length>2?arguments[2]:void 0,d=a||c,s={},u={},f={posEntities:s,keyEntities:u};return t&&(f=t(f)||f),et(e,(function(e){var n=e.node,t=e.index,o=e.pos,a=e.key,l=e.parentPos,i=e.level,c={node:n,nodes:e.nodes,index:t,key:a,pos:o,level:i},d=Yn(a,o);s[o]=c,u[d]=c,c.parent=s[l],c.parent&&(c.parent.children=c.parent.children||[],c.parent.children.push(c)),r&&r(c,f)}),{externalGetKey:d,childrenPropName:l,fieldNames:i}),o&&o(f),f}function tt(e,n){var t=n.expandedKeys,r=n.selectedKeys,o=n.loadedKeys,a=n.loadingKeys,l=n.checkedKeys,i=n.halfCheckedKeys,c=n.dragOverNodeKey,d=n.dropPosition,s=n.keyEntities[e];return{eventKey:e,expanded:-1!==t.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==o.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==l.indexOf(e),halfChecked:-1!==i.indexOf(e),pos:String(s?s.pos:""),dragOver:c===e&&0===d,dragOverGapTop:c===e&&-1===d,dragOverGapBottom:c===e&&1===d}}function rt(e){var n=e.data,t=e.expanded,r=e.selected,o=e.checked,a=e.loaded,l=e.loading,i=e.halfChecked,c=e.dragOver,s=e.dragOverGapTop,u=e.dragOverGapBottom,f=e.pos,p=e.active,v=e.eventKey,h=(0,d.Z)((0,d.Z)({},n),{},{expanded:t,selected:r,checked:o,loaded:a,loading:l,halfChecked:i,dragOver:c,dragOverGapTop:s,dragOverGapBottom:u,pos:f,active:p,key:v});return"props"in h||Object.defineProperty(h,"props",{get:function(){return(0,y.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}var ot=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],at="open",lt="close",it=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,Fn.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a=0&&t.splice(r,1),t}function ut(e,n){var t=(e||[]).slice();return-1===t.indexOf(n)&&t.push(n),t}function ft(e){return e.split("-")}function pt(e,n){return"".concat(e,"-").concat(n)}function vt(e,n){var t=[];return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];n.forEach((function(n){var r=n.key,o=n.children;t.push(r),e(o)}))}(n[e].children),t}function ht(e){if(e.parent){var n=ft(e.pos);return Number(n[n.length-1])===e.parent.children.length-1}return!1}function mt(e,n,t,r,o,a,l,i,c,d){var s,u=e.clientX,f=e.clientY,p=e.target.getBoundingClientRect(),v=p.top,h=p.height,m=(("rtl"===d?-1:1)*(((null===o||void 0===o?void 0:o.x)||0)-u)-12)/r,y=i[t.props.eventKey];if(f-1.5?a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:0})?Z=0:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1:a({dragNode:w,dropNode:S,dropPosition:1})?Z=1:K=!1,{dropPosition:Z,dropLevelOffset:N,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:k,dropContainerKey:0===Z?null:(null===(s=y.parent)||void 0===s?void 0:s.key)||null,dropAllowed:K}}function yt(e,n){if(e)return n.multiple?e.slice():e.length?[e[0]]:e}function gt(e){if(!e)return null;var n;if(Array.isArray(e))n={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,y.ZP)(!1,"`checkedKeys` is not an array or an object"),null;n={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return n}function xt(e,n){var t=new Set;function r(e){if(!t.has(e)){var o=n[e];if(o){t.add(e);var a=o.parent;o.node.disabled||a&&r(a.key)}}}return(e||[]).forEach((function(e){r(e)})),(0,s.Z)(t)}var Ct=t(73453),Et=t(62874),kt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Zt=function(e,n){var t=e.className,r=e.style,o=e.motion,i=e.motionNodes,d=e.motionType,s=e.onMotionStart,f=e.onMotionEnd,p=e.active,v=e.treeNodeRequiredProps,h=(0,k.Z)(e,kt),m=u.useState(!0),y=(0,l.Z)(m,2),g=y[0],x=y[1],C=u.useContext(Un).prefixCls,E=u.useRef(!1),Z=function(){E.current||f(),E.current=!0};return(0,u.useEffect)((function(){i&&"hide"===d&&g&&x(!1)}),[i]),(0,u.useEffect)((function(){return i&&s(),function(){i&&Z()}}),[]),i?u.createElement(Et.Z,(0,a.Z)({ref:n,visible:g},o,{motionAppear:"show"===d,onAppearEnd:Z,onLeaveEnd:Z}),(function(e,n){var t=e.className,r=e.style;return u.createElement("div",{ref:n,className:c()("".concat(C,"-treenode-motion"),t),style:r},i.map((function(e){var n=(0,a.Z)({},e.data),t=e.title,r=e.key,o=e.isStart,l=e.isEnd;delete n.children;var i=tt(r,v);return u.createElement(dt,(0,a.Z)({},n,i,{title:t,active:p,data:e.data,key:r,isStart:o,isEnd:l}))})))})):u.createElement(dt,(0,a.Z)({domRef:n,className:t,style:r},h,{active:p}))};Zt.displayName="MotionTreeNode";var Nt=u.forwardRef(Zt);function bt(e,n,t){var r=e.findIndex((function(e){return e.key===t})),o=e[r+1],a=n.findIndex((function(e){return e.key===t}));if(o){var l=n.findIndex((function(e){return e.key===o.key}));return n.slice(a+1,l)}return n.slice(a+1)}var wt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],St={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Kt=function(){},Ot="RC_TREE_MOTION_".concat(Math.random()),Dt={key:Ot},Pt={key:Ot,level:0,index:0,pos:"0",node:Dt,nodes:[Dt]},Rt={parent:null,children:[],pos:Pt.pos,data:Dt,title:null,key:Ot,isStart:[],isEnd:[]};function Mt(e,n,t,r){return!1!==n&&t?e.slice(0,Math.ceil(t/r)+1):e}function Lt(e){return Yn(e.key,e.pos)}var Tt=u.forwardRef((function(e,n){var t=e.prefixCls,r=e.data,o=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,c=e.checkedKeys,d=e.loadedKeys,s=e.loadingKeys,f=e.halfCheckedKeys,p=e.keyEntities,v=e.disabled,h=e.dragging,m=e.dragOverNodeKey,y=e.dropPosition,g=e.motion,x=e.height,C=e.itemHeight,E=e.virtual,Z=e.focusable,N=e.activeItem,b=e.focused,w=e.tabIndex,S=e.onKeyDown,K=e.onFocus,O=e.onBlur,D=e.onActiveChange,P=e.onListChangeStart,R=e.onListChangeEnd,M=(0,k.Z)(e,wt),L=u.useRef(null),T=u.useRef(null);u.useImperativeHandle(n,(function(){return{scrollTo:function(e){L.current.scrollTo(e)},getIndentWidth:function(){return T.current.offsetWidth}}}));var I=u.useState(o),A=(0,l.Z)(I,2),H=A[0],z=A[1],F=u.useState(r),_=(0,l.Z)(F,2),j=_[0],B=_[1],V=u.useState(r),W=(0,l.Z)(V,2),U=W[0],G=W[1],X=u.useState([]),q=(0,l.Z)(X,2),Y=q[0],$=q[1],J=u.useState(null),Q=(0,l.Z)(J,2),ee=Q[0],ne=Q[1],te=u.useRef(r);function re(){var e=te.current;B(e),G(e),$([]),ne(null),R()}te.current=r,u.useEffect((function(){z(o);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e.length,r=n.length;if(1!==Math.abs(t-r))return{add:!1,key:null};function o(e,n){var t=new Map;e.forEach((function(e){t.set(e,!0)}));var r=n.filter((function(e){return!t.has(e)}));return 1===r.length?r[0]:null}return t ").concat(n);return n}(N)),u.createElement("div",null,u.createElement("input",{style:St,disabled:!1===Z||v,tabIndex:!1!==Z?w:null,onKeyDown:S,onFocus:K,onBlur:O,value:"",onChange:Kt,"aria-label":"for screen reader"})),u.createElement("div",{className:"".concat(t,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},u.createElement("div",{className:"".concat(t,"-indent")},u.createElement("div",{ref:T,className:"".concat(t,"-indent-unit")}))),u.createElement(Ct.Z,(0,a.Z)({},M,{data:oe,itemKey:Lt,height:x,fullHeight:!1,virtual:E,itemHeight:C,prefixCls:"".concat(t,"-list"),ref:L,onVisibleChange:function(e,n){var t=new Set(e);n.filter((function(e){return!t.has(e)})).some((function(e){return Lt(e)===Ot}))&&re()}}),(function(e){var n=e.pos,t=(0,a.Z)({},e.data),r=e.title,o=e.key,l=e.isStart,i=e.isEnd,c=Yn(o,n);delete t.key,delete t.children;var d=tt(c,ae);return u.createElement(Nt,(0,a.Z)({},t,d,{title:r,active:!!N&&o===N.key,pos:n,data:e.data,isStart:l,isEnd:i,motion:g,motionNodes:o===Ot?Y:null,motionType:ee,onMotionStart:P,onMotionEnd:re,treeNodeRequiredProps:ae,onMouseMove:function(){D(null)}}))})))}));Tt.displayName="NodeList";var It=Tt;function At(e,n){var t=new Set;return e.forEach((function(e){n.has(e)||t.add(e)})),t}function Ht(e){var n=e||{},t=n.disabled,r=n.disableCheckbox,o=n.checkable;return!(!t&&!r)||!1===o}function zt(e,n,t,r){var o,a=[];o=r||Ht;var l,i=new Set(e.filter((function(e){var n=!!t[e];return n||a.push(e),n}))),c=new Map,d=0;return Object.keys(t).forEach((function(e){var n=t[e],r=n.level,o=c.get(r);o||(o=new Set,c.set(r,o)),o.add(n),d=Math.max(d,r)})),(0,y.ZP)(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),l=!0===n?function(e,n,t,r){for(var o=new Set(e),a=new Set,l=0;l<=t;l+=1)(n.get(l)||new Set).forEach((function(e){var n=e.key,t=e.node,a=e.children,l=void 0===a?[]:a;o.has(n)&&!r(t)&&l.filter((function(e){return!r(e.node)})).forEach((function(e){o.add(e.key)}))}));for(var i=new Set,c=t;c>=0;c-=1)(n.get(c)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!r(t)&&e.parent&&!i.has(e.parent.key))if(r(e.parent.node))i.add(n.key);else{var l=!0,c=!1;(n.children||[]).filter((function(e){return!r(e.node)})).forEach((function(e){var n=e.key,t=o.has(n);l&&!t&&(l=!1),c||!t&&!a.has(n)||(c=!0)})),l&&o.add(n.key),c&&a.add(n.key),i.add(n.key)}}));return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(At(a,o))}}(i,c,d,o):function(e,n,t,r,o){for(var a=new Set(e),l=new Set(n),i=0;i<=r;i+=1)(t.get(i)||new Set).forEach((function(e){var n=e.key,t=e.node,r=e.children,i=void 0===r?[]:r;a.has(n)||l.has(n)||o(t)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}));l=new Set;for(var c=new Set,d=r;d>=0;d-=1)(t.get(d)||new Set).forEach((function(e){var n=e.parent,t=e.node;if(!o(t)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(n.key);else{var r=!0,i=!1;(n.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var n=e.key,t=a.has(n);r&&!t&&(r=!1),i||!t&&!l.has(n)||(i=!0)})),r||a.delete(n.key),i&&l.add(n.key),c.add(n.key)}}));return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(At(l,a))}}(i,n.halfCheckedKeys,c,d,o),l}var Ft=function(e){(0,Bn.Z)(t,e);var n=(0,Vn.Z)(t);function t(){var e;(0,Fn.Z)(this,t);for(var r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,l=a.dragChildrenKeys,i=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos,u=a.dropAllowed;if(u){var f=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,d.Z)((0,d.Z)({},tt(c,e.getTreeNodeRequiredProps())),{},{active:(null===(r=e.getActiveItem())||void 0===r?void 0:r.key)===c,data:e.state.keyEntities[c].node}),v=-1!==l.indexOf(c);(0,y.ZP)(!v,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=ft(s),m={event:n,node:rt(p),dragNode:e.dragNode?rt(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(l),dropToGap:0!==i,dropPosition:i+Number(h[h.length-1])};o||null===f||void 0===f||f(m),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(n,t){var r=e.state,o=r.expandedKeys,a=r.flattenNodes,l=t.expanded,i=t.key;if(!(t.isLeaf||n.shiftKey||n.metaKey||n.ctrlKey)){var c=a.filter((function(e){return e.key===i}))[0],s=rt((0,d.Z)((0,d.Z)({},tt(i,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(l?st(o,i):ut(o,i)),e.onNodeExpand(n,s)}},e.onNodeClick=function(n,t){var r=e.props,o=r.onClick;"click"===r.expandAction&&e.triggerExpandActionExpand(n,t),null===o||void 0===o||o(n,t)},e.onNodeDoubleClick=function(n,t){var r=e.props,o=r.onDoubleClick;"doubleClick"===r.expandAction&&e.triggerExpandActionExpand(n,t),null===o||void 0===o||o(n,t)},e.onNodeSelect=function(n,t){var r=e.state.selectedKeys,o=e.state,a=o.keyEntities,l=o.fieldNames,i=e.props,c=i.onSelect,d=i.multiple,s=t.selected,u=t[l.key],f=!s,p=(r=f?d?ut(r,u):[u]:st(r,u)).map((function(e){var n=a[e];return n?n.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),null===c||void 0===c||c(r,{event:"select",selected:f,node:t,selectedNodes:p,nativeEvent:n.nativeEvent})},e.onNodeCheck=function(n,t,r){var o,a=e.state,l=a.keyEntities,i=a.checkedKeys,c=a.halfCheckedKeys,d=e.props,u=d.checkStrictly,f=d.onCheck,p=t.key,v={event:"check",node:t,checked:r,nativeEvent:n.nativeEvent};if(u){var h=r?ut(i,p):st(i,p);o={checked:h,halfChecked:st(c,p)},v.checkedNodes=h.map((function(e){return l[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:h})}else{var m=zt([].concat((0,s.Z)(i),[p]),!0,l),y=m.checkedKeys,g=m.halfCheckedKeys;if(!r){var x=new Set(y);x.delete(p);var C=zt(Array.from(x),{checked:!1,halfCheckedKeys:g},l);y=C.checkedKeys,g=C.halfCheckedKeys}o=y,v.checkedNodes=[],v.checkedNodesPositions=[],v.halfCheckedKeys=g,y.forEach((function(e){var n=l[e];if(n){var t=n.node,r=n.pos;v.checkedNodes.push(t),v.checkedNodesPositions.push({node:t,pos:r})}})),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:g})}null===f||void 0===f||f(o,v)},e.onNodeLoad=function(n){var t=n.key,r=new Promise((function(r,o){e.setState((function(a){var l=a.loadedKeys,i=void 0===l?[]:l,c=a.loadingKeys,d=void 0===c?[]:c,s=e.props,u=s.loadData,f=s.onLoad;return u&&-1===i.indexOf(t)&&-1===d.indexOf(t)?(u(n).then((function(){var o=ut(e.state.loadedKeys,t);null===f||void 0===f||f(o,{event:"load",node:n}),e.setUncontrolledState({loadedKeys:o}),e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),r()})).catch((function(n){if(e.setState((function(e){return{loadingKeys:st(e.loadingKeys,t)}})),e.loadingRetryTimes[t]=(e.loadingRetryTimes[t]||0)+1,e.loadingRetryTimes[t]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:ut(a,t)}),r()}o(n)})),{loadingKeys:ut(d,t)}):null}))}));return r.catch((function(){})),r},e.onNodeMouseEnter=function(n,t){var r=e.props.onMouseEnter;null===r||void 0===r||r({event:n,node:t})},e.onNodeMouseLeave=function(n,t){var r=e.props.onMouseLeave;null===r||void 0===r||r({event:n,node:t})},e.onNodeContextMenu=function(n,t){var r=e.props.onRightClick;r&&(n.preventDefault(),r({event:n,node:t}))},e.onFocus=function(){var n=e.props.onFocus;e.setState({focused:!0});for(var t=arguments.length,r=new Array(t),o=0;o1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var o=!1,a=!0,l={};Object.keys(n).forEach((function(t){t in e.props?a=!1:(o=!0,l[t]=n[t])})),!o||t&&!a||e.setState((0,d.Z)((0,d.Z)({},l),r))}},e.scrollTo=function(n){e.listRef.current.scrollTo(n)},e}return(0,_n.Z)(t,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,n,t=this.state,l=t.focused,i=t.flattenNodes,d=t.keyEntities,s=t.draggingNodeKey,f=t.activeKey,v=t.dropLevelOffset,h=t.dropContainerKey,m=t.dropTargetKey,y=t.dropPosition,g=t.dragOverNodeKey,x=t.indent,C=this.props,E=C.prefixCls,k=C.className,Z=C.style,N=C.showLine,b=C.focusable,w=C.tabIndex,S=void 0===w?0:w,K=C.selectable,O=C.showIcon,D=C.icon,P=C.switcherIcon,R=C.draggable,M=C.checkable,L=C.checkStrictly,T=C.disabled,I=C.motion,A=C.loadData,H=C.filterTreeNode,z=C.height,F=C.itemHeight,_=C.virtual,j=C.titleRender,B=C.dropIndicatorRender,V=C.onContextMenu,W=C.onScroll,U=C.direction,G=C.rootClassName,X=C.rootStyle,q=(0,p.Z)(this.props,{aria:!0,data:!0});return R&&(n="object"===(0,r.Z)(R)?R:"function"===typeof R?{nodeDraggable:R}:{}),u.createElement(Un.Provider,{value:{prefixCls:E,selectable:K,showIcon:O,icon:D,switcherIcon:P,draggable:n,draggingNodeKey:s,checkable:M,checkStrictly:L,disabled:T,keyEntities:d,dropLevelOffset:v,dropContainerKey:h,dropTargetKey:m,dropPosition:y,dragOverNodeKey:g,indent:x,direction:U,dropIndicatorRender:B,loadData:A,filterTreeNode:H,titleRender:j,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},u.createElement("div",{role:"tree",className:c()(E,k,G,(e={},(0,o.Z)(e,"".concat(E,"-show-line"),N),(0,o.Z)(e,"".concat(E,"-focused"),l),(0,o.Z)(e,"".concat(E,"-active-focused"),null!==f),e)),style:X},u.createElement(It,(0,a.Z)({ref:this.listRef,prefixCls:E,style:Z,data:i,disabled:T,selectable:K,checkable:!!M,motion:I,dragging:null!==s,height:z,itemHeight:F,virtual:_,focusable:b,focused:l,tabIndex:S,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:V,onScroll:W},this.getTreeNodeRequiredProps(),q))))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var t,r=n.prevProps,a={prevProps:e};function l(n){return!r&&n in e||r&&r[n]!==e[n]}var i=n.fieldNames;if(l("fieldNames")&&(i=$n(e.fieldNames),a.fieldNames=i),l("treeData")?t=e.treeData:l("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),t=Jn(e.children)),t){a.treeData=t;var c=nt(t,{fieldNames:i});a.keyEntities=(0,d.Z)((0,o.Z)({},Ot,Pt),c.keyEntities)}var s,u=a.keyEntities||n.keyEntities;if(l("expandedKeys")||r&&l("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?xt(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var f=(0,d.Z)({},u);delete f[Ot],a.expandedKeys=Object.keys(f).map((function(e){return f[e].key}))}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?xt(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,t||a.expandedKeys){var p=Qn(t||n.treeData,a.expandedKeys||n.expandedKeys,i);a.flattenNodes=p}if((e.selectable&&(l("selectedKeys")?a.selectedKeys=yt(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=yt(e.defaultSelectedKeys,e))),e.checkable)&&(l("checkedKeys")?s=gt(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?s=gt(e.defaultCheckedKeys)||{}:t&&(s=gt(e.checkedKeys)||{checkedKeys:n.checkedKeys,halfCheckedKeys:n.halfCheckedKeys}),s)){var v=s,h=v.checkedKeys,m=void 0===h?[]:h,g=v.halfCheckedKeys,x=void 0===g?[]:g;if(!e.checkStrictly){var C=zt(m,!0,u);m=C.checkedKeys,x=C.halfCheckedKeys}a.checkedKeys=m,a.halfCheckedKeys=x}return l("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),t}(u.Component);Ft.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var n=e.dropPosition,t=e.dropLevelOffset,r=e.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-t*r;break;case 1:o.bottom=0,o.left=-t*r;break;case 0:o.bottom=0,o.left=r}return u.createElement("div",{style:o})},allowDrop:function(){return!0},expandAction:!1},Ft.TreeNode=dt;var _t=Ft,jt=t(33603),Bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Vt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Bt}))};Vt.displayName="FileOutlined";var Wt=u.forwardRef(Vt),Ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Gt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:Ut}))};Gt.displayName="FolderOpenOutlined";var Xt=u.forwardRef(Gt),qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Yt=function(e,n){return u.createElement(an.Z,(0,d.Z)((0,d.Z)({},e),{},{ref:n,icon:qt}))};Yt.displayName="FolderOutlined";var $t,Jt=u.forwardRef(Yt);function Qt(e,n){e.forEach((function(e){var t=e.key,r=e.children;!1!==n(t,e)&&Qt(r||[],n)}))}function er(e){var n=e.treeData,t=e.expandedKeys,r=e.startKey,o=e.endKey,a=[],l=$t.None;if(r&&r===o)return[r];if(!r||!o)return[];return Qt(n,(function(e){if(l===$t.End)return!1;if(function(e){return e===r||e===o}(e)){if(a.push(e),l===$t.None)l=$t.Start;else if(l===$t.Start)return l=$t.End,!1}else l===$t.Start&&a.push(e);return-1!==t.indexOf(e)})),a}function nr(e,n){var t=(0,s.Z)(n),r=[];return Qt(e,(function(e,n){var o=t.indexOf(e);return-1!==o&&(r.push(n),t.splice(o,1)),!!t.length})),r}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}($t||($t={}));var tr=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},n=e.confirm,t=e.closeDropdown;n&&Q([]),t&&L(!1),Y(""),z(S?(K||[]).map((function(e){return String(e)})):[])},te=c()((0,o.Z)({},"".concat(s,"-menu-without-submenu"),!(d.filters||[]).some((function(e){return e.children})))),re=function(e){if(e.target.checked){var n=Rr(null===d||void 0===d?void 0:d.filters).map((function(e){return String(e)}));z(n)}else z([])},oe=function e(n){return(n.filters||[]).map((function(n,t){var r=String(n.value),o={title:n.text,key:void 0!==n.value?r:t};return n.children&&(o.children=e({filters:n.children})),o}))},ae=function e(n){var t;return(0,a.Z)((0,a.Z)({},n),{text:n.title,value:n.key,children:(null===(t=n.children)||void 0===t?void 0:t.map((function(n){return e(n)})))||[]})};if("function"===typeof d.filterDropdown)J=d.filterDropdown({prefixCls:"".concat(s,"-custom"),setSelectedKeys:function(e){return F({selectedKeys:e})},selectedKeys:H(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&L(!1),Q(H())},clearFilters:ne,filters:d.filters,visible:t});else if(d.filterDropdown)J=d.filterDropdown;else{var le=H()||[];J=u.createElement(u.Fragment,null,0===(d.filters||[]).length?u.createElement(vn.Z,{image:vn.Z.PRESENTED_IMAGE_SIMPLE,description:C.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===h?u.createElement(u.Fragment,null,u.createElement(br,{filterSearch:y,value:q,onChange:$,tablePrefixCls:r,locale:C}),u.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},p?u.createElement(fn.Z,{checked:le.length===Rr(d.filters).length,indeterminate:le.length>0&&le.length0?c:e}),m=Math.ceil((c||e)/h.pageSize);h.current>m&&(h.current=m||1);var y=function(e,n){v({current:null!==e&&void 0!==e?e:1,pageSize:n||h.pageSize})};return!1===n?[{},function(){}]:[(0,a.Z)((0,a.Z)({},h),{onChange:function(e,r){var o;n&&(null===(o=n.onChange)||void 0===o||o.call(n,e,r)),y(e,r),t(e,r||(null===h||void 0===h?void 0:h.pageSize))}}),y]}var Hr=t(84506),zr=t(80882),Fr={},_r="SELECT_ALL",jr="SELECT_INVERT",Br="SELECT_NONE",Vr=[];function Wr(e,n){var t=[];return(e||[]).forEach((function(e){t.push(e),e&&"object"===(0,r.Z)(e)&&n in e&&(t=[].concat((0,s.Z)(t),(0,s.Z)(Wr(e[n],n))))})),t}function Ur(e,n){var t=e||{},r=t.preserveSelectedRowKeys,i=t.selectedRowKeys,c=t.defaultSelectedRowKeys,d=t.getCheckboxProps,f=t.onChange,p=t.onSelect,v=t.onSelectAll,h=t.onSelectInvert,m=t.onSelectNone,y=t.onSelectMultiple,g=t.columnWidth,x=t.type,C=t.selections,E=t.fixed,k=t.renderCell,Z=t.hideSelectAll,N=t.checkStrictly,b=void 0===N||N,w=n.prefixCls,S=n.data,K=n.pageData,O=n.getRecordByKey,D=n.getRowKey,P=n.expandType,R=n.childrenColumnName,M=n.locale,L=n.getPopupContainer,T=(0,yn.Z)(i||c||Vr,{value:i}),I=(0,l.Z)(T,2),A=I[0],H=I[1],z=u.useRef(new Map),F=(0,u.useCallback)((function(e){if(r){var n=new Map;e.forEach((function(e){var t=O(e);!t&&z.current.has(e)&&(t=z.current.get(e)),n.set(e,t)})),z.current=n}}),[O,r]);u.useEffect((function(){F(A)}),[A]);var _=(0,u.useMemo)((function(){return b?{keyEntities:null}:nt(S,{externalGetKey:D,childrenPropName:R})}),[S,D,b,R]).keyEntities,j=(0,u.useMemo)((function(){return Wr(K,R)}),[K,R]),B=(0,u.useMemo)((function(){var e=new Map;return j.forEach((function(n,t){var r=D(n,t),o=(d?d(n):null)||{};e.set(r,o)})),e}),[j,D,d]),V=(0,u.useCallback)((function(e){var n;return!!(null===(n=B.get(D(e)))||void 0===n?void 0:n.disabled)}),[B,D]),W=(0,u.useMemo)((function(){if(b)return[A||[],[]];var e=zt(A,!0,_,V);return[e.checkedKeys||[],e.halfCheckedKeys]}),[A,b,_,V]),U=(0,l.Z)(W,2),G=U[0],X=U[1],q=(0,u.useMemo)((function(){var e="radio"===x?G.slice(0,1):G;return new Set(e)}),[G,x]),Y=(0,u.useMemo)((function(){return"radio"===x?new Set:new Set(X)}),[X,x]),$=(0,u.useState)(null),J=(0,l.Z)($,2),Q=J[0],ee=J[1];u.useEffect((function(){e||H(Vr)}),[!!e]);var ne=(0,u.useCallback)((function(e,n){var t,o;F(e),r?(t=e,o=e.map((function(e){return z.current.get(e)}))):(t=[],o=[],e.forEach((function(e){var n=O(e);void 0!==n&&(t.push(e),o.push(n))}))),H(t),null===f||void 0===f||f(t,o,{type:n})}),[H,O,f,r]),te=(0,u.useCallback)((function(e,n,t,r){if(p){var o=t.map((function(e){return O(e)}));p(O(e),n,o,r)}ne(t,"single")}),[p,O,ne]),re=(0,u.useMemo)((function(){return!C||Z?null:(!0===C?[_r,jr,Br]:C).map((function(e){return e===_r?{key:"all",text:M.selectionAll,onSelect:function(){ne(S.map((function(e,n){return D(e,n)})).filter((function(e){var n=B.get(e);return!(null===n||void 0===n?void 0:n.disabled)||q.has(e)})),"all")}}:e===jr?{key:"invert",text:M.selectInvert,onSelect:function(){var e=new Set(q);K.forEach((function(n,t){var r=D(n,t),o=B.get(r);(null===o||void 0===o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var n=Array.from(e);h&&h(n),ne(n,"invert")}}:e===Br?{key:"none",text:M.selectNone,onSelect:function(){null===m||void 0===m||m(),ne(Array.from(q).filter((function(e){var n=B.get(e);return null===n||void 0===n?void 0:n.disabled})),"none")}}:e})).map((function(e){return(0,a.Z)((0,a.Z)({},e),{onSelect:function(){for(var n,t,r=arguments.length,o=new Array(r),a=0;a2&&void 0!==arguments[2]&&arguments[2],r=(0,a.Z)((0,a.Z)({},ce),e);t&&(ce.resetPagination(),r.pagination.current&&(r.pagination.current=1),m&&m.onChange&&m.onChange(1,r.pagination.pageSize)),R&&!1!==R.scrollToFirstRowOnChange&&oe.body.current&&$e(0,{getContainer:function(){return oe.body.current}}),null===N||void 0===N||N(r.pagination,r.filters,r.sorter,{currentDataSource:Lr(oo(Y,r.sorterStates,te),r.filterStates),action:n})},ue=ao({prefixCls:J,mergedColumns:F,onSorterChange:function(e,n){de({sorter:e,sorterStates:n},"sort",!1)},sortDirections:M||["ascend","descend"],tableLocale:q,showSorterTooltip:I}),fe=(0,l.Z)(ue,4),pe=fe[0],ve=fe[1],he=fe[2],me=fe[3],ye=u.useMemo((function(){return oo(Y,ve,te)}),[Y,ve]);ce.sorter=me(),ce.sorterStates=ve;var ge=Tr({prefixCls:J,locale:q,dropdownPrefixCls:Q,mergedColumns:F,onFilterChange:function(e,n){de({filters:e,filterStates:n},"filter",!0)},getPopupContainer:b}),xe=(0,l.Z)(ge,3),Ce=xe[0],Ee=xe[1],ke=xe[2],Ze=Lr(ye,Ee);ce.filters=ke,ce.filterStates=Ee;var Ne=io(u.useMemo((function(){var e={};return Object.keys(ke).forEach((function(n){null!==ke[n]&&(e[n]=ke[n])})),(0,a.Z)((0,a.Z)({},he),{filters:e})}),[he,ke])),be=(0,l.Z)(Ne,1)[0],we=Ar(Ze.length,m,(function(e,n){de({pagination:(0,a.Z)((0,a.Z)({},ce.pagination),{current:e,pageSize:n})},"paginate")})),Se=(0,l.Z)(we,2),Ke=Se[0],Oe=Se[1];ce.pagination=!1===m?{}:function(e,n){var t={current:n.current,pageSize:n.pageSize},o=e&&"object"===(0,r.Z)(e)?e:{};return Object.keys(o).forEach((function(e){var r=n[e];"function"!==typeof r&&(t[e]=r)})),t}(m,Ke),ce.resetPagination=Oe;var De=u.useMemo((function(){if(!1===m||!Ke.pageSize)return Ze;var e=Ke.current,n=void 0===e?1:e,t=Ke.total,r=Ke.pageSize,o=void 0===r?10:r;return Ze.lengtho?Ze.slice((n-1)*o,n*o):Ze:Ze.slice((n-1)*o,n*o)}),[!!m,Ze,Ke&&Ke.current,Ke&&Ke.pageSize,Ke&&Ke.total]),Pe=Ur(y,{prefixCls:J,data:Ze,pageData:De,getRowKey:ae,getRecordByKey:ie,expandType:re,childrenColumnName:te,locale:q,getPopupContainer:b}),Re=(0,l.Z)(Pe,2),Me=Re[0],Le=Re[1];ee.__PARENT_RENDER_ICON__=ee.expandIcon,ee.expandIcon=ee.expandIcon||S||en(q),"nest"===re&&void 0===ee.expandIconColumnIndex?ee.expandIconColumnIndex=y?1:0:ee.expandIconColumnIndex>0&&y&&(ee.expandIconColumnIndex-=1),"number"!==typeof ee.indentSize&&(ee.indentSize="number"===typeof P?P:15);var Ie,Ae,Ge,Xe=u.useCallback((function(e){return be(Me(Ce(pe(e))))}),[pe,Ce,Me]);if(!1!==m&&(null===Ke||void 0===Ke?void 0:Ke.total)){var qe;qe=Ke.size?Ke.size:"small"===X||"middle"===X?"small":void 0;var Ye=function(e){return u.createElement(We.Z,(0,a.Z)({},Ke,{className:c()("".concat(J,"-pagination ").concat(J,"-pagination-").concat(e),Ke.className),size:qe}))},Je="rtl"===G?"left":"right",Qe=Ke.position;if(null!==Qe&&Array.isArray(Qe)){var nn=Qe.find((function(e){return-1!==e.indexOf("top")})),tn=Qe.find((function(e){return-1!==e.indexOf("bottom")})),rn=Qe.every((function(e){return"none"==="".concat(e)}));nn||tn||rn||(Ae=Ye(Je)),nn&&(Ie=Ye(nn.toLowerCase().replace("top",""))),tn&&(Ae=Ye(tn.toLowerCase().replace("bottom","")))}else Ae=Ye(Je)}"boolean"===typeof w?Ge={spinning:w}:"object"===(0,r.Z)(w)&&(Ge=(0,a.Z)({spinning:!0},w));var on=c()("".concat(J,"-wrapper"),(0,o.Z)({},"".concat(J,"-wrapper-rtl"),"rtl"===G),d);return u.createElement("div",{ref:n,className:on,style:s},u.createElement(Ue.Z,(0,a.Z)({spinning:!1},Ge),Ie,u.createElement(He,(0,a.Z)({},_,{columns:F,direction:G,expandable:ee,prefixCls:J,className:c()((t={},(0,o.Z)(t,"".concat(J,"-middle"),"middle"===X),(0,o.Z)(t,"".concat(J,"-small"),"small"===X),(0,o.Z)(t,"".concat(J,"-bordered"),p),(0,o.Z)(t,"".concat(J,"-empty"),0===Y.length),t)),data:De,rowKey:ae,rowClassName:function(e,n,t){var r;return r="function"===typeof C?c()(C(e,n,t)):c()(C),c()((0,o.Z)({},"".concat(J,"-row-selected"),Le.has(ae(e,n))),r)},emptyText:L&&L.emptyText||(U||_e.Z)("Table"),internalHooks:Te,internalRefs:oe,transformColumns:Xe})),Ae))}var uo=u.forwardRef(so);uo.SELECTION_COLUMN=Fr,uo.EXPAND_COLUMN=He.EXPAND_COLUMN,uo.SELECTION_ALL=_r,uo.SELECTION_INVERT=jr,uo.SELECTION_NONE=Br,uo.Column=Je,uo.ColumnGroup=Qe,uo.Summary=Ze;var fo=uo},50132:function(e,n,t){var r=t(87462),o=t(4942),a=t(45987),l=t(1413),i=t(15671),c=t(43144),d=t(60136),s=t(33643),u=t(67294),f=t(94184),p=t.n(f),v=function(e){(0,d.Z)(t,e);var n=(0,s.Z)(t);function t(e){var r;(0,i.Z)(this,t),(r=n.call(this,e)).handleChange=function(e){var n=r.props,t=n.disabled,o=n.onChange;t||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:(0,l.Z)((0,l.Z)({},r.props),{},{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in e?e.checked:e.defaultChecked;return r.state={checked:o},r}return(0,c.Z)(t,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,l=n.className,i=n.style,c=n.name,d=n.id,s=n.type,f=n.disabled,v=n.readOnly,h=n.tabIndex,m=n.onClick,y=n.onFocus,g=n.onBlur,x=n.onKeyDown,C=n.onKeyPress,E=n.onKeyUp,k=n.autoFocus,Z=n.value,N=n.required,b=(0,a.Z)(n,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),w=Object.keys(b).reduce((function(e,n){return"aria-"!==n.substr(0,5)&&"data-"!==n.substr(0,5)&&"role"!==n||(e[n]=b[n]),e}),{}),S=this.state.checked,K=p()(t,l,(e={},(0,o.Z)(e,"".concat(t,"-checked"),S),(0,o.Z)(e,"".concat(t,"-disabled"),f),e));return u.createElement("span",{className:K,style:i},u.createElement("input",(0,r.Z)({name:c,id:d,type:s,required:N,readOnly:v,disabled:f,tabIndex:h,className:"".concat(t,"-input"),checked:!!S,onClick:m,onFocus:y,onBlur:g,onKeyUp:E,onKeyDown:x,onKeyPress:C,onChange:this.handleChange,autoFocus:k,ref:this.saveInput,value:Z},w)),u.createElement("span",{className:"".concat(t,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(e,n){return"checked"in e?(0,l.Z)((0,l.Z)({},n),{},{checked:e.checked}):null}}]),t}(u.Component);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},n.Z=v}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/370.95bbcf9087095d99.js b/static/web/_next/static/chunks/370.95bbcf9087095d99.js deleted file mode 100644 index ca5a90a9f..000000000 --- a/static/web/_next/static/chunks/370.95bbcf9087095d99.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[370],{70370:function(t,e,n){var r;function u(t){return new RegExp("^(?:"+t.join("|")+")$","i")}n.r(e),n.d(e,{sparql:function(){return d}});var a=u(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),o=u(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),i=/[*+\-<>=&|\^\/!\?]/;function c(t,e){var n,u=t.next();if(r=null,"$"==u||"?"==u)return"?"==u&&t.match(/\s/,!1)?"operator":(t.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if("<"!=u||t.match(/^[\s\u00a0=]/,!1)){if('"'==u||"'"==u)return e.tokenize=(n=u,function(t,e){for(var r,u=!1;null!=(r=t.next());){if(r==n&&!u){e.tokenize=c;break}u=!u&&"\\"==r}return"string"}),e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(u))return r=u,"bracket";if("#"==u)return t.skipToEnd(),"comment";if(i.test(u))return"operator";if(":"==u)return s(t),"atom";if("@"==u)return t.eatWhile(/[a-z\d\-]/i),"meta";if(t.eatWhile(/[_\w\d]/),t.eat(":"))return s(t),"atom";var l=t.current();return a.test(l)?"builtin":o.test(l)?"keyword":"variable"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function s(t){t.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function l(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function f(t){t.indent=t.context.indent,t.context=t.context.prev}const d={name:"sparql",startState:function(){return{tokenize:c,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==r)l(e,")",t.column());else if("["==r)l(e,"]",t.column());else if("{"==r)l(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"==e.context.type;)f(e);e.context&&r==e.context.type&&(f(e),"}"==r&&e.context&&"pattern"==e.context.type&&f(e))}else"."==r&&e.context&&"pattern"==e.context.type?f(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var r=e&&e.charAt(0),u=t.context;if(/[\]\}]/.test(r))for(;u&&"pattern"==u.type;)u=u.prev;var a=u&&r==u.type;return u?"pattern"==u.type?u.col:u.align?u.col+(a?0:1):u.indent+(a?0:n.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/370.d28d8b4dda7a28fa.js b/static/web/_next/static/chunks/370.d28d8b4dda7a28fa.js new file mode 100644 index 000000000..0c889d37d --- /dev/null +++ b/static/web/_next/static/chunks/370.d28d8b4dda7a28fa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[370],{70370:function(t,e,n){function r(t){return RegExp("^(?:"+t.join("|")+")$","i")}n.r(e),n.d(e,{sparql:function(){return d}});var u,a=r(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),o=r(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),i=/[*+\-<>=&|\^\/!\?]/;function c(t,e){var n=t.next();if(u=null,"$"==n||"?"==n)return"?"==n&&t.match(/\s/,!1)?"operator":(t.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if("<"==n&&!t.match(/^[\s\u00a0=]/,!1))return t.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==n||"'"==n)return e.tokenize=function(t,e){for(var r,u=!1;null!=(r=t.next());){if(r==n&&!u){e.tokenize=c;break}u=!u&&"\\"==r}return"string"},e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(n))return u=n,"bracket";if("#"==n)return t.skipToEnd(),"comment";if(i.test(n))return"operator";if(":"==n)return s(t),"atom";if("@"==n)return t.eatWhile(/[a-z\d\-]/i),"meta";if(t.eatWhile(/[_\w\d]/),t.eat(":"))return s(t),"atom";var r=t.current();return a.test(r)?"builtin":o.test(r)?"keyword":"variable"}function s(t){t.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function l(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function f(t){t.indent=t.context.indent,t.context=t.context.prev}let d={name:"sparql",startState:function(){return{tokenize:c,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==u)l(e,")",t.column());else if("["==u)l(e,"]",t.column());else if("{"==u)l(e,"}",t.column());else if(/[\]\}\)]/.test(u)){for(;e.context&&"pattern"==e.context.type;)f(e);e.context&&u==e.context.type&&(f(e),"}"==u&&e.context&&"pattern"==e.context.type&&f(e))}else"."==u&&e.context&&"pattern"==e.context.type?f(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var r=e&&e.charAt(0),u=t.context;if(/[\]\}]/.test(r))for(;u&&"pattern"==u.type;)u=u.prev;var a=u&&r==u.type;return u?"pattern"==u.type?u.col:u.align?u.col+(a?0:1):u.indent+(a?0:n.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3883.5e03e3a398cf3720.js b/static/web/_next/static/chunks/3883.5e03e3a398cf3720.js new file mode 100644 index 000000000..e94a21539 --- /dev/null +++ b/static/web/_next/static/chunks/3883.5e03e3a398cf3720.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3883],{23883:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r"))return i="->",null;if(/[+\-*&%=<>!?|\/~]/.test(n))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==n)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return i="proplabel","property";var r=e.current();return s.propertyIsEnumerable(r)?"atom":a.propertyIsEnumerable(r)?(o.propertyIsEnumerable(r)?i="newstatement":l.propertyIsEnumerable(r)&&(i="standalone"),"keyword"):"variable"}function f(e,t,n){var r=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";r=!0}function i(t,n){for(var i,a=!1,o=!r;null!=(i=t.next());){if(i==e&&!a){if(!r)break;if(t.match(e+e)){o=!0;break}}if('"'==e&&"$"==i&&!a){if(t.eat("{"))return n.tokenize.push(function(){var e=1;function t(t,n){if("}"==t.peek()){if(0==--e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)}else"{"==t.peek()&&e++;return u(t,n)}return t.isBase=!0,t}()),"string";if(t.match(/^\w/,!1))return n.tokenize.push(c),"string"}a=!a&&"\\"==i}return o&&n.tokenize.pop(),"string"}return n.tokenize.push(i),i(t,n)}function c(e,t){var n=e.match(/^(\.|[\w\$_]+)/);return n?"."==n[0]?null:"variable":(t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t))}function p(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize.pop();break}r="*"==n}return"comment"}function k(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t}function m(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function h(e,t,n){return e.context=new m(e.indented,t,n,null,e.context)}function d(e){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}u.isBase=!0;let y={name:"groovy",startState:function(e){return{tokenize:[u],context:new m(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=n.type||k(t.lastToken,!0)||(d(t),n=t.context)),e.eatSpace())return null;i=null;var r=t.tokenize[t.tokenize.length-1](e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),(";"==i||":"==i)&&"statement"==n.type)d(t);else if("->"==i&&"statement"==n.type&&"}"==n.prev.type)d(t),t.context.align=!1;else if("{"==i)h(t,e.column(),"}");else if("["==i)h(t,e.column(),"]");else if("("==i)h(t,e.column(),")");else if("}"==i){for(;"statement"==n.type;)n=d(t);for("}"==n.type&&(n=d(t));"statement"==n.type;)n=d(t)}else i==n.type?d(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==i)&&h(t,e.column(),"statement");return t.startOfLine=!1,t.lastToken=i||r,r},indent:function(e,t,n){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var r=t&&t.charAt(0),i=e.context;"statement"!=i.type||k(e.lastToken,!0)||(i=i.prev);var a=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:n.unit):i.align?i.column+(a?0:1):i.indented+(a?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3883.6b29c7b17773ac84.js b/static/web/_next/static/chunks/3883.6b29c7b17773ac84.js deleted file mode 100644 index 2b259f880..000000000 --- a/static/web/_next/static/chunks/3883.6b29c7b17773ac84.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3883],{23883:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r"))return i="->",null;if(/[+\-*&%=<>!?|\/~]/.test(n))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),"@"==n)return e.eatWhile(/[\w\$_\.]/),"meta";if("."==t.lastToken)return"property";if(e.eat(":"))return i="proplabel","property";var r=e.current();return s.propertyIsEnumerable(r)?"atom":a.propertyIsEnumerable(r)?(o.propertyIsEnumerable(r)?i="newstatement":l.propertyIsEnumerable(r)&&(i="standalone"),"keyword"):"variable"}function c(e,t,n){var r=!1;if("/"!=e&&t.eat(e)){if(!t.eat(e))return"string";r=!0}function i(t,n){for(var i,a=!1,o=!r;null!=(i=t.next());){if(i==e&&!a){if(!r)break;if(t.match(e+e)){o=!0;break}}if('"'==e&&"$"==i&&!a){if(t.eat("{"))return n.tokenize.push(f()),"string";if(t.match(/^\w/,!1))return n.tokenize.push(p),"string"}a=!a&&"\\"==i}return o&&n.tokenize.pop(),"string"}return n.tokenize.push(i),i(t,n)}function f(){var e=1;function t(t,n){if("}"==t.peek()){if(0==--e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)}else"{"==t.peek()&&e++;return u(t,n)}return t.isBase=!0,t}function p(e,t){var n=e.match(/^(\.|[\w\$_]+)/);return n?"."==n[0]?null:"variable":(t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t))}function k(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize.pop();break}r="*"==n}return"comment"}function m(e,t){return!e||"operator"==e||"->"==e||/[\.\[\{\(,;:]/.test(e)||"newstatement"==e||"keyword"==e||"proplabel"==e||"standalone"==e&&!t}function h(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function d(e,t,n){return e.context=new h(e.indented,t,n,null,e.context)}function y(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}u.isBase=!0;const v={name:"groovy",startState:function(e){return{tokenize:[u],context:new h(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"statement"!=n.type||m(t.lastToken,!0)||(y(t),n=t.context)),e.eatSpace())return null;i=null;var r=t.tokenize[t.tokenize.length-1](e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=i&&":"!=i||"statement"!=n.type)if("->"==i&&"statement"==n.type&&"}"==n.prev.type)y(t),t.context.align=!1;else if("{"==i)d(t,e.column(),"}");else if("["==i)d(t,e.column(),"]");else if("("==i)d(t,e.column(),")");else if("}"==i){for(;"statement"==n.type;)n=y(t);for("}"==n.type&&(n=y(t));"statement"==n.type;)n=y(t)}else i==n.type?y(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==i)&&d(t,e.column(),"statement");else y(t);return t.startOfLine=!1,t.lastToken=i||r,r},indent:function(e,t,n){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var r=t&&t.charAt(0),i=e.context;"statement"!=i.type||m(e.lastToken,!0)||(i=i.prev);var a=r==i.type;return"statement"==i.type?i.indented+("{"==r?0:n.unit):i.align?i.column+(a?0:1):i.indented+(a?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3903-97c724332d1a5798.js b/static/web/_next/static/chunks/3903-97c724332d1a5798.js deleted file mode 100644 index de2371b44..000000000 --- a/static/web/_next/static/chunks/3903-97c724332d1a5798.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3903],{39398:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},a=n(42135),l=function(e,t){return r.createElement(a.Z,(0,o.Z)((0,o.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CaretDownOutlined";var c=r.forwardRef(l)},38504:function(e,t,n){n.d(t,{Z:function(){return x}});var o=n(87462),r=n(71002),i=n(4942),a=n(97685),l=n(18073),c=n(94184),s=n.n(c),u=n(60057),p=n(66680),f=n(21770),v=n(67294),d=n(53124),m=n(76529),g=n(80636),y=n(96159),b=n(93355),C=n(89705),h=n(71577),w=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rt.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},Z=h.Z.Group,E=function(e){var t=d.useContext(v.E_),n=t.getPopupContainer,r=t.getPrefixCls,i=t.direction,l=e.prefixCls,c=e.type,u=void 0===c?"default":c,p=e.danger,f=e.disabled,m=e.loading,g=e.onClick,y=e.htmlType,b=e.children,E=e.className,O=e.overlay,P=e.trigger,x=e.align,k=e.visible,R=e.open,L=e.onVisibleChange,A=e.onOpenChange,T=e.placement,D=e.getPopupContainer,V=e.href,S=e.icon,_=void 0===S?d.createElement(C.Z,null):S,j=e.title,F=e.buttonsRender,H=e.mouseEnterDelay,M=e.mouseLeaveDelay,B=e.overlayClassName,I=e.overlayStyle,W=e.destroyPopupOnHide,z=w(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","overlay","trigger","align","visible","open","onVisibleChange","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide"]),G=r("dropdown-button",l),J={align:x,overlay:O,disabled:f,trigger:f?[]:P,onOpenChange:A||L,getPopupContainer:D||n,mouseEnterDelay:H,mouseLeaveDelay:M,overlayClassName:B,overlayStyle:I,destroyPopupOnHide:W};"open"in e?J.open=R:"visible"in e&&(J.open=k),"placement"in e?J.placement=T:J.placement="rtl"===i?"bottomLeft":"bottomRight";var U=(void 0===F?function(e){return e}:F)([d.createElement(h.Z,{type:u,danger:p,disabled:f,loading:m,onClick:g,htmlType:y,href:V,title:j},b),d.createElement(h.Z,{type:u,danger:p,icon:_})]),X=(0,a.Z)(U,2),Y=X[0],q=X[1];return d.createElement(Z,(0,o.Z)({},z,{className:s()(G,E)}),Y,d.createElement(N,(0,o.Z)({},J),q))};E.__ANT_BUTTON=!0,(0,b.b)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom");var O=function(e){var t,n,c,b,C,h=d.useContext(v.E_),w=h.getPopupContainer,Z=h.getPrefixCls,E=h.direction,O=e.arrow,N=e.prefixCls,P=e.children,x=e.trigger,k=e.disabled,R=e.getPopupContainer,L=e.overlayClassName,A=e.visible,T=e.open,D=e.onVisibleChange,V=e.onOpenChange,S=e.mouseEnterDelay,_=e.mouseLeaveDelay,j=Z("dropdown",N),F=d.Children.only(P),H=(0,y.Tm)(F,{className:s()("".concat(j,"-trigger"),(0,i.Z)({},"".concat(j,"-rtl"),"rtl"===E),F.props.className),disabled:k}),M=k?[]:x;M&&M.includes("contextMenu")&&(C=!0);var B=(0,f.Z)(!1,{value:void 0!==T?T:A}),I=(0,a.Z)(B,2),W=I[0],z=I[1],G=(0,p.Z)(function(e){null==D||D(e),null==V||V(e),z(e)}),J=s()(L,(0,i.Z)({},"".concat(j,"-rtl"),"rtl"===E)),U=(0,g.Z)({arrowPointAtCenter:"object"===(0,r.Z)(O)&&O.pointAtCenter,autoAdjustOverflow:!0}),X=d.useCallback(function(){z(!1)},[]),Y=function(){var t,n=e.overlay;return t="function"==typeof n?n():n,t=d.Children.only("string"==typeof t?d.createElement("span",null,t):t),d.createElement(m.J,{prefixCls:"".concat(j,"-menu"),expandIcon:d.createElement("span",{className:"".concat(j,"-menu-submenu-arrow")},d.createElement(l.Z,{className:"".concat(j,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:X,validator:function(e){e.mode}},t)};return d.createElement(u.Z,(0,o.Z)({alignPoint:C},e,{mouseEnterDelay:void 0===S?.15:S,mouseLeaveDelay:void 0===_?.1:_,visible:W,builtinPlacements:U,arrow:!!O,overlayClassName:J,prefixCls:j,getPopupContainer:R||w,transitionName:(t=Z(),n=e.placement,void 0!==(c=e.transitionName)?c:(void 0===n?"":n).includes("top")?"".concat(t,"-slide-down"):"".concat(t,"-slide-up")),trigger:M,overlay:Y,placement:(b=e.placement)?b.includes("Center")?b.slice(0,b.indexOf("Center")):b:"rtl"===E?"bottomRight":"bottomLeft",onVisibleChange:G}),H)};O.Button=E;var N=O,P=N},60057:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(4942),r=n(1413),i=n(97685),a=n(45987),l=n(67294),c=n(51169),s=n(94184),u=n.n(s),p={adjustX:1,adjustY:1},f=[0,0],d={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:f}},v=n(15105),m=n(75164),g=n(88603),y=v.Z.ESC,b=v.Z.TAB,C=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"],h=l.forwardRef(function(e,t){var n,s,p,f,v,h,w,Z,E,O,N,P,x,k,R,L,A=e.arrow,T=void 0!==A&&A,D=e.prefixCls,V=void 0===D?"rc-dropdown":D,S=e.transitionName,_=e.animation,j=e.align,F=e.placement,H=e.placements,M=e.getPopupContainer,B=e.showAction,I=e.hideAction,W=e.overlayClassName,z=e.overlayStyle,G=e.visible,J=e.trigger,U=void 0===J?["hover"]:J,X=e.autoFocus,Y=(0,a.Z)(e,C),q=l.useState(),K=(0,i.Z)(q,2),Q=K[0],$=K[1],ee="visible"in e?G:Q,et=l.useRef(null);l.useImperativeHandle(t,function(){return et.current}),p=(s={visible:ee,setTriggerVisible:$,triggerRef:et,onVisibleChange:e.onVisibleChange,autoFocus:X}).visible,f=s.setTriggerVisible,v=s.triggerRef,h=s.onVisibleChange,w=s.autoFocus,Z=l.useRef(!1),E=function(){if(p&&v.current){var e,t,n,o;null===(e=v.current)||void 0===e||null===(t=e.triggerRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.focus)||void 0===o||o.call(n),f(!1),"function"==typeof h&&h(!1)}},O=function(){var e,t,n,o,r=(0,g.tS)(null===(e=v.current)||void 0===e?void 0:null===(t=e.popupRef)||void 0===t?void 0:null===(n=t.current)||void 0===n?void 0:null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return null!=r&&!!r.focus&&(r.focus(),Z.current=!0,!0)},N=function(e){switch(e.keyCode){case y:E();break;case b:var t=!1;Z.current||(t=O()),t?e.preventDefault():E()}},l.useEffect(function(){return p?(window.addEventListener("keydown",N),w&&(0,m.Z)(O,3),function(){window.removeEventListener("keydown",N),Z.current=!1}):function(){Z.current=!1}},[p]);var en=function(){var t=e.overlay;return"function"==typeof t?t():t},eo=function(t){var n=e.onOverlayClick;$(!1),n&&n(t)},er=function(t){var n=e.onVisibleChange;$(t),"function"==typeof n&&n(t)},ei=function(){var e=en();return l.createElement(l.Fragment,null,T&&l.createElement("div",{className:"".concat(V,"-arrow")}),e)},ea=I;return ea||-1===U.indexOf("contextMenu")||(ea=["click"]),l.createElement(c.Z,(0,r.Z)((0,r.Z)({builtinPlacements:void 0===H?d:H},Y),{},{prefixCls:V,ref:et,popupClassName:u()(W,(0,o.Z)({},"".concat(V,"-show-arrow"),T)),popupStyle:z,action:U,showAction:B,hideAction:ea||[],popupPlacement:void 0===F?"bottomLeft":F,popupAlign:j,popupTransitionName:S,popupAnimation:_,popupVisible:ee,stretch:(P=e.minOverlayWidthMatchTrigger,x=e.alignPoint,"minOverlayWidthMatchTrigger"in e?P:!x)?"minWidth":"",popup:"function"==typeof e.overlay?ei:ei(),onPopupVisibleChange:er,onPopupClick:eo,getPopupContainer:M}),(R=(k=e.children).props?k.props:{},L=u()(R.className,void 0!==(n=e.openClassName)?n:"".concat(V,"-open")),ee&&k?l.cloneElement(k,{className:L}):k))})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3993.45bba5349434ad56.js b/static/web/_next/static/chunks/3993.45bba5349434ad56.js new file mode 100644 index 000000000..629718f7c --- /dev/null +++ b/static/web/_next/static/chunks/3993.45bba5349434ad56.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3993],{83993:function(e,n,t){t.r(n),t.d(n,{puppet:function(){return r}});var i={},a=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function o(e,n){for(var t=n.split(" "),a=0;a.*/,!1),r=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),c=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),u=e.next();if("$"===u)return e.match(a)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),s(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):o?(e.match(/(\s+)?\w+/),"tag"):t&&i.hasOwnProperty(t)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),"include"==t&&(n.inInclude=!0),i[t]):/(^|\s+)[A-Z][\w:_]+/.test(t)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):r?(e.match(/(\s+)?[\w:_]+/),"def"):c?(e.match(/(\s+)?[@]{1,2}/),"atom"):"#"==u?(e.skipToEnd(),"comment"):"'"==u||'"'==u?(n.pending=u,s(e,n)):"{"==u||"}"==u?"bracket":"/"==u?(e.match(/^[^\/]*\//),"string.special"):u.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):"="==u?(">"==e.peek()&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}(e,n)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3993.7abef6bdff1f0e94.js b/static/web/_next/static/chunks/3993.7abef6bdff1f0e94.js deleted file mode 100644 index 95cab2ace..000000000 --- a/static/web/_next/static/chunks/3993.7abef6bdff1f0e94.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3993],{83993:function(e,n,t){t.r(n),t.d(n,{puppet:function(){return c}});var i={},a=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function o(e,n){for(var t=n.split(" "),a=0;a.*/,!1),c=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),r=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),u=e.next();if("$"===u)return e.match(a)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),s(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):o?(e.match(/(\s+)?\w+/),"tag"):t&&i.hasOwnProperty(t)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),"include"==t&&(n.inInclude=!0),i[t]):/(^|\s+)[A-Z][\w:_]+/.test(t)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):c?(e.match(/(\s+)?[\w:_]+/),"def"):r?(e.match(/(\s+)?[@]{1,2}/),"atom"):"#"==u?(e.skipToEnd(),"comment"):"'"==u||'"'==u?(n.pending=u,s(e,n)):"{"==u||"}"==u?"bracket":"/"==u?(e.match(/^[^\/]*\//),"string.special"):u.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):"="==u?(">"==e.peek()&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}(e,n)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/3fff1979-612c6162f1b345ff.js b/static/web/_next/static/chunks/3fff1979-612c6162f1b345ff.js deleted file mode 100644 index 25ce101a7..000000000 --- a/static/web/_next/static/chunks/3fff1979-612c6162f1b345ff.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2757],{66775:function(t,e,i){i.d(e,{kL:function(){return re},zX:function(){return Xi}});var s=i(2454);var n=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,i,s){const n=e.listeners[s],o=e.duration;n.forEach((s=>s({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=s.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const o="transparent",a={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const n=(0,s.c)(t||o),a=n.valid&&(0,s.c)(e||o);return a&&a.valid?a.mix(n,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class r{constructor(t,e,i,n){const o=e[i];n=(0,s.a)([t.to,n,o,t.from]);const r=(0,s.a)([t.from,o,n]);this._active=!0,this._fn=t.fn||a[t.type||typeof r],this._easing=s.e[t.easing]||s.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const n=this._target[this._prop],o=i-this._start,a=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=(0,s.a)([t.to,e,n,t.from]),this._from=(0,s.a)([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let s=0;s"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),s.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),s.d.describe("animations",{_fallback:"animation"}),s.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class l{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!(0,s.i)(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((i=>{const n=t[i];if(!(0,s.i)(n))return;const o={};for(const t of h)o[t]=n[t];((0,s.b)(n.properties)&&n.properties||[i]).forEach((t=>{t!==i&&e.has(t)||e.set(t,o)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i)return void(t.options=e);i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let n=0;n{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let h;for(h=o.length-1;h>=0;--h){const l=o[h];if("$"===l.charAt(0))continue;if("options"===l){s.push(...this._animateOptions(t,e));continue}const c=e[l];let d=n[l];const u=i.get(l);if(d){if(u&&d.active()){d.update(u,c,a);continue}d.cancel()}u&&u.duration?(n[l]=d=new r(u,t,l,c),s.push(d)):t[l]=c}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(n.add(this._chart,i),!0):void 0}}function c(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function d(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function m(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,h=o.axis,l=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let g=0;gi[t].axis===e)).shift()}function b(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i]}}}const _=t=>"reset"===t||"none"===t,v=(t,e)=>e?t:Object.assign({},t);class y{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=g(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&b(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),n=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,o=e.xAxisID=(0,s.v)(i.xAxisID,x(t,"x")),a=e.yAxisID=(0,s.v)(i.yAxisID,x(t,"y")),r=e.rAxisID=(0,s.v)(i.rAxisID,x(t,"r")),h=e.indexAxis,l=e.iAxisID=n(h,o,a,r),c=e.vAxisID=n(h,a,o,r);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(r),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&(0,s.u)(this._data,this),t._stacked&&b(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if((0,s.i)(e))this._data=function(t){const e=Object.keys(t),i=new Array(e.length);let s,n,o;for(s=0,n=e.length;s0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,c=n;else{c=(0,s.b)(n[t])?this.parseArrayData(i,n,t,e):(0,s.i)(n[t])?this.parseObjectData(i,n,t,e):this.parsePrimitiveData(i,n,t,e);const o=()=>null===l[r]||u&&l[r]t&&!e.hidden&&e._stacked&&{keys:d(i,!0),values:null})(e,i,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(r);let g,p;function f(){p=n[g];const e=p[r.axis];return!(0,s.g)(p[t.axis])||c>e||u=0;--g)if(!f()){this.updateRangeFromParsed(l,t,p,h);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let n,o,a;for(n=0,o=e.length;n=0&&tthis.getContext(i,n)),d);return p.$shared&&(p.$shared=h,o[a]=Object.freeze(v(p,h))),p}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const h=new l(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||_(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){_(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!_(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[a,r,h]of this._syncList)this[a](r,h);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;at-e)))}return t._cache.$bar}(e,t.type);let n,o,a,r,h=e._length;const l=()=>{32767!==a&&-32768!==a&&((0,s.j)(r)&&(h=Math.min(h,Math.abs(a-r)||h)),r=a)};for(n=0,o=i.length;nMath.abs(r)&&(h=r,l=a),e[i.axis]=l,e._custom={barStart:h,barEnd:l,start:n,end:o,min:a,max:r}}(t,e,i,n):e[i.axis]=i.parse(t,n),e}function w(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,h=[];let l,c,d,u;for(l=i,c=i+s;lt.x,i="left",s="right"):(e=t.baset.controller.options.grouped)),o=i.options.stacked,a=[],r=t=>{const i=t.controller.getParsed(e),n=i&&i[t.vScale.axis];if((0,s.k)(n)||isNaN(n))return!0};for(const s of n)if((void 0===e||!r(s))&&((!1===o||-1===a.indexOf(s.stack)||void 0===o&&void 0===s.stack)&&a.push(s.stack),s.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n=i?1:-1)}(d,e,a)*o,u===a&&(m-=d/2);const t=e.getPixelForDecimal(0),i=e.getPixelForDecimal(1),n=Math.min(t,i),r=Math.max(t,i);m=Math.max(Math.min(m,r),n),c=m+d}if(m===e.getPixelForValue(a)){const t=(0,s.s)(d)*e.getLineWidthForValue(a)/2;m+=t,d-=t}return{size:d,base:m,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,n=this.options,o=n.skipNull,a=(0,s.v)(n.maxBarThickness,1/0);let r,h;if(e.grouped){const i=o?this._getStackCount(t):e.stackCount,l="flex"===n.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:i,yScale:s}=e,n=this.getParsed(t),o=i.getLabelForValue(n.x),a=s.getLabelForValue(n.y),r=n._custom;return{label:e.label,value:"("+o+", "+a+(r?", "+r:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:h}=this._getSharedOptions(e,s),l=o.axis,c=a.axis;for(let d=e;d""}}}};class E extends y{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const i=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=i;else{let o,a,r=t=>+i[t];if((0,s.i)(i[t])){const{key:t="value"}=this._parsing;r=e=>+(0,s.f)(i[e],t)}for(o=t,a=t+e;o(0,s.p)(t,h,l,!0)?1:Math.max(e,e*i,n,n*i),f=(t,e,n)=>(0,s.p)(t,h,l,!0)?-1:Math.min(e,e*i,n,n*i),m=p(0,c,u),x=p(s.H,d,g),b=f(s.P,c,u),_=f(s.P+s.H,d,g);n=(m-b)/2,o=(x-_)/2,a=-(m+b)/2,r=-(x+_)/2}return{ratioX:n,ratioY:o,offsetX:a,offsetY:r}}(d,c,h),m=(i.width-a)/u,x=(i.height-a)/g,b=Math.max(Math.min(m,x)/2,0),_=(0,s.n)(this.options.radius,b),v=(_-Math.max(_*h,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*_,this.offsetY=f*_,n.total=this.calculateTotal(),this.outerRadius=_-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*l,0),this.updateElements(o,0,o.length,t)}_circumference(t,e){const i=this.options,n=this._cachedMeta,o=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===n._parsed[t]||n.data[t].hidden?0:this.calculateCircumference(n._parsed[t]*o/s.T)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,h=(a.left+a.right)/2,l=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:g,includeOptions:p}=this._getSharedOptions(e,s);let f,m=this._getRotation();for(f=0;f0&&!isNaN(t)?s.T*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],o=(0,s.o)(e._parsed[t],i.options.locale);return{label:n[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s"spacing"!==t,_indexable:t=>"spacing"!==t},E.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label;const i=": "+t.formattedValue;return(0,s.b)(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class T extends y{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:n=[],_dataset:o}=e,a=this.chart._animationsDisabled;let{start:r,count:h}=(0,s.q)(e,n,a);this._drawStart=r,this._drawCount=h,(0,s.w)(e)&&(r=0,h=n.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=n;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(i,void 0,{animated:!a,options:l},t),this.updateElements(n,r,h,t)}updateElements(t,e,i,n){const o="reset"===n,{iScale:a,vScale:r,_stacked:h,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(e,n),u=a.axis,g=r.axis,{spanGaps:p,segment:f}=this.options,m=(0,s.x)(p)?p:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||o||"none"===n;let b=e>0&&this.getParsed(e-1);for(let _=e;_0&&Math.abs(i[u]-b[u])>m,f&&(p.parsed=i,p.raw=l.data[_]),d&&(p.options=c||this.resolveDataElementOptions(_,e.active?"active":n)),x||this.updateElement(e,_,p,n),b=i}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}T.id="line",T.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},T.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class R extends y{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,n=i.data.labels||[],o=(0,s.o)(e._parsed[t].r,i.options.locale);return{label:n[t]||"",value:o}}parseObjectData(t,e,i,n){return s.y.bind(this)(t,e,i,n)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,n){const o="reset"===n,a=this.chart,r=a.options.animation,h=this._cachedMeta.rScale,l=h.xCenter,c=h.yCenter,d=h.getIndexAngle(0)-.5*s.P;let u,g=d;const p=360/this.countVisibleElements();for(u=0;u{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?(0,s.t)(this.resolveDataElementOptions(t,e).angle||i):0}}R.id="polarArea",R.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},R.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=t.legend.options;return e.labels.map(((e,s)=>{const n=t.getDatasetMeta(0).controller.getStyle(s);return{text:e,fillStyle:n.backgroundColor,strokeStyle:n.borderColor,lineWidth:n.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class z extends E{}z.id="pie",z.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class I extends y{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,n){return s.y.bind(this)(t,e,i,n)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}F.defaults={},F.defaultRoutes=void 0;const V={values:t=>(0,s.b)(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const n=this.chart.options.locale;let o,a=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(o="scientific"),a=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t));return i}(t,i)}const r=(0,s.z)(Math.abs(a)),h=Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:o,minimumFractionDigits:h,maximumFractionDigits:h};return Object.assign(l,this.options.ticks.format),(0,s.o)(t,n,l)},logarithmic(t,e,i){if(0===t)return"0";const n=t/Math.pow(10,Math.floor((0,s.z)(t)));return 1===n||2===n||5===n?V.numeric.call(this,t,e,i):""}};var B={formatters:V};function N(t,e){const i=t.options.ticks,n=i.maxTicksLimit||function(t){const e=t.options.offset,i=t._tickSize(),s=t._length/i+(e?0:1),n=t._maxLength/i;return Math.floor(Math.min(s,n))}(t),o=i.major.enabled?function(t){const e=[];let i,s;for(i=0,s=t.length;in)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;no)return t}return Math.max(o,1)}(o,e,n);if(a>0){let t,i;const n=a>1?Math.round((h-r)/(a-1)):null;for(H(e,l,c,(0,s.k)(n)?0:r-n,r),t=0,i=a-1;te.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:B.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),s.d.route("scale.ticks","color","","color"),s.d.route("scale.grid","color","","borderColor"),s.d.route("scale.grid","borderColor","","borderColor"),s.d.route("scale.title","color","","color"),s.d.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),s.d.describe("scales",{_fallback:"scale"}),s.d.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const W=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function j(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return l}function U(t){return t.drawTicks?t.tickLength:0}function Y(t,e){if(!t.display)return 0;const i=(0,s.O)(t.font,e),n=(0,s.K)(t.padding);return((0,s.b)(t.text)?t.text.length:1)*i.lineHeight+n.height}function K(t,e,i){let n=(0,s.R)(t);return(i&&"right"!==e||!i&&"right"===e)&&(n=(t=>"left"===t?"right":"right"===t?"left":t)(n)),n}class X extends F{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:n}=this;return t=(0,s.B)(t,Number.POSITIVE_INFINITY),e=(0,s.B)(e,Number.NEGATIVE_INFINITY),i=(0,s.B)(i,Number.POSITIVE_INFINITY),n=(0,s.B)(n,Number.NEGATIVE_INFINITY),{min:(0,s.B)(t,i),max:(0,s.B)(e,n),minDefined:(0,s.g)(t),maxDefined:(0,s.g)(e)}}getMinMax(t){let e,{min:i,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();if(o&&a)return{min:i,max:n};const r=this.getMatchingVisibleMetas();for(let s=0,h=r.length;sn?n:i,n=o&&i>n?i:n,{min:(0,s.B)(i,(0,s.B)(n,i)),max:(0,s.B)(n,(0,s.B)(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,s.C)(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:n,grace:o,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,s.D)(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const h=r=o||i<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,g=(0,s.E)(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/i:g/(i-1),d+6>a&&(a=g/(i-(t.offset?.5:1)),r=this.maxHeight-U(t.grid)-e.padding-Y(t.title,this.chart.options.font),h=Math.sqrt(d*d+u*u),l=(0,s.F)(Math.min(Math.asin((0,s.E)((c.highest.height+6)/a,-1,1)),Math.asin((0,s.E)(r/h,-1,1))-Math.asin((0,s.E)(u/h,-1,1)))),l=Math.max(n,Math.min(o,l))),this.labelRotation=l}afterCalculateLabelRotation(){(0,s.C)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,s.C)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:n,grid:o}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const a=Y(n,e.options.font);if(r?(t.width=this.maxWidth,t.height=U(o)+a):(t.height=this.maxHeight,t.width=U(o)+a),i.display&&this.ticks.length){const{first:e,last:n,widest:o,highest:a}=this._getLabelSizes(),h=2*i.padding,l=(0,s.t)(this.labelRotation),c=Math.cos(l),d=Math.sin(l);if(r){const e=i.mirror?0:d*o.width+c*a.height;t.height=Math.min(this.maxHeight,t.height+e+h)}else{const e=i.mirror?0:c*o.width+d*a.height;t.width=Math.min(this.maxWidth,t.width+e+h)}this._calculatePadding(e,n,d,c)}}this._handleMargins(),r?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,h="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?h?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-l+o)*this.width/(this.width-l),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,s.C)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:o[t]||0,height:a[t]||0});return{first:M(0),last:M(e-1),widest:M(v),highest:M(y),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return(0,s.I)(this._alignToPixels?(0,s.J)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&tr*n?r/i:h/n:h*n0}_computeGridLineItems(t){const e=this.axis,i=this.chart,n=this.options,{grid:o,position:a}=n,r=o.offset,h=this.isHorizontal(),l=this.ticks.length+(r?1:0),c=U(o),d=[],u=o.setContext(this.getContext()),g=u.drawBorder?u.borderWidth:0,p=g/2,f=function(t){return(0,s.J)(i,t,g)};let m,x,b,_,v,y,M,k,w,S,D,P;if("top"===a)m=f(this.bottom),y=this.bottom-c,k=m-p,S=f(t.top)+p,P=t.bottom;else if("bottom"===a)m=f(this.top),S=t.top,P=f(t.bottom)-p,y=m+p,k=this.top+c;else if("left"===a)m=f(this.right),v=this.right-c,M=m-p,w=f(t.left)+p,D=t.right;else if("right"===a)m=f(this.left),w=t.left,D=f(t.right)-p,v=m+p,M=this.left+c;else if("x"===e){if("center"===a)m=f((t.top+t.bottom)/2+.5);else if((0,s.i)(a)){const t=Object.keys(a)[0],e=a[t];m=f(this.chart.scales[t].getPixelForValue(e))}S=t.top,P=t.bottom,y=m+p,k=y+c}else if("y"===e){if("center"===a)m=f((t.left+t.right)/2);else if((0,s.i)(a)){const t=Object.keys(a)[0],e=a[t];m=f(this.chart.scales[t].getPixelForValue(e))}v=m-p,M=v-c,w=t.left,D=t.right}const C=(0,s.v)(n.ticks.maxTicksLimit,l),A=Math.max(1,Math.ceil(l/C));for(x=0;xe.value===t));if(i>=0){return e.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const n=i.split("."),o=n.pop(),a=[t].concat(n).join("."),r=e[i].split("."),h=r.pop(),l=r.join(".");s.d.route(a,o,l,h)}))}(e,t.defaultRoutes);t.descriptors&&s.d.describe(e,t.descriptors)}(t,a,i),this.override&&s.d.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,n=this.scope;i in e&&delete e[i],n&&i in s.d[n]&&(delete s.d[n][i],this.override&&delete s.U[i])}}var G=new class{constructor(){this.controllers=new Q(y,"datasets",!0),this.elements=new Q(F,"elements"),this.plugins=new Q(Object,"plugins"),this.scales=new Q(X,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const n=i||this._getRegistryForType(e);i||n.isForType(e)||n===this.plugins&&e.id?this._exec(t,n,e):(0,s.Q)(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const n=(0,s.W)(t);(0,s.C)(i["before"+n],[],i),e[t](i),(0,s.C)(i["after"+n],[],i)}_getRegistryForType(t){for(let e=0;e0&&this.getParsed(e-1);for(let v=e;v0&&Math.abs(i[g]-_[g])>x,m&&(c.parsed=i,c.raw=l.data[v]),u&&(c.options=d||this.resolveDataElementOptions(v,e.active?"active":n)),b||this.updateElement(e,v,c,n),_=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}J.id="scatter",J.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},J.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var q=Object.freeze({__proto__:null,BarController:O,BubbleController:L,DoughnutController:E,LineController:T,PolarAreaController:R,PieController:z,RadarController:I,ScatterController:J});function Z(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class tt{constructor(t){this.options=t||{}}init(t){}formats(){return Z()}parse(t,e){return Z()}format(t,e){return Z()}add(t,e,i){return Z()}diff(t,e,i){return Z()}startOf(t,e,i){return Z()}endOf(t,e){return Z()}}tt.override=function(t){Object.assign(tt.prototype,t)};var et={_date:tt};function it(t,e,i,n){const{controller:o,data:a,_sorted:r}=t,h=o._cachedMeta.iScale;if(h&&e===h.axis&&"r"!==e&&r&&a.length){const t=h._reversePixels?s.Y:s.Z;if(!n)return t(a,e,i);if(o._sharedOptions){const s=a[0],n="function"===typeof s.getRange&&s.getRange(e);if(n){const s=t(a,e,i-n),o=t(a,e,i+n);return{lo:s.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function st(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let r=0,h=o.length;r{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:h}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var ht={evaluateInteractionItems:st,modes:{index(t,e,i,n){const o=(0,s.X)(e,t),a=i.axis||"x",r=i.includeInvisible||!1,h=i.intersect?nt(t,o,a,n,r):at(t,o,a,!1,n,r),l=[];return h.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=h[0].index,i=t.data[e];i&&!i.skip&&l.push({element:i,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,i,n){const o=(0,s.X)(e,t),a=i.axis||"xy",r=i.includeInvisible||!1;let h=i.intersect?nt(t,o,a,n,r):at(t,o,a,!1,n,r);if(h.length>0){const e=h[0].datasetIndex,i=t.getDatasetMeta(e).data;h=[];for(let t=0;tnt(t,(0,s.X)(e,t),i.axis||"xy",n,i.includeInvisible||!1),nearest(t,e,i,n){const o=(0,s.X)(e,t),a=i.axis||"xy",r=i.includeInvisible||!1;return at(t,o,a,i.intersect,n,r)},x:(t,e,i,n)=>rt(t,(0,s.X)(e,t),"x",i.intersect,n),y:(t,e,i,n)=>rt(t,(0,s.X)(e,t),"y",i.intersect,n)}};const lt=["left","top","right","bottom"];function ct(t,e){return t.filter((t=>t.pos===e))}function dt(t,e){return t.filter((t=>-1===lt.indexOf(t.pos)&&t.box.axis===e))}function ut(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function gt(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!lt.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{s[t]=Math.max(e[t],i[t])})),s}return s(t?["left","right"]:["top","bottom"])}function bt(t,e,i,s){const n=[];let o,a,r,h,l,c;for(o=0,a=t.length,l=0;ot.box.fullSize)),!0),s=ut(ct(e,"left"),!0),n=ut(ct(e,"right")),o=ut(ct(e,"top"),!0),a=ut(ct(e,"bottom")),r=dt(e,"x"),h=dt(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(h).concat(a).concat(r),chartArea:ct(e,"chartArea"),vertical:s.concat(n).concat(h),horizontal:o.concat(a).concat(r)}}(t.boxes),l=h.vertical,c=h.horizontal;(0,s.Q)(t.boxes,(t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const d=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,u=Object.freeze({outerWidth:e,outerHeight:i,padding:o,availableWidth:a,availableHeight:r,vBoxMaxWidth:a/2/d,hBoxMaxHeight:r/2}),g=Object.assign({},o);ft(g,(0,s.K)(n));const p=Object.assign({maxPadding:g,w:a,h:r,x:o.left,y:o.top},o),f=gt(l.concat(c),u);bt(h.fullSize,p,u,f),bt(l,p,u,f),bt(c,p,u,f)&&bt(l,p,u,f),function(t){const e=t.maxPadding;function i(i){const s=Math.max(e[i]-t[i],0);return t[i]+=s,s}t.y+=i("top"),t.x+=i("left"),i("right"),i("bottom")}(p),vt(h.leftAndTop,p,u,f),p.x+=p.w,p.y+=p.h,vt(h.rightAndBottom,p,u,f),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},(0,s.Q)(h.chartArea,(e=>{const i=e.box;Object.assign(i,t.chartArea),i.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class Mt{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class kt extends Mt{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const wt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},St=t=>null===t||""===t;const Dt=!!s.a5&&{passive:!0};function Pt(t,e,i){t.canvas.removeEventListener(e,i,Dt)}function Ct(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function At(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ct(i.addedNodes,s),e=e&&!Ct(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function Ot(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Ct(i.removedNodes,s),e=e&&!Ct(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Lt=new Map;let Et=0;function Tt(){const t=window.devicePixelRatio;t!==Et&&(Et=t,Lt.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Rt(t,e,i){const n=t.canvas,o=n&&(0,s.a2)(n);if(!o)return;const a=(0,s.a4)(((t,e)=>{const s=o.clientWidth;i(t,e),s{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||a(i,s)}));return r.observe(o),function(t,e){Lt.size||window.addEventListener("resize",Tt),Lt.set(t,e)}(t,a),r}function zt(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Lt.delete(t),Lt.size||window.removeEventListener("resize",Tt)}(t)}function It(t,e,i){const n=t.canvas,o=(0,s.a4)((e=>{null!==t.ctx&&i(function(t,e){const i=wt[t.type]||t.type,{x:n,y:o}=(0,s.X)(t,e);return{type:i,chart:e,native:t,x:void 0!==n?n:null,y:void 0!==o?o:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,i){t.addEventListener(e,i,Dt)}(n,e,o),o}class Ft extends Mt{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,n=t.getAttribute("height"),o=t.getAttribute("width");if(t.$chartjs={initial:{height:n,width:o,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",St(o)){const e=(0,s.a3)(t,"width");void 0!==e&&(t.width=e)}if(St(n))if(""===t.style.height)t.height=t.width/(e||2);else{const e=(0,s.a3)(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e.$chartjs)return!1;const i=e.$chartjs.initial;["height","width"].forEach((t=>{const n=i[t];(0,s.k)(n)?e.removeAttribute(t):e.setAttribute(t,n)}));const n=i.style||{};return Object.keys(n).forEach((t=>{e.style[t]=n[t]})),e.width=e.width,delete e.$chartjs,!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:At,detach:Ot,resize:Rt}[e]||It;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];if(!s)return;({attach:zt,detach:zt,resize:zt}[e]||Pt)(t,e,s),i[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,n){return(0,s.a1)(t,e,i,n)}isAttached(t){const e=(0,s.a2)(t);return!(!e||!e.isConnected)}}class Vt{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const n=s?this._descriptors(t).filter(s):this._descriptors(t),o=this._notify(n,t,e,i);return"afterDestroy"===e&&(this._notify(n,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,i,n){n=n||{};for(const o of t){const t=o.plugin,a=t[i],r=[e,n,o.options];if(!1===(0,s.C)(a,r,t)&&n.cancelable)return!1}return!0}invalidate(){(0,s.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const i=t&&t.config,n=(0,s.v)(i.options&&i.options.plugins,{}),o=function(t){const e={},i=[],s=Object.keys(G.plugins.items);for(let o=0;ot.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Bt(t,e){return e||!1!==t?!0===t?{}:t:null}function Nt(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ht(t,e){const i=s.d.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function Wt(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase();var i}function jt(t){const e=t.options||(t.options={});e.plugins=(0,s.v)(e.plugins,{}),e.scales=function(t,e){const i=s.U[t.type]||{scales:{}},n=e.scales||{},o=Ht(t.type,e),a=Object.create(null),r=Object.create(null);return Object.keys(n).forEach((t=>{const e=n[t];if(!(0,s.i)(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const h=Wt(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(h,o),c=i.scales||{};a[h]=a[h]||t,r[t]=(0,s.ac)(Object.create(null),[{axis:h},e,c[h],c[l]])})),t.data.datasets.forEach((i=>{const o=i.type||t.type,h=i.indexAxis||Ht(o,e),l=(s.U[o]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,h),o=i[e+"AxisID"]||a[e]||e;r[o]=r[o]||Object.create(null),(0,s.ac)(r[o],[{axis:e},n[o],l[t]])}))})),Object.keys(r).forEach((t=>{const e=r[t];(0,s.ac)(e,[s.d.scales[e.type],s.d.scale])})),r}(t,e)}function $t(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Ut=new Map,Yt=new Set;function Kt(t,e){let i=Ut.get(t);return i||(i=e(),Ut.set(t,i),Yt.add(i)),i}const Xt=(t,e,i)=>{const n=(0,s.f)(e,i);void 0!==n&&t.add(n)};class Qt{constructor(t){this._config=function(t){return(t=t||{}).data=$t(t.data),jt(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=$t(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),jt(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Kt(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Kt(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Kt(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Kt(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:n,type:o}=this,a=this._cachedScopes(t,i),r=a.get(e);if(r)return r;const h=new Set;e.forEach((e=>{t&&(h.add(t),e.forEach((e=>Xt(h,t,e)))),e.forEach((t=>Xt(h,n,t))),e.forEach((t=>Xt(h,s.U[o]||{},t))),e.forEach((t=>Xt(h,s.d,t))),e.forEach((t=>Xt(h,s.a7,t)))}));const l=Array.from(h);return 0===l.length&&l.push(Object.create(null)),Yt.has(e)&&a.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,s.U[e]||{},s.d.datasets[e]||{},{type:e},s.d,s.a7]}resolveNamedOptions(t,e,i,n=[""]){const o={$shared:!0},{resolver:a,subPrefixes:r}=Gt(this._resolverCache,t,n);let h=a;if(function(t,e){const{isScriptable:i,isIndexable:n}=(0,s.ab)(t);for(const o of e){const e=i(o),a=n(o),r=(a||e)&&t[o];if(e&&((0,s.a8)(r)||Jt(r))||a&&(0,s.b)(r))return!0}return!1}(a,e)){o.$shared=!1,i=(0,s.a8)(i)?i():i;const e=this.createResolver(t,i,r);h=(0,s.a9)(a,i,e)}for(const s of e)o[s]=h[s];return o}createResolver(t,e,i=[""],n){const{resolver:o}=Gt(this._resolverCache,t,i);return(0,s.i)(e)?(0,s.a9)(o,e,void 0,n):o}}function Gt(t,e,i){let n=t.get(e);n||(n=new Map,t.set(e,n));const o=i.join();let a=n.get(o);if(!a){a={resolver:(0,s.aa)(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},n.set(o,a)}return a}const Jt=t=>(0,s.i)(t)&&Object.getOwnPropertyNames(t).reduce(((e,i)=>e||(0,s.a8)(t[i])),!1);const qt=["top","bottom","left","right","chartArea"];function Zt(t,e){return"top"===t||"bottom"===t||-1===qt.indexOf(t)&&"x"===e}function te(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function ee(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),(0,s.C)(i&&i.onComplete,[t],e)}function ie(t){const e=t.chart,i=e.options.animation;(0,s.C)(i&&i.onProgress,[t],e)}function se(t){return(0,s.a6)()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ne={},oe=t=>{const e=se(t);return Object.values(ne).filter((t=>t.canvas===e)).pop()};function ae(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}class re{constructor(t,e){const i=this.config=new Qt(e),o=se(t),a=oe(o);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const r=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!(0,s.a6)()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?kt:Ft}(o)),this.platform.updateConfig(i);const h=this.platform.acquireContext(o,r.aspectRatio),l=h&&h.canvas,c=l&&l.height,d=l&&l.width;this.id=(0,s.ad)(),this.ctx=h,this.canvas=l,this.width=d,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Vt,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,s.ae)((t=>this.update(t)),r.resizeDelay||0),this._dataChanges=[],ne[this.id]=this,h&&l?(n.listen(this,"complete",ee),n.listen(this,"progress",ie),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:n,_aspectRatio:o}=this;return(0,s.k)(t)?e&&o?o:n?i/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,s.af)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,s.ag)(this.canvas,this.ctx),this}stop(){return n.stop(this),this}resize(t,e){n.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,n=this.canvas,o=i.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(n,t,e,o),r=i.devicePixelRatio||this.platform.getDevicePixelRatio(),h=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,(0,s.af)(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),(0,s.C)(i.onResize,[this,a],this),this.attached&&this._doResize(h)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};(0,s.Q)(t,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,n=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let o=[];e&&(o=o.concat(Object.keys(e).map((t=>{const i=e[t],s=Wt(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),(0,s.Q)(o,(e=>{const o=e.options,a=o.id,r=Wt(a,o),h=(0,s.v)(o.type,e.dtype);void 0!==o.position&&Zt(o.position,r)===Zt(e.dposition)||(o.position=e.dposition),n[a]=!0;let l=null;if(a in i&&i[a].type===h)l=i[a];else{l=new(G.getScale(h))({id:a,type:h,ctx:this.ctx,chart:this}),i[l.id]=l}l.init(o,t)})),(0,s.Q)(n,((t,e)=>{t||delete i[e]})),(0,s.Q)(i,(t=>{yt.configure(this,t,t.options),yt.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,n;for(this._removeUnreferencedMetasets(),i=0,n=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let s=0,l=this.data.datasets.length;s{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(te("z","_idx"));const{_active:r,_lastEvent:h}=this;h?this._eventHandler(h,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){(0,s.Q)(this.scales,(t=>{yt.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);(0,s.ah)(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e){ae(t,s,"_removeElements"===i?-n:n)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),n=i(0);for(let o=1;ot.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;yt.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],(0,s.Q)(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,n=!i.disabled,o=this.chartArea,a={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(n&&(0,s.L)(e,{left:!1===i.left?0:o.left-i.left,right:!1===i.right?this.width:o.right+i.right,top:!1===i.top?0:o.top-i.top,bottom:!1===i.bottom?this.height:o.bottom+i.bottom}),t.controller.draw(),n&&(0,s.N)(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return(0,s.$)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=ht.modes[e];return"function"===typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=(0,s.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"===typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const n=i?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(void 0,n);(0,s.j)(e)?(o.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),a.update(o,{visible:i}),this.update((e=>e.datasetIndex===t?n:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),n.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},n=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};(0,s.Q)(this.options.events,(t=>i(t,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){(0,s.Q)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},(0,s.Q)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!(0,s.ai)(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:n=[],options:o}=this,a=e,r=this._getActiveElements(t,n,i,a),h=(0,s.aj)(t),l=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,h);i&&(this._lastEvent=null,(0,s.C)(o.onHover,[t,r,this],this),h&&(0,s.C)(o.onClick,[t,r,this],this));const c=!(0,s.ai)(r,n);return(c||e)&&(this._active=r,this._updateHoverStyles(r,n,e)),this._lastEvent=l,c}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}const he=()=>(0,s.Q)(re.instances,(t=>t._plugins.invalidate())),le=!0;function ce(t,e,i){const{startAngle:n,pixelMargin:o,x:a,y:r,outerRadius:h,innerRadius:l}=e;let c=o/h;t.beginPath(),t.arc(a,r,h,n-c,i+c),l>o?(c=o/l,t.arc(a,r,l,i+c,n-c,!0)):t.arc(a,r,o,i+s.H,n-s.H),t.closePath(),t.clip()}function de(t,e,i,n){const o=(a=t.options.borderRadius,(0,s.al)(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const r=(i-e)/2,h=Math.min(r,n*e/2),l=t=>{const e=(i-Math.min(r,t))*n/2;return(0,s.E)(t,0,Math.min(r,e))};return{outerStart:l(o.outerStart),outerEnd:l(o.outerEnd),innerStart:(0,s.E)(o.innerStart,0,h),innerEnd:(0,s.E)(o.innerEnd,0,h)}}function ue(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function ge(t,e,i,n,o,a){const{x:r,y:h,startAngle:l,pixelMargin:c,innerRadius:d}=e,u=Math.max(e.outerRadius+n+i-c,0),g=d>0?d+n+i+c:0;let p=0;const f=o-l;if(n){const t=((d>0?d-n:0)+(u>0?u-n:0))/2;p=(f-(0!==t?f*t/(t+n):f))/2}const m=(f-Math.max(.001,f*u-i/s.P)/u)/2,x=l+m+p,b=o-m-p,{outerStart:_,outerEnd:v,innerStart:y,innerEnd:M}=de(e,g,u,b-x),k=u-_,w=u-v,S=x+_/k,D=b-v/w,P=g+y,C=g+M,A=x+y/P,O=b-M/C;if(t.beginPath(),a){if(t.arc(r,h,u,S,D),v>0){const e=ue(w,D,r,h);t.arc(e.x,e.y,v,D,b+s.H)}const e=ue(C,b,r,h);if(t.lineTo(e.x,e.y),M>0){const e=ue(C,O,r,h);t.arc(e.x,e.y,M,b+s.H,O+Math.PI)}if(t.arc(r,h,g,b-M/g,x+y/g,!0),y>0){const e=ue(P,A,r,h);t.arc(e.x,e.y,y,A+Math.PI,x-s.H)}const i=ue(k,x,r,h);if(t.lineTo(i.x,i.y),_>0){const e=ue(k,S,r,h);t.arc(e.x,e.y,_,x-s.H,S)}}else{t.moveTo(r,h);const e=Math.cos(S)*u+r,i=Math.sin(S)*u+h;t.lineTo(e,i);const s=Math.cos(D)*u+r,n=Math.sin(D)*u+h;t.lineTo(s,n)}t.closePath()}function pe(t,e,i,n,o,a){const{options:r}=e,{borderWidth:h,borderJoinStyle:l}=r,c="inner"===r.borderAlign;h&&(c?(t.lineWidth=2*h,t.lineJoin=l||"round"):(t.lineWidth=h,t.lineJoin=l||"bevel"),e.fullCircles&&function(t,e,i){const{x:n,y:o,startAngle:a,pixelMargin:r,fullCircles:h}=e,l=Math.max(e.outerRadius-r,0),c=e.innerRadius+r;let d;for(i&&ce(t,e,a+s.T),t.beginPath(),t.arc(n,o,c,a+s.T,a,!0),d=0;d{G.add(...t),he()}},unregister:{enumerable:le,value:(...t)=>{G.remove(...t),he()}}});class fe extends F{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const n=this.getProps(["x","y"],i),{angle:o,distance:a}=(0,s.a0)(n,{x:t,y:e}),{startAngle:r,endAngle:h,innerRadius:l,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,g=(0,s.v)(d,h-r)>=s.T||(0,s.p)(o,r,h),p=(0,s.ak)(a,l+u,c+u);return g&&p}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:r,spacing:h}=this.options,l=(s+n)/2,c=(o+a+h+r)/2;return{x:e+Math.cos(l)*c,y:i+Math.sin(l)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,n=(e.offset||0)/2,o=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>s.T?Math.floor(i/s.T):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let r=0;if(n){r=n/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*r,Math.sin(e)*r),this.circumference>=s.P&&(r=n)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const h=function(t,e,i,n,o){const{fullCircles:a,startAngle:r,circumference:h}=e;let l=e.endAngle;if(a){ge(t,e,i,n,r+s.T,o);for(let e=0;er&&o>r;return{count:s,start:h,loop:e.loop,ilen:l(a+(l?r-t:t))%o,_=()=>{g!==p&&(t.lineTo(m,p),t.lineTo(m,g),t.lineTo(m,f))};for(h&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[b(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ip&&(p=i),m=(x*m+e)/++x):(_(),t.lineTo(e,i),u=s,x=0,g=p=i),f=i}_()}function ye(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!i?ve:_e}fe.id="arc",fe.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},fe.defaultRoutes={backgroundColor:"backgroundColor"};const Me="function"===typeof Path2D;function ke(t,e,i,s){Me&&!e.options.segment?function(t,e,i,s){let n=e._path;n||(n=e._path=new Path2D,e.path(n,i,s)&&n.closePath()),me(t,e.options),t.stroke(n)}(t,e,i,s):function(t,e,i,s){const{segments:n,options:o}=e,a=ye(e);for(const r of n)me(t,o,r.style),t.beginPath(),a(t,e,r,{start:i,end:i+s-1})&&t.closePath(),t.stroke()}(t,e,i,s)}class we extends F{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const n=i.spanGaps?this._loop:this._fullLoop;(0,s.am)(this._points,i,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,s.an)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){const i=this.options,n=t[e],o=this.points,a=(0,s.ao)(this,{property:e,start:n,end:n});if(!a.length)return;const r=[],h=function(t){return t.stepped?s.ap:t.tension||"monotone"===t.cubicInterpolationMode?s.aq:s.ar}(i);let l,c;for(l=0,c=a.length;l"borderDash"!==t&&"fill"!==t};class De extends F{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2){ze(t)}))}var Fe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,i)=>{if(!i.enabled)return void Ie(t);const n=t.width;t.data.datasets.forEach(((e,o)=>{const{_data:a,indexAxis:r}=e,h=t.getDatasetMeta(o),l=a||e.data;if("y"===(0,s.a)([r,t.options.indexAxis]))return;if(!h.controller.supportsDecimation)return;const c=t.scales[h.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let{start:d,count:u}=function(t,e){const i=e.length;let n,o=0;const{iScale:a}=t,{min:r,max:h,minDefined:l,maxDefined:c}=a.getUserBounds();return l&&(o=(0,s.E)((0,s.Z)(e,a.axis,r).lo,0,i-1)),n=c?(0,s.E)((0,s.Z)(e,a.axis,h).hi+1,o,i)-o:i-o,{start:o,count:n}}(h,l);if(u<=(i.threshold||4*n))return void ze(e);let g;switch((0,s.k)(a)&&(e._data=l,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":g=function(t,e,i,s,n){const o=n.samples||s;if(o>=i)return t.slice(e,e+i);const a=[],r=(i-2)/(o-2);let h=0;const l=e+i-1;let c,d,u,g,p,f=e;for(a[h++]=t[f],c=0;cu&&(u=g,d=t[s],p=s);a[h++]=d,f=p}return a[h++]=t[l],a}(l,d,u,n,i);break;case"min-max":g=function(t,e,i,n){let o,a,r,h,l,c,d,u,g,p,f=0,m=0;const x=[],b=e+i-1,_=t[e].x,v=t[b].x-_;for(o=e;op&&(p=h,d=o),f=(m*f+a.x)/++m;else{const i=o-1;if(!(0,s.k)(c)&&!(0,s.k)(d)){const e=Math.min(c,d),s=Math.max(c,d);e!==u&&e!==i&&x.push({...t[e],x:f}),s!==u&&s!==i&&x.push({...t[s],x:f})}o>0&&i!==u&&x.push(t[i]),x.push(a),l=e,m=0,g=p=h,c=d=u=o}}return x}(l,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=g}))},destroy(t){Ie(t)}};function Ve(t,e,i,n){if(n)return;let o=e[t],a=i[t];return"angle"===t&&(o=(0,s.az)(o),a=(0,s.az)(a)),{property:t,start:o,end:a}}function Be(t,e,i){for(;e>t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function Ne(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function He(t,e){let i=[],n=!1;return(0,s.b)(t)?(n=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Be(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new we({points:i,options:{tension:0},_loop:n,_fullLoop:n}):null}function We(t){return t&&!1!==t.fill}function je(t,e,i){let n=t[e].fill;const o=[e];let a;if(!i)return n;for(;!1!==n&&-1===o.indexOf(n);){if(!(0,s.g)(n))return n;if(a=t[n],!a)return!1;if(a.visible)return n;o.push(n),n=a.fill}return!1}function $e(t,e,i){const n=function(t){const e=t.options,i=e.fill;let n=(0,s.v)(i&&i.target,i);void 0===n&&(n=!!e.backgroundColor);if(!1===n||null===n)return!1;if(!0===n)return"origin";return n}(t);if((0,s.i)(n))return!isNaN(n.value)&&n;let o=parseFloat(n);return(0,s.g)(o)&&Math.floor(o)===o?function(t,e,i,s){"-"!==t&&"+"!==t||(i=e+i);if(i===e||i<0||i>=s)return!1;return i}(n[0],e,o,i):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function Ue(t,e,i){const s=[];for(let n=0;n=0;--a){const e=n[a].$filler;e&&(e.line.updateControlPoints(o,e.axis),s&&e.fill&&Qe(t.ctx,e,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const e=s[n].$filler;We(e)&&Qe(t.ctx,e,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;We(s)&&"beforeDatasetDraw"===i.drawTime&&Qe(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ei=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class ii extends F{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=(0,s.C)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,n=(0,s.O)(i.font),o=n.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:h}=ei(i,o);let l,c;e.font=n.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(a,o,r,h)+10):(c=this.maxHeight,l=this._fitCols(a,o,r,h)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.lineWidths=[0],l=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-l;return this.legendItems.forEach(((t,g)=>{const p=i+e/2+n.measureText(t.text).width;(0===g||h[h.length-1]+p+2*a>o)&&(c+=l,h[h.length-(g>0?0:1)]=0,u+=l,d++),r[g]={left:0,top:u,row:d,width:p,height:s},h[h.length-1]+=p+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.columnSizes=[],l=o-t;let c=a,d=0,u=0,g=0,p=0;return this.legendItems.forEach(((t,o)=>{const f=i+e/2+n.measureText(t.text).width;o>0&&u+s+2*a>l&&(c+=d+a,h.push({width:d,height:u}),g+=d+a,p++,d=u=0),r[o]={left:g,top:u,col:p,width:f,height:s},d=Math.max(d,f),u+=s+a})),c+=d,h.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:n},rtl:o}}=this,a=(0,s.aA)(o,this.left,this.width);if(this.isHorizontal()){let o=0,r=(0,s.S)(i,this.left+n,this.right-this.lineWidths[o]);for(const h of e)o!==h.row&&(o=h.row,r=(0,s.S)(i,this.left+n,this.right-this.lineWidths[o])),h.top+=this.top+t+n,h.left=a.leftForLtr(a.x(r),h.width),r+=h.width+n}else{let o=0,r=(0,s.S)(i,this.top+t+n,this.bottom-this.columnSizes[o].height);for(const h of e)h.col!==o&&(o=h.col,r=(0,s.S)(i,this.top+t+n,this.bottom-this.columnSizes[o].height)),h.top=r,h.left+=this.left+n,h.left=a.leftForLtr(a.x(h.left),h.width),r+=h.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;(0,s.L)(t,this),this._draw(),(0,s.N)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:n}=this,{align:o,labels:a}=t,r=s.d.color,h=(0,s.aA)(t.rtl,this.left,this.width),l=(0,s.O)(a.font),{color:c,padding:d}=a,u=l.size,g=u/2;let p;this.drawTitle(),n.textAlign=h.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=l.string;const{boxWidth:f,boxHeight:m,itemHeight:x}=ei(a,u),b=this.isHorizontal(),_=this._computeTitleHeight();p=b?{x:(0,s.S)(o,this.left+d,this.right-i[0]),y:this.top+d+_,line:0}:{x:this.left+d,y:(0,s.S)(o,this.top+_+d,this.bottom-e[0].height),line:0},(0,s.aB)(this.ctx,t.textDirection);const v=x+d;this.legendItems.forEach(((y,M)=>{n.strokeStyle=y.fontColor||c,n.fillStyle=y.fontColor||c;const k=n.measureText(y.text).width,w=h.textAlign(y.textAlign||(y.textAlign=a.textAlign)),S=f+g+k;let D=p.x,P=p.y;h.setWidth(this.width),b?M>0&&D+S+d>this.right&&(P=p.y+=v,p.line++,D=p.x=(0,s.S)(o,this.left+d,this.right-i[p.line])):M>0&&P+v>this.bottom&&(D=p.x=D+e[p.line].width+d,p.line++,P=p.y=(0,s.S)(o,this.top+_+d,this.bottom-e[p.line].height));!function(t,e,i){if(isNaN(f)||f<=0||isNaN(m)||m<0)return;n.save();const o=(0,s.v)(i.lineWidth,1);if(n.fillStyle=(0,s.v)(i.fillStyle,r),n.lineCap=(0,s.v)(i.lineCap,"butt"),n.lineDashOffset=(0,s.v)(i.lineDashOffset,0),n.lineJoin=(0,s.v)(i.lineJoin,"miter"),n.lineWidth=o,n.strokeStyle=(0,s.v)(i.strokeStyle,r),n.setLineDash((0,s.v)(i.lineDash,[])),a.usePointStyle){const r={radius:m*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:o},l=h.xPlus(t,f/2),c=e+g;(0,s.aE)(n,r,l,c,a.pointStyleWidth&&f)}else{const a=e+Math.max((u-m)/2,0),r=h.leftForLtr(t,f),l=(0,s.ax)(i.borderRadius);n.beginPath(),Object.values(l).some((t=>0!==t))?(0,s.av)(n,{x:r,y:a,w:f,h:m,radius:l}):n.rect(r,a,f,m),n.fill(),0!==o&&n.stroke()}n.restore()}(h.x(D),P,y),D=(0,s.aC)(w,D+f+g,b?D+S:this.right,t.rtl),function(t,e,i){(0,s.M)(n,i.text,t,e+x/2,l,{strikethrough:i.hidden,textAlign:h.textAlign(i.textAlign)})}(h.x(D),P,y),b?p.x+=S+d:p.y+=v})),(0,s.aD)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=(0,s.O)(e.font),n=(0,s.K)(e.padding);if(!e.display)return;const o=(0,s.aA)(t.rtl,this.left,this.width),a=this.ctx,r=e.position,h=i.size/2,l=n.top+h;let c,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+l,d=(0,s.S)(t.align,d,this.right-u);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=l+(0,s.S)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const g=(0,s.S)(r,d,d+u);a.textAlign=o.textAlign((0,s.R)(r)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=i.string,(0,s.M)(a,e.text,g,c,i)}_computeTitleHeight(){const t=this.options.title,e=(0,s.O)(t.font),i=(0,s.K)(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,n,o;if((0,s.ak)(t,this.left,this.right)&&(0,s.ak)(e,this.top,this.bottom))for(o=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:o,color:a}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const r=t.controller.getStyle(i?0:void 0),h=(0,s.K)(r.borderWidth);return{text:e[t.index].label,fillStyle:r.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:r.borderColor,pointStyle:n||r.pointStyle,rotation:r.rotation,textAlign:o||r.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class ni extends F{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const n=(0,s.b)(i.text)?i.text.length:1;this._padding=(0,s.K)(i.padding);const o=n*(0,s.O)(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:i,bottom:n,right:o,options:a}=this,r=a.align;let h,l,c,d=0;return this.isHorizontal()?(l=(0,s.S)(r,i,o),c=e+t,h=o-i):("left"===a.position?(l=i+t,c=(0,s.S)(r,n,e),d=-.5*s.P):(l=o-t,c=(0,s.S)(r,e,n),d=.5*s.P),h=n-e),{titleX:l,titleY:c,maxWidth:h,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const i=(0,s.O)(e.font),n=i.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:r,rotation:h}=this._drawArgs(n);(0,s.M)(t,e.text,0,0,i,{color:e.color,maxWidth:r,rotation:h,textAlign:(0,s.R)(e.align),textBaseline:"middle",translation:[o,a]})}}var oi={id:"title",_element:ni,start(t,e,i){!function(t,e){const i=new ni({ctx:t.ctx,options:e,chart:t});yt.configure(t,i,e),yt.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){const e=t.titleBlock;yt.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){const s=t.titleBlock;yt.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ai=new WeakMap;var ri={id:"subtitle",start(t,e,i){const s=new ni({ctx:t.ctx,options:i,chart:t});yt.configure(t,s,i),yt.addBox(t,s),ai.set(t,s)},stop(t){yt.removeBox(t,ai.get(t)),ai.delete(t)},beforeUpdate(t,e,i){const s=ai.get(t);yt.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const hi={average(t){if(!t.length)return!1;let e,i,s=0,n=0,o=0;for(e=0,i=t.length;e-1?t.split("\n"):t}function di(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function ui(t,e){const i=t.chart.ctx,{body:n,footer:o,title:a}=t,{boxWidth:r,boxHeight:h}=e,l=(0,s.O)(e.bodyFont),c=(0,s.O)(e.titleFont),d=(0,s.O)(e.footerFont),u=a.length,g=o.length,p=n.length,f=(0,s.K)(e.padding);let m=f.height,x=0,b=n.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,u&&(m+=u*c.lineHeight+(u-1)*e.titleSpacing+e.titleMarginBottom),b){m+=p*(e.displayColors?Math.max(h,l.lineHeight):l.lineHeight)+(b-p)*l.lineHeight+(b-1)*e.bodySpacing}g&&(m+=e.footerMarginTop+g*d.lineHeight+(g-1)*e.footerSpacing);let _=0;const v=function(t){x=Math.max(x,i.measureText(t).width+_)};return i.save(),i.font=c.string,(0,s.Q)(t.title,v),i.font=l.string,(0,s.Q)(t.beforeBody.concat(t.afterBody),v),_=e.displayColors?r+2+e.boxPadding:0,(0,s.Q)(n,(t=>{(0,s.Q)(t.before,v),(0,s.Q)(t.lines,v),(0,s.Q)(t.after,v)})),_=0,i.font=d.string,(0,s.Q)(t.footer,v),i.restore(),x+=f.width,{width:x,height:m}}function gi(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:h}}=t;let l="center";return"center"===s?l=n<=(r+h)/2?"left":"right":n<=o/2?l="left":n>=a-o/2&&(l="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(l,t,e,i)&&(l="center"),l}function pi(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||gi(t,e,i,s),yAlign:s}}function fi(t,e,i,n){const{caretSize:o,caretPadding:a,cornerRadius:r}=t,{xAlign:h,yAlign:l}=i,c=o+a,{topLeft:d,topRight:u,bottomLeft:g,bottomRight:p}=(0,s.ax)(r);let f=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,h);const m=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,l,c);return"center"===l?"left"===h?f+=c:"right"===h&&(f-=c):"left"===h?f-=Math.max(d,g)+o:"right"===h&&(f+=Math.max(u,p)+o),{x:(0,s.E)(f,0,n.width-e.width),y:(0,s.E)(m,0,n.height-e.height)}}function mi(t,e,i){const n=(0,s.K)(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-n.right:t.x+n.left}function xi(t){return li([],ci(t))}function bi(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class _i extends F{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,n=new l(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(n)),n}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,i=this._tooltipItems,(0,s.h)(t,{tooltip:e,tooltipItems:i,type:"tooltip"})));var t,e,i}getTitle(t,e){const{callbacks:i}=e,s=i.beforeTitle.apply(this,[t]),n=i.title.apply(this,[t]),o=i.afterTitle.apply(this,[t]);let a=[];return a=li(a,ci(s)),a=li(a,ci(n)),a=li(a,ci(o)),a}getBeforeBody(t,e){return xi(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:i}=e,n=[];return(0,s.Q)(t,(t=>{const e={before:[],lines:[],after:[]},s=bi(i,t);li(e.before,ci(s.beforeLabel.call(this,t))),li(e.lines,s.label.call(this,t)),li(e.after,ci(s.afterLabel.call(this,t))),n.push(e)})),n}getAfterBody(t,e){return xi(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:i}=e,s=i.beforeFooter.apply(this,[t]),n=i.footer.apply(this,[t]),o=i.afterFooter.apply(this,[t]);let a=[];return a=li(a,ci(s)),a=li(a,ci(n)),a=li(a,ci(o)),a}_createItems(t){const e=this._active,i=this.chart.data,n=[],o=[],a=[];let r,h,l=[];for(r=0,h=e.length;rt.filter(e,s,n,i)))),t.itemSort&&(l=l.sort(((e,s)=>t.itemSort(e,s,i)))),(0,s.Q)(l,(e=>{const i=bi(t.callbacks,e);n.push(i.labelColor.call(this,e)),o.push(i.labelPointStyle.call(this,e)),a.push(i.labelTextColor.call(this,e))})),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=l,l}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=hi[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=ui(this,i),a=Object.assign({},t,e),r=pi(this.chart,i,a),h=fi(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:h.x,y:h.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:n,yAlign:o}=this,{caretSize:a,cornerRadius:r}=i,{topLeft:h,topRight:l,bottomLeft:c,bottomRight:d}=(0,s.ax)(r),{x:u,y:g}=t,{width:p,height:f}=e;let m,x,b,_,v,y;return"center"===o?(v=g+f/2,"left"===n?(m=u,x=m-a,_=v+a,y=v-a):(m=u+p,x=m+a,_=v-a,y=v+a),b=m):(x="left"===n?u+Math.max(h,c)+a:"right"===n?u+p-Math.max(l,d)-a:this.caretX,"top"===o?(_=g,v=_-a,m=x-a,b=x+a):(_=g+f,v=_+a,m=x+a,b=x-a),y=_),{x1:m,x2:x,x3:b,y1:_,y2:v,y3:y}}drawTitle(t,e,i){const n=this.title,o=n.length;let a,r,h;if(o){const l=(0,s.aA)(i.rtl,this.x,this.width);for(t.x=mi(this,i.titleAlign,i),e.textAlign=l.textAlign(i.titleAlign),e.textBaseline="middle",a=(0,s.O)(i.titleFont),r=i.titleSpacing,e.fillStyle=i.titleColor,e.font=a.string,h=0;h0!==t))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,(0,s.av)(t,{x:e,y:f,w:l,h:h,radius:r}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),(0,s.av)(t,{x:i,y:f+1,w:l-2,h:h-2,radius:r}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,f,l,h),t.strokeRect(e,f,l,h),t.fillStyle=a.backgroundColor,t.fillRect(i,f+1,l-2,h-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:n}=this,{bodySpacing:o,bodyAlign:a,displayColors:r,boxHeight:h,boxWidth:l,boxPadding:c}=i,d=(0,s.O)(i.bodyFont);let u=d.lineHeight,g=0;const p=(0,s.aA)(i.rtl,this.x,this.width),f=function(i){e.fillText(i,p.x(t.x+g),t.y+u/2),t.y+=u+o},m=p.textAlign(a);let x,b,_,v,y,M,k;for(e.textAlign=a,e.textBaseline="middle",e.font=d.string,t.x=mi(this,m,i),e.fillStyle=i.bodyColor,(0,s.Q)(this.beforeBody,f),g=r&&"right"!==m?"center"===a?l/2+c:l+2+c:0,v=0,M=n.length;v0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=hi[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=ui(this,t),a=Object.assign({},i,this._size),r=pi(e,t,a),h=fi(t,a,r,e);s._to===h.x&&n._to===h.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const a=(0,s.K)(e.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&r&&(t.save(),t.globalAlpha=i,this.drawBackground(o,t,n,e),(0,s.aB)(t,e.textDirection),o.y+=a.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),(0,s.aD)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,n=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),o=!(0,s.ai)(i,n),a=this._positionChanged(n,e);(o||a)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],a=this._getActiveElements(t,o,e,i),r=this._positionChanged(a,t),h=e||!(0,s.ai)(a,o)||r;return h&&(this._active=a,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),h}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e;const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=hi[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}_i.positioners=hi;var vi={id:"tooltip",_element:_i,positioners:hi,afterInit(t,e,i){i&&(t.tooltip=new _i({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",i))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:s.aF,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},yi=Object.freeze({__proto__:null,Decimation:Fe,Filler:ti,Legend:si,SubTitle:ri,Title:oi,Tooltip:vi});function Mi(t,e,i,s){const n=t.indexOf(e);if(-1===n)return((t,e,i,s)=>("string"===typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s);return n!==t.lastIndexOf(e)?i:n}class ki extends X{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:i,label:s}of e)t[i]===s&&t.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,e){if((0,s.k)(t))return null;const i=this.getLabels();return((t,e)=>null===t?null:(0,s.E)(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:Mi(i,t,(0,s.v)(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let o=t;o<=e;o++)s.push({value:o});return s}getLabelForValue(t){const e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function wi(t,e,{horizontal:i,minRotation:n}){const o=(0,s.t)(n),a=(i?Math.sin(o):Math.cos(o))||.001,r=.75*e*(""+t).length;return Math.min(e/a,r)}ki.id="category",ki.defaults={ticks:{callback:ki.prototype.getLabelForValue}};class Si extends X{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,s.k)(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:n,max:o}=this;const a=t=>n=e?n:t,r=t=>o=i?o:t;if(t){const t=(0,s.s)(n),e=(0,s.s)(o);t<0&&e<0?r(0):t>0&&e>0&&a(0)}if(n===o){let e=1;(o>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*o)),r(o+e),t||a(n-e)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=function(t,e){const i=[],{bounds:n,step:o,min:a,max:r,precision:h,count:l,maxTicks:c,maxDigits:d,includeBounds:u}=t,g=o||1,p=c-1,{min:f,max:m}=e,x=!(0,s.k)(a),b=!(0,s.k)(r),_=!(0,s.k)(l),v=(m-f)/(d+1);let y,M,k,w,S=(0,s.aI)((m-f)/p/g)*g;if(S<1e-14&&!x&&!b)return[{value:f},{value:m}];w=Math.ceil(m/S)-Math.floor(f/S),w>p&&(S=(0,s.aI)(w*S/p/g)*g),(0,s.k)(h)||(y=Math.pow(10,h),S=Math.ceil(S*y)/y),"ticks"===n?(M=Math.floor(f/S)*S,k=Math.ceil(m/S)*S):(M=f,k=m),x&&b&&o&&(0,s.aJ)((r-a)/o,S/1e3)?(w=Math.round(Math.min((r-a)/S,c)),S=(r-a)/w,M=a,k=r):_?(M=x?a:M,k=b?r:k,w=l-1,S=(k-M)/w):(w=(k-M)/S,w=(0,s.aK)(w,Math.round(w),S/1e3)?Math.round(w):Math.ceil(w));const D=Math.max((0,s.aL)(S),(0,s.aL)(M));y=Math.pow(10,(0,s.k)(h)?D:h),M=Math.round(M*y)/y,k=Math.round(k*y)/y;let P=0;for(x&&(u&&M!==a?(i.push({value:a}),M0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,s.g)(t)?Math.max(0,t):null,this.max=(0,s.g)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,n=this.max;const o=e=>i=t?i:e,a=t=>n=e?n:t,r=(t,e)=>Math.pow(10,Math.floor((0,s.z)(t))+e);i===n&&(i<=0?(o(1),a(10)):(o(r(i,-1)),a(r(n,1)))),i<=0&&o(r(n,-1)),n<=0&&a(r(i,1)),this._zero&&this.min!==this._suggestedMin&&i===r(this.min,0)&&o(r(i,-1)),this.min=i,this.max=n}buildTicks(){const t=this.options,e=function(t,e){const i=Math.floor((0,s.z)(e.max)),n=Math.ceil(e.max/Math.pow(10,i)),o=[];let a=(0,s.B)(t.min,Math.pow(10,Math.floor((0,s.z)(e.min)))),r=Math.floor((0,s.z)(a)),h=Math.floor(a/Math.pow(10,r)),l=r<0?Math.pow(10,Math.abs(r)):1;do{o.push({value:a,major:Pi(a)}),++h,10===h&&(h=1,++r,l=r>=0?1:l),a=Math.round(h*Math.pow(10,r)*l)/l}while(rn?{start:e-i,end:e}:{start:e,end:e+i}}function Li(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),n=[],o=[],a=t._pointLabels.length,r=t.options.pointLabels,h=r.centerPointLabels?s.P/a:0;for(let u=0;ue.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(h=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+h))}function Ti(t){return 0===t||180===t?"center":t<180?"left":"right"}function Ri(t,e,i){return"right"===i?t-=e:"center"===i&&(t-=e/2),t}function zi(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}function Ii(t,e,i,n){const{ctx:o}=t;if(i)o.arc(t.xCenter,t.yCenter,e,0,s.T);else{let i=t.getPointPosition(0,e);o.moveTo(i.x,i.y);for(let s=1;s{const i=(0,s.C)(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Li(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){const e=s.T/(this._pointLabels.length||1),i=this.options.startAngle||0;return(0,s.az)(t*e+(0,s.t)(i))}getDistanceFromCenterForValue(t){if((0,s.k)(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if((0,s.k)(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;o--){const e=n.setContext(t.getPointLabelContext(o)),a=(0,s.O)(e.font),{x:r,y:h,textAlign:l,left:c,top:d,right:u,bottom:g}=t._pointLabelItems[o],{backdropColor:p}=e;if(!(0,s.k)(p)){const t=(0,s.ax)(e.borderRadius),n=(0,s.K)(e.backdropPadding);i.fillStyle=p;const o=c-n.left,a=d-n.top,r=u-c+n.width,h=g-d+n.height;Object.values(t).some((t=>0!==t))?(i.beginPath(),(0,s.av)(i,{x:o,y:a,w:r,h:h,radius:t}),i.fill()):i.fillRect(o,a,r,h)}(0,s.M)(i,t._pointLabels[o],r,h+a.lineHeight/2,a,{color:e.color,textAlign:l,textBaseline:"middle"})}}(this,o),n.display&&this.ticks.forEach(((t,e)=>{if(0!==e){r=this.getDistanceFromCenterForValue(t.value);!function(t,e,i,s){const n=t.ctx,o=e.circular,{color:a,lineWidth:r}=e;!o&&!s||!a||!r||i<0||(n.save(),n.strokeStyle=a,n.lineWidth=r,n.setLineDash(e.borderDash),n.lineDashOffset=e.borderDashOffset,n.beginPath(),Ii(t,i,o,s),n.closePath(),n.stroke(),n.restore())}(this,n.setContext(this.getContext(e-1)),r,o)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),h=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(h.x,h.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const n=this.getIndexAngle(0);let o,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((n,r)=>{if(0===r&&!e.reverse)return;const h=i.setContext(this.getContext(r)),l=(0,s.O)(h.font);if(o=this.getDistanceFromCenterForValue(this.ticks[r].value),h.showLabelBackdrop){t.font=l.string,a=t.measureText(n.label).width,t.fillStyle=h.backdropColor;const e=(0,s.K)(h.backdropPadding);t.fillRect(-a/2-e.left,-o-l.size/2-e.top,a+e.width,l.size+e.height)}(0,s.M)(t,n.label,0,-o,l,{color:h.color})})),t.restore()}drawTitle(){}}Fi.id="radialLinear",Fi.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:B.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Fi.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Fi.descriptors={angleLines:{_fallback:"grid"}};const Vi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Bi=Object.keys(Vi);function Ni(t,e){return t-e}function Hi(t,e){if((0,s.k)(e))return null;const i=t._adapter,{parser:n,round:o,isoWeekday:a}=t._parseOpts;let r=e;return"function"===typeof n&&(r=n(r)),(0,s.g)(r)||(r="string"===typeof n?i.parse(r,n):i.parse(r)),null===r?null:(o&&(r="week"!==o||!(0,s.x)(a)&&!0!==a?i.startOf(r,o):i.startOf(r,"isoWeek",a)),+r)}function Wi(t,e,i,s){const n=Bi.length;for(let o=Bi.indexOf(t);o=e?i[n]:i[o]]=!0}}else t[e]=!0}function $i(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[h].major=!0);return e}(t,s,n,i):s}class Ui extends X{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const i=t.time||(t.time={}),n=this._adapter=new et._date(t.adapters.date);n.init(e),(0,s.ac)(i.displayFormats,n.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Hi(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:n,max:o,minDefined:a,maxDefined:r}=this.getUserBounds();function h(t){a||isNaN(t.min)||(n=Math.min(n,t.min)),r||isNaN(t.max)||(o=Math.max(o,t.max))}a&&r||(h(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||h(this.getMinMax(!1))),n=(0,s.g)(n)&&!isNaN(n)?n:+e.startOf(Date.now(),i),o=(0,s.g)(o)&&!isNaN(o)?o:+e.endOf(Date.now(),i)+1,this.min=Math.min(n,o-1),this.max=Math.max(n+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,n="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const o=this.min,a=this.max,r=(0,s.aN)(n,o,a);return this._unit=e.unit||(i.autoSkip?Wi(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):function(t,e,i,s,n){for(let o=Bi.length-1;o>=Bi.indexOf(i);o--){const i=Bi[o];if(Vi[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return Bi[i?Bi.indexOf(i):0]}(this,r.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=Bi.indexOf(t)+1,i=Bi.length;e+t.value)))}initOffsets(t){let e,i,n=0,o=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),n=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),o=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;n=(0,s.E)(n,0,a),o=(0,s.E)(o,0,a),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const t=this._adapter,e=this.min,i=this.max,n=this.options,o=n.time,a=o.unit||Wi(o.minUnit,e,i,this._getLabelCapacity(e)),r=(0,s.v)(o.stepSize,1),h="week"===a&&o.isoWeekday,l=(0,s.x)(h)||!0===h,c={};let d,u,g=e;if(l&&(g=+t.startOf(g,"isoWeek",h)),g=+t.startOf(g,l?"day":a),t.diff(i,e,a)>1e5*r)throw new Error(e+" and "+i+" are too far apart with stepSize of "+r+" "+a);const p="data"===n.ticks.source&&this.getDataTimestamps();for(d=g,u=0;dt-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,n){const o=this.options,a=o.time.displayFormats,r=this._unit,h=this._majorUnit,l=r&&a[r],c=h&&a[h],d=i[e],u=h&&c&&d&&d.major,g=this._adapter.format(t,n||(u?c:l)),p=o.ticks.callback;return p?(0,s.C)(p,[g,e,i],this):g}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[h].pos&&e<=t[l].pos&&({lo:h,hi:l}=(0,s.Z)(t,"pos",e)),({pos:n,time:a}=t[h]),({pos:o,time:r}=t[l])):(e>=t[h].time&&e<=t[l].time&&({lo:h,hi:l}=(0,s.Z)(t,"time",e)),({time:n,pos:a}=t[h]),({time:o,pos:r}=t[l]));const c=o-n;return c?a+(r-a)*(e-n)/c:a}Ui.id="time",Ui.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Ki extends Ui{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Yi(e,this.min),this._tableRange=Yi(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,h,l;for(o=0,a=t.length;o=e&&h<=i&&s.push(h);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;os({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(i-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=s.r.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((i,s)=>{let a;if(!i.running||!i.items.length)return;let r=i.items,n=r.length-1,o=!1;for(;n>=0;--n)(a=r[n])._active?(a._total>i.duration&&(i.duration=a._total),a.tick(t),o=!0):(r[n]=r[r.length-1],r.pop());o&&(s.draw(),this._notify(s,i,t,"progress")),r.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=r.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){let e=this._charts,i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){let e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;let e=this._charts.get(t);return!!e&&!!e.running&&!!e.items.length}stop(t){let e=this._charts.get(t);if(!e||!e.items.length)return;let i=e.items,s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};let r="transparent",n={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){let a=(0,s.c)(t||r),n=a.valid&&(0,s.c)(e||r);return n&&n.valid?n.mix(a,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class o{constructor(t,e,i,a){let r=e[i];a=(0,s.a)([t.to,a,r,t.from]);let o=(0,s.a)([t.from,r,a]);this._active=!0,this._fn=t.fn||n[t.type||typeof o],this._easing=s.e[t.easing]||s.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=a,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);let a=this._target[this._prop],r=i-this._start,n=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(n,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=(0,s.a)([t.to,e,a,t.from]),this._from=(0,s.a)([t.from,a,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){let e;let i=t-this._start,s=this._duration,a=this._prop,r=this._from,n=this._loop,o=this._to;if(this._active=r!==o&&(n||i1?2-e:e,e=this._easing(Math.min(1,Math.max(0,e))),this._target[a]=this._fn(r,o,e)}wait(){let t=this._promises||(this._promises=[]);return new Promise((e,i)=>{t.push({res:e,rej:i})})}_notify(t){let e=t?"res":"rej",i=this._promises||[];for(let s=0;s"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),s.d.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),s.d.describe("animations",{_fallback:"animation"}),s.d.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class h{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!(0,s.i)(t))return;let e=this._properties;Object.getOwnPropertyNames(t).forEach(i=>{let a=t[i];if(!(0,s.i)(a))return;let r={};for(let n of l)r[n]=a[n];((0,s.b)(a.properties)&&a.properties||[i]).forEach(t=>{t!==i&&e.has(t)||e.set(t,r)})})}_animateOptions(t,e){let i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(!i){t.options=e;return}return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i}(t,i);if(!s)return[];let a=this._createAnimations(s,i);return i.$shared&&(function(t,e){let i=[],s=Object.keys(e);for(let a=0;a{t.options=i},()=>{}),a}_createAnimations(t,e){let i;let s=this._properties,a=[],r=t.$animations||(t.$animations={}),n=Object.keys(e),l=Date.now();for(i=n.length-1;i>=0;--i){let h=n[i];if("$"===h.charAt(0))continue;if("options"===h){a.push(...this._animateOptions(t,e));continue}let d=e[h],c=r[h],u=s.get(h);if(c){if(u&&c.active()){c.update(u,d,l);continue}c.cancel()}if(!u||!u.duration){t[h]=d;continue}r[h]=c=new o(u,t,h,d),a.push(c)}return a}update(t,e){if(0===this._properties.size){Object.assign(t,e);return}let i=this._createAnimations(t,e);if(i.length)return a.add(this._chart,i),!0}}function d(t,e){let i=t&&t.options||{},s=i.reverse,a=void 0===i.min?e:0,r=void 0===i.max?e:0;return{start:s?r:a,end:s?a:r}}function c(t,e){let i,s;let a=[],r=t._getSortedDatasetMetas(e);for(i=0,s=r.length;i0||!i&&r<0)return a.index}return null}function f(t,e){let i;let{chart:s,_cachedMeta:a}=t,r=s._stacks||(s._stacks={}),{iScale:n,vScale:o,index:l}=a,h=n.axis,d=o.axis,c=`${n.id}.${o.id}.${a.stack||a.type}`,u=e.length;for(let g=0;gi[t].axis===e).shift()}function b(t,e){let i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s)for(let a of e=e||t._parsed){let r=a._stacks;if(!r||void 0===r[s]||void 0===r[s][i])return;delete r[s][i]}}let x=t=>"reset"===t||"none"===t,_=(t,e)=>e?t:Object.assign({},t),v=(t,e,i)=>t&&!e.hidden&&e._stacked&&{keys:c(i,!0),values:null};class y{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=g(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&b(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,e=this._cachedMeta,i=this.getDataset(),a=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,r=e.xAxisID=(0,s.v)(i.xAxisID,m(t,"x")),n=e.yAxisID=(0,s.v)(i.yAxisID,m(t,"y")),o=e.rAxisID=(0,s.v)(i.rAxisID,m(t,"r")),l=e.indexAxis,h=e.iAxisID=a(l,r,n,o),d=e.vAxisID=a(l,n,r,o);e.xScale=this.getScaleForId(r),e.yScale=this.getScaleForId(n),e.rScale=this.getScaleForId(o),e.iScale=this.getScaleForId(h),e.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&(0,s.u)(this._data,this),t._stacked&&b(t)}_dataCheck(){let t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if((0,s.i)(e))this._data=function(t){let e,i,s;let a=Object.keys(t),r=Array(a.length);for(e=0,i=a.length;e0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=o,n._sorted=!0,r=o;else{r=(0,s.b)(o[t])?this.parseArrayData(n,o,t,e):(0,s.i)(o[t])?this.parseObjectData(n,o,t,e):this.parsePrimitiveData(n,o,t,e);let g=()=>null===a[d]||u&&a[d]e||g=0;--i)if(!p()){this.updateRangeFromParsed(c,t,a,d);break}}return c}getAllParsedValues(t){let e,i,a;let r=this._cachedMeta._parsed,n=[];for(e=0,i=r.length;e=0&&tthis.getContext(i,a),f=h.resolveNamedOptions(u,g,p,c);return f.$shared&&(f.$shared=l,r[n]=Object.freeze(_(f,l))),f}_resolveAnimations(t,e,i){let s;let a=this.chart,r=this._cachedDataOpts,n=`animation-${e}`,o=r[n];if(o)return o;if(!1!==a.options.animation){let l=this.chart.config,d=l.datasetAnimationScopeKeys(this._type,e),c=l.getOptionScopes(this.getDataset(),d);s=l.createResolver(c,this.getContext(t,i,e))}let u=new h(a,s&&s.animations);return s&&s._cacheable&&(r[n]=Object.freeze(u)),u}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||x(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){let i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,a=this.getSharedOptions(i),r=this.includeOptions(e,a)||a!==s;return this.updateSharedOptions(a,e,i),{sharedOptions:a,includeOptions:r}}updateElement(t,e,i,s){x(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!x(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;let a=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(a)||a})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let e=this._data,i=this._cachedMeta.data;for(let[s,a,r]of this._syncList)this[s](a,r);this._syncList=[];let n=i.length,o=e.length,l=Math.min(o,n);l&&this.parse(0,l),o>n?this._insertElements(n,o-n,t):o{for(t.length+=e,s=t.length-1;s>=n;s--)t[s]=t[s-e]};for(o(r),s=t;sMath.abs(o)&&(l=o,h=n),e[i.axis]=h,e._custom={barStart:l,barEnd:h,start:a,end:r,min:n,max:o}}(t,e,i,a):e[i.axis]=i.parse(t,a),e}function k(t,e,i,s){let a,r,n,o;let l=t.iScale,h=t.vScale,d=l.getLabels(),c=l===h,u=[];for(a=i,r=i+s;at.x,r="left",n="right"):(a=t.baset.controller.options.grouped),r=i.options.stacked,n=[],o=t=>{let i=t.controller.getParsed(e),a=i&&i[t.vScale.axis];if((0,s.k)(a)||isNaN(a))return!0};for(let l of a)if(!(void 0!==e&&o(l))&&((!1===r||-1===n.indexOf(l.stack)||void 0===r&&void 0===l.stack)&&n.push(l.stack),l.index===t))break;return n.length||n.push(void 0),n}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){let s=this._getStacks(t,i),a=void 0!==e?s.indexOf(e):-1;return -1===a?s.length-1:a}_getRuler(){let t,e;let i=this.options,a=this._cachedMeta,r=a.iScale,n=[];for(t=0,e=a.data.length;tt-e))}return t._cache.$bar}(n,t.type),l=n._length,h=()=>{32767!==a&&-32768!==a&&((0,s.j)(r)&&(l=Math.min(l,Math.abs(a-r)||l)),r=a)};for(e=0,i=o.length;e=l?1:-1))*o,u===l&&(m-=i/2);let x=a.getPixelForDecimal(0),_=a.getPixelForDecimal(1);e=(m=Math.max(Math.min(m,Math.max(x,_)),Math.min(x,_)))+i}if(m===a.getPixelForValue(l)){let v=(0,s.s)(i)*a.getLineWidthForValue(l)/2;m+=v,i-=v}return{size:i,base:m,head:e,center:e+i/2}}_calculateBarIndexPixels(t,e){let i,a;let r=e.scale,n=this.options,o=n.skipNull,l=(0,s.v)(n.maxBarThickness,1/0);if(e.grouped){let h=o?this._getStackCount(t):e.stackCount,d="flex"===n.barThickness?function(t,e,i,s){let a=e.pixels,r=a[t],n=t>0?a[t-1]:null,o=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){let e=this._cachedMeta,{xScale:i,yScale:s}=e,a=this.getParsed(t),r=i.getLabelForValue(a.x),n=s.getLabelForValue(a.y),o=a._custom;return{label:e.label,value:"("+r+", "+n+(o?", "+o:"")+")"}}update(t){let e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){let a="reset"===s,{iScale:r,vScale:n}=this._cachedMeta,{sharedOptions:o,includeOptions:l}=this._getSharedOptions(e,s),h=r.axis,d=n.axis;for(let c=e;c""}}}};class O extends y{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){let i=this.getDataset().data,a=this._cachedMeta;if(!1===this._parsing)a._parsed=i;else{let r,n,o=t=>+i[t];if((0,s.i)(i[t])){let{key:l="value"}=this._parsing;o=t=>+(0,s.f)(i[t],l)}for(r=t,n=t+e;r(0,s.p)(e,t,l,!0)?1:Math.max(a,a*i,r,r*i),p=(e,a,r)=>(0,s.p)(e,t,l,!0)?-1:Math.min(a,a*i,r,r*i),f=g(0,h,c),m=g(s.H,d,u),b=p(s.P,h,c),x=p(s.P+s.H,d,u);a=(f-b)/2,r=(m-x)/2,n=-(f+b)/2,o=-(m+x)/2}return{ratioX:a,ratioY:r,offsetX:n,offsetY:o}}(c,d,l),m=(i.width-n)/u,b=(i.height-n)/g,x=(0,s.n)(this.options.radius,Math.max(Math.min(m,b)/2,0)),_=(x-Math.max(x*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*x,this.offsetY=f*x,a.total=this.calculateTotal(),this.outerRadius=x-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*h,0),this.updateElements(r,0,r.length,t)}_circumference(t,e){let i=this.options,a=this._cachedMeta,r=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===a._parsed[t]||a.data[t].hidden?0:this.calculateCircumference(a._parsed[t]*r/s.T)}updateElements(t,e,i,s){let a;let r="reset"===s,n=this.chart,o=n.chartArea,l=n.options,h=l.animation,d=(o.left+o.right)/2,c=(o.top+o.bottom)/2,u=r&&h.animateScale,g=u?0:this.innerRadius,p=u?0:this.outerRadius,{sharedOptions:f,includeOptions:m}=this._getSharedOptions(e,s),b=this._getRotation();for(a=0;a0&&!isNaN(t)?s.T*(Math.abs(t)/e):0}getLabelAndValue(t){let e=this._cachedMeta,i=this.chart,a=i.data.labels||[],r=(0,s.o)(e._parsed[t],i.options.locale);return{label:a[t]||"",value:r}}getMaxBorderWidth(t){let e,i,s,a,r,n=0,o=this.chart;if(!t){for(e=0,i=o.data.datasets.length;e"spacing"!==t,_indexable:t=>"spacing"!==t},O.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let e=t.data;if(e.labels.length&&e.datasets.length){let{labels:{pointStyle:i}}=t.legend.options;return e.labels.map((e,s)=>{let a=t.getDatasetMeta(0),r=a.controller.getStyle(s);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(t){let e=t.label,i=": "+t.formattedValue;return(0,s.b)(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}};class L extends y{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let e=this._cachedMeta,{dataset:i,data:a=[],_dataset:r}=e,n=this.chart._animationsDisabled,{start:o,count:l}=(0,s.q)(e,a,n);this._drawStart=o,this._drawCount=l,(0,s.w)(e)&&(o=0,l=a.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=a;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(i,void 0,{animated:!n,options:h},t),this.updateElements(a,o,l,t)}updateElements(t,e,i,a){let r="reset"===a,{iScale:n,vScale:o,_stacked:l,_dataset:h}=this._cachedMeta,{sharedOptions:d,includeOptions:c}=this._getSharedOptions(e,a),u=n.axis,g=o.axis,{spanGaps:p,segment:f}=this.options,m=(0,s.x)(p)?p:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||"none"===a,x=e>0&&this.getParsed(e-1);for(let _=e;_0&&Math.abs(y[u]-x[u])>m,f&&(M.parsed=y,M.raw=h.data[_]),c&&(M.options=d||this.resolveDataElementOptions(_,v.active?"active":a)),b||this.updateElement(v,_,M,a),x=y}}getMaxOverflow(){let t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;let a=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,a,r)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}L.id="line",L.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},L.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class E extends y{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let e=this._cachedMeta,i=this.chart,a=i.data.labels||[],r=(0,s.o)(e._parsed[t].r,i.options.locale);return{label:a[t]||"",value:r}}parseObjectData(t,e,i,a){return s.y.bind(this)(t,e,i,a)}update(t){let e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){let t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((t,i)=>{let s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))}),e}_updateRadius(){let t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),a=Math.max(s/2,0),r=Math.max(i.cutoutPercentage?a/100*i.cutoutPercentage:1,0),n=(a-r)/t.getVisibleDatasetCount();this.outerRadius=a-n*this.index,this.innerRadius=this.outerRadius-n}updateElements(t,e,i,a){let r;let n="reset"===a,o=this.chart,l=o.options,h=l.animation,d=this._cachedMeta.rScale,c=d.xCenter,u=d.yCenter,g=d.getIndexAngle(0)-.5*s.P,p=g,f=360/this.countVisibleElements();for(r=0;r{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++}),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?(0,s.t)(this.resolveDataElementOptions(t,e).angle||i):0}}E.id="polarArea",E.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},E.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let e=t.data;if(e.labels.length&&e.datasets.length){let{labels:{pointStyle:i}}=t.legend.options;return e.labels.map((e,s)=>{let a=t.getDatasetMeta(0),r=a.controller.getStyle(s);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(s),index:s}})}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:t=>t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class A extends O{}A.id="pie",A.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class T extends y{getLabelAndValue(t){let e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,a){return s.y.bind(this)(t,e,i,a)}update(t){let e=this._cachedMeta,i=e.dataset,s=e.data||[],a=e.iScale.getLabels();if(i.points=s,"resize"!==t){let r=this.resolveDatasetElementOptions(t);this.options.showLine||(r.borderWidth=0);let n={_loop:!0,_fullLoop:a.length===s.length,options:r};this.updateElement(i,void 0,n,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){let a=this._cachedMeta.rScale,r="reset"===s;for(let n=e;n{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]}),s}}z.defaults={},z.defaultRoutes=void 0;let R={values:t=>(0,s.b)(t)?t:""+t,numeric(t,e,i){let a;if(0===t)return"0";let r=this.chart.options.locale,n=t;if(i.length>1){let o;let l=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(l<1e-4||l>1e15)&&(a="scientific"),Math.abs(o=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value)>=1&&t!==Math.floor(t)&&(o=t-Math.floor(t)),n=o}let h=(0,s.z)(Math.abs(n)),d=Math.max(Math.min(-1*Math.floor(h),20),0),c={notation:a,minimumFractionDigits:d,maximumFractionDigits:d};return Object.assign(c,this.options.ticks.format),(0,s.o)(t,r,c)},logarithmic(t,e,i){if(0===t)return"0";let a=t/Math.pow(10,Math.floor((0,s.z)(t)));return 1===a||2===a||5===a?R.numeric.call(this,t,e,i):""}};var F={formatters:R};function I(t,e,i,a,r){let n,o,l;let h=(0,s.v)(a,0),d=Math.min((0,s.v)(r,t.length),t.length),c=0;for(i=Math.ceil(i),r&&(i=(n=r-a)/Math.floor(n/i)),l=h;l<0;)l=Math.round(h+ ++c*i);for(o=Math.max(h,0);oe.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:F.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),s.d.route("scale.ticks","color","","color"),s.d.route("scale.grid","color","","borderColor"),s.d.route("scale.grid","borderColor","","borderColor"),s.d.route("scale.title","color","","color"),s.d.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),s.d.describe("scales",{_fallback:"scale"}),s.d.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});let V=t=>"left"===t?"right":"right"===t?"left":t,B=(t,e,i)=>"top"===e||"left"===e?t[e]+i:t[e]-i;function N(t,e){let i=[],s=t.length/e,a=t.length,r=0;for(;ra?a:i,a=r&&i>a?i:a,{min:(0,s.B)(i,(0,s.B)(a,i)),max:(0,s.B)(a,(0,s.B)(i,a))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,s.C)(this.options.beforeUpdate,[this])}update(t,e,i){let{beginAtZero:a,grace:r,ticks:n}=this.options,o=n.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,s.D)(this,r,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=oa)return function(t,e,i,s){let a,r=0,n=i[0];for(a=0,s=Math.ceil(s);ar)return h}return Math.max(r,1)}(r,e,a);if(n>0){let c,u;let g=n>1?Math.round((l-o)/(n-1)):null;for(I(e,h,d,(0,s.k)(g)?0:o-g,o),c=0,u=n-1;c=l||n<=1||!this.isHorizontal()){this.labelRotation=o;return}let d=this._getLabelSizes(),c=d.widest.width,u=d.highest.height,g=(0,s.E)(this.chart.width-c,0,this.maxWidth);c+6>(t=a.offset?this.maxWidth/n:g/(n-1))&&(t=g/(n-(a.offset?.5:1)),e=this.maxHeight-H(a.grid)-r.padding-W(a.title,this.chart.options.font),i=Math.sqrt(c*c+u*u),h=Math.max(o,Math.min(l,h=(0,s.F)(Math.min(Math.asin((0,s.E)((d.highest.height+6)/t,-1,1)),Math.asin((0,s.E)(e/i,-1,1))-Math.asin((0,s.E)(u/i,-1,1))))))),this.labelRotation=h}afterCalculateLabelRotation(){(0,s.C)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,s.C)(this.options.beforeFit,[this])}fit(){let t={width:0,height:0},{chart:e,options:{ticks:i,title:a,grid:r}}=this,n=this._isVisible(),o=this.isHorizontal();if(n){let l=W(a,e.options.font);if(o?(t.width=this.maxWidth,t.height=H(r)+l):(t.height=this.maxHeight,t.width=H(r)+l),i.display&&this.ticks.length){let{first:h,last:d,widest:c,highest:u}=this._getLabelSizes(),g=2*i.padding,p=(0,s.t)(this.labelRotation),f=Math.cos(p),m=Math.sin(p);if(o){let b=i.mirror?0:m*c.width+f*u.height;t.height=Math.min(this.maxHeight,t.height+b+g)}else{let x=i.mirror?0:f*c.width+m*u.height;t.width=Math.min(this.maxWidth,t.width+x+g)}this._calculatePadding(h,d,m,f)}}this._handleMargins(),o?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){let{ticks:{align:a,padding:r},position:n}=this.options,o=0!==this.labelRotation,l="top"!==n&&"x"===this.axis;if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),c=0,u=0;o?l?(c=s*t.width,u=i*e.height):(c=i*t.height,u=s*e.width):"start"===a?u=e.width:"end"===a?c=t.width:"inner"!==a&&(c=t.width/2,u=e.width/2),this.paddingLeft=Math.max((c-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let g=e.height/2,p=t.height/2;"start"===a?(g=0,p=t.height):"end"===a&&(g=e.height,p=0),this.paddingTop=g+r,this.paddingBottom=p+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,s.C)(this.options.afterFit,[this])}isHorizontal(){let{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{let i;let s=t.gc,a=s.length/2;if(a>e){for(i=0;i({width:m[t]||0,height:b[t]||0});return{first:M(0),last:M(e-1),widest:M(v),highest:M(y),widths:m,heights:b}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){let e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);let e=this._startPixel+t*this._length;return(0,s.I)(this._alignToPixels?(0,s.J)(this.chart,e,0):e)}getDecimalForPixel(t){let e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){var e,i;let a=this.ticks||[];if(t>=0&&to*a?o/i:l/a:l*a0}_computeGridLineItems(t){let e,i,a,r,n,o,l,h,d,c,u,g;let p=this.axis,f=this.chart,m=this.options,{grid:b,position:x}=m,_=b.offset,v=this.isHorizontal(),y=this.ticks,M=y.length+(_?1:0),k=H(b),w=[],S=b.setContext(this.getContext()),P=S.drawBorder?S.borderWidth:0,D=P/2,C=function(t){return(0,s.J)(f,t,P)};if("top"===x)e=C(this.bottom),o=this.bottom-k,h=e-D,c=C(t.top)+D,g=t.bottom;else if("bottom"===x)e=C(this.top),c=t.top,g=C(t.bottom)-D,o=e+D,h=this.top+k;else if("left"===x)e=C(this.right),n=this.right-k,l=e-D,d=C(t.left)+D,u=t.right;else if("right"===x)e=C(this.left),d=t.left,u=C(t.right)-D,n=e+D,l=this.left+k;else if("x"===p){if("center"===x)e=C((t.top+t.bottom)/2+.5);else if((0,s.i)(x)){let O=Object.keys(x)[0],L=x[O];e=C(this.chart.scales[O].getPixelForValue(L))}c=t.top,g=t.bottom,h=(o=e+D)+k}else if("y"===p){if("center"===x)e=C((t.left+t.right)/2);else if((0,s.i)(x)){let E=Object.keys(x)[0],A=x[E];e=C(this.chart.scales[E].getPixelForValue(A))}l=(n=e-D)-k,d=t.left,u=t.right}let T=(0,s.v)(m.ticks.maxTicksLimit,M),z=Math.max(1,Math.ceil(M/T));for(i=0;io+1e-6)))return l}(this,i,_))&&(r=(0,s.J)(f,a,F),v?n=l=d=u=r:o=h=c=g=r,w.push({tx1:n,ty1:o,tx2:l,ty2:h,x1:d,y1:c,x2:u,y2:g,width:F,color:I,borderDash:V,borderDashOffset:B,tickWidth:N,tickColor:W,tickBorderDash:j,tickBorderDashOffset:$}))}return this._ticksLength=M,this._borderValue=e,w}_computeLabelItems(t){let e,i,a,r,n,o,l,h,d,c,u;let g=this.axis,p=this.options,{position:f,ticks:m}=p,b=this.isHorizontal(),x=this.ticks,{align:_,crossAlign:v,padding:y,mirror:M}=m,k=H(p.grid),w=k+y,S=M?-y:w,P=-(0,s.t)(this.labelRotation),D=[],C="middle";if("top"===f)n=this.bottom-S,o=this._getXAxisLabelAlignment();else if("bottom"===f)n=this.top+S,o=this._getXAxisLabelAlignment();else if("left"===f){let O=this._getYAxisLabelAlignment(k);o=O.textAlign,r=O.x}else if("right"===f){let L=this._getYAxisLabelAlignment(k);o=L.textAlign,r=L.x}else if("x"===g){if("center"===f)n=(t.top+t.bottom)/2+w;else if((0,s.i)(f)){let E=Object.keys(f)[0],A=f[E];n=this.chart.scales[E].getPixelForValue(A)+w}o=this._getXAxisLabelAlignment()}else if("y"===g){if("center"===f)r=(t.left+t.right)/2-w;else if((0,s.i)(f)){let T=Object.keys(f)[0],z=f[T];r=this.chart.scales[T].getPixelForValue(z)}o=this._getYAxisLabelAlignment(k).textAlign}"y"===g&&("start"===_?C="top":"end"===_&&(C="bottom"));let R=this._getLabelSizes();for(e=0,i=x.length;ee.value===t);if(s>=0){let a=e.setContext(this.getContext(s));return a.lineWidth}return 0}drawGrid(t){let e,i;let s=this.options.grid,a=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t)),n=(t,e,i)=>{i.width&&i.color&&(a.save(),a.lineWidth=i.width,a.strokeStyle=i.color,a.setLineDash(i.borderDash||[]),a.lineDashOffset=i.borderDashOffset,a.beginPath(),a.moveTo(t.x,t.y),a.lineTo(e.x,e.y),a.stroke(),a.restore())};if(s.display)for(e=0,i=r.length;e{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){let e,i;let s=this.chart.getSortedVisibleDatasetMetas(),a=this.axis+"AxisID",r=[];for(e=0,i=s.length;e{let a=i.split("."),r=a.pop(),n=[t].concat(a).join("."),o=e[i].split("."),l=o.pop(),h=o.join(".");s.d.route(n,r,h,l)})}(e,t.defaultRoutes),t.descriptors&&s.d.describe(e,t.descriptors)}(t,n,e),this.override&&s.d.override(t.id,t.overrides)),n}get(t){return this.items[t]}unregister(t){let e=this.items,i=t.id,a=this.scope;i in e&&delete e[i],a&&i in s.d[a]&&(delete s.d[a][i],this.override&&delete s.U[i])}}var U=new class{constructor(){this.controllers=new $(y,"datasets",!0),this.elements=new $(z,"elements"),this.plugins=new $(Object,"plugins"),this.scales=new $(j,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach(e=>{let a=i||this._getRegistryForType(e);i||a.isForType(e)||a===this.plugins&&e.id?this._exec(t,a,e):(0,s.Q)(e,e=>{let s=i||this._getRegistryForType(e);this._exec(t,s,e)})})}_exec(t,e,i){let a=(0,s.W)(t);(0,s.C)(i["before"+a],[],i),e[t](i),(0,s.C)(i["after"+a],[],i)}_getRegistryForType(t){for(let e=0;e0&&this.getParsed(e-1);for(let v=e;v0&&Math.abs(M[g]-_[g])>b,m&&(k.parsed=M,k.raw=h.data[v]),u&&(k.options=c||this.resolveDataElementOptions(v,y.active?"active":a)),x||this.updateElement(y,v,k,a),_=M}this.updateSharedOptions(c,a,d)}getMaxOverflow(){let t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let i=0;for(let s=e.length-1;s>=0;--s)i=Math.max(i,e[s].size(this.resolveDataElementOptions(s))/2);return i>0&&i}let a=t.dataset,r=a.options&&a.options.borderWidth||0;if(!e.length)return r;let n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,n,o)/2}}Y.id="scatter",Y.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Y.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:t=>"("+t.label+", "+t.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var K=Object.freeze({__proto__:null,BarController:D,BubbleController:C,DoughnutController:O,LineController:L,PolarAreaController:E,PieController:A,RadarController:T,ScatterController:Y});function Q(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class X{constructor(t){this.options=t||{}}init(t){}formats(){return Q()}parse(t,e){return Q()}format(t,e){return Q()}add(t,e,i){return Q()}diff(t,e,i){return Q()}startOf(t,e,i){return Q()}endOf(t,e){return Q()}}X.override=function(t){Object.assign(X.prototype,t)};var G={_date:X};function q(t,e,i,a,r){let n=t.getSortedVisibleDatasetMetas(),o=i[e];for(let l=0,h=n.length;l{t[n](e[i],a)&&(r.push({element:t,datasetIndex:s,index:l}),o=o||t.inRange(e.x,e.y,a))}),s&&!o)?[]:r}var te={evaluateInteractionItems:q,modes:{index(t,e,i,a){let r=(0,s.X)(e,t),n=i.axis||"x",o=i.includeInvisible||!1,l=i.intersect?J(t,r,n,a,o):Z(t,r,n,!1,a,o),h=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{let e=l[0].index,i=t.data[e];i&&!i.skip&&h.push({element:i,datasetIndex:t.index,index:e})}),h):[]},dataset(t,e,i,a){let r=(0,s.X)(e,t),n=i.axis||"xy",o=i.includeInvisible||!1,l=i.intersect?J(t,r,n,a,o):Z(t,r,n,!1,a,o);if(l.length>0){let h=l[0].datasetIndex,d=t.getDatasetMeta(h).data;l=[];for(let c=0;ct.pos===e)}function ta(t,e){return t.filter(t=>-1===ti.indexOf(t.pos)&&t.box.axis===e)}function tr(t,e){return t.sort((t,i)=>{let s=e?i:t,a=e?t:i;return s.weight===a.weight?s.index-a.index:s.weight-a.weight})}function tn(t,e,i,s){return Math.max(t[i],e[i])+Math.max(t[s],e[s])}function to(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function tl(t,e,i,a){let r,n,o,l,h,d;let c=[];for(r=0,n=t.length,h=0;r{s[t]=Math.max(e[t],i[t])}),s}(t?["left","right"]:["top","bottom"])}(o.horizontal,e));let{same:u,other:g}=function(t,e,i,a){let{pos:r,box:n}=i,o=t.maxPadding;if(!(0,s.i)(r)){i.size&&(t[r]-=i.size);let l=a[i.stack]||{size:0,count:1};l.size=Math.max(l.size,i.horizontal?n.height:n.width),i.size=l.size/l.count,t[r]+=i.size}n.getPadding&&to(o,n.getPadding());let h=Math.max(0,e.outerWidth-tn(o,t,"left","right")),d=Math.max(0,e.outerHeight-tn(o,t,"top","bottom")),c=h!==t.w,u=d!==t.h;return t.w=h,t.h=d,i.horizontal?{same:c,other:u}:{same:u,other:c}}(e,i,o,a);h|=u&&c.length,d=d||g,l.fullSize||c.push(o)}return h&&tl(c,e,i,a)||d}function th(t,e,i,s,a){t.top=i,t.left=e,t.right=e+s,t.bottom=i+a,t.width=s,t.height=a}function td(t,e,i,a){let r=i.padding,{x:n,y:o}=e;for(let l of t){let h=l.box,d=a[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/d.weight||1;if(l.horizontal){let u=e.w*c,g=d.size||h.height;(0,s.j)(d.start)&&(o=d.start),h.fullSize?th(h,r.left,o,i.outerWidth-r.right-r.left,g):th(h,e.left+d.placed,o,u,g),d.start=o,d.placed+=u,o=h.bottom}else{let p=e.h*c,f=d.size||h.width;(0,s.j)(d.start)&&(n=d.start),h.fullSize?th(h,n,r.top,f,i.outerHeight-r.bottom-r.top):th(h,n,e.top+d.placed,f,p),d.start=n,d.placed+=p,n=h.right}}e.x=n,e.y=o}s.d.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var tc={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){let i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure(t,e,i){e.fullSize=i.fullSize,e.position=i.position,e.weight=i.weight},update(t,e,i,a){if(!t)return;let r=(0,s.K)(t.options.layout.padding),n=Math.max(e-r.width,0),o=Math.max(i-r.height,0),l=function(t){let e=function(t){let e,i,s,a,r,n;let o=[];for(e=0,i=(t||[]).length;et.box.fullSize),!0),s=tr(ts(e,"left"),!0),a=tr(ts(e,"right")),r=tr(ts(e,"top"),!0),n=tr(ts(e,"bottom")),o=ta(e,"x"),l=ta(e,"y");return{fullSize:i,leftAndTop:s.concat(r),rightAndBottom:a.concat(l).concat(n).concat(o),chartArea:ts(e,"chartArea"),vertical:s.concat(a).concat(l),horizontal:r.concat(n).concat(o)}}(t.boxes),h=l.vertical,d=l.horizontal;(0,s.Q)(t.boxes,t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()});let c=h.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,u=Object.freeze({outerWidth:e,outerHeight:i,padding:r,availableWidth:n,availableHeight:o,vBoxMaxWidth:n/2/c,hBoxMaxHeight:o/2}),g=Object.assign({},r);to(g,(0,s.K)(a));let p=Object.assign({maxPadding:g,w:n,h:o,x:r.left,y:r.top},r),f=function(t,e){let i,s,a;let r=function(t){let e={};for(let i of t){let{stack:s,pos:a,stackWeight:r}=i;if(!s||!ti.includes(a))continue;let n=e[s]||(e[s]={count:0,placed:0,weight:0,size:0});n.count++,n.weight+=r}return e}(t),{vBoxMaxWidth:n,hBoxMaxHeight:o}=e;for(i=0,s=t.length;i{let i=e.box;Object.assign(i,t.chartArea),i.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class tu{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class tg extends tu{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}let tp="$chartjs",tf={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},tm=t=>null===t||""===t,tb=!!s.a5&&{passive:!0};function tx(t,e,i){t.canvas.removeEventListener(e,i,tb)}function t_(t,e){for(let i of t)if(i===e||i.contains(e))return!0}function tv(t,e,i){let s=t.canvas,a=new MutationObserver(t=>{let e=!1;for(let a of t)e=(e=e||t_(a.addedNodes,s))&&!t_(a.removedNodes,s);e&&i()});return a.observe(document,{childList:!0,subtree:!0}),a}function ty(t,e,i){let s=t.canvas,a=new MutationObserver(t=>{let e=!1;for(let a of t)e=(e=e||t_(a.removedNodes,s))&&!t_(a.addedNodes,s);e&&i()});return a.observe(document,{childList:!0,subtree:!0}),a}let tM=new Map,tk=0;function tw(){let t=window.devicePixelRatio;t!==tk&&(tk=t,tM.forEach((e,i)=>{i.currentDevicePixelRatio!==t&&e()}))}function tS(t,e,i){let a=t.canvas,r=a&&(0,s.a2)(a);if(!r)return;let n=(0,s.a4)((t,e)=>{let s=r.clientWidth;i(t,e),s{let e=t[0],i=e.contentRect.width,s=e.contentRect.height;(0!==i||0!==s)&&n(i,s)});return o.observe(r),tM.size||window.addEventListener("resize",tw),tM.set(t,n),o}function tP(t,e,i){i&&i.disconnect(),"resize"===e&&(tM.delete(t),tM.size||window.removeEventListener("resize",tw))}function tD(t,e,i){let a=t.canvas,r=(0,s.a4)(e=>{null!==t.ctx&&i(function(t,e){let i=tf[t.type]||t.type,{x:a,y:r}=(0,s.X)(t,e);return{type:i,chart:e,native:t,x:void 0!==a?a:null,y:void 0!==r?r:null}}(e,t))},t,t=>{let e=t[0];return[e,e.offsetX,e.offsetY]});return!function(t,e,i){t.addEventListener(e,i,tb)}(a,e,r),r}class tC extends tu{acquireContext(t,e){let i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(!function(t,e){let i=t.style,a=t.getAttribute("height"),r=t.getAttribute("width");if(t[tp]={initial:{height:a,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",tm(r)){let n=(0,s.a3)(t,"width");void 0!==n&&(t.width=n)}if(tm(a)){if(""===t.style.height)t.height=t.width/(e||2);else{let o=(0,s.a3)(t,"height");void 0!==o&&(t.height=o)}}}(t,e),i):null}releaseContext(t){let e=t.canvas;if(!e[tp])return!1;let i=e[tp].initial;["height","width"].forEach(t=>{let a=i[t];(0,s.k)(a)?e.removeAttribute(t):e.setAttribute(t,a)});let a=i.style||{};return Object.keys(a).forEach(t=>{e.style[t]=a[t]}),e.width=e.width,delete e[tp],!0}addEventListener(t,e,i){this.removeEventListener(t,e);let s=t.$proxies||(t.$proxies={});s[e]=(({attach:tv,detach:ty,resize:tS})[e]||tD)(t,e,i)}removeEventListener(t,e){let i=t.$proxies||(t.$proxies={}),s=i[e];s&&((({attach:tP,detach:tP,resize:tP})[e]||tx)(t,e,s),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,a){return(0,s.a1)(t,e,i,a)}isAttached(t){let e=(0,s.a2)(t);return!!(e&&e.isConnected)}}class tO{constructor(){this._init=[]}notify(t,e,i,s){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));let a=s?this._descriptors(t).filter(s):this._descriptors(t),r=this._notify(a,t,e,i);return"afterDestroy"===e&&(this._notify(a,t,"stop"),this._notify(this._init,t,"uninstall")),r}_notify(t,e,i,a){for(let r of(a=a||{},t)){let n=r.plugin,o=n[i],l=[e,a,r.options];if(!1===(0,s.C)(o,l,n)&&a.cancelable)return!1}return!0}invalidate(){(0,s.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;let e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){let i=t&&t.config,a=(0,s.v)(i.options&&i.options.plugins,{}),r=function(t){let e={},i=[],s=Object.keys(U.plugins.items);for(let a=0;at.filter(t=>!e.some(e=>t.plugin.id===e.plugin.id));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function tL(t,e){let i=s.d.datasets[t]||{},a=(e.datasets||{})[t]||{};return a.indexAxis||e.indexAxis||i.indexAxis||"x"}function tE(t,e){var i;return"x"===t||"y"===t?t:e.axis||("top"===(i=e.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.charAt(0).toLowerCase()}function tA(t){let e=t.options||(t.options={});e.plugins=(0,s.v)(e.plugins,{}),e.scales=function(t,e){let i=s.U[t.type]||{scales:{}},a=e.scales||{},r=tL(t.type,e),n=Object.create(null),o=Object.create(null);return Object.keys(a).forEach(t=>{let e=a[t];if(!(0,s.i)(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let l=tE(t,e),h=i.scales||{};n[l]=n[l]||t,o[t]=(0,s.ac)(Object.create(null),[{axis:l},e,h[l],h[l===r?"_index_":"_value_"]])}),t.data.datasets.forEach(i=>{let r=i.type||t.type,l=i.indexAxis||tL(r,e),h=s.U[r]||{},d=h.scales||{};Object.keys(d).forEach(t=>{let e;let r=(e=t,"_index_"===t?e=l:"_value_"===t&&(e="x"===l?"y":"x"),e),h=i[r+"AxisID"]||n[r]||r;o[h]=o[h]||Object.create(null),(0,s.ac)(o[h],[{axis:r},a[h],d[t]])})}),Object.keys(o).forEach(t=>{let e=o[t];(0,s.ac)(e,[s.d.scales[e.type],s.d.scale])}),o}(t,e)}function tT(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}let tz=new Map,tR=new Set;function tF(t,e){let i=tz.get(t);return i||(i=e(),tz.set(t,i),tR.add(i)),i}let tI=(t,e,i)=>{let a=(0,s.f)(e,i);void 0!==a&&t.add(a)};class tV{constructor(t){var e;this._config=((e=(e=t)||{}).data=tT(e.data),tA(e),e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=tT(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){let t=this._config;this.clearCache(),tA(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return tF(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return tF(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return tF(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){let e=t.id,i=this.type;return tF(`${i}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){let i=this._scopeCache,s=i.get(t);return(!s||e)&&(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){let{options:a,type:r}=this,n=this._cachedScopes(t,i),o=n.get(e);if(o)return o;let l=new Set;e.forEach(e=>{t&&(l.add(t),e.forEach(e=>tI(l,t,e))),e.forEach(t=>tI(l,a,t)),e.forEach(t=>tI(l,s.U[r]||{},t)),e.forEach(t=>tI(l,s.d,t)),e.forEach(t=>tI(l,s.a7,t))});let h=Array.from(l);return 0===h.length&&h.push(Object.create(null)),tR.has(e)&&n.set(e,h),h}chartOptionScopes(){let{options:t,type:e}=this;return[t,s.U[e]||{},s.d.datasets[e]||{},{type:e},s.d,s.a7]}resolveNamedOptions(t,e,i,a=[""]){let r={$shared:!0},{resolver:n,subPrefixes:o}=tB(this._resolverCache,t,a),l=n;if(function(t,e){let{isScriptable:i,isIndexable:a}=(0,s.ab)(t);for(let r of e){let n=i(r),o=a(r),l=(o||n)&&t[r];if(n&&((0,s.a8)(l)||tN(l))||o&&(0,s.b)(l))return!0}return!1}(n,e)){r.$shared=!1,i=(0,s.a8)(i)?i():i;let h=this.createResolver(t,i,o);l=(0,s.a9)(n,i,h)}for(let d of e)r[d]=l[d];return r}createResolver(t,e,i=[""],a){let{resolver:r}=tB(this._resolverCache,t,i);return(0,s.i)(e)?(0,s.a9)(r,e,void 0,a):r}}function tB(t,e,i){let a=t.get(e);a||(a=new Map,t.set(e,a));let r=i.join(),n=a.get(r);if(!n){let o=(0,s.aa)(e,i);n={resolver:o,subPrefixes:i.filter(t=>!t.toLowerCase().includes("hover"))},a.set(r,n)}return n}let tN=t=>(0,s.i)(t)&&Object.getOwnPropertyNames(t).reduce((e,i)=>e||(0,s.a8)(t[i]),!1),tH=["top","bottom","left","right","chartArea"];function tW(t,e){return"top"===t||"bottom"===t||-1===tH.indexOf(t)&&"x"===e}function tj(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function t$(t){let e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),(0,s.C)(i&&i.onComplete,[t],e)}function tU(t){let e=t.chart,i=e.options.animation;(0,s.C)(i&&i.onProgress,[t],e)}function tY(t){return(0,s.a6)()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}let tK={},tQ=t=>{let e=tY(t);return Object.values(tK).filter(t=>t.canvas===e).pop()};class tX{constructor(t,e){let i=this.config=new tV(e),r=tY(t),n=tQ(r);if(n)throw Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");let o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||(!(0,s.a6)()||"undefined"!=typeof OffscreenCanvas&&r instanceof OffscreenCanvas?tg:tC)),this.platform.updateConfig(i);let l=this.platform.acquireContext(r,o.aspectRatio),h=l&&l.canvas,d=h&&h.height,c=h&&h.width;if(this.id=(0,s.ad)(),this.ctx=l,this.canvas=h,this.width=c,this.height=d,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new tO,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,s.ae)(t=>this.update(t),o.resizeDelay||0),this._dataChanges=[],tK[this.id]=this,!l||!h){console.error("Failed to create chart: can't acquire context from the given item");return}a.listen(this,"complete",t$),a.listen(this,"progress",tU),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:a,_aspectRatio:r}=this;return(0,s.k)(t)?e&&r?r:a?i/a:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,s.af)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,s.ag)(this.canvas,this.ctx),this}stop(){return a.stop(this),this}resize(t,e){a.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){let i=this.options,a=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,n=this.platform.getMaximumSize(a,t,e,r),o=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=n.width,this.height=n.height,this._aspectRatio=this.aspectRatio,(0,s.af)(this,o,!0)&&(this.notifyPlugins("resize",{size:n}),(0,s.C)(i.onResize,[this,n],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){let t=this.options,e=t.scales||{};(0,s.Q)(e,(t,e)=>{t.id=e})}buildOrUpdateScales(){let t=this.options,e=t.scales,i=this.scales,a=Object.keys(i).reduce((t,e)=>(t[e]=!1,t),{}),r=[];e&&(r=r.concat(Object.keys(e).map(t=>{let i=e[t],s=tE(t,i),a="r"===s,r="x"===s;return{options:i,dposition:a?"chartArea":r?"bottom":"left",dtype:a?"radialLinear":r?"category":"linear"}}))),(0,s.Q)(r,e=>{let r=e.options,n=r.id,o=tE(n,r),l=(0,s.v)(r.type,e.dtype);(void 0===r.position||tW(r.position,o)!==tW(e.dposition))&&(r.position=e.dposition),a[n]=!0;let h=null;if(n in i&&i[n].type===l)h=i[n];else{let d=U.getScale(l);i[(h=new d({id:n,type:l,ctx:this.ctx,chart:this})).id]=h}h.init(r,t)}),(0,s.Q)(a,(t,e)=>{t||delete i[e]}),(0,s.Q)(i,t=>{tc.configure(this,t,t.options),tc.addBox(this,t)})}_updateMetasets(){let t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort((t,e)=>t.index-e.index),i>e){for(let s=e;se.length&&delete this._stacks,t.forEach((t,i)=>{0===e.filter(e=>e===t._dataset).length&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){let t,e;let i=[],a=this.data.datasets;for(this._removeUnreferencedMetasets(),t=0,e=a.length;t{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let e=this.config;e.update();let i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),a=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let n=0;for(let o=0,l=this.data.datasets.length;o{t.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(tj("z","_idx"));let{_active:c,_lastEvent:u}=this;u?this._eventHandler(u,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){(0,s.Q)(this.scales,t=>{tc.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);(0,s.ah)(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(let{method:i,start:s,count:a}of e){let r="_removeElements"===i?-a:a;!function(t,e,i){let s=Object.keys(t);for(let a of s){let r=+a;if(r>=e){let n=t[a];delete t[a],(i>0||r>e)&&(t[r+i]=n)}}}(t,s,r)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let e=this.data.datasets.length,i=e=>new Set(t.filter(t=>t[0]===e).map((t,e)=>e+","+t.splice(1).join(","))),a=i(0);for(let r=1;rt.split(",")).map(t=>({method:t[1],start:+t[2],count:+t[3]}))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;tc.update(this,this.width,this.height,t);let e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],(0,s.Q)(this.boxes,t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))},this),this._layers.forEach((t,e)=>{t._idx=e}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let e=0,i=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let e=this.ctx,i=t._clip,a=!i.disabled,r=this.chartArea,n={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(a&&(0,s.L)(e,{left:!1===i.left?0:r.left-i.left,right:!1===i.right?this.width:r.right+i.right,top:!1===i.top?0:r.top-i.top,bottom:!1===i.bottom?this.height:r.bottom+i.bottom}),t.controller.draw(),a&&(0,s.N)(e),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(t){return(0,s.$)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){let a=te.modes[e];return"function"==typeof a?a(this,t,i,s):[]}getDatasetMeta(t){let e=this.data.datasets[t],i=this._metasets,s=i.filter(t=>t&&t._dataset===e).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=(0,s.h)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let e=this.data.datasets[t];if(!e)return!1;let i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){let i=this.getDatasetMeta(t);i.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){let a=i?"show":"hide",r=this.getDatasetMeta(t),n=r.controller._resolveAnimations(void 0,a);(0,s.j)(e)?(r.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),n.update(r,{visible:i}),this.update(e=>e.datasetIndex===t?a:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){let e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),a.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},a=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};(0,s.Q)(this.options.events,t=>i(t,a))}bindResponsiveEvents(){let t;this._responsiveListeners||(this._responsiveListeners={});let e=this._responsiveListeners,i=this.platform,s=(t,s)=>{i.addEventListener(this,t,s),e[t]=s},a=(t,s)=>{e[t]&&(i.removeEventListener(this,t,s),delete e[t])},r=(t,e)=>{this.canvas&&this.resize(t,e)},n=()=>{a("attach",n),this.attached=!0,this.resize(),s("resize",r),s("detach",t)};t=()=>{this.attached=!1,a("resize",r),this._stop(),this._resize(0,0),s("attach",n)},i.isAttached(this.canvas)?n():t()}unbindEvents(){(0,s.Q)(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},(0,s.Q)(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){let s,a,r;let n=i?"set":"remove";for("dataset"===e&&this.getDatasetMeta(t[0].datasetIndex).controller["_"+n+"DatasetHoverStyle"](),a=0,r=t.length;a{let i=this.getDatasetMeta(t);if(!i)throw Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}),a=!(0,s.ai)(i,e);a&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}_updateHoverStyles(t,e,i){let s=this.options.hover,a=(t,e)=>t.filter(t=>!e.some(e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)),r=a(e,t),n=i?t:a(t,e);r.length&&this.updateHoverStyle(r,s.mode,!1),n.length&&s.mode&&this.updateHoverStyle(n,s.mode,!0)}_eventHandler(t,e){let i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;let a=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(a||i.changed)&&this.render(),this}_handleEvent(t,e,i){var a;let{_active:r=[],options:n}=this,o=this._getActiveElements(t,r,i,e),l=(0,s.aj)(t),h=(a=this._lastEvent,i&&"mouseout"!==t.type?l?a:t:null);i&&(this._lastEvent=null,(0,s.C)(n.onHover,[t,o,this],this),l&&(0,s.C)(n.onClick,[t,o,this],this));let d=!(0,s.ai)(o,r);return(d||e)&&(this._active=o,this._updateHoverStyles(o,r,e)),this._lastEvent=h,d}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;let a=this.options.hover;return this.getElementsAtEventForMode(t,a.mode,a,s)}}let tG=()=>(0,s.Q)(tX.instances,t=>t._plugins.invalidate());function tq(t,e,i){let{startAngle:a,pixelMargin:r,x:n,y:o,outerRadius:l,innerRadius:h}=e,d=r/l;t.beginPath(),t.arc(n,o,l,a-d,i+d),h>r?(d=r/h,t.arc(n,o,h,i+d,a-d,!0)):t.arc(n,o,r,i+s.H,a-s.H),t.closePath(),t.clip()}function tJ(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function tZ(t,e,i,a,r,n){let{x:o,y:l,startAngle:h,pixelMargin:d,innerRadius:c}=e,u=Math.max(e.outerRadius+a+i-d,0),g=c>0?c+a+i+d:0,p=0,f=r-h;if(a){let m=((c>0?c-a:0)+(u>0?u-a:0))/2;p=(f-(0!==m?f*m/(m+a):f))/2}let b=Math.max(.001,f*u-i/s.P)/u,x=(f-b)/2,_=h+x+p,v=r-x-p,{outerStart:y,outerEnd:M,innerStart:k,innerEnd:w}=function(t,e,i,a){var r;let n=(r=t.options.borderRadius,(0,s.al)(r,["outerStart","outerEnd","innerStart","innerEnd"])),o=(i-e)/2,l=Math.min(o,a*e/2),h=t=>(0,s.E)(t,0,Math.min(o,(i-Math.min(o,t))*a/2));return{outerStart:h(n.outerStart),outerEnd:h(n.outerEnd),innerStart:(0,s.E)(n.innerStart,0,l),innerEnd:(0,s.E)(n.innerEnd,0,l)}}(e,g,u,v-_),S=u-y,P=u-M,D=_+y/S,C=v-M/P,O=g+k,L=g+w,E=_+k/O,A=v-w/L;if(t.beginPath(),n){if(t.arc(o,l,u,D,C),M>0){let T=tJ(P,C,o,l);t.arc(T.x,T.y,M,C,v+s.H)}let z=tJ(L,v,o,l);if(t.lineTo(z.x,z.y),w>0){let R=tJ(L,A,o,l);t.arc(R.x,R.y,w,v+s.H,A+Math.PI)}if(t.arc(o,l,g,v-w/g,_+k/g,!0),k>0){let F=tJ(O,E,o,l);t.arc(F.x,F.y,k,E+Math.PI,_-s.H)}let I=tJ(S,_,o,l);if(t.lineTo(I.x,I.y),y>0){let V=tJ(S,D,o,l);t.arc(V.x,V.y,y,_-s.H,D)}}else t.moveTo(o,l),t.lineTo(Math.cos(D)*u+o,Math.sin(D)*u+l),t.lineTo(Math.cos(C)*u+o,Math.sin(C)*u+l);t.closePath()}Object.defineProperties(tX,{defaults:{enumerable:!0,value:s.d},instances:{enumerable:!0,value:tK},overrides:{enumerable:!0,value:s.U},registry:{enumerable:!0,value:U},version:{enumerable:!0,value:"3.9.1"},getChart:{enumerable:!0,value:tQ},register:{enumerable:!0,value(...t){U.add(...t),tG()}},unregister:{enumerable:!0,value(...t){U.remove(...t),tG()}}});class t0 extends z{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){let a=this.getProps(["x","y"],i),{angle:r,distance:n}=(0,s.a0)(a,{x:t,y:e}),{startAngle:o,endAngle:l,innerRadius:h,outerRadius:d,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,g=(0,s.v)(c,l-o),p=g>=s.T||(0,s.p)(r,o,l),f=(0,s.ak)(n,h+u,d+u);return p&&f}getCenterPoint(t){let{x:e,y:i,startAngle:s,endAngle:a,innerRadius:r,outerRadius:n}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:o,spacing:l}=this.options,h=(s+a)/2,d=(r+n+l+o)/2;return{x:e+Math.cos(h)*d,y:i+Math.sin(h)*d}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){let{options:e,circumference:i}=this,a=(e.offset||0)/2,r=(e.spacing||0)/2,n=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>s.T?Math.floor(i/s.T):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();let o=0;if(a){o=a/2;let l=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(l)*o,Math.sin(l)*o),this.circumference>=s.P&&(o=a)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;let h=function(t,e,i,a,r){let{fullCircles:n,startAngle:o,circumference:l}=e,h=e.endAngle;if(n){tZ(t,e,i,a,o+s.T,r);for(let d=0;do&&r>o)?s+h-l:h-l}}function t3(t,e,i,a){let r,n,o;let{points:l,options:h}=e,{count:d,start:c,loop:u,ilen:g}=t5(l,i,a),p=h.stepped?s.as:h.tension||"monotone"===h.cubicInterpolationMode?s.at:t2,{move:f=!0,reverse:m}=a||{};for(r=0;r<=g;++r)(n=l[(c+(m?g-r:r))%d]).skip||(f?(t.moveTo(n.x,n.y),f=!1):p(t,o,n,m,h.stepped),o=n);return u&&p(t,o,n=l[(c+(m?g:0))%d],m,h.stepped),!!u}function t6(t,e,i,s){let a,r,n,o,l,h;let d=e.points,{count:c,start:u,ilen:g}=t5(d,i,s),{move:p=!0,reverse:f}=s||{},m=0,b=0,x=t=>(u+(f?g-t:t))%c,_=()=>{o!==l&&(t.lineTo(m,l),t.lineTo(m,o),t.lineTo(m,h))};for(p&&(r=d[x(0)],t.moveTo(r.x,r.y)),a=0;a<=g;++a){if((r=d[x(a)]).skip)continue;let v=r.x,y=r.y,M=0|v;M===n?(yl&&(l=y),m=(b*m+v)/++b):(_(),t.lineTo(v,y),n=M,b=0,o=l=y),h=y}_()}function t4(t){let e=t.options,i=e.borderDash&&e.borderDash.length,s=!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!i;return s?t6:t3}t0.id="arc",t0.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},t0.defaultRoutes={backgroundColor:"backgroundColor"};let t7="function"==typeof Path2D;class t8 extends z{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){let i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){let a=i.spanGaps?this._loop:this._fullLoop;(0,s.am)(this._points,i,t,a,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,s.an)(this,this.options.segment))}first(){let t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){let t=this.segments,e=this.points,i=t.length;return i&&e[t[i-1].end]}interpolate(t,e){let i,a;let r=this.options,n=t[e],o=this.points,l=(0,s.ao)(this,{property:e,start:n,end:n});if(!l.length)return;let h=[],d=r.stepped?s.ap:r.tension||"monotone"===r.cubicInterpolationMode?s.aq:s.ar;for(i=0,a=l.length;i"borderDash"!==t&&"fill"!==t};class et extends z{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){let s=this.options,{x:a,y:r}=this.getProps(["x","y"],i);return Math.pow(t-a,2)+Math.pow(e-r,2){el(t)})}function ed(t,e,i,a){if(a)return;let r=e[t],n=i[t];return"angle"===t&&(r=(0,s.az)(r),n=(0,s.az)(n)),{property:t,start:r,end:n}}function ec(t,e,i){for(;e>t;e--){let s=i[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function eu(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function eg(t,e){let i=[],a=!1;return(0,s.b)(t)?(a=!0,i=t):i=function(t,e){let{x:i=null,y:s=null}=t||{},a=e.points,r=[];return e.segments.forEach(({start:t,end:e})=>{e=ec(t,e,a);let n=a[t],o=a[e];null!==s?(r.push({x:n.x,y:s}),r.push({x:o.x,y:s})):null!==i&&(r.push({x:i,y:n.y}),r.push({x:i,y:o.y}))}),r}(t,e),i.length?new t8({points:i,options:{tension:0},_loop:a,_fullLoop:a}):null}function ep(t){return t&&!1!==t.fill}class ef{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,i){let{x:a,y:r,radius:n}=this;return e=e||{start:0,end:s.T},t.arc(a,r,n,e.end,e.start,!0),!i.bounds}interpolate(t){let{x:e,y:i,radius:s}=this,a=t.angle;return{x:e+Math.cos(a)*s,y:i+Math.sin(a)*s,angle:a}}}function em(t,e,i){let a=function(t){let{chart:e,fill:i,line:a}=t;if((0,s.g)(i))return function(t,e){let i=t.getDatasetMeta(e),s=i&&t.isDatasetVisible(e);return s?i.dataset:null}(e,i);if("stack"===i)return function(t){let{scale:e,index:i,line:a}=t,r=[],n=a.segments,o=a.points,l=function(t,e){let i=[],s=t.getMatchingVisibleMetas("line");for(let a=0;a{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}},ey=(t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class eM extends z{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let t=this.options.labels||{},e=(0,s.C)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(e=>t.filter(e,this.chart.data))),t.sort&&(e=e.sort((e,i)=>t.sort(e,i,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){let t,e;let{options:i,ctx:a}=this;if(!i.display){this.width=this.height=0;return}let r=i.labels,n=(0,s.O)(r.font),o=n.size,l=this._computeTitleHeight(),{boxWidth:h,itemHeight:d}=ev(r,o);a.font=n.string,this.isHorizontal()?(t=this.maxWidth,e=this._fitRows(l,o,h,d)+10):(e=this.maxHeight,t=this._fitCols(l,o,h,d)+10),this.width=Math.min(t,i.maxWidth||this.maxWidth),this.height=Math.min(e,i.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){let{ctx:a,maxWidth:r,options:{labels:{padding:n}}}=this,o=this.legendHitBoxes=[],l=this.lineWidths=[0],h=s+n,d=t;a.textAlign="left",a.textBaseline="middle";let c=-1,u=-h;return this.legendItems.forEach((t,g)=>{let p=i+e/2+a.measureText(t.text).width;(0===g||l[l.length-1]+p+2*n>r)&&(d+=h,l[l.length-(g>0?0:1)]=0,u+=h,c++),o[g]={left:0,top:u,row:c,width:p,height:s},l[l.length-1]+=p+n}),d}_fitCols(t,e,i,s){let{ctx:a,maxHeight:r,options:{labels:{padding:n}}}=this,o=this.legendHitBoxes=[],l=this.columnSizes=[],h=r-t,d=n,c=0,u=0,g=0,p=0;return this.legendItems.forEach((t,r)=>{let f=i+e/2+a.measureText(t.text).width;r>0&&u+s+2*n>h&&(d+=c+n,l.push({width:c,height:u}),g+=c+n,p++,c=u=0),o[r]={left:g,top:u,col:p,width:f,height:s},c=Math.max(c,f),u+=s+n}),d+=c,l.push({width:c,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;let t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:a},rtl:r}}=this,n=(0,s.aA)(r,this.left,this.width);if(this.isHorizontal()){let o=0,l=(0,s.S)(i,this.left+a,this.right-this.lineWidths[o]);for(let h of e)o!==h.row&&(o=h.row,l=(0,s.S)(i,this.left+a,this.right-this.lineWidths[o])),h.top+=this.top+t+a,h.left=n.leftForLtr(n.x(l),h.width),l+=h.width+a}else{let d=0,c=(0,s.S)(i,this.top+t+a,this.bottom-this.columnSizes[d].height);for(let u of e)u.col!==d&&(d=u.col,c=(0,s.S)(i,this.top+t+a,this.bottom-this.columnSizes[d].height)),u.top=c,u.left+=this.left+a,u.left=n.leftForLtr(n.x(u.left),u.width),c+=u.height+a}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){let t=this.ctx;(0,s.L)(t,this),this._draw(),(0,s.N)(t)}}_draw(){let t;let{options:e,columnSizes:i,lineWidths:a,ctx:r}=this,{align:n,labels:o}=e,l=s.d.color,h=(0,s.aA)(e.rtl,this.left,this.width),d=(0,s.O)(o.font),{color:c,padding:u}=o,g=d.size,p=g/2;this.drawTitle(),r.textAlign=h.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=d.string;let{boxWidth:f,boxHeight:m,itemHeight:b}=ev(o,g),x=function(t,e,i){if(isNaN(f)||f<=0||isNaN(m)||m<0)return;r.save();let a=(0,s.v)(i.lineWidth,1);if(r.fillStyle=(0,s.v)(i.fillStyle,l),r.lineCap=(0,s.v)(i.lineCap,"butt"),r.lineDashOffset=(0,s.v)(i.lineDashOffset,0),r.lineJoin=(0,s.v)(i.lineJoin,"miter"),r.lineWidth=a,r.strokeStyle=(0,s.v)(i.strokeStyle,l),r.setLineDash((0,s.v)(i.lineDash,[])),o.usePointStyle){let n={radius:m*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:a},d=h.xPlus(t,f/2);(0,s.aE)(r,n,d,e+p,o.pointStyleWidth&&f)}else{let c=e+Math.max((g-m)/2,0),u=h.leftForLtr(t,f),b=(0,s.ax)(i.borderRadius);r.beginPath(),Object.values(b).some(t=>0!==t)?(0,s.av)(r,{x:u,y:c,w:f,h:m,radius:b}):r.rect(u,c,f,m),r.fill(),0!==a&&r.stroke()}r.restore()},_=function(t,e,i){(0,s.M)(r,i.text,t,e+b/2,d,{strikethrough:i.hidden,textAlign:h.textAlign(i.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();t=v?{x:(0,s.S)(n,this.left+u,this.right-a[0]),y:this.top+u+y,line:0}:{x:this.left+u,y:(0,s.S)(n,this.top+y+u,this.bottom-i[0].height),line:0},(0,s.aB)(this.ctx,e.textDirection);let M=b+u;this.legendItems.forEach((l,d)=>{r.strokeStyle=l.fontColor||c,r.fillStyle=l.fontColor||c;let g=r.measureText(l.text).width,m=h.textAlign(l.textAlign||(l.textAlign=o.textAlign)),b=f+p+g,k=t.x,w=t.y;h.setWidth(this.width),v?d>0&&k+b+u>this.right&&(w=t.y+=M,t.line++,k=t.x=(0,s.S)(n,this.left+u,this.right-a[t.line])):d>0&&w+M>this.bottom&&(k=t.x=k+i[t.line].width+u,t.line++,w=t.y=(0,s.S)(n,this.top+y+u,this.bottom-i[t.line].height));let S=h.x(k);x(S,w,l),k=(0,s.aC)(m,k+f+p,v?k+b:this.right,e.rtl),_(h.x(k),w,l),v?t.x+=b+u:t.y+=M}),(0,s.aD)(this.ctx,e.textDirection)}drawTitle(){let t;let e=this.options,i=e.title,a=(0,s.O)(i.font),r=(0,s.K)(i.padding);if(!i.display)return;let n=(0,s.aA)(e.rtl,this.left,this.width),o=this.ctx,l=i.position,h=a.size/2,d=r.top+h,c=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),t=this.top+d,c=(0,s.S)(e.align,c,this.right-u);else{let g=this.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);t=d+(0,s.S)(e.align,this.top,this.bottom-g-e.labels.padding-this._computeTitleHeight())}let p=(0,s.S)(l,c,c+u);o.textAlign=n.textAlign((0,s.R)(l)),o.textBaseline="middle",o.strokeStyle=i.color,o.fillStyle=i.color,o.font=a.string,(0,s.M)(o,i.text,p,t,a)}_computeTitleHeight(){let t=this.options.title,e=(0,s.O)(t.font),i=(0,s.K)(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,a,r;if((0,s.ak)(t,this.left,this.right)&&(0,s.ak)(e,this.top,this.bottom)){for(i=0,r=this.legendHitBoxes;i-1?t.split("\n"):t}function eC(t,e){let i=t.chart.ctx,{body:a,footer:r,title:n}=t,{boxWidth:o,boxHeight:l}=e,h=(0,s.O)(e.bodyFont),d=(0,s.O)(e.titleFont),c=(0,s.O)(e.footerFont),u=n.length,g=r.length,p=a.length,f=(0,s.K)(e.padding),m=f.height,b=0,x=a.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);if(x+=t.beforeBody.length+t.afterBody.length,u&&(m+=u*d.lineHeight+(u-1)*e.titleSpacing+e.titleMarginBottom),x){let _=e.displayColors?Math.max(l,h.lineHeight):h.lineHeight;m+=p*_+(x-p)*h.lineHeight+(x-1)*e.bodySpacing}g&&(m+=e.footerMarginTop+g*c.lineHeight+(g-1)*e.footerSpacing);let v=0,y=function(t){b=Math.max(b,i.measureText(t).width+v)};return i.save(),i.font=d.string,(0,s.Q)(t.title,y),i.font=h.string,(0,s.Q)(t.beforeBody.concat(t.afterBody),y),v=e.displayColors?o+2+e.boxPadding:0,(0,s.Q)(a,t=>{(0,s.Q)(t.before,y),(0,s.Q)(t.lines,y),(0,s.Q)(t.after,y)}),v=0,i.font=c.string,(0,s.Q)(t.footer,y),i.restore(),b+=f.width,{width:b,height:m}}function eO(t,e,i){let s=i.yAlign||e.yAlign||function(t,e){let{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||function(t,e,i,s){let{x:a,width:r}=i,{width:n,chartArea:{left:o,right:l}}=t,h="center";return"center"===s?h=a<=(o+l)/2?"left":"right":a<=r/2?h="left":a>=n-r/2&&(h="right"),function(t,e,i,s){let{x:a,width:r}=s,n=i.caretSize+i.caretPadding;if("left"===t&&a+r+n>e.width||"right"===t&&a-r-n<0)return!0}(h,t,e,i)&&(h="center"),h}(t,e,i,s),yAlign:s}}function eL(t,e,i,a){let{caretSize:r,caretPadding:n,cornerRadius:o}=t,{xAlign:l,yAlign:h}=i,d=r+n,{topLeft:c,topRight:u,bottomLeft:g,bottomRight:p}=(0,s.ax)(o),f=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,l),m=function(t,e,i){let{y:s,height:a}=t;return"top"===e?s+=i:"bottom"===e?s-=a+i:s-=a/2,s}(e,h,d);return"center"===h?"left"===l?f+=d:"right"===l&&(f-=d):"left"===l?f-=Math.max(c,g)+r:"right"===l&&(f+=Math.max(u,p)+r),{x:(0,s.E)(f,0,a.width-e.width),y:(0,s.E)(m,0,a.height-e.height)}}function eE(t,e,i){let a=(0,s.K)(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-a.right:t.x+a.left}function eA(t,e){let i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}class eT extends z{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let e=this.chart,i=this.options.setContext(this.getContext()),s=i.enabled&&e.options.animation&&i.animations,a=new h(this.chart,s);return s._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}getContext(){var t,e;return this.$context||(this.$context=(t=this.chart.getContext(),e=this._tooltipItems,(0,s.h)(t,{tooltip:this,tooltipItems:e,type:"tooltip"})))}getTitle(t,e){let{callbacks:i}=e,s=i.beforeTitle.apply(this,[t]),a=i.title.apply(this,[t]),r=i.afterTitle.apply(this,[t]),n=[];return n=eP(n,eD(s)),n=eP(n,eD(a)),n=eP(n,eD(r))}getBeforeBody(t,e){return eP([],eD(e.callbacks.beforeBody.apply(this,[t])))}getBody(t,e){let{callbacks:i}=e,a=[];return(0,s.Q)(t,t=>{let e={before:[],lines:[],after:[]},s=eA(i,t);eP(e.before,eD(s.beforeLabel.call(this,t))),eP(e.lines,s.label.call(this,t)),eP(e.after,eD(s.afterLabel.call(this,t))),a.push(e)}),a}getAfterBody(t,e){return eP([],eD(e.callbacks.afterBody.apply(this,[t])))}getFooter(t,e){let{callbacks:i}=e,s=i.beforeFooter.apply(this,[t]),a=i.footer.apply(this,[t]),r=i.afterFooter.apply(this,[t]),n=[];return n=eP(n,eD(s)),n=eP(n,eD(a)),n=eP(n,eD(r))}_createItems(t){let e,i;let a=this._active,r=this.chart.data,n=[],o=[],l=[],h=[];for(e=0,i=a.length;et.filter(e,i,s,r))),t.itemSort&&(h=h.sort((e,i)=>t.itemSort(e,i,r))),(0,s.Q)(h,e=>{let i=eA(t.callbacks,e);n.push(i.labelColor.call(this,e)),o.push(i.labelPointStyle.call(this,e)),l.push(i.labelTextColor.call(this,e))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=l,this.dataPoints=h,h}update(t,e){let i;let s=this.options.setContext(this.getContext()),a=this._active,r=[];if(a.length){let n=eS[s.position].call(this,a,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);let o=this._size=eC(this,s),l=Object.assign({},n,o),h=eO(this.chart,s,l),d=eL(s,l,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,i={opacity:1,x:d.x,y:d.y,width:o.width,height:o.height,caretX:n.x,caretY:n.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=r,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){let a=this.getCaretPosition(t,i,s);e.lineTo(a.x1,a.y1),e.lineTo(a.x2,a.y2),e.lineTo(a.x3,a.y3)}getCaretPosition(t,e,i){let a,r,n,o,l,h;let{xAlign:d,yAlign:c}=this,{caretSize:u,cornerRadius:g}=i,{topLeft:p,topRight:f,bottomLeft:m,bottomRight:b}=(0,s.ax)(g),{x:x,y:_}=t,{width:v,height:y}=e;return"center"===c?(l=_+y/2,"left"===d?(r=(a=x)-u,o=l+u,h=l-u):(r=(a=x+v)+u,o=l-u,h=l+u),n=a):(r="left"===d?x+Math.max(p,m)+u:"right"===d?x+v-Math.max(f,b)-u:this.caretX,"top"===c?(l=(o=_)-u,a=r-u,n=r+u):(l=(o=_+y)+u,a=r+u,n=r-u),h=o),{x1:a,x2:r,x3:n,y1:o,y2:l,y3:h}}drawTitle(t,e,i){let a,r,n;let o=this.title,l=o.length;if(l){let h=(0,s.aA)(i.rtl,this.x,this.width);for(n=0,t.x=eE(this,i.titleAlign,i),e.textAlign=h.textAlign(i.titleAlign),e.textBaseline="middle",a=(0,s.O)(i.titleFont),r=i.titleSpacing,e.fillStyle=i.titleColor,e.font=a.string;n0!==t)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,(0,s.av)(t,{x:_,y:f,w:h,h:l,radius:y}),t.fill(),t.stroke(),t.fillStyle=n.backgroundColor,t.beginPath(),(0,s.av)(t,{x:v,y:f+1,w:h-2,h:l-2,radius:y}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(_,f,h,l),t.strokeRect(_,f,h,l),t.fillStyle=n.backgroundColor,t.fillRect(v,f+1,h-2,l-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){let a,r,n,o,l,h,d;let{body:c}=this,{bodySpacing:u,bodyAlign:g,displayColors:p,boxHeight:f,boxWidth:m,boxPadding:b}=i,x=(0,s.O)(i.bodyFont),_=x.lineHeight,v=0,y=(0,s.aA)(i.rtl,this.x,this.width),M=function(i){e.fillText(i,y.x(t.x+v),t.y+_/2),t.y+=_+u},k=y.textAlign(g);for(e.textAlign=g,e.textBaseline="middle",e.font=x.string,t.x=eE(this,k,i),e.fillStyle=i.bodyColor,(0,s.Q)(this.beforeBody,M),v=p&&"right"!==k?"center"===g?m/2+b:m+2+b:0,o=0,h=c.length;o0&&e.stroke()}_updateAnimationTarget(t){let e=this.chart,i=this.$animations,s=i&&i.x,a=i&&i.y;if(s||a){let r=eS[t.position].call(this,this._active,this._eventPosition);if(!r)return;let n=this._size=eC(this,t),o=Object.assign({},r,this._size),l=eO(e,t,o),h=eL(t,o,l,e);(s._to!==h.x||a._to!==h.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=n.width,this.height=n.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){let e=this.options.setContext(this.getContext()),i=this.opacity;if(!i)return;this._updateAnimationTarget(e);let a={width:this.width,height:this.height},r={x:this.x,y:this.y};i=.001>Math.abs(i)?0:i;let n=(0,s.K)(e.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&o&&(t.save(),t.globalAlpha=i,this.drawBackground(r,t,a,e),(0,s.aB)(t,e.textDirection),r.y+=n.top,this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),(0,s.aD)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){let i=this._active,a=t.map(({datasetIndex:t,index:e})=>{let i=this.chart.getDatasetMeta(t);if(!i)throw Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}),r=!(0,s.ai)(i,a),n=this._positionChanged(a,e);(r||n)&&(this._active=a,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let a=this.options,r=this._active||[],n=this._getActiveElements(t,r,e,i),o=this._positionChanged(n,t),l=e||!(0,s.ai)(n,r)||o;return l&&(this._active=n,(a.enabled||a.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,i,s){let a=this.options;if("mouseout"===t.type)return[];if(!s)return e;let r=this.chart.getElementsAtEventForMode(t,a.mode,a,i);return a.reverse&&r.reverse(),r}_positionChanged(t,e){let{caretX:i,caretY:s,options:a}=this,r=eS[a.position].call(this,t,e);return!1!==r&&(i!==r.x||s!==r.y)}}eT.positioners=eS;var ez={id:"tooltip",_element:eT,positioners:eS,afterInit(t,e,i){i&&(t.tooltip=new eT({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){let e=t.tooltip;if(e&&e._willRender()){let i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",i))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){let i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:s.aF,title(t){if(t.length>0){let e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},eR=Object.freeze({__proto__:null,Decimation:{id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate(t,e,i){if(!i.enabled){eh(t);return}let a=t.width;t.data.datasets.forEach((e,r)=>{let n;let{_data:o,indexAxis:l}=e,h=t.getDatasetMeta(r),d=o||e.data;if("y"===(0,s.a)([l,t.options.indexAxis])||!h.controller.supportsDecimation)return;let c=t.scales[h.xAxisID];if("linear"!==c.type&&"time"!==c.type||t.options.parsing)return;let{start:u,count:g}=function(t,e){let i;let a=e.length,r=0,{iScale:n}=t,{min:o,max:l,minDefined:h,maxDefined:d}=n.getUserBounds();return h&&(r=(0,s.E)((0,s.Z)(e,n.axis,o).lo,0,a-1)),i=d?(0,s.E)((0,s.Z)(e,n.axis,l).hi+1,r,a)-r:a-r,{start:r,count:i}}(h,d),p=i.threshold||4*a;if(g<=p){el(e);return}switch((0,s.k)(o)&&(e._data=d,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),i.algorithm){case"lttb":n=function(t,e,i,s,a){let r,n,o,l,h;let d=a.samples||s;if(d>=i)return t.slice(e,e+i);let c=[],u=(i-2)/(d-2),g=0,p=e;for(r=0,c[g++]=t[p];ro&&(o=l,n=t[f],h=f);c[g++]=n,p=h}return c[g++]=t[e+i-1],c}(d,u,g,a,i);break;case"min-max":n=function(t,e,i,a){let r,n,o,l,h,d,c,u,g,p,f=0,m=0,b=[],x=t[e].x,_=t[e+i-1].x,v=_-x;for(r=e;rp&&(p=l,c=r),f=(m*f+n.x)/++m;else{let M=r-1;if(!(0,s.k)(d)&&!(0,s.k)(c)){let k=Math.min(d,c),w=Math.max(d,c);k!==u&&k!==M&&b.push({...t[k],x:f}),w!==u&&w!==M&&b.push({...t[w],x:f})}r>0&&M!==u&&b.push(t[M]),b.push(n),h=y,m=0,g=p=l,d=c=u=r}}return b}(d,u,g,a);break;default:throw Error(`Unsupported decimation algorithm '${i.algorithm}'`)}e._decimated=n})},destroy(t){eh(t)}},Filler:{id:"filler",afterDatasetsUpdate(t,e,i){let a,r,n,o;let l=(t.data.datasets||[]).length,h=[];for(r=0;r=i)&&r):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}(n,r,l),chart:t,axis:a.controller.options.indexAxis,scale:a.vScale,line:n}),a.$filler=o,h.push(o);for(r=0;r=0;--n){let o=a[n].$filler;o&&(o.line.updateControlPoints(r,o.axis),s&&o.fill&&em(t.ctx,o,r))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;let s=t.getSortedVisibleDatasetMetas();for(let a=s.length-1;a>=0;--a){let r=s[a].$filler;ep(r)&&em(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,e,i){let s=e.meta.$filler;ep(s)&&"beforeDatasetDraw"===i.drawTime&&em(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Legend:{id:"legend",_element:eM,start(t,e,i){let s=t.legend=new eM({ctx:t.ctx,options:i,chart:t});tc.configure(t,s,i),tc.addBox(t,s)},stop(t){tc.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,i){let s=t.legend;tc.configure(t,s,i),s.options=i},afterUpdate(t){let e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,i){let s=e.datasetIndex,a=i.chart;a.isDatasetVisible(s)?(a.hide(s),e.hidden=!0):(a.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){let e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:a,textAlign:r,color:n}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{let o=t.controller.getStyle(i?0:void 0),l=(0,s.K)(o.borderWidth);return{text:e[t.index].label,fillStyle:o.backgroundColor,fontColor:n,hidden:!t.visible,lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:o.borderColor,pointStyle:a||o.pointStyle,rotation:o.rotation,textAlign:r||o.textAlign,borderRadius:0,datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}},SubTitle:{id:"subtitle",start(t,e,i){let s=new ek({ctx:t.ctx,options:i,chart:t});tc.configure(t,s,i),tc.addBox(t,s),ew.set(t,s)},stop(t){tc.removeBox(t,ew.get(t)),ew.delete(t)},beforeUpdate(t,e,i){let s=ew.get(t);tc.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Title:{id:"title",_element:ek,start(t,e,i){!function(t,e){let i=new ek({ctx:t.ctx,options:e,chart:t});tc.configure(t,i,e),tc.addBox(t,i),t.titleBlock=i}(t,i)},stop(t){let e=t.titleBlock;tc.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,i){let s=t.titleBlock;tc.configure(t,s,i),s.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Tooltip:ez});let eF=(t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i),eI=(t,e)=>null===t?null:(0,s.E)(Math.round(t),0,e);class eV extends j{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let e=this._addedLabels;if(e.length){let i=this.getLabels();for(let{index:s,label:a}of e)i[s]===a&&i.splice(s,1);this._addedLabels=[]}super.init(t)}parse(t,e){if((0,s.k)(t))return null;let i=this.getLabels();return eI(e=isFinite(e)&&i[e]===t?e:function(t,e,i,s){let a=t.indexOf(e);if(-1===a)return eF(t,e,i,s);let r=t.lastIndexOf(e);return a!==r?i:a}(i,t,(0,s.v)(e,t),this._addedLabels),i.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:e}=this.getUserBounds(),{min:i,max:s}=this.getMinMax(!0);"ticks"!==this.options.bounds||(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){let t=this.min,e=this.max,i=this.options.offset,s=[],a=this.getLabels();a=0===t&&e===a.length-1?a:a.slice(t,e+1),this._valueRange=Math.max(a.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let r=t;r<=e;r++)s.push({value:r});return s}getLabelForValue(t){let e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function eB(t,e,{horizontal:i,minRotation:a}){let r=(0,s.t)(a),n=.75*e*(""+t).length;return Math.min(e/((i?Math.sin(r):Math.cos(r))||.001),n)}eV.id="category",eV.defaults={ticks:{callback:eV.prototype.getLabelForValue}};class eN extends j{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,s.k)(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){let{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds(),{min:a,max:r}=this,n=t=>a=e?a:t,o=t=>r=i?r:t;if(t){let l=(0,s.s)(a),h=(0,s.s)(r);l<0&&h<0?o(0):l>0&&h>0&&n(0)}if(a===r){let d=1;(r>=Number.MAX_SAFE_INTEGER||a<=Number.MIN_SAFE_INTEGER)&&(d=Math.abs(.05*r)),o(r+d),t||n(a-d)}this.min=a,this.max=r}getTickLimit(){let t;let e=this.options.ticks,{maxTicksLimit:i,stepSize:s}=e;return s?(t=Math.ceil(this.max/s)-Math.floor(this.min/s)+1)>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3):(t=this.computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let t=this.options,e=t.ticks,i=this.getTickLimit();i=Math.max(2,i);let a={maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},r=this._range||this,n=function(t,e){let i,a,r,n;let o=[],{bounds:l,step:h,min:d,max:c,precision:u,count:g,maxTicks:p,maxDigits:f,includeBounds:m}=t,b=h||1,x=p-1,{min:_,max:v}=e,y=!(0,s.k)(d),M=!(0,s.k)(c),k=!(0,s.k)(g),w=(v-_)/(f+1),S=(0,s.aI)((v-_)/x/b)*b;if(S<1e-14&&!y&&!M)return[{value:_},{value:v}];(n=Math.ceil(v/S)-Math.floor(_/S))>x&&(S=(0,s.aI)(n*S/x/b)*b),(0,s.k)(u)||(S=Math.ceil(S*(i=Math.pow(10,u)))/i),"ticks"===l?(a=Math.floor(_/S)*S,r=Math.ceil(v/S)*S):(a=_,r=v),y&&M&&h&&(0,s.aJ)((c-d)/h,S/1e3)?(n=Math.round(Math.min((c-d)/S,p)),S=(c-d)/n,a=d,r=c):k?(a=y?d:a,S=((r=M?c:r)-a)/(n=g-1)):(n=(r-a)/S,n=(0,s.aK)(n,Math.round(n),S/1e3)?Math.round(n):Math.ceil(n));let P=Math.max((0,s.aL)(S),(0,s.aL)(a));i=Math.pow(10,(0,s.k)(u)?P:u),a=Math.round(a*i)/i,r=Math.round(r*i)/i;let D=0;for(y&&(m&&a!==d?(o.push({value:d}),a0?i:null}determineDataLimits(){let{min:t,max:e}=this.getMinMax(!0);this.min=(0,s.g)(t)?Math.max(0,t):null,this.max=(0,s.g)(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:t,maxDefined:e}=this.getUserBounds(),i=this.min,a=this.max,r=e=>i=t?i:e,n=t=>a=e?a:t,o=(t,e)=>Math.pow(10,Math.floor((0,s.z)(t))+e);i===a&&(i<=0?(r(1),n(10)):(r(o(i,-1)),n(o(a,1)))),i<=0&&r(o(a,-1)),a<=0&&n(o(i,1)),this._zero&&this.min!==this._suggestedMin&&i===o(this.min,0)&&r(o(i,-1)),this.min=i,this.max=a}buildTicks(){let t=this.options,e={min:this._userMin,max:this._userMax},i=function(t,e){let i=Math.floor((0,s.z)(e.max)),a=Math.ceil(e.max/Math.pow(10,i)),r=[],n=(0,s.B)(t.min,Math.pow(10,Math.floor((0,s.z)(e.min)))),o=Math.floor((0,s.z)(n)),l=Math.floor(n/Math.pow(10,o)),h=o<0?Math.pow(10,Math.abs(o)):1;do r.push({value:n,major:eW(n)}),10==++l&&(l=1,h=++o>=0?1:h),n=Math.round(l*Math.pow(10,o)*h)/h;while(oa?{start:e-i,end:e}:{start:e,end:e+i}}function eY(t,e,i,a){let{ctx:r}=t;if(i)r.arc(t.xCenter,t.yCenter,e,0,s.T);else{let n=t.getPointPosition(0,e);r.moveTo(n.x,n.y);for(let o=1;o{let i=(0,s.C)(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""}).filter((t,e)=>this.chart.getDataVisibility(e))}fit(){let t=this.options;t.display&&t.pointLabels.display?function(t){let e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),a=[],r=[],n=t._pointLabels.length,o=t.options.pointLabels,l=o.centerPointLabels?s.P/n:0;for(let h=0;he.r&&(o=(s.end-e.r)/r,t.r=Math.max(t.r,e.r+o)),a.starte.b&&(l=(a.end-e.b)/n,t.b=Math.max(t.b,e.b+l))}(i,e,m,x,_)}t.setCenterPoint(e.l-i.l,i.r-e.r,e.t-i.t,i.b-e.b),t._pointLabelItems=function(t,e,i){let a=[],r=t._pointLabels.length,n=t.options,o=e$(n)/2,l=t.drawingArea,h=n.pointLabels.centerPointLabels?s.P/r:0;for(let d=0;d270||m<90)&&(c-=u),c),_=0===m||180===m?"center":m<180?"left":"right",v=(g=f.x,p=b.w,"right"===_?g-=p:"center"===_&&(g-=p/2),g);a.push({x:f.x,y:x,textAlign:_,left:v,top:x,right:v+b.w,bottom:x+b.h})}return a}(t,a,r)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,i,s){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((i-s)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,i,s))}getIndexAngle(t){let e=s.T/(this._pointLabels.length||1),i=this.options.startAngle||0;return(0,s.az)(t*e+(0,s.t)(i))}getDistanceFromCenterForValue(t){if((0,s.k)(t))return NaN;let e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if((0,s.k)(t))return NaN;let e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){let e=this._pointLabels||[];if(t>=0&&t=0;r--){let n=a.setContext(t.getPointLabelContext(r)),o=(0,s.O)(n.font),{x:l,y:h,textAlign:d,left:c,top:u,right:g,bottom:p}=t._pointLabelItems[r],{backdropColor:f}=n;if(!(0,s.k)(f)){let m=(0,s.ax)(n.borderRadius),b=(0,s.K)(n.backdropPadding);i.fillStyle=f;let x=c-b.left,_=u-b.top,v=g-c+b.width,y=p-u+b.height;Object.values(m).some(t=>0!==t)?(i.beginPath(),(0,s.av)(i,{x:x,y:_,w:v,h:y,radius:m}),i.fill()):i.fillRect(x,_,v,y)}(0,s.M)(i,t._pointLabels[r],l,h+o.lineHeight/2,o,{color:n.color,textAlign:d,textBaseline:"middle"})}}(this,l),o.display&&this.ticks.forEach((t,i)=>{if(0!==i){e=this.getDistanceFromCenterForValue(t.value);let s=o.setContext(this.getContext(i-1));!function(t,e,i,s){let a=t.ctx,r=e.circular,{color:n,lineWidth:o}=e;(r||s)&&n&&o&&!(i<0)&&(a.save(),a.strokeStyle=n,a.lineWidth=o,a.setLineDash(e.borderDash),a.lineDashOffset=e.borderDashOffset,a.beginPath(),eY(t,i,r,s),a.closePath(),a.stroke(),a.restore())}(this,s,e,l)}}),n.display){for(a.save(),t=l-1;t>=0;t--){let h=n.setContext(this.getPointLabelContext(t)),{color:d,lineWidth:c}=h;c&&d&&(a.lineWidth=c,a.strokeStyle=d,a.setLineDash(h.borderDash),a.lineDashOffset=h.borderDashOffset,e=this.getDistanceFromCenterForValue(r.ticks.reverse?this.min:this.max),i=this.getPointPosition(t,e),a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(i.x,i.y),a.stroke())}a.restore()}}drawBorder(){}drawLabels(){let t,e;let i=this.ctx,a=this.options,r=a.ticks;if(!r.display)return;let n=this.getIndexAngle(0);i.save(),i.translate(this.xCenter,this.yCenter),i.rotate(n),i.textAlign="center",i.textBaseline="middle",this.ticks.forEach((n,o)=>{if(0===o&&!a.reverse)return;let l=r.setContext(this.getContext(o)),h=(0,s.O)(l.font);if(t=this.getDistanceFromCenterForValue(this.ticks[o].value),l.showLabelBackdrop){i.font=h.string,e=i.measureText(n.label).width,i.fillStyle=l.backdropColor;let d=(0,s.K)(l.backdropPadding);i.fillRect(-e/2-d.left,-t-h.size/2-d.top,e+d.width,h.size+d.height)}(0,s.M)(i,n.label,0,-t,h,{color:l.color})}),i.restore()}drawTitle(){}}eK.id="radialLinear",eK.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:F.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},eK.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},eK.descriptors={angleLines:{_fallback:"grid"}};let eQ={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},eX=Object.keys(eQ);function eG(t,e){return t-e}function eq(t,e){if((0,s.k)(e))return null;let i=t._adapter,{parser:a,round:r,isoWeekday:n}=t._parseOpts,o=e;return("function"==typeof a&&(o=a(o)),(0,s.g)(o)||(o="string"==typeof a?i.parse(o,a):i.parse(o)),null===o)?null:(r&&(o="week"===r&&((0,s.x)(n)||!0===n)?i.startOf(o,"isoWeek",n):i.startOf(o,r)),+o)}function eJ(t,e,i,s){let a=eX.length;for(let r=eX.indexOf(t);r=e?i[a]:i[r];t[n]=!0}}else t[e]=!0}function e0(t,e,i){let s,a;let r=[],n={},o=e.length;for(s=0;s=0&&(e[r].major=!0);return e}(t,r,n,i):r}class e1 extends j{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){let i=t.time||(t.time={}),a=this._adapter=new G._date(t.adapters.date);a.init(e),(0,s.ac)(i.displayFormats,a.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:eq(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,e=this._adapter,i=t.time.unit||"day",{min:a,max:r,minDefined:n,maxDefined:o}=this.getUserBounds();function l(t){n||isNaN(t.min)||(a=Math.min(a,t.min)),o||isNaN(t.max)||(r=Math.max(r,t.max))}n&&o||(l(this._getLabelBounds()),("ticks"!==t.bounds||"labels"!==t.ticks.source)&&l(this.getMinMax(!1))),a=(0,s.g)(a)&&!isNaN(a)?a:+e.startOf(Date.now(),i),r=(0,s.g)(r)&&!isNaN(r)?r:+e.endOf(Date.now(),i)+1,this.min=Math.min(a,r-1),this.max=Math.max(a+1,r)}_getLabelBounds(){let t=this.getLabelTimestamps(),e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){let t=this.options,e=t.time,i=t.ticks,a="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&a.length&&(this.min=this._userMin||a[0],this.max=this._userMax||a[a.length-1]);let r=this.min,n=this.max,o=(0,s.aN)(a,r,n);return this._unit=e.unit||(i.autoSkip?eJ(e.minUnit,this.min,this.max,this._getLabelCapacity(r)):function(t,e,i,s,a){for(let r=eX.length-1;r>=eX.indexOf(i);r--){let n=eX[r];if(eQ[n].common&&t._adapter.diff(a,s,n)>=e-1)return n}return eX[i?eX.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=eX.indexOf(t)+1,i=eX.length;e+t.value))}initOffsets(t){let e,i,a=0,r=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),a=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),r=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);let n=t.length<3?.5:.25;a=(0,s.E)(a,0,n),r=(0,s.E)(r,0,n),this._offsets={start:a,end:r,factor:1/(a+1+r)}}_generate(){let t,e;let i=this._adapter,a=this.min,r=this.max,n=this.options,o=n.time,l=o.unit||eJ(o.minUnit,a,r,this._getLabelCapacity(a)),h=(0,s.v)(o.stepSize,1),d="week"===l&&o.isoWeekday,c=(0,s.x)(d)||!0===d,u={},g=a;if(c&&(g=+i.startOf(g,"isoWeek",d)),g=+i.startOf(g,c?"day":l),i.diff(r,a,l)>1e5*h)throw Error(a+" and "+r+" are too far apart with stepSize of "+h+" "+l);let p="data"===n.ticks.source&&this.getDataTimestamps();for(t=g,e=0;tt-e).map(t=>+t)}getLabelForValue(t){let e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}_tickFormatFunction(t,e,i,a){let r=this.options,n=r.time.displayFormats,o=this._unit,l=this._majorUnit,h=o&&n[o],d=l&&n[l],c=i[e],u=l&&d&&c&&c.major,g=this._adapter.format(t,a||(u?d:h)),p=r.ticks.callback;return p?(0,s.C)(p,[g,e,i],this):g}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?n:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;let s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[l].pos&&e<=t[h].pos&&({lo:l,hi:h}=(0,s.Z)(t,"pos",e)),{pos:a,time:n}=t[l],{pos:r,time:o}=t[h]):(e>=t[l].time&&e<=t[h].time&&({lo:l,hi:h}=(0,s.Z)(t,"time",e)),{time:a,pos:n}=t[l],{time:r,pos:o}=t[h]);let d=r-a;return d?n+(o-n)*(e-a)/d:n}e1.id="time",e1.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class e5 extends e1{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=e2(e,this.min),this._tableRange=e2(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){let e,i,s;let{min:a,max:r}=this,n=[],o=[];for(e=0,i=t.length;e=a&&s<=r&&n.push(s);if(n.length<2)return[{time:a,pos:0},{time:r,pos:1}];for(e=0,i=n.length;e|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+o+")?))\\s*$"),x="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",g={token:"string",regex:".+"},s={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+x},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+x},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+x},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+x},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+x},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+x},{token:"variableName",regex:o+"\\s*:(?![:=])"},{token:"variableName",regex:o},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:o,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},g],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},g],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},g],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},g],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},g],words:[{token:"string",regex:".*?\\]>",next:"key"},g]};for(var i in s){var k=s[i];if(k.splice)for(var l=0,c=k.length;l|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+o+")?))\\s*$"),x="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",g={token:"string",regex:".+"},s={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+x},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+x},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+x},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+x},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+x},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+x},{token:"variableName",regex:o+"\\s*:(?![:=])"},{token:"variableName",regex:o},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:o,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},g],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},g],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},g],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},g],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},g],words:[{token:"string",regex:".*?\\]>",next:"key"},g]};for(var i in s){var k=s[i];if(k.splice)for(var l=0,c=k.length;l",symbolGlobal:"\\*"+o+"\\*",symbolConstant:"\\$"+o},c={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var s in f)f.hasOwnProperty(s)&&(f[s]=new RegExp("^"+f[s]));f.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var u={keyword:"keyword",definition:"def",simpleDefinition:"def",signalingCalls:"builtin"},m={},d={};function p(e,n,t){return n.tokenize=t,t(e,n)}function b(e,n){var t=e.peek();if("'"==t||'"'==t)return e.next(),p(e,n,y(t,"string"));if("/"==t){if(e.next(),e.eat("*"))return p(e,n,h);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(t)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if("#"==t)return e.next(),'"'==(t=e.peek())?(e.next(),p(e,n,y('"',"string"))):"b"==t?(e.next(),e.eatWhile(/[01]/),"number"):"x"==t?(e.next(),e.eatWhile(/[\da-f]/i),"number"):"o"==t?(e.next(),e.eatWhile(/[0-7]/),"number"):"#"==t?(e.next(),"punctuation"):"["==t||"("==t?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if("~"==t)return e.next(),"="==(t=e.peek())?(e.next(),"="==(t=e.peek())?(e.next(),"operator"):"operator"):"operator";if(":"==t){if(e.next(),"="==(t=e.peek()))return e.next(),"operator";if(":"==t)return e.next(),"punctuation"}else{if(-1!="[](){}".indexOf(t))return e.next(),"bracket";if(-1!=".,".indexOf(t))return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var i in f)if(f.hasOwnProperty(i)){var a=f[i];if(a instanceof Array&&r(a,(function(n){return e.match(n)}))||e.match(a))return c[i]}return/[+\-*\/^=<>&|]/.test(t)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),m.hasOwnProperty(e.current())?d[e.current()]:e.current().match(l)?"variable":(e.next(),"variableName.standard"))}function h(e,n){for(var t,i=!1,r=!1,a=0;t=e.next();){if("/"==t&&i){if(!(a>0)){n.tokenize=b;break}a--}else"*"==t&&r&&a++;i="*"==t,r="/"==t}return"comment"}function y(e,n){return function(t,i){for(var r,a=!1,o=!1;null!=(r=t.next());){if(r==e&&!a){o=!0;break}a=!a&&"\\"==r}return!o&&a||(i.tokenize=b),n}}i(["keyword","definition","simpleDefinition","signalingCalls"],(function(e){i(a[e],(function(n){m[n]=e,d[n]=u[e]}))}));const k={name:"dylan",startState:function(){return{tokenize:b,currentIndent:0}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4144.d7264e550bf9aa39.js b/static/web/_next/static/chunks/4144.d7264e550bf9aa39.js new file mode 100644 index 000000000..6c836218e --- /dev/null +++ b/static/web/_next/static/chunks/4144.d7264e550bf9aa39.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4144],{24144:function(e,n,t){function i(e,n){for(var t=0;t",symbolGlobal:"\\*"+a+"\\*",symbolConstant:"\\$"+a},f={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var s in l)l.hasOwnProperty(s)&&(l[s]=RegExp("^"+l[s]));l.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var c={};c.keyword="keyword",c.definition="def",c.simpleDefinition="def",c.signalingCalls="builtin";var u={},m={};function d(e,n,t){return n.tokenize=t,t(e,n)}function p(e,n){var t=e.peek();if("'"==t||'"'==t)return e.next(),d(e,n,h(t,"string"));if("/"==t){if(e.next(),e.eat("*"))return d(e,n,b);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(t)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else if("#"==t){if(e.next(),'"'==(t=e.peek()))return e.next(),d(e,n,h('"',"string"));if("b"==t)return e.next(),e.eatWhile(/[01]/),"number";if("x"==t)return e.next(),e.eatWhile(/[\da-f]/i),"number";if("o"==t)return e.next(),e.eatWhile(/[0-7]/),"number";else if("#"==t)return e.next(),"punctuation";else if("["==t||"("==t)return e.next(),"bracket";else if(e.match(/f|t|all-keys|include|key|next|rest/i))return"atom";else return e.eatWhile(/[-a-zA-Z]/),"error"}else if("~"==t)return e.next(),"="==(t=e.peek())&&(e.next(),"="==(t=e.peek())&&e.next()),"operator";else if(":"==t){if(e.next(),"="==(t=e.peek()))return e.next(),"operator";if(":"==t)return e.next(),"punctuation"}else if(-1!="[](){}".indexOf(t))return e.next(),"bracket";else if(-1!=".,".indexOf(t))return e.next(),"punctuation";else if(e.match("end"))return"keyword";for(var i in l)if(l.hasOwnProperty(i)){var r=l[i];if(r instanceof Array&&function(e,n){for(var t=0;t&|]/.test(t)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),u.hasOwnProperty(e.current()))?m[e.current()]:e.current().match(o)?"variable":(e.next(),"variableName.standard")}function b(e,n){for(var t,i=!1,r=!1,a=0;t=e.next();){if("/"==t&&i){if(a>0)a--;else{n.tokenize=p;break}}else"*"==t&&r&&a++;i="*"==t,r="/"==t}return"comment"}function h(e,n){return function(t,i){for(var r,a=!1,o=!1;null!=(r=t.next());){if(r==e&&!a){o=!0;break}a=!a&&"\\"==r}return(o||!a)&&(i.tokenize=p),n}}i(["keyword","definition","simpleDefinition","signalingCalls"],function(e){i(r[e],function(n){u[n]=e,m[n]=c[e]})});let y={name:"dylan",startState:function(){return{tokenize:p,currentIndent:0}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4163.60de9866d1a98df1.js b/static/web/_next/static/chunks/4163.d52adce0c4cb89c5.js similarity index 51% rename from static/web/_next/static/chunks/4163.60de9866d1a98df1.js rename to static/web/_next/static/chunks/4163.d52adce0c4cb89c5.js index f33057b40..5b0614981 100644 --- a/static/web/_next/static/chunks/4163.60de9866d1a98df1.js +++ b/static/web/_next/static/chunks/4163.d52adce0c4cb89c5.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4163],{44163:function(e,t,r){r.r(t),r.d(t,{pascal:function(){return u}});var n=function(e){for(var t={},r=e.split(" "),n=0;n!?|\/]/;function o(e,t){var r,o=e.next();if("#"==o&&t.startOfLine)return e.skipToEnd(),"meta";if('"'==o||"'"==o)return t.tokenize=(r=o,function(e,t){for(var n,a=!1,i=!1;null!=(n=e.next());){if(n==r&&!a){i=!0;break}a=!a&&"\\"==n}return!i&&a||(t.tokenize=null),"string"}),t.tokenize(e,t);if("("==o&&e.eat("*"))return t.tokenize=l,l(e,t);if("{"==o)return t.tokenize=s,s(e,t);if(/[\[\]\(\),;\:\.]/.test(o))return null;if(/\d/.test(o))return e.eatWhile(/[\w\.]/),"number";if("/"==o&&e.eat("/"))return e.skipToEnd(),"comment";if(i.test(o))return e.eatWhile(i),"operator";e.eatWhile(/[\w\$_]/);var u=e.current();return n.propertyIsEnumerable(u)?"keyword":a.propertyIsEnumerable(u)?"atom":"variable"}function l(e,t){for(var r,n=!1;r=e.next();){if(")"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function s(e,t){for(var r;r=e.next();)if("}"==r){t.tokenize=null;break}return"comment"}const u={name:"pascal",startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;var r=(t.tokenize||o)(e,t);return r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4163],{44163:function(e,t,r){r.r(t),r.d(t,{pascal:function(){return u}});var n=function(e){for(var t={},r=e.split(" "),n=0;n!?|\/]/;function o(e,t){var r=e.next();if("#"==r&&t.startOfLine)return e.skipToEnd(),"meta";if('"'==r||"'"==r)return t.tokenize=function(e,t){for(var n,a=!1,i=!1;null!=(n=e.next());){if(n==r&&!a){i=!0;break}a=!a&&"\\"==n}return(i||!a)&&(t.tokenize=null),"string"},t.tokenize(e,t);if("("==r&&e.eat("*"))return t.tokenize=l,l(e,t);if("{"==r)return t.tokenize=s,s(e,t);if(/[\[\]\(\),;\:\.]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(i.test(r))return e.eatWhile(i),"operator";e.eatWhile(/[\w\$_]/);var o=e.current();return n.propertyIsEnumerable(o)?"keyword":a.propertyIsEnumerable(o)?"atom":"variable"}function l(e,t){for(var r,n=!1;r=e.next();){if(")"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function s(e,t){for(var r;r=e.next();)if("}"==r){t.tokenize=null;break}return"comment"}let u={name:"pascal",startState:function(){return{tokenize:null}},token:function(e,t){return e.eatSpace()?null:(t.tokenize||o)(e,t)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4212.15885059e8078ec8.js b/static/web/_next/static/chunks/4212.15885059e8078ec8.js new file mode 100644 index 000000000..fc18d0c98 --- /dev/null +++ b/static/web/_next/static/chunks/4212.15885059e8078ec8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4212],{44212:function(e,t,n){n.r(t),n.d(t,{vb:function(){return R}});var r="error";function a(e){return RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),o=RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),c=RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),u=RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),s=RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),l=RegExp("^[_A-Za-z][_A-Za-z0-9]*"),d=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],m=["else","elseif","case","catch","finally"],h=["next","loop"],f=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],p=a(f),b=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],g=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],k=a(b),y=a(g),v=a(d),w=a(m),x=a(h),I=a(["end"]),E=a(["do"]);function z(e,t){t.currentIndent++}function L(e,t){t.currentIndent--}function C(e,t){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var n,a,d,m=!1;if(e.match(/^\d*\.\d+F?/i)?m=!0:e.match(/^\d+\.\d*F?/)?m=!0:e.match(/^\.\d+F?/)&&(m=!0),m)return e.eat(/J/i),"number";var h=!1;if(e.match(/^&H[0-9a-f]+/i)?h=!0:e.match(/^&O[0-7]+/i)?h=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),h=!0):e.match(/^0(?![\dx])/i)&&(h=!0),h)return e.eat(/L/i),"number"}return e.match('"')?(t.tokenize=(a=1==(n=e.current()).length,d="string",function(e,t){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(n))return t.tokenize=C,d;e.eat(/['"]/)}return a&&(t.tokenize=C),d}),t.tokenize(e,t)):e.match(s)||e.match(u)?null:e.match(c)||e.match(i)||e.match(p)?"operator":e.match(o)?null:e.match(E)?(z(e,t),t.doInCurrentLine=!0,"keyword"):e.match(v)?(t.doInCurrentLine?t.doInCurrentLine=!1:z(e,t),"keyword"):e.match(w)?"keyword":e.match(I)?(L(e,t),L(e,t),"keyword"):e.match(x)?(L(e,t),"keyword"):e.match(y)||e.match(k)?"keyword":e.match(l)?"variable":(e.next(),r)}let R={name:"vb",startState:function(){return{tokenize:C,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=function(e,t){var n=t.tokenize(e,t),a=e.current();if("."===a)return"variable"===(n=t.tokenize(e,t))?"variable":r;var i="[({".indexOf(a);return(-1!==i&&z(e,t),-1!==(i="])}".indexOf(a))&&L(e,t))?r:n}(e,t);return t.lastToken={style:n,content:e.current()},n},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(x)||r.match(I)||r.match(w)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:d.concat(m).concat(h).concat(f).concat(b).concat(g)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4212.bf4284c21dabca91.js b/static/web/_next/static/chunks/4212.bf4284c21dabca91.js deleted file mode 100644 index c19bbb860..000000000 --- a/static/web/_next/static/chunks/4212.bf4284c21dabca91.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4212],{44212:function(e,t,n){n.r(t),n.d(t,{vb:function(){return R}});var r="error";function a(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),o=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),c=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),u=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),s=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),l=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),d=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],m=["else","elseif","case","catch","finally"],h=["next","loop"],f=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],p=a(f),b=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],g=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],k=a(b),y=a(g),v=a(d),w=a(m),x=a(h),I=a(["end"]),E=a(["do"]);function z(e,t){t.currentIndent++}function L(e,t){t.currentIndent--}function C(e,t){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var n=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(n=!0),n)return e.eat(/J/i),"number";var a=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?a=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),a=!0):e.match(/^0(?![\dx])/i)&&(a=!0),a)return e.eat(/L/i),"number"}return e.match('"')?(t.tokenize=function(e){var t=1==e.length,n="string";return function(r,a){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return a.tokenize=C,n;r.eat(/['"]/)}return t&&(a.tokenize=C),n}}(e.current()),t.tokenize(e,t)):e.match(s)||e.match(u)?null:e.match(c)||e.match(i)||e.match(p)?"operator":e.match(o)?null:e.match(E)?(z(0,t),t.doInCurrentLine=!0,"keyword"):e.match(v)?(t.doInCurrentLine?t.doInCurrentLine=!1:z(0,t),"keyword"):e.match(w)?"keyword":e.match(I)?(L(0,t),L(0,t),"keyword"):e.match(x)?(L(0,t),"keyword"):e.match(y)||e.match(k)?"keyword":e.match(l)?"variable":(e.next(),r)}const R={name:"vb",startState:function(){return{tokenize:C,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=function(e,t){var n=t.tokenize(e,t),a=e.current();if("."===a)return"variable"===(n=t.tokenize(e,t))?"variable":r;var i="[({".indexOf(a);return-1!==i&&z(0,t),-1!==(i="])}".indexOf(a))&&L(0,t)?r:n}(e,t);return t.lastToken={style:n,content:e.current()},n},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(x)||r.match(I)||r.match(w)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:d.concat(m).concat(h).concat(f).concat(b).concat(g)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4267-0d1cbd98a57df9e3.js b/static/web/_next/static/chunks/4267-0d1cbd98a57df9e3.js deleted file mode 100644 index 09bc2fc77..000000000 --- a/static/web/_next/static/chunks/4267-0d1cbd98a57df9e3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4267],{57838:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(97685),r=n(67294);function i(){var e=r.useReducer((function(e){return e+1}),0);return(0,a.Z)(e,2)[1]}},24308:function(e,t,n){n.d(t,{c4:function(){return i}});var a=n(4942),r=n(87462),i=["xxl","xl","lg","md","sm","xs"],o={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},l=new Map,c=-1,s={},u={matchHandlers:{},dispatch:function(e){return s=e,l.forEach((function(e){return e(s)})),l.size>=1},subscribe:function(e){return l.size||this.register(),c+=1,l.set(c,e),e(s),c},unsubscribe:function(e){l.delete(e),l.size||this.unregister()},unregister:function(){var e=this;Object.keys(o).forEach((function(t){var n=o[t],a=e.matchHandlers[n];null===a||void 0===a||a.mql.removeListener(null===a||void 0===a?void 0:a.listener)})),l.clear()},register:function(){var e=this;Object.keys(o).forEach((function(t){var n=o[t],i=function(n){var i=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,a.Z)({},t,i)))},l=window.matchMedia(n);l.addListener(i),e.matchHandlers[n]={mql:l,listener:i},i(l)}))}};t.ZP=u},25378:function(e,t,n){var a=n(67294),r=n(57838),i=n(24308);t.Z=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=(0,a.useRef)({}),n=(0,r.Z)();return(0,a.useEffect)((function(){var a=i.ZP.subscribe((function(a){t.current=a,e&&n()}));return function(){return i.ZP.unsubscribe(a)}}),[]),t.current}},40378:function(e,t,n){var a=n(6213);t.Z=a.Z},3698:function(e,t,n){n.d(t,{Z:function(){return D}});var a=n(4942),r=n(87462),i=n(1413),o=n(67294),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},c=n(42135),s=function(e,t){return o.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:l}))};s.displayName="DoubleLeftOutlined";var u=o.forwardRef(s),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=function(e,t){return o.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:p}))};m.displayName="DoubleRightOutlined";var h=o.forwardRef(m),d=n(6171),f=n(18073),g=n(94184),v=n.n(g),x=n(15671),C=n(43144),y=n(60136),N=n(33643),b=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=v()(n,"".concat(n,"-").concat(e.page),(t={},(0,a.Z)(t,"".concat(n,"-active"),e.active),(0,a.Z)(t,"".concat(n,"-disabled"),!e.page),(0,a.Z)(t,e.className,!!e.className),t));return o.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",o.createElement("a",{rel:"nofollow"},e.page)))},E=13,P=38,S=40,k=function(e){(0,y.Z)(n,e);var t=(0,N.Z)(n);function n(){var e;(0,x.Z)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i=0||t.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||r(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==E&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,C.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,a=t.locale,r=t.rootPrefixCls,i=t.changeSize,l=t.quickGo,c=t.goButton,s=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,h=this.state.goInputText,d="".concat(r,"-options"),f=s,g=null,v=null,x=null;if(!i&&!l)return null;var C=this.getPageSizeOptions();if(i&&f){var y=C.map((function(t,n){return o.createElement(f.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))}));g=o.createElement(f,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(d,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||C[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":a.page_size,defaultOpen:!1},y)}return l&&(c&&(x="boolean"===typeof c?o.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(d,"-quick-jumper-button")},a.jump_to_confirm):o.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),v=o.createElement("div",{className:"".concat(d,"-quick-jumper")},a.jump_to,o.createElement("input",{disabled:m,type:"text",value:h,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":a.page}),a.page,x)),o.createElement("li",{className:"".concat(d)},g,v)}}]),n}(o.Component);k.defaultProps={pageSizeOptions:["10","20","50","100"]};var Z=k;function I(){}function w(e){var t=Number(e);return"number"===typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function z(e,t,n){var a="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/a)+1}var O=function(e){(0,y.Z)(n,e);var t=(0,N.Z)(n);function n(e){var a;(0,x.Z)(this,n),(a=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,a.state.current-(a.props.showLessItems?3:5))},a.getJumpNextPage=function(){return Math.min(z(void 0,a.state,a.props),a.state.current+(a.props.showLessItems?3:5))},a.getItemIcon=function(e,t){var n=a.props.prefixCls,r=e||o.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"===typeof e&&(r=o.createElement(e,(0,i.Z)({},a.props))),r},a.savePaginationNode=function(e){a.paginationNode=e},a.isValid=function(e){var t=a.props.total;return w(e)&&e!==a.state.current&&w(t)&&t>0},a.shouldDisplayQuickJumper=function(){var e=a.props,t=e.showQuickJumper;return!(e.total<=a.state.pageSize)&&t},a.handleKeyDown=function(e){e.keyCode!==P&&e.keyCode!==S||e.preventDefault()},a.handleKeyUp=function(e){var t=a.getValidValue(e);t!==a.state.currentInputValue&&a.setState({currentInputValue:t}),e.keyCode===E?a.handleChange(t):e.keyCode===P?a.handleChange(t-1):e.keyCode===S&&a.handleChange(t+1)},a.handleBlur=function(e){var t=a.getValidValue(e);a.handleChange(t)},a.changePageSize=function(e){var t=a.state.current,n=z(e,a.state,a.props);t=t>n?n:t,0===n&&(t=a.state.current),"number"===typeof e&&("pageSize"in a.props||a.setState({pageSize:e}),"current"in a.props||a.setState({current:t,currentInputValue:t})),a.props.onShowSizeChange(t,e),"onChange"in a.props&&a.props.onChange&&a.props.onChange(t,e)},a.handleChange=function(e){var t=a.props,n=t.disabled,r=t.onChange,i=a.state,o=i.pageSize,l=i.current,c=i.currentInputValue;if(a.isValid(e)&&!n){var s=z(void 0,a.state,a.props),u=e;return e>s?u=s:e<1&&(u=1),"current"in a.props||a.setState({current:u}),u!==c&&a.setState({currentInputValue:u}),r(u,o),u}return l},a.prev=function(){a.hasPrev()&&a.handleChange(a.state.current-1)},a.next=function(){a.hasNext()&&a.handleChange(a.state.current+1)},a.jumpPrev=function(){a.handleChange(a.getJumpPrevPage())},a.jumpNext=function(){a.handleChange(a.getJumpNextPage())},a.hasPrev=function(){return a.state.current>1},a.hasNext=function(){return a.state.current2?n-2:0),r=2;r=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,a=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>a}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,a=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),r=!this.hasPrev();return(0,o.isValidElement)(a)?(0,o.cloneElement)(a,{disabled:r}):a}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,a=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),r=!this.hasNext();return(0,o.isValidElement)(a)?(0,o.cloneElement)(a,{disabled:r}):a}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,l=t.style,c=t.disabled,s=t.hideOnSinglePage,u=t.total,p=t.locale,m=t.showQuickJumper,h=t.showLessItems,d=t.showTitle,f=t.showTotal,g=t.simple,x=t.itemRender,C=t.showPrevNextJumpers,y=t.jumpPrevIcon,N=t.jumpNextIcon,E=t.selectComponentClass,P=t.selectPrefixCls,S=t.pageSizeOptions,k=this.state,I=k.current,w=k.pageSize,O=k.currentInputValue;if(!0===s&&u<=w)return null;var j=z(void 0,this.state,this.props),_=[],T=null,V=null,K=null,L=null,J=null,B=m&&m.goButton,R=h?1:2,M=I-1>0?I-1:0,D=I+1=2*R&&3!==I&&(_[0]=(0,o.cloneElement)(_[0],{className:"".concat(n,"-item-after-jump-prev")}),_.unshift(T)),j-I>=2*R&&I!==j-2&&(_[_.length-1]=(0,o.cloneElement)(_[_.length-1],{className:"".concat(n,"-item-before-jump-next")}),_.push(V)),1!==W&&_.unshift(K),F!==j&&_.push(L)}var X=null;f&&(X=o.createElement("li",{className:"".concat(n,"-total-text")},f(u,[0===u?0:(I-1)*w+1,I*w>u?u:I*w])));var ee=!this.hasPrev()||!j,te=!this.hasNext()||!j;return o.createElement("ul",(0,r.Z)({className:v()(n,i,(0,a.Z)({},"".concat(n,"-disabled"),c)),style:l,unselectable:"unselectable",ref:this.savePaginationNode},U),X,o.createElement("li",{title:d?p.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(M)),_,o.createElement("li",{title:d?p.next_page:null,onClick:this.next,tabIndex:te?null:0,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderNext(D)),o.createElement(Z,{disabled:c,locale:p,rootPrefixCls:n,selectComponentClass:E,selectPrefixCls:P,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:I,pageSize:w,pageSizeOptions:S,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:B}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var a=t.current,r=z(e.pageSize,t,e);a=a>r?r:a,"current"in e||(n.current=a,n.currentInputValue=a),n.pageSize=e.pageSize}return n}}]),n}(o.Component);O.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:I,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:I,locale:{items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var j=O,_=n(62906),T=n(53124),V=n(25378),K=n(23715),L=n(38939),J=function(e){return o.createElement(L.Z,(0,r.Z)({},e,{size:"small"}))},B=function(e){return o.createElement(L.Z,(0,r.Z)({},e,{size:"middle"}))};J.Option=L.Z.Option,B.Option=L.Z.Option;var R=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r=1},subscribe:function(e){return o.size||this.register(),c+=1,o.set(c,e),e(s),c},unsubscribe:function(e){o.delete(e),o.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],a=e.matchHandlers[n];null==a||a.mql.removeListener(null==a?void 0:a.listener)}),o.clear()},register:function(){var e=this;Object.keys(l).forEach(function(t){var n=l[t],i=function(n){var i=n.matches;e.dispatch((0,r.Z)((0,r.Z)({},s),(0,a.Z)({},t,i)))},o=window.matchMedia(n);o.addListener(i),e.matchHandlers[n]={mql:o,listener:i},i(o)})}}},25378:function(e,t,n){var a=n(67294),r=n(57838),i=n(24308);t.Z=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,a.useRef)({}),n=(0,r.Z)();return(0,a.useEffect)(function(){var a=i.ZP.subscribe(function(a){t.current=a,e&&n()});return function(){return i.ZP.unsubscribe(a)}},[]),t.current}},40378:function(e,t,n){var a=n(6213);t.Z=a.Z},3698:function(e,t,n){n.d(t,{Z:function(){return K}});var a=n(4942),r=n(87462),i=n(1413),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},c=n(42135),s=function(e,t){return l.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DoubleLeftOutlined";var u=l.forwardRef(s),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=function(e,t){return l.createElement(c.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:p}))};m.displayName="DoubleRightOutlined";var h=l.forwardRef(m),d=n(6171),f=n(18073),g=n(94184),v=n.n(g),x=n(15671),N=n(43144),C=n(60136),E=n(33643),y=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=v()(n,"".concat(n,"-").concat(e.page),(t={},(0,a.Z)(t,"".concat(n,"-active"),e.active),(0,a.Z)(t,"".concat(n,"-disabled"),!e.page),(0,a.Z)(t,e.className,!!e.className),t)),i=function(){e.onClick(e.page)},o=function(t){e.onKeyPress(t,e.onClick,e.page)};return l.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:i,onKeyPress:o,tabIndex:"0"},e.itemRender(e.page,"page",l.createElement("a",{rel:"nofollow"},e.page)))},b={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},P=function(e){(0,C.Z)(n,e);var t=(0,E.Z)(n);function n(){var e;(0,x.Z)(this,n);for(var a=arguments.length,r=Array(a),i=0;i=0||t.relatedTarget.className.indexOf("".concat(i,"-item"))>=0)||r(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===b.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,N.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,a=t.locale,r=t.rootPrefixCls,i=t.changeSize,o=t.quickGo,c=t.goButton,s=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,h=this.state.goInputText,d="".concat(r,"-options"),f=null,g=null,v=null;if(!i&&!o)return null;var x=this.getPageSizeOptions();if(i&&s){var N=x.map(function(t,n){return l.createElement(s.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))});f=l.createElement(s,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(d,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||x[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":a.page_size,defaultOpen:!1},N)}return o&&(c&&(v="boolean"==typeof c?l.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(d,"-quick-jumper-button")},a.jump_to_confirm):l.createElement("span",{onClick:this.go,onKeyUp:this.go},c)),g=l.createElement("div",{className:"".concat(d,"-quick-jumper")},a.jump_to,l.createElement("input",{disabled:m,type:"text",value:h,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":a.page}),a.page,v)),l.createElement("li",{className:"".concat(d)},f,g)}}]),n}(l.Component);function S(){}function Z(e){var t=Number(e);return"number"==typeof t&&!isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function I(e,t,n){var a=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/a)+1}P.defaultProps={pageSizeOptions:["10","20","50","100"]};var k=function(e){(0,C.Z)(n,e);var t=(0,E.Z)(n);function n(e){(0,x.Z)(this,n),(a=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,a.state.current-(a.props.showLessItems?3:5))},a.getJumpNextPage=function(){return Math.min(I(void 0,a.state,a.props),a.state.current+(a.props.showLessItems?3:5))},a.getItemIcon=function(e,t){var n=a.props.prefixCls,r=e||l.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(r=l.createElement(e,(0,i.Z)({},a.props))),r},a.savePaginationNode=function(e){a.paginationNode=e},a.isValid=function(e){var t=a.props.total;return Z(e)&&e!==a.state.current&&Z(t)&&t>0},a.shouldDisplayQuickJumper=function(){var e=a.props,t=e.showQuickJumper;return!(e.total<=a.state.pageSize)&&t},a.handleKeyDown=function(e){(e.keyCode===b.ARROW_UP||e.keyCode===b.ARROW_DOWN)&&e.preventDefault()},a.handleKeyUp=function(e){var t=a.getValidValue(e);t!==a.state.currentInputValue&&a.setState({currentInputValue:t}),e.keyCode===b.ENTER?a.handleChange(t):e.keyCode===b.ARROW_UP?a.handleChange(t-1):e.keyCode===b.ARROW_DOWN&&a.handleChange(t+1)},a.handleBlur=function(e){var t=a.getValidValue(e);a.handleChange(t)},a.changePageSize=function(e){var t=a.state.current,n=I(e,a.state,a.props);t=t>n?n:t,0===n&&(t=a.state.current),"number"!=typeof e||("pageSize"in a.props||a.setState({pageSize:e}),"current"in a.props||a.setState({current:t,currentInputValue:t})),a.props.onShowSizeChange(t,e),"onChange"in a.props&&a.props.onChange&&a.props.onChange(t,e)},a.handleChange=function(e){var t=a.props,n=t.disabled,r=t.onChange,i=a.state,l=i.pageSize,o=i.current,c=i.currentInputValue;if(a.isValid(e)&&!n){var s=I(void 0,a.state,a.props),u=e;return e>s?u=s:e<1&&(u=1),"current"in a.props||a.setState({current:u}),u!==c&&a.setState({currentInputValue:u}),r(u,l),u}return o},a.prev=function(){a.hasPrev()&&a.handleChange(a.state.current-1)},a.next=function(){a.hasNext()&&a.handleChange(a.state.current+1)},a.jumpPrev=function(){a.handleChange(a.getJumpPrevPage())},a.jumpNext=function(){a.handleChange(a.getJumpNextPage())},a.hasPrev=function(){return a.state.current>1},a.hasNext=function(){return a.state.current2?n-2:0),r=2;r=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,a=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>a}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,a=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),r=!this.hasPrev();return(0,l.isValidElement)(a)?(0,l.cloneElement)(a,{disabled:r}):a}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,a=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),r=!this.hasNext();return(0,l.isValidElement)(a)?(0,l.cloneElement)(a,{disabled:r}):a}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.className,o=t.style,c=t.disabled,s=t.hideOnSinglePage,u=t.total,p=t.locale,m=t.showQuickJumper,h=t.showLessItems,d=t.showTitle,f=t.showTotal,g=t.simple,x=t.itemRender,N=t.showPrevNextJumpers,C=t.jumpPrevIcon,E=t.jumpNextIcon,b=t.selectComponentClass,S=t.selectPrefixCls,Z=t.pageSizeOptions,k=this.state,w=k.current,z=k.pageSize,O=k.currentInputValue;if(!0===s&&u<=z)return null;var _=I(void 0,this.state,this.props),T=[],j=null,R=null,V=null,K=null,L=null,D=m&&m.goButton,J=h?1:2,B=w-1>0?w-1:0,U=w+1<_?w+1:_,A=Object.keys(this.props).reduce(function(t,n){return("data-"===n.substr(0,5)||"aria-"===n.substr(0,5)||"role"===n)&&(t[n]=e.props[n]),t},{});if(g)return D&&(L="boolean"==typeof D?l.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},p.jump_to_confirm):l.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},D),L=l.createElement("li",{title:d?"".concat(p.jump_to).concat(w,"/").concat(_):null,className:"".concat(n,"-simple-pager")},L)),l.createElement("ul",(0,r.Z)({className:v()(n,"".concat(n,"-simple"),(0,a.Z)({},"".concat(n,"-disabled"),c),i),style:o,ref:this.savePaginationNode},A),l.createElement("li",{title:d?p.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(B)),l.createElement("li",{title:d?"".concat(w,"/").concat(_):null,className:"".concat(n,"-simple-pager")},l.createElement("input",{type:"text",value:O,disabled:c,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:"3"}),l.createElement("span",{className:"".concat(n,"-slash")},"/"),_),l.createElement("li",{title:d?p.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(U)),L);if(_<=3+2*J){var M={locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:d,itemRender:x};_||T.push(l.createElement(y,(0,r.Z)({},M,{key:"noPager",page:1,className:"".concat(n,"-item-disabled")})));for(var W=1;W<=_;W+=1){var q=w===W;T.push(l.createElement(y,(0,r.Z)({},M,{key:W,page:W,active:q})))}}else{var G=h?p.prev_3:p.prev_5,H=h?p.next_3:p.next_5;N&&(j=l.createElement("li",{title:d?G:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:v()("".concat(n,"-jump-prev"),(0,a.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!C))},x(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(C,"prev page"))),R=l.createElement("li",{title:d?H:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:v()("".concat(n,"-jump-next"),(0,a.Z)({},"".concat(n,"-jump-next-custom-icon"),!!E))},x(this.getJumpNextPage(),"jump-next",this.getItemIcon(E,"next page")))),K=l.createElement(y,{locale:p,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:_,page:_,active:!1,showTitle:d,itemRender:x}),V=l.createElement(y,{locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:d,itemRender:x});var Q=Math.max(1,w-J),F=Math.min(w+J,_);w-1<=J&&(F=1+2*J),_-w<=J&&(Q=_-2*J);for(var Y=Q;Y<=F;Y+=1){var $=w===Y;T.push(l.createElement(y,{locale:p,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Y,page:Y,active:$,showTitle:d,itemRender:x}))}w-1>=2*J&&3!==w&&(T[0]=(0,l.cloneElement)(T[0],{className:"".concat(n,"-item-after-jump-prev")}),T.unshift(j)),_-w>=2*J&&w!==_-2&&(T[T.length-1]=(0,l.cloneElement)(T[T.length-1],{className:"".concat(n,"-item-before-jump-next")}),T.push(R)),1!==Q&&T.unshift(V),F!==_&&T.push(K)}var X=null;f&&(X=l.createElement("li",{className:"".concat(n,"-total-text")},f(u,[0===u?0:(w-1)*z+1,w*z>u?u:w*z])));var ee=!this.hasPrev()||!_,et=!this.hasNext()||!_;return l.createElement("ul",(0,r.Z)({className:v()(n,i,(0,a.Z)({},"".concat(n,"-disabled"),c)),style:o,unselectable:"unselectable",ref:this.savePaginationNode},A),X,l.createElement("li",{title:d?p.prev_page:null,onClick:this.prev,tabIndex:ee?null:0,onKeyPress:this.runIfEnterPrev,className:v()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),ee)),"aria-disabled":ee},this.renderPrev(B)),T,l.createElement("li",{title:d?p.next_page:null,onClick:this.next,tabIndex:et?null:0,onKeyPress:this.runIfEnterNext,className:v()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),et)),"aria-disabled":et},this.renderNext(U)),l.createElement(P,{disabled:c,locale:p,rootPrefixCls:n,selectComponentClass:b,selectPrefixCls:S,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:w,pageSize:z,pageSizeOptions:Z,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:D}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var a=t.current,r=I(e.pageSize,t,e);a=a>r?r:a,"current"in e||(n.current=a,n.currentInputValue=a),n.pageSize=e.pageSize}return n}}]),n}(l.Component);k.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:S,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:S,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var w=n(62906),z=n(53124),O=n(25378),_=n(23715),T=n(38939),j=function(e){return l.createElement(T.Z,(0,r.Z)({},e,{size:"small"}))},R=function(e){return l.createElement(T.Z,(0,r.Z)({},e,{size:"middle"}))};j.Option=T.Z.Option,R.Option=T.Z.Option;var V=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},K=function(e){var t=e.prefixCls,n=e.selectPrefixCls,i=e.className,o=e.size,c=e.locale,s=e.selectComponentClass,p=e.responsive,m=e.showSizeChanger,g=V(e,["prefixCls","selectPrefixCls","className","size","locale","selectComponentClass","responsive","showSizeChanger"]),x=(0,O.Z)(p).xs,N=l.useContext(z.E_),C=N.getPrefixCls,E=N.direction,y=N.pagination,b=C("pagination",t),P=null!=m?m:(void 0===y?{}:y).showSizeChanger,S=function(){var e=l.createElement("span",{className:"".concat(b,"-item-ellipsis")},"•••"),t=l.createElement("button",{className:"".concat(b,"-item-link"),type:"button",tabIndex:-1},l.createElement(d.Z,null)),n=l.createElement("button",{className:"".concat(b,"-item-link"),type:"button",tabIndex:-1},l.createElement(f.Z,null)),a=l.createElement("a",{className:"".concat(b,"-item-link")},l.createElement("div",{className:"".concat(b,"-item-container")},l.createElement(u,{className:"".concat(b,"-item-link-icon")}),e)),r=l.createElement("a",{className:"".concat(b,"-item-link")},l.createElement("div",{className:"".concat(b,"-item-container")},l.createElement(h,{className:"".concat(b,"-item-link-icon")}),e));if("rtl"===E){var i=[n,t];t=i[0],n=i[1];var o=[r,a];a=o[0],r=o[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:a,jumpNextIcon:r}};return l.createElement(_.Z,{componentName:"Pagination",defaultLocale:w.Z},function(e){var t,u=(0,r.Z)((0,r.Z)({},e),c),m="small"===o||!!(x&&!o&&p),h=C("select",n),d=v()((t={},(0,a.Z)(t,"".concat(b,"-mini"),m),(0,a.Z)(t,"".concat(b,"-rtl"),"rtl"===E),t),i);return l.createElement(k,(0,r.Z)({},S(),g,{prefixCls:b,selectPrefixCls:h,className:d,selectComponentClass:s||(m?j:R),locale:u,showSizeChanger:P}))})}},11382:function(e,t,n){var a=n(87462),r=n(4942),i=n(97685),l=n(94184),o=n.n(l),c=n(23279),s=n.n(c),u=n(98423),p=n(67294),m=n(53124),h=n(96159),d=n(93355),f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,d.b)("small","default","large");var g=null,v=function(e){var t=e.spinPrefixCls,n=e.spinning,l=void 0===n||n,c=e.delay,d=e.className,v=e.size,x=void 0===v?"default":v,N=e.tip,C=e.wrapperClassName,E=e.style,y=e.children,b=f(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),P=p.useState(function(){return l&&(!l||!c||!!isNaN(Number(c)))}),S=(0,i.Z)(P,2),Z=S[0],I=S[1];p.useEffect(function(){var e=s()(function(){I(l)},c);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[c,l]);var k=function(n){var i,l,c,s=n.direction,m=o()(t,(c={},(0,r.Z)(c,"".concat(t,"-sm"),"small"===x),(0,r.Z)(c,"".concat(t,"-lg"),"large"===x),(0,r.Z)(c,"".concat(t,"-spinning"),Z),(0,r.Z)(c,"".concat(t,"-show-text"),!!N),(0,r.Z)(c,"".concat(t,"-rtl"),"rtl"===s),c),d),f=(0,u.Z)(b,["indicator","prefixCls"]),v=p.createElement("div",(0,a.Z)({},f,{style:E,className:m,"aria-live":"polite","aria-busy":Z}),(i=e.indicator,l="".concat(t,"-dot"),null===i?null:(0,h.l$)(i)?(0,h.Tm)(i,{className:o()(i.props.className,l)}):(0,h.l$)(g)?(0,h.Tm)(g,{className:o()(g.props.className,l)}):p.createElement("span",{className:o()(l,"".concat(t,"-dot-spin"))},p.createElement("i",{className:"".concat(t,"-dot-item")}),p.createElement("i",{className:"".concat(t,"-dot-item")}),p.createElement("i",{className:"".concat(t,"-dot-item")}),p.createElement("i",{className:"".concat(t,"-dot-item")}))),N?p.createElement("div",{className:"".concat(t,"-text")},N):null);if(void 0!==y){var P=o()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),Z));return p.createElement("div",(0,a.Z)({},f,{className:o()("".concat(t,"-nested-loading"),C)}),Z&&p.createElement("div",{key:"loading"},v),p.createElement("div",{className:P,key:"container"},y))}return v};return p.createElement(m.C,null,k)},x=function(e){var t=e.prefixCls,n=(0,p.useContext(m.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return p.createElement(v,(0,a.Z)({},r))};x.setDefaultIndicator=function(e){g=e},t.Z=x},27678:function(e,t,n){function a(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function r(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return a},os:function(){return r}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4293.65a8bc8ea44454fc.js b/static/web/_next/static/chunks/4293.65a8bc8ea44454fc.js deleted file mode 100644 index 63c9438d6..000000000 --- a/static/web/_next/static/chunks/4293.65a8bc8ea44454fc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4293],{94293:function(e,t,r){function n(e,t){return e.string.charAt(e.pos+(t||0))}function i(e,t){if(t){var r=e.pos-t;return e.string.substr(r>=0?r:0,t)}return e.string.substr(0,e.pos-1)}function s(e,t){var r=e.string.length,n=r-e.pos+1;return e.string.substr(e.pos,t&&t=(r=e.string.length-1)?e.pos=r:e.pos=n}r.r(t),r.d(t,{perl:function(){return _}});var u={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},o="string.special",$=/[goseximacplud]/;function l(e,t,r,n,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var s,a=!1,u=0;s=e.next();){if(s===r[u]&&!a)return void 0!==r[++u]?(t.chain=r[u],t.style=n,t.tail=i):i&&e.eatWhile(i),t.tokenize=f,n;a=!a&&"\\"==s}return n},t.tokenize(e,t)}function E(e,t,r){return t.tokenize=function(e,t){return e.string==r&&(t.tokenize=f),e.skipToEnd(),"string"},t.tokenize(e,t)}function f(e,t){if(e.eatSpace())return null;if(t.chain)return l(e,t,t.chain,t.style,t.tail);if(e.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(e.match(/^<<(?=[_a-zA-Z])/))return e.eatWhile(/\w/),E(e,t,e.current().substr(2));if(e.sol()&&e.match(/^\=item(?!\w)/))return E(e,t,"=cut");var r=e.next();if('"'==r||"'"==r){if(i(e,3)=="<<"+r){var f=e.pos;e.eatWhile(/\w/);var _=e.current().substr(1);if(_&&e.eat(r))return E(e,t,_);e.pos=f}return l(e,t,[r],"string")}if("q"==r&&(!(R=n(e,-2))||!/\w/.test(R)))if("x"==(R=n(e,0))){if("("==(R=n(e,1)))return a(e,2),l(e,t,[")"],o,$);if("["==R)return a(e,2),l(e,t,["]"],o,$);if("{"==R)return a(e,2),l(e,t,["}"],o,$);if("<"==R)return a(e,2),l(e,t,[">"],o,$);if(/[\^'"!~\/]/.test(R))return a(e,1),l(e,t,[e.eat(R)],o,$)}else if("q"==R){if("("==(R=n(e,1)))return a(e,2),l(e,t,[")"],"string");if("["==R)return a(e,2),l(e,t,["]"],"string");if("{"==R)return a(e,2),l(e,t,["}"],"string");if("<"==R)return a(e,2),l(e,t,[">"],"string");if(/[\^'"!~\/]/.test(R))return a(e,1),l(e,t,[e.eat(R)],"string")}else if("w"==R){if("("==(R=n(e,1)))return a(e,2),l(e,t,[")"],"bracket");if("["==R)return a(e,2),l(e,t,["]"],"bracket");if("{"==R)return a(e,2),l(e,t,["}"],"bracket");if("<"==R)return a(e,2),l(e,t,[">"],"bracket");if(/[\^'"!~\/]/.test(R))return a(e,1),l(e,t,[e.eat(R)],"bracket")}else if("r"==R){if("("==(R=n(e,1)))return a(e,2),l(e,t,[")"],o,$);if("["==R)return a(e,2),l(e,t,["]"],o,$);if("{"==R)return a(e,2),l(e,t,["}"],o,$);if("<"==R)return a(e,2),l(e,t,[">"],o,$);if(/[\^'"!~\/]/.test(R))return a(e,1),l(e,t,[e.eat(R)],o,$)}else if(/[\^'"!~\/(\[{<]/.test(R)){if("("==R)return a(e,1),l(e,t,[")"],"string");if("["==R)return a(e,1),l(e,t,["]"],"string");if("{"==R)return a(e,1),l(e,t,["}"],"string");if("<"==R)return a(e,1),l(e,t,[">"],"string");if(/[\^'"!~\/]/.test(R))return l(e,t,[e.eat(R)],"string")}if("m"==r&&((!(R=n(e,-2))||!/\w/.test(R))&&(R=e.eat(/[(\[{<\^'"!~\/]/)))){if(/[\^'"!~\/]/.test(R))return l(e,t,[R],o,$);if("("==R)return l(e,t,[")"],o,$);if("["==R)return l(e,t,["]"],o,$);if("{"==R)return l(e,t,["}"],o,$);if("<"==R)return l(e,t,[">"],o,$)}if("s"==r&&(!(R=/[\/>\]})\w]/.test(n(e,-2)))&&(R=e.eat(/[(\[{<\^'"!~\/]/))))return l(e,t,"["==R?["]","]"]:"{"==R?["}","}"]:"<"==R?[">",">"]:"("==R?[")",")"]:[R,R],o,$);if("y"==r&&(!(R=/[\/>\]})\w]/.test(n(e,-2)))&&(R=e.eat(/[(\[{<\^'"!~\/]/))))return l(e,t,"["==R?["]","]"]:"{"==R?["}","}"]:"<"==R?[">",">"]:"("==R?[")",")"]:[R,R],o,$);if("t"==r&&(!(R=/[\/>\]})\w]/.test(n(e,-2)))&&(R=e.eat("r"))&&(R=e.eat(/[(\[{<\^'"!~\/]/))))return l(e,t,"["==R?["]","]"]:"{"==R?["}","}"]:"<"==R?[">",">"]:"("==R?[")",")"]:[R,R],o,$);if("`"==r)return l(e,t,[r],"builtin");if("/"==r)return/~\s*$/.test(i(e))?l(e,t,[r],o,$):"operator";if("$"==r){f=e.pos;if(e.eatWhile(/\d/)||e.eat("{")&&e.eatWhile(/\d/)&&e.eat("}"))return"builtin";e.pos=f}if(/[$@%]/.test(r)){f=e.pos;if(e.eat("^")&&e.eat(/[A-Z]/)||!/[@$%&]/.test(n(e,-2))&&e.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var R=e.current();if(u[R])return"builtin"}e.pos=f}if(/[$@%&]/.test(r)&&(e.eatWhile(/[\w$]/)||e.eat("{")&&e.eatWhile(/[\w$]/)&&e.eat("}"))){R=e.current();return u[R]?"builtin":"variable"}if("#"==r&&"$"!=n(e,-2))return e.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(r)){f=e.pos;if(e.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),u[e.current()])return"operator";e.pos=f}if("_"==r&&1==e.pos){if("_END__"==s(e,6))return l(e,t,["\0"],"comment");if("_DATA__"==s(e,7))return l(e,t,["\0"],"builtin");if("_C__"==s(e,7))return l(e,t,["\0"],"string")}if(/\w/.test(r)){f=e.pos;if("{"==n(e,-2)&&("}"==n(e,0)||e.eatWhile(/\w/)&&"}"==n(e,0)))return"string";e.pos=f}if(/[A-Z]/.test(r)){var c=n(e,-2);f=e.pos;if(e.eatWhile(/[A-Z_]/),!/[\da-z]/.test(n(e,0)))return(R=u[e.current()])?(R[1]&&(R=R[0]),":"!=c?1==R?"keyword":2==R?"def":3==R?"atom":4==R?"operator":5==R?"builtin":"meta":"meta"):"meta";e.pos=f}if(/[a-zA-Z_]/.test(r)){c=n(e,-2);return e.eatWhile(/\w/),(R=u[e.current()])?(R[1]&&(R=R[0]),":"!=c?1==R?"keyword":2==R?"def":3==R?"atom":4==R?"operator":5==R?"builtin":"meta":"meta"):"meta"}return null}const _={name:"perl",startState:function(){return{tokenize:f,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||f)(e,t)},languageData:{commentTokens:{line:"#"},wordChars:"$"}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4293.7b5c769ac9f34b69.js b/static/web/_next/static/chunks/4293.7b5c769ac9f34b69.js new file mode 100644 index 000000000..496a692a5 --- /dev/null +++ b/static/web/_next/static/chunks/4293.7b5c769ac9f34b69.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4293],{94293:function(e,t,r){function n(e,t){return e.string.charAt(e.pos+(t||0))}function i(e,t){if(!t)return e.string.substr(0,e.pos-1);var r=e.pos-t;return e.string.substr(r>=0?r:0,t)}function s(e,t){var r=e.string.length,n=r-e.pos+1;return e.string.substr(e.pos,t&&t=(r=e.string.length-1)?e.pos=r:e.pos=n}r.r(t),r.d(t,{perl:function(){return _}});var u={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},o="string.special",l=/[goseximacplud]/;function $(e,t,r,n,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var s,a=!1,u=0;s=e.next();){if(s===r[u]&&!a){void 0!==r[++u]?(t.chain=r[u],t.style=n,t.tail=i):i&&e.eatWhile(i),t.tokenize=E;break}a=!a&&"\\"==s}return n},t.tokenize(e,t)}function f(e,t,r){return t.tokenize=function(e,t){return e.string==r&&(t.tokenize=E),e.skipToEnd(),"string"},t.tokenize(e,t)}function E(e,t){if(e.eatSpace())return null;if(t.chain)return $(e,t,t.chain,t.style,t.tail);if(e.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(e.match(/^<<(?=[_a-zA-Z])/))return e.eatWhile(/\w/),f(e,t,e.current().substr(2));if(e.sol()&&e.match(/^\=item(?!\w)/))return f(e,t,"=cut");var r=e.next();if('"'==r||"'"==r){if(i(e,3)=="<<"+r){var E=e.pos;e.eatWhile(/\w/);var _=e.current().substr(1);if(_&&e.eat(r))return f(e,t,_);e.pos=E}return $(e,t,[r],"string")}if("q"==r){var R=n(e,-2);if(!(R&&/\w/.test(R))){if("x"==(R=n(e,0))){if("("==(R=n(e,1)))return a(e,2),$(e,t,[")"],o,l);if("["==R)return a(e,2),$(e,t,["]"],o,l);if("{"==R)return a(e,2),$(e,t,["}"],o,l);if("<"==R)return a(e,2),$(e,t,[">"],o,l);if(/[\^'"!~\/]/.test(R))return a(e,1),$(e,t,[e.eat(R)],o,l)}else if("q"==R){if("("==(R=n(e,1)))return a(e,2),$(e,t,[")"],"string");if("["==R)return a(e,2),$(e,t,["]"],"string");if("{"==R)return a(e,2),$(e,t,["}"],"string");if("<"==R)return a(e,2),$(e,t,[">"],"string");if(/[\^'"!~\/]/.test(R))return a(e,1),$(e,t,[e.eat(R)],"string")}else if("w"==R){if("("==(R=n(e,1)))return a(e,2),$(e,t,[")"],"bracket");if("["==R)return a(e,2),$(e,t,["]"],"bracket");if("{"==R)return a(e,2),$(e,t,["}"],"bracket");if("<"==R)return a(e,2),$(e,t,[">"],"bracket");if(/[\^'"!~\/]/.test(R))return a(e,1),$(e,t,[e.eat(R)],"bracket")}else if("r"==R){if("("==(R=n(e,1)))return a(e,2),$(e,t,[")"],o,l);if("["==R)return a(e,2),$(e,t,["]"],o,l);if("{"==R)return a(e,2),$(e,t,["}"],o,l);if("<"==R)return a(e,2),$(e,t,[">"],o,l);if(/[\^'"!~\/]/.test(R))return a(e,1),$(e,t,[e.eat(R)],o,l)}else if(/[\^'"!~\/(\[{<]/.test(R)){if("("==R)return a(e,1),$(e,t,[")"],"string");if("["==R)return a(e,1),$(e,t,["]"],"string");if("{"==R)return a(e,1),$(e,t,["}"],"string");if("<"==R)return a(e,1),$(e,t,[">"],"string");if(/[\^'"!~\/]/.test(R))return $(e,t,[e.eat(R)],"string")}}}if("m"==r){var R=n(e,-2);if(!(R&&/\w/.test(R))&&(R=e.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(R))return $(e,t,[R],o,l);if("("==R)return $(e,t,[")"],o,l);if("["==R)return $(e,t,["]"],o,l);if("{"==R)return $(e,t,["}"],o,l);if("<"==R)return $(e,t,[">"],o,l)}}if("s"==r||"y"==r){var R=/[\/>\]})\w]/.test(n(e,-2));if(!R&&(R=e.eat(/[(\[{<\^'"!~\/]/)))return"["==R?$(e,t,["]","]"],o,l):"{"==R?$(e,t,["}","}"],o,l):"<"==R?$(e,t,[">",">"],o,l):"("==R?$(e,t,[")",")"],o,l):$(e,t,[R,R],o,l)}if("t"==r){var R=/[\/>\]})\w]/.test(n(e,-2));if(!R&&(R=e.eat("r"))&&(R=e.eat(/[(\[{<\^'"!~\/]/)))return"["==R?$(e,t,["]","]"],o,l):"{"==R?$(e,t,["}","}"],o,l):"<"==R?$(e,t,[">",">"],o,l):"("==R?$(e,t,[")",")"],o,l):$(e,t,[R,R],o,l)}if("`"==r)return $(e,t,[r],"builtin");if("/"==r)return/~\s*$/.test(i(e))?$(e,t,[r],o,l):"operator";if("$"==r){var E=e.pos;if(e.eatWhile(/\d/)||e.eat("{")&&e.eatWhile(/\d/)&&e.eat("}"))return"builtin";e.pos=E}if(/[$@%]/.test(r)){var E=e.pos;if(e.eat("^")&&e.eat(/[A-Z]/)||!/[@$%&]/.test(n(e,-2))&&e.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var R=e.current();if(u[R])return"builtin"}e.pos=E}if(/[$@%&]/.test(r)&&(e.eatWhile(/[\w$]/)||e.eat("{")&&e.eatWhile(/[\w$]/)&&e.eat("}"))){var R=e.current();return u[R]?"builtin":"variable"}if("#"==r&&"$"!=n(e,-2))return e.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(r)){var E=e.pos;if(e.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),u[e.current()])return"operator";e.pos=E}if("_"==r&&1==e.pos){if("_END__"==s(e,6))return $(e,t,["\0"],"comment");if("_DATA__"==s(e,7))return $(e,t,["\0"],"builtin");if("_C__"==s(e,7))return $(e,t,["\0"],"string")}if(/\w/.test(r)){var E=e.pos;if("{"==n(e,-2)&&("}"==n(e,0)||e.eatWhile(/\w/)&&"}"==n(e,0)))return"string";e.pos=E}if(/[A-Z]/.test(r)){var c=n(e,-2),E=e.pos;if(e.eatWhile(/[A-Z_]/),/[\da-z]/.test(n(e,0)))e.pos=E;else{var R=u[e.current()];if(!R||(R[1]&&(R=R[0]),":"==c))return"meta";if(1==R)return"keyword";if(2==R)return"def";if(3==R)return"atom";if(4==R)return"operator";else if(5==R)return"builtin";else return"meta"}}if(/[a-zA-Z_]/.test(r)){var c=n(e,-2);e.eatWhile(/\w/);var R=u[e.current()];if(!R||(R[1]&&(R=R[0]),":"==c))return"meta";if(1==R)return"keyword";if(2==R)return"def";if(3==R)return"atom";if(4==R)return"operator";else if(5==R)return"builtin";else return"meta"}return null}let _={name:"perl",startState:function(){return{tokenize:E,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||E)(e,t)},languageData:{commentTokens:{line:"#"},wordChars:"$"}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4323.a5236e124e2f7387.js b/static/web/_next/static/chunks/4323.a5236e124e2f7387.js deleted file mode 100644 index 2dd45349b..000000000 --- a/static/web/_next/static/chunks/4323.a5236e124e2f7387.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4323],{74323:function(e,t,n){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}n.r(t),n.d(t,{cython:function(){return u},mkPython:function(){return c},python:function(){return l}});var i=r(["and","or","not","is"]),a=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function s(e){return e.scopes[e.scopes.length-1]}function c(e){for(var t="error",n=e.delimiters||e.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,c=[e.singleOperators,e.doubleOperators,e.doubleDelimiters,e.tripleDelimiters,e.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],l=0;lr?v(e,t):i0&&x(e,t)&&(a+=" error"),a}return k(e,t)}function k(r,a,o){if(r.eatSpace())return null;if(!o&&r.match(/^#.*/))return"comment";if(r.match(/^[0-9\.]/,!1)){var s=!1;if(r.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(s=!0),r.match(/^[\d_]+\.\d*/)&&(s=!0),r.match(/^\.\d+/)&&(s=!0),s)return r.eat(/J/i),"number";var l=!1;if(r.match(/^0x[0-9a-f_]+/i)&&(l=!0),r.match(/^0b[01_]+/i)&&(l=!0),r.match(/^0o[0-7_]+/i)&&(l=!0),r.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(r.eat(/J/i),l=!0),r.match(/^0(?![\dx])/i)&&(l=!0),l)return r.eat(/L/i),"number"}if(r.match(h))return-1!==r.current().toLowerCase().indexOf("f")?(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(e){return function(t,n){var r=k(t,n,!0);return"punctuation"==r&&("{"==t.current()?n.tokenize=o(e+1):"}"==t.current()&&(n.tokenize=e>1?o(e-1):s)),r}}function s(s,c){for(;!s.eol();)if(s.eatWhile(/[^'"\{\}\\]/),s.eat("\\")){if(s.next(),i&&s.eol())return a}else{if(s.match(n))return c.tokenize=r,a;if(s.match("{{"))return a;if(s.match("{",!1))return c.tokenize=o(0),s.current()?a:c.tokenize(s,c);if(s.match("}}"))return a;if(s.match("}"))return t;s.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;c.tokenize=r}return a}return s.isString=!0,s}(r.current(),a.tokenize),a.tokenize(r,a)):(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(o,s){for(;!o.eol();)if(o.eatWhile(/[^'"\\]/),o.eat("\\")){if(o.next(),i&&o.eol())return a}else{if(o.match(n))return s.tokenize=r,a;o.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;s.tokenize=r}return a}return o.isString=!0,o}(r.current(),a.tokenize),a.tokenize(r,a));for(var u=0;u1&&s(t).offset>n;){if("py"!=s(t).type)return!0;t.scopes.pop()}return s(t).offset!=n}function _(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&"@"==i)return e.match(m,!1)?"meta":d?"operator":t;if(/\S/.test(i)&&(n.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=n.lastToken||(r="meta"),"pass"!=i&&"return"!=i||(n.dedent=!0),"lambda"==i&&(n.lambda=!0),":"==i&&!n.lambda&&"py"==s(n).type&&e.match(/^\s*(?:#|$)/,!1)&&v(e,n),1==i.length&&!/string|comment/.test(r)){var a="[({".indexOf(i);if(-1!=a&&function(e,t,n){var r=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+(u||e.indentUnit),type:n,align:r})}(e,n,"])}".slice(a,a+1)),-1!=(a="])}".indexOf(i))){if(s(n).type!=i)return t;n.indent=n.scopes.pop().offset-(u||e.indentUnit)}}return n.dedent&&e.eol()&&"py"==s(n).type&&n.scopes.length>1&&n.scopes.pop(),r}return{name:"python",startState:function(){return{tokenize:y,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=_(e,n);return i&&"comment"!=i&&(n.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?t:i},indent:function(e,t,n){if(e.tokenize!=y)return e.tokenize.isString?null:0;var r=s(e),i=r.type==t.charAt(0)||"py"==r.type&&!e.dedent&&/^(else:|elif |except |finally:)/.test(t);return null!=r.align?r.align-(i?1:0):r.offset-(i?u||n.unit:0)},languageData:{autocomplete:a.concat(o).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}const l=c({}),u=c({extra_keywords:(f="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",f.split(" "))});var f}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4323.a71ccfb6a77dd78e.js b/static/web/_next/static/chunks/4323.a71ccfb6a77dd78e.js new file mode 100644 index 000000000..6db70d064 --- /dev/null +++ b/static/web/_next/static/chunks/4323.a71ccfb6a77dd78e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4323],{74323:function(e,t,n){function r(e){return RegExp("^(("+e.join(")|(")+"))\\b")}n.r(t),n.d(t,{cython:function(){return u},mkPython:function(){return l},python:function(){return c}});var i=r(["and","or","not","is"]),a=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function s(e){return e.scopes[e.scopes.length-1]}function l(e){for(var t="error",n=e.delimiters||e.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,l=[e.singleOperators,e.doubleOperators,e.doubleDelimiters,e.tripleDelimiters,e.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],c=0;cNumber(e.version));if(d){var m=e.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;f=f.concat(["nonlocal","False","True","None","async","await"]),p=p.concat(["ascii","bytes","exec","print"]);var h=RegExp("^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|\"{3}|['\"]))","i")}else{var m=e.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;f=f.concat(["exec","print"]),p=p.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);var h=RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var b=r(f),g=r(p);function y(e,n){var r=e.sol()&&"\\"!=n.lastToken;if(r&&(n.indent=e.indentation()),r&&"py"==s(n).type){var i=s(n).offset;if(e.eatSpace()){var a=e.indentation();return a>i?v(e,n):a0&&x(e,n)&&(o+=" "+t),o}return k(e,n)}function k(r,a,o){if(r.eatSpace())return null;if(!o&&r.match(/^#.*/))return"comment";if(r.match(/^[0-9\.]/,!1)){var s=!1;if(r.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(s=!0),r.match(/^[\d_]+\.\d*/)&&(s=!0),r.match(/^\.\d+/)&&(s=!0),s)return r.eat(/J/i),"number";var c=!1;if(r.match(/^0x[0-9a-f_]+/i)&&(c=!0),r.match(/^0b[01_]+/i)&&(c=!0),r.match(/^0o[0-7_]+/i)&&(c=!0),r.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(r.eat(/J/i),c=!0),r.match(/^0(?![\dx])/i)&&(c=!0),c)return r.eat(/L/i),"number"}if(r.match(h))return -1!==r.current().toLowerCase().indexOf("f")?(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(s,l){for(;!s.eol();)if(s.eatWhile(/[^'"\{\}\\]/),s.eat("\\")){if(s.next(),i&&s.eol())return a}else if(s.match(n))return l.tokenize=r,a;else if(s.match("{{"))return a;else if(s.match("{",!1)){if(l.tokenize=function e(t){return function(n,r){var i=k(n,r,!0);return"punctuation"==i&&("{"==n.current()?r.tokenize=e(t+1):"}"==n.current()&&(t>1?r.tokenize=e(t-1):r.tokenize=o)),i}}(0),s.current())return a;return l.tokenize(s,l)}else{if(s.match("}}"))return a;if(s.match("}"))return t;s.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;l.tokenize=r}return a}return o.isString=!0,o}(r.current(),a.tokenize),a.tokenize(r,a)):(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(o,s){for(;!o.eol();)if(o.eatWhile(/[^'"\\]/),o.eat("\\")){if(o.next(),i&&o.eol())return a}else{if(o.match(n))return s.tokenize=r,a;o.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;s.tokenize=r}return a}return o.isString=!0,o}(r.current(),a.tokenize),a.tokenize(r,a));for(var u=0;u1&&s(t).offset>n;){if("py"!=s(t).type)return!0;t.scopes.pop()}return s(t).offset!=n}return{name:"python",startState:function(){return{tokenize:y,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=function(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&"@"==i)return e.match(m,!1)?"meta":d?"operator":t;if(/\S/.test(i)&&(n.beginningOfLine=!1),("variable"==r||"builtin"==r)&&"meta"==n.lastToken&&(r="meta"),("pass"==i||"return"==i)&&(n.dedent=!0),"lambda"==i&&(n.lambda=!0),":"==i&&!n.lambda&&"py"==s(n).type&&e.match(/^\s*(?:#|$)/,!1)&&v(e,n),1==i.length&&!/string|comment/.test(r)){var a="[({".indexOf(i);if(-1!=a&&function(e,t,n){var r=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+(u||e.indentUnit),type:n,align:r})}(e,n,"])}".slice(a,a+1)),-1!=(a="])}".indexOf(i))){if(s(n).type!=i)return t;n.indent=n.scopes.pop().offset-(u||e.indentUnit)}}return n.dedent&&e.eol()&&"py"==s(n).type&&n.scopes.length>1&&n.scopes.pop(),r}(e,n);return i&&"comment"!=i&&(n.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?t:i},indent:function(e,t,n){if(e.tokenize!=y)return e.tokenize.isString?null:0;var r=s(e),i=r.type==t.charAt(0)||"py"==r.type&&!e.dedent&&/^(else:|elif |except |finally:)/.test(t);return null!=r.align?r.align-(i?1:0):r.offset-(i?u||n.unit:0)},languageData:{autocomplete:a.concat(o).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}let c=l({}),u=l({extra_keywords:"by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE".split(" ")})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4381-69261a7a767a8662.js b/static/web/_next/static/chunks/4381-69261a7a767a8662.js new file mode 100644 index 000000000..c48c03fbd --- /dev/null +++ b/static/web/_next/static/chunks/4381-69261a7a767a8662.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4381],{84381:function(e,t,n){n.d(t,{Z:function(){return eo}});var a=n(4942),r=n(87462),o=n(97937),c=n(89705),i=n(1413),l=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},s=n(42135),f=function(e,t){return l.createElement(s.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:u}))};f.displayName="PlusOutlined";var d=l.forwardRef(f),v=n(94184),m=n.n(v),b=n(97685),p=n(71002),h=n(45987),y=n(31131),Z=n(21770),g=n(62874),E=(0,l.createContext)(null),k=l.forwardRef(function(e,t){var n=e.prefixCls,a=e.className,r=e.style,o=e.id,c=e.active,i=e.tabKey,u=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(i),role:"tabpanel",tabIndex:c?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(i),"aria-hidden":!c,style:r,className:m()(n,c&&"".concat(n,"-active"),a),ref:t},u)}),x=["key","forceRender","style","className"];function w(e){var t=e.id,n=e.activeKey,o=e.animated,c=e.tabPosition,u=e.destroyInactiveTabPane,s=l.useContext(E),f=s.prefixCls,d=s.tabs,v=o.tabPane,b="".concat(f,"-tabpane");return l.createElement("div",{className:m()("".concat(f,"-content-holder"))},l.createElement("div",{className:m()("".concat(f,"-content"),"".concat(f,"-content-").concat(c),(0,a.Z)({},"".concat(f,"-content-animated"),v))},d.map(function(e){var a=e.key,c=e.forceRender,s=e.style,f=e.className,d=(0,h.Z)(e,x),p=a===n;return l.createElement(g.Z,(0,r.Z)({key:a,visible:p,forceRender:c,removeOnLeave:!!u,leavedClassName:"".concat(b,"-hidden")},o.tabPaneMotion),function(e,n){var o=e.style,c=e.className;return l.createElement(k,(0,r.Z)({},d,{prefixCls:b,id:t,tabKey:a,animated:v,active:p,style:(0,i.Z)((0,i.Z)({},s),o),className:m()(f,c),ref:n}))})})))}var C=n(74902),N=n(75164),P=n(42550),R=n(48555);function T(e){var t=(0,l.useRef)(),n=(0,l.useRef)(!1);return(0,l.useEffect)(function(){return n.current=!1,function(){n.current=!0,N.Z.cancel(t.current)}},[]),function(){for(var a=arguments.length,r=Array(a),o=0;ot?"left":"right"})}),eW=(0,b.Z)(eq,2),e_=eW[0],eV=eW[1],ez=j(0,function(e,t){!eK&&eP&&eP({direction:e>t?"top":"bottom"})}),eG=(0,b.Z)(ez,2),eF=eG[0],eH=eG[1],eX=(0,l.useState)([0,0]),eY=(0,b.Z)(eX,2),eJ=eY[0],eU=eY[1],eQ=(0,l.useState)([0,0]),e$=(0,b.Z)(eQ,2),e0=e$[0],e1=e$[1],e8=(0,l.useState)([0,0]),e2=(0,b.Z)(e8,2),e4=e2[0],e7=e2[1],e6=(0,l.useState)([0,0]),e5=(0,b.Z)(e6,2),e9=e5[0],e3=e5[1],te=(o=new Map,c=(0,l.useRef)([]),u=(0,l.useState)({}),s=(0,b.Z)(u,2)[1],f=(0,l.useRef)("function"==typeof o?o():o),d=T(function(){var e=f.current;c.current.forEach(function(t){e=t(e)}),c.current=[],f.current=e,s({})}),[f.current,function(e){c.current.push(e),d()}]),tt=(0,b.Z)(te,2),tn=tt[0],ta=tt[1],tr=(v=e0[0],(0,l.useMemo)(function(){for(var e=new Map,t=tn.get(null===(r=ev[0])||void 0===r?void 0:r.key)||M,n=t.left+t.width,a=0;atf?tf:e}eK&&eZ?(ts=0,tf=Math.max(0,tc-tu)):(ts=Math.min(0,tu-tc),tf=0);var tv=(0,l.useRef)(),tm=(0,l.useState)(),tb=(0,b.Z)(tm,2),tp=tb[0],th=tb[1];function ty(){th(Date.now())}function tZ(){window.clearTimeout(tv.current)}p=function(e,t){function n(e,t){e(function(e){return td(e+t)})}return!(to>=tc)&&(eK?n(eV,e):n(eH,t),tZ(),ty(),!0)},h=(0,l.useState)(),Z=(y=(0,b.Z)(h,2))[0],g=y[1],k=(0,l.useState)(0),w=(x=(0,b.Z)(k,2))[0],I=x[1],O=(0,l.useState)(0),V=(L=(0,b.Z)(O,2))[0],z=L[1],G=(0,l.useState)(),H=(F=(0,b.Z)(G,2))[0],X=F[1],Y=(0,l.useRef)(),J=(0,l.useRef)(),(U=(0,l.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];g({x:t.screenX,y:t.screenY}),window.clearInterval(Y.current)},onTouchMove:function(e){if(Z){e.preventDefault();var t=e.touches[0],n=t.screenX,a=t.screenY;g({x:n,y:a});var r=n-Z.x,o=a-Z.y;p(r,o);var c=Date.now();I(c),z(c-w),X({x:r,y:o})}},onTouchEnd:function(){if(Z&&(g(null),X(null),H)){var e=H.x/V,t=H.y/V;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;Y.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(Y.current);return}p(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,r=Math.abs(t),o=Math.abs(n);r===o?a="x"===J.current?t:n:r>o?(a=t,J.current="x"):(a=n,J.current="y"),p(-a,-a)&&e.preventDefault()}},l.useEffect(function(){function e(e){U.current.onTouchMove(e)}function t(e){U.current.onTouchEnd(e)}return document.addEventListener("touchmove",e,{passive:!1}),document.addEventListener("touchend",t,{passive:!1}),eS.current.addEventListener("touchstart",function(e){U.current.onTouchStart(e)},{passive:!1}),eS.current.addEventListener("wheel",function(e){U.current.onWheel(e)}),function(){document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)}},[]),(0,l.useEffect)(function(){return tZ(),tp&&(tv.current=window.setTimeout(function(){th(0)},100)),tZ},[tp]);var tg=(Q=eK?e_:eF,ea=($=(0,i.Z)((0,i.Z)({},e),{},{tabs:ev})).tabs,er=$.tabPosition,eo=$.rtl,["top","bottom"].includes(er)?(ee="width",et=eo?"right":"left",en=Math.abs(Q)):(ee="height",et="top",en=-Q),(0,l.useMemo)(function(){if(!ea.length)return[0,0];for(var e=ea.length,t=e,n=0;nen+tu){t=n-1;break}}for(var r=0,o=e-1;o>=0;o-=1)if((tr.get(ea[o].key)||B)[et]0&&void 0!==arguments[0]?arguments[0]:ey,t=tr.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eK){var n=e_;eZ?t.righte_+tu&&(n=t.right+t.width-tu):t.left<-e_?n=-t.left:t.left+t.width>-e_+tu&&(n=-(t.left+t.width-tu)),eH(0),eV(td(n))}else{var a=eF;t.top<-eF?a=-t.top:t.top+t.height>-eF+tu&&(a=-(t.top+t.height-tu)),eV(0),eH(td(a))}},tC={};"top"===ex||"bottom"===ex?tC[eZ?"marginRight":"marginLeft"]=ew:tC.marginTop=ew;var tN=ev.map(function(e,t){var n=e.key;return l.createElement(S,{id:ep,prefixCls:ed,key:n,tab:e,style:0===t?void 0:tC,closable:e.closable,editable:eE,active:n===ey,renderWrapper:eC,removeAriaLabel:null==ek?void 0:ek.removeAriaLabel,ref:eD(n),onClick:function(e){eN(n,e)},onRemove:function(){ej(n)},onFocus:function(){tw(n),ty(),eS.current&&(eZ||(eS.current.scrollLeft=0),eS.current.scrollTop=0)}})}),tP=T(function(){var e=W(eR),t=W(eT),n=W(eI);eU([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=W(eO);e7(a),e3(W(eB));var r=W(eM);e1([r[0]-a[0],r[1]-a[1]]),ta(function(){var e=new Map;return ev.forEach(function(t){var n=t.key,a=eD(n).current;a&&e.set(n,{width:a.offsetWidth,height:a.offsetHeight,left:a.offsetLeft,top:a.offsetTop})}),e})}),tR=ev.slice(0,tk),tT=ev.slice(tx+1),tI=[].concat((0,C.Z)(tR),(0,C.Z)(tT)),tS=(0,l.useState)(),tM=(0,b.Z)(tS,2),tB=tM[0],tO=tM[1],tL=tr.get(ey),tA=(0,l.useRef)();function tD(){N.Z.cancel(tA.current)}(0,l.useEffect)(function(){var e={};return tL&&(eK?(eZ?e.right=tL.right:e.left=tL.left,e.width=tL.width):(e.top=tL.top,e.height=tL.height)),tD(),tA.current=(0,N.Z)(function(){tO(e)}),tD},[tL,eK,eZ]),(0,l.useEffect)(function(){tw()},[ey,K(tL),K(tr),eK]),(0,l.useEffect)(function(){tP()},[eZ]);var tj=!!tI.length,tK="".concat(ed,"-nav-wrap");return eK?eZ?(el=e_>0,ei=e_+to0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,i.Z)({inkBar:!0},"object"===(0,p.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(C),G=(0,l.useState)(!1),Y=(0,b.Z)(G,2),J=Y[0],U=Y[1];(0,l.useEffect)(function(){U((0,y.Z)())},[]);var Q=(0,Z.Z)(function(){var e;return null===(e=_[0])||void 0===e?void 0:e.key},{value:g,defaultValue:k}),$=(0,b.Z)(Q,2),ee=$[0],et=$[1],en=(0,l.useState)(function(){return _.findIndex(function(e){return e.key===ee})}),ea=(0,b.Z)(en,2),er=ea[0],eo=ea[1];(0,l.useEffect)(function(){var e,t=_.findIndex(function(e){return e.key===ee});-1===t&&et(null===(e=_[t=Math.max(0,Math.min(er,_.length-1))])||void 0===e?void 0:e.key),eo(t)},[_.map(function(e){return e.key}).join("_"),ee,er]);var ec=(0,Z.Z)(null,{value:c}),ei=(0,b.Z)(ec,2),el=ei[0],eu=ei[1];(0,l.useEffect)(function(){c||(eu("rc-tabs-".concat(X)),X+=1)},[]);var es={id:el,activeKey:ee,animated:z,tabPosition:P,rtl:V,mobile:J},ef=(0,i.Z)((0,i.Z)({},es),{},{editable:x,locale:S,moreIcon:M,moreTransitionName:B,tabBarGutter:R,onTabClick:function(e,t){null==D||D(e,t),et(e),e!==ee&&(null==A||A(e))},onTabScroll:j,extra:I,style:T,panes:null,getPopupContainer:K,popupClassName:q});return l.createElement(E.Provider,{value:{tabs:_,prefixCls:s}},l.createElement("div",(0,r.Z)({ref:t,id:c,className:m()(s,"".concat(s,"-").concat(P),(n={},(0,a.Z)(n,"".concat(s,"-mobile"),J),(0,a.Z)(n,"".concat(s,"-editable"),x),(0,a.Z)(n,"".concat(s,"-rtl"),V),n),f)},W),o,l.createElement(F,(0,r.Z)({},ef,{renderTabBar:L})),l.createElement(w,(0,r.Z)({destroyInactiveTabPane:O},es,{animated:z}))))}),J=n(53124),U=n(97647),Q=n(33603),$={motionAppear:!1,motionEnter:!0,motionLeave:!0},ee=n(50344),et=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n},en=function(){return null},ea=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};function er(e){var t,n=e.type,i=e.className,u=e.size,s=e.onEdit,f=e.hideAdd,v=e.centered,b=e.addIcon,h=e.children,y=e.items,Z=e.animated,g=ea(e,["type","className","size","onEdit","hideAdd","centered","addIcon","children","items","animated"]),E=g.prefixCls,k=g.moreIcon,x=void 0===k?l.createElement(c.Z,null):k,w=l.useContext(J.E_),C=w.getPrefixCls,N=w.direction,P=C("tabs",E);"editable-card"===n&&(t={onEdit:function(e,t){var n=t.key,a=t.event;null==s||s("add"===e?a:n,e)},removeIcon:l.createElement(o.Z,null),addIcon:b||l.createElement(d,null),showAdd:!0!==f});var R=C(),T=y||(0,ee.Z)(h).map(function(e){if(l.isValidElement(e)){var t=e.key,n=e.props||{},a=n.tab,o=et(n,["tab"]);return(0,r.Z)((0,r.Z)({key:String(t)},o),{label:a})}return null}).filter(function(e){return e}),I=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:(0,r.Z)({inkBar:!0},"object"===(0,p.Z)(n)?n:{})).tabPane&&(t.tabPaneMotion=(0,r.Z)((0,r.Z)({},$),{motionName:(0,Q.mL)(e,"switch")})),t}(P,Z);return l.createElement(U.Z.Consumer,null,function(e){var o,c=void 0!==u?u:e;return l.createElement(Y,(0,r.Z)({direction:N,moreTransitionName:"".concat(R,"-slide-up")},g,{items:T,className:m()((o={},(0,a.Z)(o,"".concat(P,"-").concat(c),c),(0,a.Z)(o,"".concat(P,"-card"),["card","editable-card"].includes(n)),(0,a.Z)(o,"".concat(P,"-editable-card"),"editable-card"===n),(0,a.Z)(o,"".concat(P,"-centered"),v),o),i),editable:t,moreIcon:x,prefixCls:P,animated:I}))})}er.TabPane=en;var eo=er}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4381-ff441df8dbf283c8.js b/static/web/_next/static/chunks/4381-ff441df8dbf283c8.js deleted file mode 100644 index 5712a91ea..000000000 --- a/static/web/_next/static/chunks/4381-ff441df8dbf283c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4381],{84381:function(e,t,n){n.d(t,{Z:function(){return fe}});var a=n(4942),r=n(87462),o=n(97937),i=n(89705),c=n(1413),l=n(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},s=n(42135),f=function(e,t){return l.createElement(s.Z,(0,c.Z)((0,c.Z)({},e),{},{ref:t,icon:u}))};f.displayName="PlusOutlined";var d=l.forwardRef(f),v=n(94184),m=n.n(v),b=n(97685),p=n(71002),h=n(45987),y=n(31131),Z=n(21770),g=n(62874),E=(0,l.createContext)(null);var k=l.forwardRef((function(e,t){var n=e.prefixCls,a=e.className,r=e.style,o=e.id,i=e.active,c=e.tabKey,u=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(c),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(c),"aria-hidden":!i,style:r,className:m()(n,i&&"".concat(n,"-active"),a),ref:t},u)})),x=["key","forceRender","style","className"];function w(e){var t=e.id,n=e.activeKey,o=e.animated,i=e.tabPosition,u=e.destroyInactiveTabPane,s=l.useContext(E),f=s.prefixCls,d=s.tabs,v=o.tabPane,b="".concat(f,"-tabpane");return l.createElement("div",{className:m()("".concat(f,"-content-holder"))},l.createElement("div",{className:m()("".concat(f,"-content"),"".concat(f,"-content-").concat(i),(0,a.Z)({},"".concat(f,"-content-animated"),v))},d.map((function(e){var a=e.key,i=e.forceRender,s=e.style,f=e.className,d=(0,h.Z)(e,x),p=a===n;return l.createElement(g.Z,(0,r.Z)({key:a,visible:p,forceRender:i,removeOnLeave:!!u,leavedClassName:"".concat(b,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,i=e.className;return l.createElement(k,(0,r.Z)({},d,{prefixCls:b,id:t,tabKey:a,animated:v,active:p,style:(0,c.Z)((0,c.Z)({},s),o),className:m()(f,i),ref:n}))}))}))))}var C=n(74902),N=n(75164),P=n(42550),R=n(48555);function T(e){var t=(0,l.useRef)(),n=(0,l.useRef)(!1);return(0,l.useEffect)((function(){return n.current=!1,function(){n.current=!0,N.Z.cancel(t.current)}}),[]),function(){for(var a=arguments.length,r=new Array(a),o=0;ot?"left":"right"})})),ne=(0,b.Z)(te,2),ae=ne[0],re=ne[1],oe=_(0,(function(e,t){!ee&&S&&S({direction:e>t?"top":"bottom"})})),ie=(0,b.Z)(oe,2),ce=ie[0],le=ie[1],ue=(0,l.useState)([0,0]),se=(0,b.Z)(ue,2),fe=se[0],de=se[1],ve=(0,l.useState)([0,0]),me=(0,b.Z)(ve,2),be=me[0],pe=me[1],he=(0,l.useState)([0,0]),ye=(0,b.Z)(he,2),Ze=ye[0],ge=ye[1],Ee=(0,l.useState)([0,0]),ke=(0,b.Z)(Ee,2),xe=ke[0],we=ke[1],Ce=function(e){var t=(0,l.useRef)([]),n=(0,l.useState)({}),a=(0,b.Z)(n,2)[1],r=(0,l.useRef)("function"===typeof e?e():e),o=T((function(){var e=r.current;t.current.forEach((function(t){e=t(e)})),t.current=[],r.current=e,a({})}));return[r.current,function(e){t.current.push(e),o()}]}(new Map),Ne=(0,b.Z)(Ce,2),Pe=Ne[0],Re=Ne[1],Te=function(e,t,n){return(0,l.useMemo)((function(){for(var n,a=new Map,r=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||B,o=r.left+r.width,i=0;iDe?De:e}ee&&h?(Ae=0,De=Math.max(0,Se-Oe)):(Ae=Math.min(0,Oe-Se),De=0);var Ke=(0,l.useRef)(),qe=(0,l.useState)(),We=(0,b.Z)(qe,2),_e=We[0],Ve=We[1];function ze(){Ve(Date.now())}function Ge(){window.clearTimeout(Ke.current)}!function(e,t){var n=(0,l.useState)(),a=(0,b.Z)(n,2),r=a[0],o=a[1],i=(0,l.useState)(0),c=(0,b.Z)(i,2),u=c[0],s=c[1],f=(0,l.useState)(0),d=(0,b.Z)(f,2),v=d[0],m=d[1],p=(0,l.useState)(),h=(0,b.Z)(p,2),y=h[0],Z=h[1],g=(0,l.useRef)(),E=(0,l.useRef)(),k=(0,l.useRef)(null);k.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,a=t.screenY;o({x:n,y:a}),window.clearInterval(g.current)},onTouchMove:function(e){if(r){e.preventDefault();var n=e.touches[0],a=n.screenX,i=n.screenY;o({x:a,y:i});var c=a-r.x,l=i-r.y;t(c,l);var f=Date.now();s(f),m(f-u),Z({x:c,y:l})}},onTouchEnd:function(){if(r&&(o(null),Z(null),y)){var e=y.x/v,n=y.y/v,a=Math.abs(e),i=Math.abs(n);if(Math.max(a,i)<.1)return;var c=e,l=n;g.current=window.setInterval((function(){Math.abs(c)<.01&&Math.abs(l)<.01?window.clearInterval(g.current):t(20*(c*=W),20*(l*=W))}),20)}},onWheel:function(e){var n=e.deltaX,a=e.deltaY,r=0,o=Math.abs(n),i=Math.abs(a);o===i?r="x"===E.current?n:a:o>i?(r=n,E.current="x"):(r=a,E.current="y"),t(-r,-r)&&e.preventDefault()}},l.useEffect((function(){function t(e){k.current.onTouchMove(e)}function n(e){k.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){k.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){k.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(K,(function(e,t){function n(e,t){e((function(e){return je(e+t)}))}return!(Ie>=Se)&&(ee?n(re,e):n(le,t),Ge(),ze(),!0)})),(0,l.useEffect)((function(){return Ge(),_e&&(Ke.current=window.setTimeout((function(){Ve(0)}),100)),Ge}),[_e]);var Fe=function(e,t,n,a,r,o,i){var c,u,s,f=i.tabs,d=i.tabPosition,v=i.rtl;return["top","bottom"].includes(d)?(c="width",u=v?"right":"left",s=Math.abs(n)):(c="height",u="top",s=-n),(0,l.useMemo)((function(){if(!f.length)return[0,0];for(var n=f.length,a=n,r=0;rs+t){a=r-1;break}}for(var i=0,l=n-1;l>=0;l-=1)if((e.get(f[l].key)||O)[u]0&&void 0!==arguments[0]?arguments[0]:p,t=Te.get(e)||{width:0,height:0,left:0,right:0,top:0};if(ee){var n=ae;h?t.rightae+Oe&&(n=t.right+t.width-Oe):t.left<-ae?n=-t.left:t.left+t.width>-ae+Oe&&(n=-(t.left+t.width-Oe)),le(0),re(je(n))}else{var a=ce;t.top<-ce?a=-t.top:t.top+t.height>-ce+Oe&&(a=-(t.top+t.height-Oe)),re(0),le(je(a))}},Ue={};"top"===k||"bottom"===k?Ue[h?"marginRight":"marginLeft"]=x:Ue.marginTop=x;var Qe=u.map((function(e,t){var n=e.key;return l.createElement(M,{id:d,prefixCls:i,key:n,tab:e,style:0===t?void 0:Ue,closable:e.closable,editable:Z,active:n===p,renderWrapper:w,removeAriaLabel:null===g||void 0===g?void 0:g.removeAriaLabel,ref:Q(n),onClick:function(e){I(n,e)},onRemove:function(){$(n)},onFocus:function(){Je(n),ze(),K.current&&(h||(K.current.scrollLeft=0),K.current.scrollTop=0)}})})),$e=T((function(){var e=G(L),t=G(A),n=G(D);de([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=G(Y);ge(a);var r=G(X);we(r);var o=G(H);pe([o[0]-a[0],o[1]-a[1]]),Re((function(){var e=new Map;return u.forEach((function(t){var n=t.key,a=Q(n).current;a&&e.set(n,{width:a.offsetWidth,height:a.offsetHeight,left:a.offsetLeft,top:a.offsetTop})})),e}))})),et=u.slice(0,Xe),tt=u.slice(Ye+1),nt=[].concat((0,C.Z)(et),(0,C.Z)(tt)),at=(0,l.useState)(),rt=(0,b.Z)(at,2),ot=rt[0],it=rt[1],ct=Te.get(p),lt=(0,l.useRef)();function ut(){N.Z.cancel(lt.current)}(0,l.useEffect)((function(){var e={};return ct&&(ee?(h?e.right=ct.right:e.left=ct.left,e.width=ct.width):(e.top=ct.top,e.height=ct.height)),ut(),lt.current=(0,N.Z)((function(){it(e)})),ut}),[ct,ee,h]),(0,l.useEffect)((function(){Je()}),[p,V(ct),V(Te),ee]),(0,l.useEffect)((function(){$e()}),[h]);var st,ft,dt,vt,mt=!!nt.length,bt="".concat(i,"-nav-wrap");return ee?h?(ft=ae>0,st=ae+Ie0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,c.Z)({inkBar:!0},"object"===(0,p.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(x),z=(0,l.useState)(!1),G=(0,b.Z)(z,2),F=G[0],H=G[1];(0,l.useEffect)((function(){H((0,y.Z)())}),[]);var X=(0,Z.Z)((function(){var e;return null===(e=W[0])||void 0===e?void 0:e.key}),{value:v,defaultValue:g}),Y=(0,b.Z)(X,2),J=Y[0],ee=Y[1],te=(0,l.useState)((function(){return W.findIndex((function(e){return e.key===J}))})),ne=(0,b.Z)(te,2),ae=ne[0],re=ne[1];(0,l.useEffect)((function(){var e,t=W.findIndex((function(e){return e.key===J}));-1===t&&(t=Math.max(0,Math.min(ae,W.length-1)),ee(null===(e=W[t])||void 0===e?void 0:e.key));re(t)}),[W.map((function(e){return e.key})).join("_"),J,ae]);var oe=(0,Z.Z)(null,{value:o}),ie=(0,b.Z)(oe,2),ce=ie[0],le=ie[1];(0,l.useEffect)((function(){o||(le("rc-tabs-".concat($)),$+=1)}),[]);var ue={id:ce,activeKey:J,animated:V,tabPosition:N,rtl:_,mobile:F},se=(0,c.Z)((0,c.Z)({},ue),{},{editable:k,locale:I,moreIcon:S,moreTransitionName:M,tabBarGutter:P,onTabClick:function(e,t){null===A||void 0===A||A(e,t);var n=e!==J;ee(e),n&&(null===L||void 0===L||L(e))},onTabScroll:D,extra:T,style:R,panes:null,getPopupContainer:j,popupClassName:K});return l.createElement(E.Provider,{value:{tabs:W,prefixCls:u}},l.createElement("div",(0,r.Z)({ref:t,id:o,className:m()(u,"".concat(u,"-").concat(N),(n={},(0,a.Z)(n,"".concat(u,"-mobile"),F),(0,a.Z)(n,"".concat(u,"-editable"),k),(0,a.Z)(n,"".concat(u,"-rtl"),_),n),s)},q),undefined,l.createElement(U,(0,r.Z)({},se,{renderTabBar:O})),l.createElement(w,(0,r.Z)({destroyInactiveTabPane:B},ue,{animated:V}))))}var te=l.forwardRef(ee),ne=n(53124),ae=n(97647),re=n(33603),oe={motionAppear:!1,motionEnter:!0,motionLeave:!0};var ie=n(50344),ce=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:(0,r.Z)({inkBar:!0},"object"===(0,p.Z)(n)?n:{})).tabPane&&(t.tabPaneMotion=(0,r.Z)((0,r.Z)({},oe),{motionName:(0,re.mL)(e,"switch")})),t}(P,Z);return l.createElement(ae.Z.Consumer,null,(function(e){var o,i=void 0!==u?u:e;return l.createElement(te,(0,r.Z)({direction:N,moreTransitionName:"".concat(R,"-slide-up")},g,{items:T,className:m()((o={},(0,a.Z)(o,"".concat(P,"-").concat(i),i),(0,a.Z)(o,"".concat(P,"-card"),["card","editable-card"].includes(n)),(0,a.Z)(o,"".concat(P,"-editable-card"),"editable-card"===n),(0,a.Z)(o,"".concat(P,"-centered"),v),o),c),editable:t,moreIcon:x,prefixCls:P,animated:I}))}))}se.TabPane=le;var fe=se}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4439.7f32805042ce478e.js b/static/web/_next/static/chunks/4439.7f32805042ce478e.js new file mode 100644 index 000000000..4001b55c4 --- /dev/null +++ b/static/web/_next/static/chunks/4439.7f32805042ce478e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4439],{24439:function(e,t,n){function r(e){for(var t={},n=0,r=e.length;n-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}a="\\"==t}return e.backUp(e.pos-n),i}(e)?"operator":c(p(o,"string.special",!0),e,t);if("%"==o){var u="string",l=!0;e.eat("s")?u="atom":e.eat(/[WQ]/)?u="string":e.eat(/[r]/)?u="string.special":e.eat(/[wxq]/)&&(u="string",l=!1);var s=e.eat(/[^\w\s=]/);return s?(f.propertyIsEnumerable(s)&&(s=f[s]),c(p(s,u,l,!0),e,t)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(a=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return c((n=a[2],r=a[1],function(e,t){return r&&e.eatSpace(),e.match(n)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";else if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}else{if(":"==o)return e.eat("'")?c(p("'","atom",!1),e,t):e.eat('"')?c(p('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return(e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":"))?"atom":"variable";if("|"==o&&(t.varList||"{"==t.lastTok||"do"==t.lastTok))return i="|",null;if(/[\(\)\[\]{}\\;]/.test(o))return i=o,null;if("-"==o&&e.eat(">"))return"operator";if(!/[=+\-\/*:\.^%<>~|]/.test(o))return null;var d=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||d||(i="."),"operator"}}function p(e,t,n,r){return function(i,a){var o,u=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,i.eat("}"));null!=(o=i.next());){if(o==e&&(r||!u)){a.tokenize.pop();break}if(n&&"#"==o&&!u){if(i.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(function e(t){return t||(t=1),function(n,r){if("}"==n.peek()){if(1==t)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](n,r);r.tokenize[r.tokenize.length-1]=e(t-1)}else"{"==n.peek()&&(r.tokenize[r.tokenize.length-1]=e(t+1));return d(n,r)}}());break}if(/[@\$]/.test(i.peek())){a.tokenize.push(function(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,d(t,n))}}());break}}u=!u&&"\\"==o}return t}}function k(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}let h={name:"ruby",startState:function(e){return{tokenize:[d],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){i=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),a=i;if("variable"==r){var f=e.current();"keyword"==(r="."==t.lastTok?"property":o.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(f)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(a=f,u.propertyIsEnumerable(f)?n="indent":l.propertyIsEnumerable(f)?n="dedent":("if"==f||"unless"==f)&&e.column()==e.indentation()?n="indent":"do"==f&&t.context.indented-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}a="\\"==t}return e.backUp(e.pos-n),i}(e)?c(h(o,"string.special",!0),e,t):"operator";if("%"==o){var u="string",l=!0;e.eat("s")?u="atom":e.eat(/[WQ]/)?u="string":e.eat(/[r]/)?u="string.special":e.eat(/[wxq]/)&&(u="string",l=!1);var s=e.eat(/[^\w\s=]/);return s?(f.propertyIsEnumerable(s)&&(s=f[s]),c(h(s,u,l,!0),e,t)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(n=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return c((r=n[2],a=n[1],function(e,t){return a&&e.eatSpace(),e.match(r)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?c(h("'","atom",!1),e,t):e.eat('"')?c(h('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if("|"!=o||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return i=o,null;if("-"==o&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var d=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||d||(i="."),"operator"}return null}return i="|",null}function p(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=p(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=p(e+1));return d(t,n)}}function k(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,d(t,n))}}function h(e,t,n,r){return function(i,a){var o,u=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,i.eat("}"));null!=(o=i.next());){if(o==e&&(r||!u)){a.tokenize.pop();break}if(n&&"#"==o&&!u){if(i.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(p());break}if(/[@\$]/.test(i.peek())){a.tokenize.push(k());break}}u=!u&&"\\"==o}return t}}function m(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}const x={name:"ruby",startState:function(e){return{tokenize:[d],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){i=null,e.sol()&&(t.indented=e.indentation());var n,r=t.tokenize[t.tokenize.length-1](e,t),a=i;if("variable"==r){var f=e.current();"keyword"==(r="."==t.lastTok?"property":o.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(f)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(a=f,u.propertyIsEnumerable(f)?n="indent":l.propertyIsEnumerable(f)?n="dedent":"if"!=f&&"unless"!=f||e.column()!=e.indentation()?"do"==f&&t.context.indented$/,h=/^$/,s=/^\{\{\{$/,d=/^\}\}\}$/,p=/.*?\}\}\}/;function b(e,t,r){return t.tokenize=r,r(e,t)}function $(e,t){var r=e.sol(),i=e.peek();if(t.block=!1,r&&/[<\/\*{}\-]/.test(i)){if(e.match(s))return t.block=!0,b(e,t,w);if(e.match(c))return"quote";if(e.match(o)||e.match(f))return"comment";if(e.match(l)||e.match(m)||e.match(k)||e.match(h))return"comment";if(e.match(u))return"contentSeparator"}if(e.next(),r&&/[\/\*!#;:>|]/.test(i)){if("!"==i)return e.skipToEnd(),"header";if("*"==i)return e.eatWhile("*"),"comment";if("#"==i)return e.eatWhile("#"),"comment";if(";"==i)return e.eatWhile(";"),"comment";if(":"==i)return e.eatWhile(":"),"comment";if(">"==i)return e.eatWhile(">"),"quote";if("|"==i)return"header"}if("{"==i&&e.match("{{"))return b(e,t,w);if(/[hf]/i.test(i)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==i)return"string";if("~"==i)return"brace";if(/[\[\]]/.test(i)&&e.match(i))return"brace";if("@"==i)return e.eatWhile(a),"link";if(/\d/.test(i))return e.eatWhile(/\d/),"number";if("/"==i){if(e.eat("%"))return b(e,t,_);if(e.eat("/"))return b(e,t,z)}if("_"==i&&e.eat("_"))return b(e,t,W);if("-"==i&&e.eat("-")){if(" "!=e.peek())return b(e,t,g);if(" "==e.peek())return"brace"}return"'"==i&&e.eat("'")?b(e,t,v):"<"==i&&e.eat("<")?b(e,t,x):(e.eatWhile(/[\w\$_]/),n.propertyIsEnumerable(e.current())?"keyword":null)}function _(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=$;break}n="%"==r}return"comment"}function v(e,t){for(var r,n=!1;r=e.next();){if("'"==r&&n){t.tokenize=$;break}n="'"==r}return"strong"}function w(e,t){var r=t.block;return r&&e.current()?"comment":!r&&e.match(p)||r&&e.sol()&&e.match(d)?(t.tokenize=$,"comment"):(e.next(),"comment")}function z(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=$;break}n="/"==r}return"emphasis"}function W(e,t){for(var r,n=!1;r=e.next();){if("_"==r&&n){t.tokenize=$;break}n="_"==r}return"link"}function g(e,t){for(var r,n=!1;r=e.next();){if("-"==r&&n){t.tokenize=$;break}n="-"==r}return"deleted"}function x(e,t){if("<<"==e.current())return"meta";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),t.tokenize=$,"meta"):(e.eatWhile(/[\w\$_]/),i.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=$,null)}const y={name:"tiddlywiki",startState:function(){return{tokenize:$}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4511.dbd0c0aaa63f1ec9.js b/static/web/_next/static/chunks/4511.dbd0c0aaa63f1ec9.js new file mode 100644 index 000000000..2d2de5212 --- /dev/null +++ b/static/web/_next/static/chunks/4511.dbd0c0aaa63f1ec9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4511],{34511:function(e,t,r){r.r(t),r.d(t,{tiddlyWiki:function(){return y}});var n={},i={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},a=/[\w_\-]/i,u=/^\-\-\-\-+$/,o=/^\/\*\*\*$/,f=/^\*\*\*\/$/,c=/^<<<$/,l=/^\/\/\{\{\{$/,m=/^\/\/\}\}\}$/,k=/^$/,h=/^$/,s=/^\{\{\{$/,d=/^\}\}\}$/,p=/.*?\}\}\}/;function b(e,t,r){return t.tokenize=r,r(e,t)}function $(e,t){var r=e.sol(),i=e.peek();if(t.block=!1,r&&/[<\/\*{}\-]/.test(i)){if(e.match(s))return t.block=!0,b(e,t,w);if(e.match(c))return"quote";if(e.match(o)||e.match(f)||e.match(l)||e.match(m)||e.match(k)||e.match(h))return"comment";if(e.match(u))return"contentSeparator"}if(e.next(),r&&/[\/\*!#;:>|]/.test(i)){if("!"==i)return e.skipToEnd(),"header";if("*"==i)return e.eatWhile("*"),"comment";if("#"==i)return e.eatWhile("#"),"comment";if(";"==i)return e.eatWhile(";"),"comment";if(":"==i)return e.eatWhile(":"),"comment";if(">"==i)return e.eatWhile(">"),"quote";if("|"==i)return"header"}if("{"==i&&e.match("{{"))return b(e,t,w);if(/[hf]/i.test(i)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==i)return"string";if("~"==i||/[\[\]]/.test(i)&&e.match(i))return"brace";if("@"==i)return e.eatWhile(a),"link";if(/\d/.test(i))return e.eatWhile(/\d/),"number";if("/"==i){if(e.eat("%"))return b(e,t,_);if(e.eat("/"))return b(e,t,z)}if("_"==i&&e.eat("_"))return b(e,t,W);if("-"==i&&e.eat("-")){if(" "!=e.peek())return b(e,t,g);if(" "==e.peek())return"brace"}return"'"==i&&e.eat("'")?b(e,t,v):"<"==i&&e.eat("<")?b(e,t,x):(e.eatWhile(/[\w\$_]/),n.propertyIsEnumerable(e.current())?"keyword":null)}function _(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=$;break}n="%"==r}return"comment"}function v(e,t){for(var r,n=!1;r=e.next();){if("'"==r&&n){t.tokenize=$;break}n="'"==r}return"strong"}function w(e,t){var r=t.block;return r&&e.current()?"comment":!r&&e.match(p)||r&&e.sol()&&e.match(d)?(t.tokenize=$,"comment"):(e.next(),"comment")}function z(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=$;break}n="/"==r}return"emphasis"}function W(e,t){for(var r,n=!1;r=e.next();){if("_"==r&&n){t.tokenize=$;break}n="_"==r}return"link"}function g(e,t){for(var r,n=!1;r=e.next();){if("-"==r&&n){t.tokenize=$;break}n="-"==r}return"deleted"}function x(e,t){if("<<"==e.current())return"meta";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),t.tokenize=$,"meta"):(e.eatWhile(/[\w\$_]/),i.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=$,null)}let y={name:"tiddlywiki",startState:function(){return{tokenize:$}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4732.1ec9e8c8a649ebf1.js b/static/web/_next/static/chunks/4732.1ec9e8c8a649ebf1.js deleted file mode 100644 index 319dcde3c..000000000 --- a/static/web/_next/static/chunks/4732.1ec9e8c8a649ebf1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4732],{44732:function(O,e,r){r.r(e),r.d(e,{json:function(){return i},jsonLanguage:function(){return Q},jsonParseLinter:function(){return o}});var t=r(53105),n=r(35524);const a=(0,n.Gv)({String:n.pJ.string,Number:n.pJ.number,"True False":n.pJ.bool,PropertyName:n.pJ.propertyName,Null:n.pJ.null,",":n.pJ.separator,"[ ]":n.pJ.squareBracket,"{ }":n.pJ.brace}),P=t.WQ.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26a0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[a],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var s=r(59119);const o=()=>O=>{try{JSON.parse(O.state.doc.toString())}catch(e){if(!(e instanceof SyntaxError))throw e;const r=function(O,e){let r;return(r=O.message.match(/at position (\d+)/))?Math.min(+r[1],e.length):(r=O.message.match(/at line (\d+) column (\d+)/))?Math.min(e.line(+r[1]).from+ +r[2]-1,e.length):0}(e,O.state.doc);return[{from:r,message:e.message,severity:"error",to:r}]}return[]};const Q=s.qp.define({name:"json",parser:P.configure({props:[s.uj.add({Object:(0,s.tC)({except:/^\s*\}/}),Array:(0,s.tC)({except:/^\s*\]/})}),s.x0.add({"Object Array":s.Dv})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function i(){return new s.ri(Q)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4732.fbcbca870e2812a4.js b/static/web/_next/static/chunks/4732.fbcbca870e2812a4.js new file mode 100644 index 000000000..0085adef0 --- /dev/null +++ b/static/web/_next/static/chunks/4732.fbcbca870e2812a4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4732],{44732:function(O,e,r){r.r(e),r.d(e,{json:function(){return i},jsonLanguage:function(){return o},jsonParseLinter:function(){return Q}});var t=r(53105),a=r(35524);let n=(0,a.Gv)({String:a.pJ.string,Number:a.pJ.number,"True False":a.pJ.bool,PropertyName:a.pJ.propertyName,Null:a.pJ.null,",":a.pJ.separator,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace}),P=t.WQ.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[n],skippedNodes:[0],repeatNodeCount:2,tokenData:"(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});var s=r(59119);let Q=()=>O=>{try{JSON.parse(O.state.doc.toString())}catch(a){var e;let r;if(!(a instanceof SyntaxError))throw a;let t=(e=O.state.doc,(r=a.message.match(/at position (\d+)/))?Math.min(+r[1],e.length):(r=a.message.match(/at line (\d+) column (\d+)/))?Math.min(e.line(+r[1]).from+ +r[2]-1,e.length):0);return[{from:t,message:a.message,severity:"error",to:t}]}return[]},o=s.qp.define({name:"json",parser:P.configure({props:[s.uj.add({Object:(0,s.tC)({except:/^\s*\}/}),Array:(0,s.tC)({except:/^\s*\]/})}),s.x0.add({"Object Array":s.Dv})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function i(){return new s.ri(o)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4761.c9846d9e3de083c5.js b/static/web/_next/static/chunks/4761.c9846d9e3de083c5.js new file mode 100644 index 000000000..076ee9900 --- /dev/null +++ b/static/web/_next/static/chunks/4761.c9846d9e3de083c5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4761],{26303:function(e,t,a){"use strict";a.d(t,{Z:function(){return k}});var n=a(4942),c=a(87462),l=a(71002),r=a(94184),s=a.n(r),i=a(67294),o=a(53124),m=a(98423),d=function(e){var t,a,l=e.prefixCls,r=e.className,o=e.style,m=e.size,d=e.shape,u=s()((t={},(0,n.Z)(t,"".concat(l,"-lg"),"large"===m),(0,n.Z)(t,"".concat(l,"-sm"),"small"===m),t)),v=s()((a={},(0,n.Z)(a,"".concat(l,"-circle"),"circle"===d),(0,n.Z)(a,"".concat(l,"-square"),"square"===d),(0,n.Z)(a,"".concat(l,"-round"),"round"===d),a)),f=i.useMemo(function(){return"number"==typeof m?{width:m,height:m,lineHeight:"".concat(m,"px")}:{}},[m]);return i.createElement("span",{className:s()(l,u,v,r),style:(0,c.Z)((0,c.Z)({},f),o)})},u=function(e){var t=e.prefixCls,a=e.className,l=e.active,r=e.shape,u=e.size,v=(0,i.useContext(o.E_).getPrefixCls)("skeleton",t),f=(0,m.Z)(e,["prefixCls","className"]),p=s()(v,"".concat(v,"-element"),(0,n.Z)({},"".concat(v,"-active"),l),a);return i.createElement("div",{className:p},i.createElement(d,(0,c.Z)({prefixCls:"".concat(v,"-avatar"),shape:void 0===r?"circle":r,size:void 0===u?"default":u},f)))},v=function(e){var t,a=e.prefixCls,l=e.className,r=e.active,u=e.block,v=e.size,f=(0,i.useContext(o.E_).getPrefixCls)("skeleton",a),p=(0,m.Z)(e,["prefixCls"]),h=s()(f,"".concat(f,"-element"),(t={},(0,n.Z)(t,"".concat(f,"-active"),r),(0,n.Z)(t,"".concat(f,"-block"),void 0!==u&&u),t),l);return i.createElement("div",{className:h},i.createElement(d,(0,c.Z)({prefixCls:"".concat(f,"-button"),size:void 0===v?"default":v},p)))},f=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},h=a(42135),x=function(e,t){return i.createElement(h.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:t,icon:p}))};x.displayName="DotChartOutlined";var Z=i.forwardRef(x),N=function(e){var t=e.prefixCls,a=e.className,c=e.style,l=e.active,r=e.children,m=(0,i.useContext(o.E_).getPrefixCls)("skeleton",t),d=s()(m,"".concat(m,"-element"),(0,n.Z)({},"".concat(m,"-active"),l),a),u=null!=r?r:i.createElement(Z,null);return i.createElement("div",{className:d},i.createElement("div",{className:s()("".concat(m,"-image"),a),style:c},u))},g=function(e){var t=e.prefixCls,a=e.className,c=e.style,l=e.active,r=(0,i.useContext(o.E_).getPrefixCls)("skeleton",t),m=s()(r,"".concat(r,"-element"),(0,n.Z)({},"".concat(r,"-active"),l),a);return i.createElement("div",{className:m},i.createElement("div",{className:s()("".concat(r,"-image"),a),style:c},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(r,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(r,"-image-path")}))))},C=function(e){var t,a=e.prefixCls,l=e.className,r=e.active,u=e.block,v=e.size,f=(0,i.useContext(o.E_).getPrefixCls)("skeleton",a),p=(0,m.Z)(e,["prefixCls"]),h=s()(f,"".concat(f,"-element"),(t={},(0,n.Z)(t,"".concat(f,"-active"),r),(0,n.Z)(t,"".concat(f,"-block"),u),t),l);return i.createElement("div",{className:h},i.createElement(d,(0,c.Z)({prefixCls:"".concat(f,"-input"),size:void 0===v?"default":v},p)))},E=a(74902),y=function(e){var t=function(t){var a=e.width,n=e.rows;return Array.isArray(a)?a[t]:(void 0===n?2:n)-1===t?a:void 0},a=e.prefixCls,n=e.className,c=e.style,l=e.rows,r=(0,E.Z)(Array(l)).map(function(e,a){return i.createElement("li",{key:a,style:{width:t(a)}})});return i.createElement("ul",{className:s()(a,n),style:c},r)},w=function(e){var t=e.prefixCls,a=e.className,n=e.width,l=e.style;return i.createElement("h3",{className:s()(t,a),style:(0,c.Z)({width:n},l)})};function b(e){return e&&"object"===(0,l.Z)(e)?e:{}}var z=function(e){var t=e.prefixCls,a=e.loading,l=e.className,r=e.style,m=e.children,u=e.avatar,v=void 0!==u&&u,f=e.title,p=void 0===f||f,h=e.paragraph,x=void 0===h||h,Z=e.active,N=e.round,g=i.useContext(o.E_),C=g.getPrefixCls,E=g.direction,z=C("skeleton",t);if(a||!("loading"in e)){var k=!!v,_=!!p,P=!!x;if(k){var O=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-avatar")},_&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),b(v));q=i.createElement("div",{className:"".concat(z,"-header")},i.createElement(d,(0,c.Z)({},O)))}if(_||P){if(_){var j,q,M,S,I,A=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-title")},!k&&P?{width:"38%"}:k&&P?{width:"50%"}:{}),b(p));S=i.createElement(w,(0,c.Z)({},A))}if(P){var B,H=(0,c.Z)((0,c.Z)({prefixCls:"".concat(z,"-paragraph")},(B={},k&&_||(B.width="61%"),!k&&_?B.rows=3:B.rows=2,B)),b(x));I=i.createElement(y,(0,c.Z)({},H))}M=i.createElement("div",{className:"".concat(z,"-content")},S,I)}var D=s()(z,(j={},(0,n.Z)(j,"".concat(z,"-with-avatar"),k),(0,n.Z)(j,"".concat(z,"-active"),Z),(0,n.Z)(j,"".concat(z,"-rtl"),"rtl"===E),(0,n.Z)(j,"".concat(z,"-round"),N),j),l);return i.createElement("div",{className:D,style:r},q,M)}return void 0!==m?m:null};z.Button=v,z.Avatar=u,z.Input=C,z.Image=g,z.Node=N;var k=z},11382:function(e,t,a){"use strict";var n=a(87462),c=a(4942),l=a(97685),r=a(94184),s=a.n(r),i=a(23279),o=a.n(i),m=a(98423),d=a(67294),u=a(53124),v=a(96159),f=a(93355),p=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var c=0,n=Object.getOwnPropertySymbols(e);ct.indexOf(n[c])&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(a[n[c]]=e[n[c]]);return a};(0,f.b)("small","default","large");var h=null,x=function(e){var t=e.spinPrefixCls,a=e.spinning,r=void 0===a||a,i=e.delay,f=e.className,x=e.size,Z=void 0===x?"default":x,N=e.tip,g=e.wrapperClassName,C=e.style,E=e.children,y=p(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),w=d.useState(function(){return r&&(!r||!i||!!isNaN(Number(i)))}),b=(0,l.Z)(w,2),z=b[0],k=b[1];d.useEffect(function(){var e=o()(function(){k(r)},i);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[i,r]);var _=function(a){var l,r,i,o=a.direction,u=s()(t,(i={},(0,c.Z)(i,"".concat(t,"-sm"),"small"===Z),(0,c.Z)(i,"".concat(t,"-lg"),"large"===Z),(0,c.Z)(i,"".concat(t,"-spinning"),z),(0,c.Z)(i,"".concat(t,"-show-text"),!!N),(0,c.Z)(i,"".concat(t,"-rtl"),"rtl"===o),i),f),p=(0,m.Z)(y,["indicator","prefixCls"]),x=d.createElement("div",(0,n.Z)({},p,{style:C,className:u,"aria-live":"polite","aria-busy":z}),(l=e.indicator,r="".concat(t,"-dot"),null===l?null:(0,v.l$)(l)?(0,v.Tm)(l,{className:s()(l.props.className,r)}):(0,v.l$)(h)?(0,v.Tm)(h,{className:s()(h.props.className,r)}):d.createElement("span",{className:s()(r,"".concat(t,"-dot-spin"))},d.createElement("i",{className:"".concat(t,"-dot-item")}),d.createElement("i",{className:"".concat(t,"-dot-item")}),d.createElement("i",{className:"".concat(t,"-dot-item")}),d.createElement("i",{className:"".concat(t,"-dot-item")}))),N?d.createElement("div",{className:"".concat(t,"-text")},N):null);if(void 0!==E){var w=s()("".concat(t,"-container"),(0,c.Z)({},"".concat(t,"-blur"),z));return d.createElement("div",(0,n.Z)({},p,{className:s()("".concat(t,"-nested-loading"),g)}),z&&d.createElement("div",{key:"loading"},x),d.createElement("div",{className:w,key:"container"},E))}return x};return d.createElement(u.C,null,_)},Z=function(e){var t=e.prefixCls,a=(0,d.useContext(u.E_).getPrefixCls)("spin",t),c=(0,n.Z)((0,n.Z)({},e),{spinPrefixCls:a});return d.createElement(x,(0,n.Z)({},c))};Z.setDefaultIndicator=function(e){h=e},t.Z=Z},14761:function(e,t,a){"use strict";a.r(t),a.d(t,{Modal:function(){return m}});var n=a(85893),c=a(85402),l=a(26303),r=a(11382),s=a(67294),i=a(77011),o=a.n(i);let m=e=>{let{title:t,url:a,open:i,handleOk:m,handleCancel:d,afterClose:u,height:v,width:f,children:p}=e,[h,x]=(0,s.useState)(!!a),Z=a&&(0,n.jsx)("iframe",{title:t,src:a,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:()=>x(!1)});return(0,n.jsx)(c.Z,{title:t,open:i,onOk:m,onCancel:d,afterClose:u,bodyStyle:{padding:"0px",minHeight:v,height:null!=v?v:"100%"},width:f,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsx)(l.Z,{active:h,style:{padding:"10px"},paragraph:{rows:10}}),Z&&(0,n.jsx)("div",{style:{display:h?"none":"inline"},children:Z}),p&&(0,n.jsx)("div",{className:o().content,children:p}),h&&(0,n.jsx)(r.Z,{className:o().spinner,spinning:h,size:"large"})]})})};t.default=m,m.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},77011:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4763-321ef180b1b6c7d5.js b/static/web/_next/static/chunks/4763-321ef180b1b6c7d5.js new file mode 100644 index 000000000..8985439b4 --- /dev/null +++ b/static/web/_next/static/chunks/4763-321ef180b1b6c7d5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4763],{74763:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(87462),u=t(67294),o=t(57838),a=t(96159),f=t(4942),c=t(94184),i=t.n(c),l=t(53124),s=t(26303),v=t(11726),d=t.n(v),p=function(e){var n,t=e.value,r=e.formatter,o=e.precision,a=e.decimalSeparator,f=e.groupSeparator,c=e.prefixCls;if("function"==typeof r)n=r(t);else{var i=String(t),l=i.match(/^(-?)(\d*)(\.(\d+))?$/);if(l&&"-"!==i){var s=l[1],v=l[2]||"0",p=l[4]||"";v=v.replace(/\B(?=(\d{3})+(?!\d))/g,void 0===f?"":f),"number"==typeof o&&(p=d()(p,o,"0").slice(0,o>0?o:0)),p&&(p="".concat(a).concat(p)),n=[u.createElement("span",{key:"int",className:"".concat(c,"-content-value-int")},s,v),p&&u.createElement("span",{key:"decimal",className:"".concat(c,"-content-value-decimal")},p)]}else n=i}return u.createElement("span",{className:"".concat(c,"-content-value")},n)},m=function(e){var n=e.prefixCls,t=e.className,o=e.style,a=e.valueStyle,c=e.value,l=e.title,v=e.valueRender,d=e.prefix,m=e.suffix,x=e.loading,g=e.direction,h=e.onMouseEnter,E=e.onMouseLeave,y=e.decimalSeparator,b=e.groupSeparator,N=u.createElement(p,(0,r.Z)({decimalSeparator:void 0===y?".":y,groupSeparator:void 0===b?",":b},e,{value:void 0===c?0:c})),S=i()(n,(0,f.Z)({},"".concat(n,"-rtl"),"rtl"===g),t);return u.createElement("div",{className:S,style:o,onMouseEnter:h,onMouseLeave:E},l&&u.createElement("div",{className:"".concat(n,"-title")},l),u.createElement(s.Z,{paragraph:!1,loading:void 0!==x&&x,className:"".concat(n,"-skeleton")},u.createElement("div",{style:a,className:"".concat(n,"-content")},d&&u.createElement("span",{className:"".concat(n,"-content-prefix")},d),v?v(N):N,m&&u.createElement("span",{className:"".concat(n,"-content-suffix")},m))))},x=(0,l.PG)({prefixCls:"statistic"})(m),g=t(97685),h=t(32475),E=t.n(h),y=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],b=1e3/30,N=function(e){var n=e.value,t=e.format,f=void 0===t?"HH:mm:ss":t,c=e.onChange,i=e.onFinish,l=(0,o.Z)(),s=u.useRef(null),v=function(){null==i||i(),s.current&&(clearInterval(s.current),s.current=null)},d=function(){var e=new Date(n).getTime();e>=Date.now()&&(s.current=setInterval(function(){l(),null==c||c(e-Date.now()),e9007199254740991)return r;do t%2&&(r+=e),(t=n(t/2))&&(e+=e);while(t);return r}},14259:function(e){e.exports=function(e,n,t){var r=-1,u=e.length;n<0&&(n=-n>u?0:u+n),(t=t>u?u:t)<0&&(t+=u),u=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(u);++r=u?e:r(e,n,t)}},78302:function(e,n,t){var r=t(18190),u=t(80531),o=t(40180),a=t(62689),f=t(88016),c=t(83140),i=Math.ceil;e.exports=function(e,n){var t=(n=void 0===n?" ":u(n)).length;if(t<2)return t?r(n,e):n;var l=r(n,i(e/f(n)));return a(n)?o(c(l),0,e).join(""):l.slice(0,e)}},62689:function(e){var n=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},88016:function(e,n,t){var r=t(48983),u=t(62689),o=t(21903);e.exports=function(e){return u(e)?o(e):r(e)}},83140:function(e,n,t){var r=t(44286),u=t(62689),o=t(676);e.exports=function(e){return u(e)?o(e):r(e)}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},21903:function(e){var n="\ud800-\udfff",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",u="[^"+n+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",f="(?:"+t+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",i="(?:\\u200d(?:"+[u,o,a].join("|")+")"+c+f+")*",l=RegExp(r+"(?="+r+")|(?:"+[u+t+"?",t,o,a,"["+n+"]"].join("|")+")"+(c+f+i),"g");e.exports=function(e){for(var n=l.lastIndex=0;l.test(e);)++n;return n}},676:function(e){var n="\ud800-\udfff",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",u="[^"+n+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",f="(?:"+t+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",i="(?:\\u200d(?:"+[u,o,a].join("|")+")"+c+f+")*",l=RegExp(r+"(?="+r+")|(?:"+[u+t+"?",t,o,a,"["+n+"]"].join("|")+")"+(c+f+i),"g");e.exports=function(e){return e.match(l)||[]}},33448:function(e,n,t){var r=t(44239),u=t(37005);e.exports=function(e){return"symbol"==typeof e||u(e)&&"[object Symbol]"==r(e)}},11726:function(e,n,t){var r=t(78302),u=t(88016),o=t(40554),a=t(79833);e.exports=function(e,n,t){e=a(e);var f=(n=o(n))?u(e):0;return n&&f0?o:0)),m&&(m="".concat(f).concat(m)),n=[u.createElement("span",{key:"int",className:"".concat(i,"-content-value-int")},v,p),m&&u.createElement("span",{key:"decimal",className:"".concat(i,"-content-value-decimal")},m)]}else n=l}return u.createElement("span",{className:"".concat(i,"-content-value")},n)},m=(0,l.PG)({prefixCls:"statistic"})((function(e){var n=e.prefixCls,t=e.className,o=e.style,f=e.valueStyle,c=e.value,l=void 0===c?0:c,v=e.title,d=e.valueRender,m=e.prefix,x=e.suffix,g=e.loading,h=void 0!==g&&g,E=e.direction,y=e.onMouseEnter,N=e.onMouseLeave,b=e.decimalSeparator,S=void 0===b?".":b,w=e.groupSeparator,M=void 0===w?",":w,Z=u.createElement(p,(0,r.Z)({decimalSeparator:S,groupSeparator:M},e,{value:l})),k=i()(n,(0,a.Z)({},"".concat(n,"-rtl"),"rtl"===E),t);return u.createElement("div",{className:k,style:o,onMouseEnter:y,onMouseLeave:N},v&&u.createElement("div",{className:"".concat(n,"-title")},v),u.createElement(s.Z,{paragraph:!1,loading:h,className:"".concat(n,"-skeleton")},u.createElement("div",{style:f,className:"".concat(n,"-content")},m&&u.createElement("span",{className:"".concat(n,"-content-prefix")},m),d?d(Z):Z,x&&u.createElement("span",{className:"".concat(n,"-content-suffix")},x))))})),x=t(97685),g=t(32475),h=t.n(g),E=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function y(e,n){var t=n.format,r=void 0===t?"":t,u=new Date(e).getTime(),o=Date.now();return function(e,n){var t=e,r=/\[[^\]]*]/g,u=(n.match(r)||[]).map((function(e){return e.slice(1,-1)})),o=n.replace(r,"[]"),f=E.reduce((function(e,n){var r=(0,x.Z)(n,2),u=r[0],o=r[1];if(-1!==e.indexOf(u)){var f=Math.floor(t/o);return t-=f*o,e.replace(new RegExp("".concat(u,"+"),"g"),(function(e){var n=e.length;return h()(f.toString(),n,"0")}))}return e}),o),a=0;return f.replace(r,(function(){var e=u[a];return a+=1,e}))}(Math.max(u-o,0),r)}var N=function(e){var n=e.value,t=e.format,a=void 0===t?"HH:mm:ss":t,c=e.onChange,i=e.onFinish,l=(0,o.Z)(),s=u.useRef(null),v=function(){var e=function(e){return new Date(e).getTime()}(n);e>=Date.now()&&(s.current=setInterval((function(){l(),null===c||void 0===c||c(e-Date.now()),e9007199254740991)return r;do{t%2&&(r+=e),(t=n(t/2))&&(e+=e)}while(t);return r}},14259:function(e){e.exports=function(e,n,t){var r=-1,u=e.length;n<0&&(n=-n>u?0:u+n),(t=t>u?u:t)<0&&(t+=u),u=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(u);++r=u?e:r(e,n,t)}},78302:function(e,n,t){var r=t(18190),u=t(80531),o=t(40180),f=t(62689),a=t(88016),c=t(83140),i=Math.ceil;e.exports=function(e,n){var t=(n=void 0===n?" ":u(n)).length;if(t<2)return t?r(n,e):n;var l=r(n,i(e/a(n)));return f(n)?o(c(l),0,e).join(""):l.slice(0,e)}},62689:function(e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},88016:function(e,n,t){var r=t(48983),u=t(62689),o=t(21903);e.exports=function(e){return u(e)?o(e):r(e)}},83140:function(e,n,t){var r=t(44286),u=t(62689),o=t(676);e.exports=function(e){return u(e)?o(e):r(e)}},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},21903:function(e){var n="[\\ud800-\\udfff]",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",u="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+t+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",i=c+a+("(?:\\u200d(?:"+[u,o,f].join("|")+")"+c+a+")*"),l="(?:"+[u+t+"?",t,o,f,n].join("|")+")",s=RegExp(r+"(?="+r+")|"+l+i,"g");e.exports=function(e){for(var n=s.lastIndex=0;s.test(e);)++n;return n}},676:function(e){var n="[\\ud800-\\udfff]",t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",u="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+t+"|"+r+")"+"?",c="[\\ufe0e\\ufe0f]?",i=c+a+("(?:\\u200d(?:"+[u,o,f].join("|")+")"+c+a+")*"),l="(?:"+[u+t+"?",t,o,f,n].join("|")+")",s=RegExp(r+"(?="+r+")|"+l+i,"g");e.exports=function(e){return e.match(s)||[]}},33448:function(e,n,t){var r=t(44239),u=t(37005);e.exports=function(e){return"symbol"==typeof e||u(e)&&"[object Symbol]"==r(e)}},11726:function(e,n,t){var r=t(78302),u=t(88016),o=t(40554),f=t(79833);e.exports=function(e,n,t){e=f(e);var a=(n=o(n))?u(e):0;return n&&ayOSO,59[OOQO,59[,59[OOQO'#Hg'#HgO?jQPO,59eO@lQPO,59yOOQO-E:d-E:dO)PQPO,58zOA`QPO,58zO)PQPO,5;|OAeQPO'#DQOAjQPO'#DQOOQO'#Gi'#GiOBjQQO,59jOOQO'#Dm'#DmODRQPO'#HsOD]QPO'#DlODkQPO'#HrODsQPO,5<^ODxQPO,59^OEcQPO'#CxOOQO,59c,59cOEjQPO,59bOGrQQO'#H[OJVQQO'#CbOJmQPO'#D_OKrQQO'#HkOLSQQO,59pOLZQPO'#DvOLiQPO'#HzOLqQPO,5:`OLvQPO,5:`OM^QPO,5;mOMiQPO'#IROMtQPO,5;dOMyQPO,5=WOOQO-E:j-E:jOOQO,5:f,5:fO! aQPO,5:fO! hQPO,5:vO! mQPO,5<^O)PQPO,5:vO:kQPO,5:gO:kQPO,5:qO:kQPO,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!>oX&|X#cQ&WSOY$zYZ%`Zr$zrs%es!_$z!_!`2{!`#p$z#p#q!?[#q~$zU!?cT#dQ&WSOY$zYZ%`Zr$zrs%es~$zV!?yT|R&WSOY$zYZ%`Zr$zrs%es~$zT!@aT#tP&WSOY$zYZ%`Zr$zrs%es~$z",tokenizers:[0,1,2,3],topRules:{Program:[0,3]},dynamicPrecedences:{27:1,230:-1,241:-1},specialized:[{term:229,get:O=>i[O]||-1}],tokenPrec:7067});var X=Q(59119);const s=X.qp.define({name:"java",parser:r.configure({props:[X.uj.add({IfStatement:(0,X.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,X.tC)({except:/^\s*({|catch|finally)\b/}),LabeledStatement:X.ze,SwitchBlock:O=>{let $=O.textAfter,Q=/^\s*\}/.test($),P=/^\s*(case|default)\b/.test($);return O.baseIndent+(Q?0:P?1:2)*O.unit},Block:(0,X.vw)({closing:"}"}),BlockComment:()=>null,Statement:(0,X.tC)({except:/^{/})}),X.x0.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":X.Dv,BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function t(){return new X.ri(s)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4778.c8f0fc5b8476b8c7.js b/static/web/_next/static/chunks/4778.c8f0fc5b8476b8c7.js new file mode 100644 index 000000000..2c9811ede --- /dev/null +++ b/static/web/_next/static/chunks/4778.c8f0fc5b8476b8c7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4778],{44778:function(O,$,Q){Q.r($),Q.d($,{java:function(){return t},javaLanguage:function(){return s}});var P=Q(53105),a=Q(35524);let e=(0,a.Gv)({null:a.pJ.null,instanceof:a.pJ.operatorKeyword,this:a.pJ.self,"new super assert open to with void":a.pJ.keyword,"class interface extends implements enum":a.pJ.definitionKeyword,"module package import":a.pJ.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":a.pJ.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":a.pJ.modifier,IntegerLiteral:a.pJ.integer,FloatLiteral:a.pJ.float,"StringLiteral TextBlock":a.pJ.string,CharacterLiteral:a.pJ.character,LineComment:a.pJ.lineComment,BlockComment:a.pJ.blockComment,BooleanLiteral:a.pJ.bool,PrimitiveType:a.pJ.standard(a.pJ.typeName),TypeName:a.pJ.typeName,Identifier:a.pJ.variableName,"MethodName/Identifier":a.pJ.function(a.pJ.variableName),Definition:a.pJ.definition(a.pJ.variableName),ArithOp:a.pJ.arithmeticOperator,LogicOp:a.pJ.logicOperator,BitOp:a.pJ.bitwiseOperator,CompareOp:a.pJ.compareOperator,AssignOp:a.pJ.definitionOperator,UpdateOp:a.pJ.updateOperator,Asterisk:a.pJ.punctuation,Label:a.pJ.labelName,"( )":a.pJ.paren,"[ ]":a.pJ.squareBracket,"{ }":a.pJ.brace,".":a.pJ.derefOperator,", ;":a.pJ.separator}),i={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},r=P.WQ.deserialize({version:14,states:"#!hQ]QPOOO&tQQO'#H[O(xQQO'#CbOOQO'#Cb'#CbO)PQPO'#CaO)XOSO'#CpOOQO'#Ha'#HaOOQO'#Cu'#CuO*tQPO'#D_O+_QQO'#HkOOQO'#Hk'#HkO-sQQO'#H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!?yT|R&WSOY$zYZ%`Zr$zrs%es~$zT!@aT#tP&WSOY$zYZ%`Zr$zrs%es~$z",tokenizers:[0,1,2,3],topRules:{Program:[0,3]},dynamicPrecedences:{27:1,230:-1,241:-1},specialized:[{term:229,get:O=>i[O]||-1}],tokenPrec:7067});var X=Q(59119);let s=X.qp.define({name:"java",parser:r.configure({props:[X.uj.add({IfStatement:(0,X.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,X.tC)({except:/^\s*({|catch|finally)\b/}),LabeledStatement:X.ze,SwitchBlock(O){let $=O.textAfter,Q=/^\s*\}/.test($),P=/^\s*(case|default)\b/.test($);return O.baseIndent+(Q?0:P?1:2)*O.unit},Block:(0,X.vw)({closing:"}"}),BlockComment:()=>null,Statement:(0,X.tC)({except:/^{/})}),X.x0.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":X.Dv,BlockComment:O=>({from:O.from+2,to:O.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function t(){return new X.ri(s)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4796.01a8c363d0239185.js b/static/web/_next/static/chunks/4796.01a8c363d0239185.js deleted file mode 100644 index e08c5548c..000000000 --- a/static/web/_next/static/chunks/4796.01a8c363d0239185.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4796],{94796:function(e,t,n){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}n.r(t),n.d(t,{oz:function(){return g}});var a=/[\^@!\|<>#~\.\*\-\+\\/,=]/,o=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,i=/(:::)|(\.\.\.)|(=<:)|(>=:)/,c=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],u=["end"],s=r(["true","false","nil","unit"]),f=r(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),l=r(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),d=r(c),h=r(u);function m(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(i)||e.match(o))return"operator";if(e.match(s))return"atom";var n=e.match(l);if(n)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==n[0]||"fun"==n[0]?t.tokenize=z:"class"==n[0]?t.tokenize=k:"meth"==n[0]&&(t.tokenize=p),"keyword";if(e.match(d)||e.match(f))return"keyword";if(e.match(h))return t.currentIndent--,"keyword";var r,c=e.next();if('"'==c||"'"==c)return t.tokenize=(r=c,function(e,t){for(var n,a=!1,o=!1;null!=(n=e.next());){if(n==r&&!a){o=!0;break}a=!a&&"\\"==n}return!o&&a||(t.tokenize=m),"string"}),t.tokenize(e,t);if(/[~\d]/.test(c)){if("~"==c){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==c&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==c?(e.skipToEnd(),"comment"):"/"==c&&e.eat("*")?(t.tokenize=b,b(e,t)):a.test(c)?"operator":(e.eatWhile(/\w/),"variable")}function k(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=m,"type")}function p(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=m,"def")}function z(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=m,"def"):(t.tokenize=m,null)}function b(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=m;break}r="*"==n}return"comment"}const g={name:"oz",startState:function(){return{tokenize:m,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(h)||r.match(d)||r.match(/(\[])/)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{indentOnInut:function(){var e=c.concat(u);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}(),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4796.c545e50f2ff935e7.js b/static/web/_next/static/chunks/4796.c545e50f2ff935e7.js new file mode 100644 index 000000000..92e4848dc --- /dev/null +++ b/static/web/_next/static/chunks/4796.c545e50f2ff935e7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4796],{94796:function(e,t,n){function r(e){return RegExp("^(("+e.join(")|(")+"))\\b")}n.r(t),n.d(t,{oz:function(){return g}});var a=/[\^@!\|<>#~\.\*\-\+\\/,=]/,o=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,i=/(:::)|(\.\.\.)|(=<:)|(>=:)/,c=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],u=["end"],s=r(["true","false","nil","unit"]),f=r(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),l=r(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),d=r(c),h=r(u);function m(e,t){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(i)||e.match(o))return"operator";if(e.match(s))return"atom";var n=e.match(l);if(n)return t.doInCurrentLine?t.doInCurrentLine=!1:t.currentIndent++,"proc"==n[0]||"fun"==n[0]?t.tokenize=z:"class"==n[0]?t.tokenize=k:"meth"==n[0]&&(t.tokenize=p),"keyword";if(e.match(d)||e.match(f))return"keyword";if(e.match(h))return t.currentIndent--,"keyword";var r=e.next();if('"'==r||"'"==r)return t.tokenize=function(e,t){for(var n,a=!1,o=!1;null!=(n=e.next());){if(n==r&&!a){o=!0;break}a=!a&&"\\"==n}return(o||!a)&&(t.tokenize=m),"string"},t.tokenize(e,t);if(/[~\d]/.test(r)){if("~"==r){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==r?(e.skipToEnd(),"comment"):"/"==r&&e.eat("*")?(t.tokenize=b,b(e,t)):a.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function k(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=m,"type")}function p(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=m,"def")}function z(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=m,"def"):(t.tokenize=m,null)}function b(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=m;break}r="*"==n}return"comment"}let g={name:"oz",startState:function(){return{tokenize:m,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(e,t,n){var r=t.replace(/^\s+|\s+$/g,"");return r.match(h)||r.match(d)||r.match(/(\[])/)?n.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.unit},languageData:{indentOnInut:RegExp("[\\[\\]]|("+c.concat(u).join("|")+")$"),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4812-9c96405be4c6ddd3.js b/static/web/_next/static/chunks/4812-9c96405be4c6ddd3.js deleted file mode 100644 index 7dcdc95df..000000000 --- a/static/web/_next/static/chunks/4812-9c96405be4c6ddd3.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4812],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},c=n(42135),u=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};u.displayName="DeleteOutlined";var i=a.forwardRef(u)},6226:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(4942),a=n(87462),o=n(71002),c=n(94184),u=n.n(c),i=n(67294),l=n(53124),s=n(99134),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var A=h[0]/2;I.paddingLeft=A,I.paddingRight=A}if(h&&h[1]>0&&!g){var T=h[1]/2;I.paddingTop=T,I.paddingBottom=T}return M&&(I.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(M),!1!==b||I.minWidth||(I.minWidth=0)),i.createElement("div",(0,a.Z)({},N,{style:(0,a.Z)((0,a.Z)({},I),S),className:R,ref:t}),O)}))},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},25968:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),a=n(4942),o=n(71002),c=n(97685),u=n(94184),i=n.n(u),l=n(67294),s=n(53124),f=n(98082),d=n(24308),v=n(93355),m=n(99134),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0?A[0]/-2:void 0,H=null!=A[1]&&A[1]>0?A[1]/-2:void 0;if(L&&(F.marginLeft=L,F.marginRight=L),j){var D=(0,c.Z)(A,2);F.rowGap=D[1]}else H&&(F.marginTop=H,F.marginBottom=H);var _=(0,c.Z)(A,2),B=_[0],z=_[1],G=l.useMemo((function(){return{gutter:[B,z],wrap:C,supportFlexGap:j}}),[B,z,C,j]);return l.createElement(m.Z.Provider,{value:G},l.createElement("div",(0,r.Z)({},E,{className:T,style:(0,r.Z)((0,r.Z)({},F),g),ref:t}),y))}))},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var r=n(71002),a=n(4942),o=n(87462),c=n(97685),u=n(94184),i=n.n(u),l=n(74902),s=n(67294),f=n(96774),d=n.n(f),v=n(21770),m=n(45987),p=n(1413),h=n(15105),b=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function g(e,t,n){return(e-t)/(n-t)}function y(e,t,n,r){var a=g(t,n,r),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function Z(e,t){return Array.isArray(e)?e[t]:e}var x=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"];var C=s.forwardRef((function(e,t){var n,r,c=e.prefixCls,u=e.value,l=e.valueIndex,f=e.onStartMove,d=e.style,v=e.render,g=e.dragging,C=e.onOffsetChange,E=(0,m.Z)(e,x),w=s.useContext(b),k=w.min,O=w.max,M=w.direction,S=w.disabled,N=w.range,P=w.tabIndex,j=w.ariaLabelForHandle,R=w.ariaLabelledByForHandle,I=w.ariaValueTextFormatterForHandle,A="".concat(c,"-handle"),T=function(e){S||f(e,l)},F=y(M,u,k,O),L=s.createElement("div",(0,o.Z)({ref:t,className:i()(A,(n={},(0,a.Z)(n,"".concat(A,"-").concat(l+1),N),(0,a.Z)(n,"".concat(A,"-dragging"),g),n)),style:(0,p.Z)((0,p.Z)({},F),d),onMouseDown:T,onTouchStart:T,onKeyDown:function(e){if(!S){var t=null;switch(e.which||e.keyCode){case h.Z.LEFT:t="ltr"===M||"btt"===M?-1:1;break;case h.Z.RIGHT:t="ltr"===M||"btt"===M?1:-1;break;case h.Z.UP:t="ttb"!==M?1:-1;break;case h.Z.DOWN:t="ttb"!==M?-1:1;break;case h.Z.HOME:t="min";break;case h.Z.END:t="max";break;case h.Z.PAGE_UP:t=2;break;case h.Z.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),C(t,l))}},tabIndex:S?null:Z(P,l),role:"slider","aria-valuemin":k,"aria-valuemax":O,"aria-valuenow":u,"aria-disabled":S,"aria-label":Z(j,l),"aria-labelledby":Z(R,l),"aria-valuetext":null===(r=Z(I,l))||void 0===r?void 0:r(u)},E));return v&&(L=v(L,{index:l,prefixCls:c,value:u,dragging:g})),L})),E=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"];var w=s.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,c=e.onOffsetChange,u=e.values,i=e.handleRender,l=e.draggingIndex,f=(0,m.Z)(e,E),d=s.useRef({});return s.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=d.current[e])||void 0===t||t.focus()}}})),s.createElement(s.Fragment,null,u.map((function(e,t){return s.createElement(C,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:l===t,prefixCls:n,style:Z(r,t),key:t,value:e,valueIndex:t,onStartMove:a,onOffsetChange:c,render:i},f))})))}));function k(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function O(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(b),l=u.direction,f=u.min,d=u.max,v=u.disabled,m=u.range,h="".concat(t,"-track"),y=g(r,f,d),Z=g(a,f,d),x=function(e){!v&&c&&c(e,-1)},C={};switch(l){case"rtl":C.right="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%");break;case"btt":C.bottom="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;case"ttb":C.top="".concat(100*y,"%"),C.height="".concat(100*Z-100*y,"%");break;default:C.left="".concat(100*y,"%"),C.width="".concat(100*Z-100*y,"%")}return s.createElement("div",{className:i()(h,m&&"".concat(h,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},C),n),onMouseDown:x,onTouchStart:x})}function M(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(b),u=c.included,i=c.range,l=c.min,f=s.useMemo((function(){if(!i){if(0===r.length)return[];var e=null!==a&&void 0!==a?a:l,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&z}),[z,ve]),pe=s.useMemo((function(){return Object.keys(ee||{}).map((function(e){var t=ee[e],n={value:Number(e)};return t&&"object"===(0,r.Z)(t)&&!s.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"===typeof t})).sort((function(e,t){return e.value-t.value}))}),[ee]),he=function(e,t,n,r,a,o){var c=s.useCallback((function(n){var r=isFinite(n)?n:e;return r=Math.min(t,n),Math.max(e,r)}),[e,t]),u=s.useCallback((function(r){if(null!==n){var a=e+Math.round((c(r)-e)/n)*n,o=function(e){return(String(e).split(".")[1]||"").length},u=Math.max(o(n),o(t),o(e)),i=Number(a.toFixed(u));return e<=i&&i<=t?i:null}return null}),[n,e,t,c]),i=s.useCallback((function(a){var o=c(a),i=r.map((function(e){return e.value}));null!==n&&i.push(u(a)),i.push(e,t);var l=i[0],s=t-e;return i.forEach((function(e){var t=Math.abs(o-e);t<=s&&(l=e,s=t)})),l}),[e,t,r,n,c,u]),f=function a(o,c,i){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"===typeof c){var f,d=o[i],v=d+c,m=[];r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(u(d));var p=c>0?1:-1;"unit"===s?m.push(u(d+p*n)):m.push(u(v)),m=m.filter((function(e){return null!==e})).filter((function(e){return c<0?e<=d:e>=d})),"unit"===s&&(m=m.filter((function(e){return e!==d})));var h="unit"===s?d:v;f=m[0];var b=Math.abs(f-h);if(m.forEach((function(e){var t=Math.abs(e-h);t1){var g=(0,l.Z)(o);return g[i]=f,a(g,c-p,i,s)}return f}return"min"===c?e:"max"===c?t:void 0},d=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=f(e,t,n,r);return{value:o,changed:o!==a}},v=function(e){return null===o&&0===e||"number"===typeof o&&e3&&void 0!==arguments[3]?arguments[3]:"unit",c=e.map(i),u=c[n],l=f(c,t,n,r);if(c[n]=l,!1===a){var s=o||0;n>0&&c[n-1]!==u&&(c[n]=Math.max(c[n],c[n-1]+s)),n0;b-=1)for(var g=!0;v(c[b]-c[b-1])&&g;){var y=d(c,-1,b-1);c[b-1]=y.value,g=y.changed}for(var Z=c.length-1;Z>0;Z-=1)for(var x=!0;v(c[Z]-c[Z-1])&&x;){var C=d(c,-1,Z-1);c[Z-1]=C.value,x=C.changed}for(var E=0;E=0?T+1:2;for(n=n.slice(0,r);n.length=0&&ie.current.focus(e)}Re(null)}),[je]);var Ie=s.useMemo((function(){return(!G||null!==ve)&&G}),[G,ve]),Ae=function(e,t,n,r,a,o,u,i,f){var d=s.useState(null),v=(0,c.Z)(d,2),m=v[0],p=v[1],h=s.useState(-1),b=(0,c.Z)(h,2),g=b[0],y=b[1],Z=s.useState(n),x=(0,c.Z)(Z,2),C=x[0],E=x[1],w=s.useState(n),O=(0,c.Z)(w,2),M=O[0],S=O[1],N=s.useRef(null),P=s.useRef(null);s.useEffect((function(){-1===g&&E(n)}),[n,g]),s.useEffect((function(){return function(){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",P.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",P.current)}}),[]);var j=function(e,t){C.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&p(t),E(e),u(e))},R=function(e,t){if(-1===e){var n=M[0],c=M[M.length-1],u=r-n,i=a-c,s=t*(a-r);s=Math.max(s,u),s=Math.min(s,i);var d=o(n+s);s=d-n;var v=M.map((function(e){return e+s}));j(v)}else{var m=(a-r)*t,p=(0,l.Z)(C);p[e]=M[e];var h=f(p,m,e,"dist");j(h.values,h.value)}},I=s.useRef(R);I.current=R;var A=s.useMemo((function(){var e=(0,l.Z)(n).sort((function(e,t){return e-t})),t=(0,l.Z)(C).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?C:n}),[n,C]);return[g,m,A,function(r,a){r.stopPropagation();var o=n[a];y(a),p(o),S(n);var c=k(r),u=c.pageX,l=c.pageY,s=function(n){n.preventDefault();var r,o=k(n),c=o.pageX,i=o.pageY,s=c-u,f=i-l,d=e.current.getBoundingClientRect(),v=d.width,m=d.height;switch(t){case"btt":r=-f/m;break;case"ttb":r=f/m;break;case"rtl":r=-s/v;break;default:r=s/v}I.current(a,r)},f=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",s),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",s),N.current=null,P.current=null,y(-1),i()};document.addEventListener("mouseup",f),document.addEventListener("mousemove",s),document.addEventListener("touchend",f),document.addEventListener("touchmove",s),N.current=s,P.current=f}]}(le,se,we,fe,de,ge,Me,(function(){null===H||void 0===H||H(Oe(ke.current))}),ye),Te=(0,c.Z)(Ae,4),Fe=Te[0],Le=Te[1],He=Te[2],De=Te[3],_e=function(e,t){De(e,t),null===L||void 0===L||L(Oe(ke.current))},Be=-1!==Fe;s.useEffect((function(){if(!Be){var e=we.lastIndexOf(Le);ie.current.focus(e)}}),[Be]);var ze=s.useMemo((function(){return(0,l.Z)(He).sort((function(e,t){return e-t}))}),[He]),Ge=s.useMemo((function(){return A?[ze[0],ze[ze.length-1]]:[fe,ze[0]]}),[ze,A,fe]),Ve=(0,c.Z)(Ge,2),We=Ve[0],Xe=Ve[1];s.useImperativeHandle(t,(function(){return{focus:function(){ie.current.focus(0)},blur:function(){var e=document.activeElement;le.current.contains(e)&&(null===e||void 0===e||e.blur())}}})),s.useEffect((function(){g&&ie.current.focus(0)}),[]);var Ye=s.useMemo((function(){return{min:fe,max:de,direction:se,disabled:h,step:ve,included:Y,includedStart:We,includedEnd:Xe,range:A,tabIndex:ae,ariaLabelForHandle:oe,ariaLabelledByForHandle:ce,ariaValueTextFormatterForHandle:ue}}),[fe,de,se,h,ve,Y,We,Xe,A,ae,oe,ce,ue]);return s.createElement(b.Provider,{value:Ye},s.createElement("div",{ref:le,className:i()(u,f,(n={},(0,a.Z)(n,"".concat(u,"-disabled"),h),(0,a.Z)(n,"".concat(u,"-vertical"),W),(0,a.Z)(n,"".concat(u,"-horizontal"),!W),(0,a.Z)(n,"".concat(u,"-with-marks"),pe.length),n)),style:m,onMouseDown:function(e){e.preventDefault();var t,n=le.current.getBoundingClientRect(),r=n.width,a=n.height,o=n.left,c=n.top,u=n.bottom,i=n.right,l=e.clientX,s=e.clientY;switch(se){case"btt":t=(u-s)/a;break;case"ttb":t=(s-c)/a;break;case"rtl":t=(i-l)/r;break;default:t=(l-o)/r}Se(ge(fe+t*(de-fe)))}},s.createElement("div",{className:"".concat(u,"-rail"),style:Q}),s.createElement(M,{prefixCls:u,style:K,values:ze,startPoint:$,onStartMove:Ie?_e:null}),s.createElement(j,{prefixCls:u,marks:pe,dots:te,style:q,activeStyle:J}),s.createElement(w,{ref:ie,prefixCls:u,style:U,values:He,draggingIndex:Fe,onStartMove:_e,onOffsetChange:function(e,t){if(!h){var n=ye(we,e,t);null===L||void 0===L||L(Oe(we)),Me(n.values),null===H||void 0===H||H(Oe(n.values)),Re(n.value)}},onFocus:y,onBlur:Z,handleRender:ne}),s.createElement(N,{prefixCls:u,marks:pe,onClick:Se})))}));var I=R,A=n(53124),T=n(75164),F=n(42550),L=n(94199),H=s.forwardRef((function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){T.Z.cancel(a.current),a.current=null}return s.useEffect((function(){return n?a.current=(0,T.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null})):c(),c}),[n,e.title]),s.createElement(L.Z,(0,o.Z)({ref:(0,F.sQ)(r,t)},e))})),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=t||n<0||h&&e-m>=s}function x(){var e=a();if(Z(e))return C(e);d=setTimeout(x,function(e){var n=t-(e-v);return h?u(n,s-(e-m)):n}(e))}function C(e){return d=void 0,b&&i?g(e):(i=l=void 0,f)}function E(){var e=a(),n=Z(e);if(i=arguments,l=this,v=e,n){if(void 0===d)return y(v);if(h)return clearTimeout(d),d=setTimeout(x,t),g(v)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(p=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,b="trailing"in n?!!n.trailing:b),E.cancel=function(){void 0!==d&&clearTimeout(d),m=0,i=v=l=d=void 0},E.flush=function(){return void 0===d?f:C(a())},E}},33448:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},14841:function(e,t,n){var r=n(27561),a=n(13218),o=n(33448),c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||i.test(e)?l(e.slice(2),n?2:8):c.test(e)?NaN:+e}},20943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&s.token&&"string"!=typeof s.token){t.pending=[];for(var u=2;u-1)return null;var a=e.indent.length-1,o=n[e.state];e:for(;;){for(var s=0;s{try{b.removeMessage(e,n)}catch(t){console.error(t)}},P=e=>{let{label:n,value:t}=e;return(0,a.jsxs)(y.Z,{justify:"space-around",align:"middle",children:[(0,a.jsx)(m.Z,{span:12,children:n}),(0,a.jsx)(m.Z,{span:12,children:t})]})},N=e=>{let{client:n}=e,{messageCount:t,connectedAt:s,geo:o}=n,r=(0,v.Z)(new Date(s),"PP pp");return(0,a.jsxs)("div",{children:[(0,a.jsx)(P,{label:"Messages Sent",value:"".concat(t)}),"N/A"!==o&&(0,a.jsx)(P,{label:"Geo",value:o}),(0,a.jsx)(P,{label:"Connected At",value:r})]})},D=e=>{let{color:n}=e;return(0,a.jsxs)("div",{className:_().colorBlock,style:{backgroundColor:"var(--theme-color-users-".concat(n,")")},children:["Color ",n]})},O=e=>{let{userId:n,accessToken:t}=e,[s,o]=(0,p.useState)(null),[r,l]=(0,p.useState)(!0),i=async()=>{try{let e=await (await fetch("/api/moderation/chat/user/".concat(n,"?accessToken=").concat(t))).json();o(e),l(!1)}catch(a){console.error(a)}};if((0,p.useEffect)(()=>{i()},[]),!s)return null;let{user:c,connectedClients:d,messages:h}=s,{displayColor:u,createdAt:x,previousNames:y,scopes:m,isBot:b,authenticated:k}=c,_=d.reduce((e,n)=>e+n.messageCount,0),O=(0,v.Z)(new Date(x),"PP pp");return(0,a.jsxs)(f.Z,{spinning:r,children:[(0,a.jsx)(D,{color:u}),m.map(e=>(0,a.jsx)(C.Z,{children:e},e)),k&&(0,a.jsx)(C.Z,{children:"Authenticated"}),b&&(0,a.jsx)(C.Z,{children:"Bot"}),(0,a.jsx)(P,{label:"Messages Sent Across Clients",value:_.toString()}),(0,a.jsx)(P,{label:"User Created",value:O}),(0,a.jsx)(P,{label:"Known As",value:y.join(",")}),(0,a.jsxs)(j.Z,{accordion:!0,children:[(0,a.jsx)(S,{header:"Currently Connected Clients",children:(0,a.jsx)(j.Z,{accordion:!0,children:d.map(e=>(0,a.jsx)(S,{header:(0,M.AB)(e.userAgent),children:(0,a.jsx)(N,{client:e})},e.userAgent))})},"connected-clients"),(0,a.jsx)(j.Z,{accordion:!0,children:(0,a.jsx)(S,{header:"Recent Chat Messages",children:(0,a.jsx)(Z.Z,{size:"small",pagination:null,columns:[{title:"Message",dataIndex:"body",key:"body"},{title:"Sent At",dataIndex:"timestamp",key:"timestamp",render:e=>(0,v.Z)(new Date(e),"PP pp")},{title:"Delete",key:"delete",render:(e,n)=>(0,a.jsx)(g.Z,{type:"primary",ghost:!0,icon:(0,a.jsx)(w.Z,{}),onClick:()=>A(n.id,t)})}],dataSource:h})},"chat-messages")})]})]})};var T=t(24110),B=t.n(T);let{confirm:I}=i.Z,U=e=>{let{messageID:n,userID:t,userDisplayName:i,accessToken:j}=e,[y,m]=(0,p.useState)(!1),g=async()=>{try{await b.banUser(t,j)}catch(e){console.error(e),c.ZP.error(e)}},f=async()=>{try{await b.removeMessage(n,j)}catch(e){console.error(e),c.ZP.error(e)}},C=async()=>{I({icon:(0,a.jsx)(s.Z,{}),content:"Are you sure you want to remove this message from ".concat(i,"?"),onOk(){f()}})},Z=async()=>{I({icon:(0,a.jsx)(s.Z,{}),content:"Are you sure you want to ban ".concat(i," from chat?"),onOk(){g()}})},v=e=>{let{key:n}=e;"hide-message"===n?C():"ban-user"===n?Z():"more-info"===n&&m(!0)},w=(0,a.jsx)(d.Z,{onClick:v,items:[{label:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:B().icon,children:(0,a.jsx)(o.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:B().icon,children:(0,a.jsx)(r.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,a.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Z,{overlay:w,trigger:["click"],children:(0,a.jsx)("button",{type:"button",onClick:e=>e.preventDefault(),children:(0,a.jsx)(u.Z,{children:(0,a.jsx)(l.Z,{})})})}),(0,a.jsx)(x.Modal,{title:i,open:y,handleCancel(){m(!1)},children:(0,a.jsx)(O,{userId:t,accessToken:j})})]})}},14761:function(e,n,t){"use strict";t.r(n),t.d(n,{Modal:function(){return d}});var a=t(85893),s=t(85402),o=t(26303),r=t(11382),l=t(67294),i=t(77011),c=t.n(i);let d=e=>{let{title:n,url:t,open:i,handleOk:d,handleCancel:h,afterClose:u,height:p,width:x,children:j}=e,[y,m]=(0,l.useState)(!!t),g=t&&(0,a.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:()=>m(!1)});return(0,a.jsx)(s.Z,{title:n,open:i,onOk:d,onCancel:h,afterClose:u,bodyStyle:{padding:"0px",minHeight:p,height:null!=p?p:"100%"},width:x,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,a.jsxs)(a.Fragment,{children:[y&&(0,a.jsx)(o.Z,{active:y,style:{padding:"10px"},paragraph:{rows:10}}),g&&(0,a.jsx)("div",{style:{display:y?"none":"inline"},children:g}),j&&(0,a.jsx)("div",{className:c().content,children:j}),y&&(0,a.jsx)(r.Z,{className:c().spinner,spinning:y,size:"large"})]})})};n.default=d,d.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},24110:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},57761:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw",displayName:"ChatModerationDetailsModal_displayName__p7pLI"}},77011:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4879.59c9b8dc5475c94c.js b/static/web/_next/static/chunks/4879.59c9b8dc5475c94c.js deleted file mode 100644 index 78c3989be..000000000 --- a/static/web/_next/static/chunks/4879.59c9b8dc5475c94c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4879],{44879:function(t,e,n){n.r(e),n.d(e,{shell:function(){return h}});var r={};function s(t,e){for(var n=0;n1&&t.eat("$");var n=t.next();return/['"({]/.test(n)?(e.tokens[0]=f(n,"("==n?"quote":"{"==n?"def":"string"),k(t,e)):(/\d/.test(n)||t.eatWhile(/\w/),e.tokens.shift(),"def")};function k(t,e){return(e.tokens[0]||a)(t,e)}const h={name:"shell",startState:function(){return{tokens:[]}},token:function(t,e){return k(t,e)},languageData:{autocomplete:i.concat(o,u),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4879.862b5a386c6b86a0.js b/static/web/_next/static/chunks/4879.862b5a386c6b86a0.js new file mode 100644 index 000000000..2e54a9768 --- /dev/null +++ b/static/web/_next/static/chunks/4879.862b5a386c6b86a0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4879],{44879:function(e,t,n){n.r(t),n.d(t,{shell:function(){return k}});var r={};function s(e,t){for(var n=0;n1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=f(n,"("==n?"quote":"{"==n?"def":"string"),c(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};function c(e,t){return(t.tokens[0]||a)(e,t)}let k={name:"shell",startState:function(){return{tokens:[]}},token:function(e,t){return c(e,t)},languageData:{autocomplete:i.concat(o,u),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4920.4d87e899e023cb32.js b/static/web/_next/static/chunks/4920.4d87e899e023cb32.js deleted file mode 100644 index dd8bfef21..000000000 --- a/static/web/_next/static/chunks/4920.4d87e899e023cb32.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4920],{24920:function(O,Q,P){P.r(Q),P.d(Q,{rust:function(){return x},rustLanguage:function(){return S}});var $=P(53105),X=P(35524);function i(O){return O>=48&&O<=57}function e(O){return i(O)||95==O}const a=new $.Jq(((O,Q)=>{if(i(O.next)){let Q=!1;do{O.advance()}while(e(O.next));if(46==O.next)if(Q=!0,O.advance(),i(O.next))do{O.advance()}while(e(O.next));else if(46==O.next||O.next>127||/\w/.test(String.fromCharCode(O.next)))return;if(101==O.next||69==O.next){if(Q=!0,O.advance(),43!=O.next&&45!=O.next||O.advance(),!e(O.next))return;do{O.advance()}while(e(O.next))}if(102==O.next){let P=O.peek(1);if(!(51==P&&50==O.peek(2)||54==P&&52==O.peek(2)))return;O.advance(3),Q=!0}Q&&O.acceptToken(5)}else if(98==O.next||114==O.next){if(98==O.next&&O.advance(),114!=O.next)return;O.advance();let Q=0;for(;35==O.next;)Q++,O.advance();if(34!=O.next)return;O.advance();O:for(;;){if(O.next<0)return;let P=34==O.next;if(O.advance(),P){for(let P=0;P{124==O.next&&O.acceptToken(1,1)})),r=new $.Jq((O=>{60==O.next?O.acceptToken(2,1):62==O.next&&O.acceptToken(3,1)})),t=(0,X.Gv)({"const macro_rules struct union enum type fn impl trait let static":X.pJ.definitionKeyword,"mod use crate":X.pJ.moduleKeyword,"pub unsafe async mut extern default move":X.pJ.modifier,"for if else loop while match continue break return await":X.pJ.controlKeyword,"as in ref":X.pJ.operatorKeyword,"where _ crate super dyn":X.pJ.keyword,self:X.pJ.self,String:X.pJ.string,Char:X.pJ.character,RawString:X.pJ.special(X.pJ.string),Boolean:X.pJ.bool,Identifier:X.pJ.variableName,"CallExpression/Identifier":X.pJ.function(X.pJ.variableName),BoundIdentifier:X.pJ.definition(X.pJ.variableName),"FunctionItem/BoundIdentifier":X.pJ.function(X.pJ.definition(X.pJ.variableName)),LoopLabel:X.pJ.labelName,FieldIdentifier:X.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":X.pJ.function(X.pJ.propertyName),Lifetime:X.pJ.special(X.pJ.variableName),ScopeIdentifier:X.pJ.namespace,TypeIdentifier:X.pJ.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":X.pJ.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":X.pJ.macroName,'"!"':X.pJ.macroName,UpdateOp:X.pJ.updateOperator,LineComment:X.pJ.lineComment,BlockComment:X.pJ.blockComment,Integer:X.pJ.integer,Float:X.pJ.float,ArithOp:X.pJ.arithmeticOperator,LogicOp:X.pJ.logicOperator,BitOp:X.pJ.bitwiseOperator,CompareOp:X.pJ.compareOperator,"=":X.pJ.definitionOperator,".. ... => ->":X.pJ.punctuation,"( )":X.pJ.paren,"[ ]":X.pJ.squareBracket,"{ }":X.pJ.brace,". DerefOp":X.pJ.derefOperator,"&":X.pJ.operator,", ; ::":X.pJ.separator,"Attribute/...":X.pJ.meta}),W={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},s=$.WQ.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFc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'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"\u26a0 | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[t],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"#?|_R!VOX$hXY1_YZ2ZZ]$h]^1_^p$hpq1_qr2srs4qst5Ztu6Vuv9lvw;jwx=nxy!!ayz!#]z{!$X{|!&R|}!'T}!O!(P!O!P!*Q!P!Q!-|!Q!R!6X!R![!7|![!]!Jw!]!^!Lu!^!_!Mq!_!`# x!`!a##y!a!b#&Q!b!c#&|!c!}#'x!}#O#)o#O#P#*k#P#Q#1b#Q#R#2^#R#S#'x#S#T$h#T#U#'x#U#V#3`#V#f#'x#f#g#6s#g#o#'x#o#p#y!X!Y$h!Y!Z!<}!Z#O$h#O#P%x#P#g$h#g#h!?y#h~$h_!;O_'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!S$h!S!T!;}!T!W$h!W!X!<}!X#O$h#O#P%x#P~$h_!Q]'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!S$h!S!T!<}!T#O$h#O#P%x#P~$h_!?Q]'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!U$h!U!V!<}!V#O$h#O#P%x#P~$h_!@Q]'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P#]$h#]#^!@y#^~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P#R$h#R#S#'x#S#T$h#T#o#'x#o${$h${$|#'x$|4w$h4w5b#'x5b5i$h5i6S#'x6S~$hV#8tg'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!c$h!c!}#:]!}#O$h#O#P%x#P#R$h#R#S#:]#S#T$h#T#o#:]#o${$h${$|#:]$|4w$h4w5b#:]5b5i$h5i6S#:]6S~$hV#:fh'_Q'OS'TPOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q![#:]![!c$h!c!}#:]!}#O$h#O#P%x#P#R$h#R#S#:]#S#T$h#T#o#:]#o${$h${$|#:]$|4w$h4w5b#:]5b5i$h5i6S#:]6S~$h_#U#q~$h_#>_Z'|X'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P~$h_#?ZZvX'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P~$h",tokenizers:[h,r,a,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>W[O]||-1}],tokenPrec:15596});var Y=P(59119);const S=Y.qp.define({name:"rust",parser:s.configure({props:[Y.uj.add({IfExpression:(0,Y.tC)({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":(0,Y.tC)()}),Y.x0.add((O=>/(Block|edTokens|List)$/.test(O.name)?Y.Dv:"BlockComment"==O.name?O=>({from:O.from+2,to:O.to-2}):void 0))]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function x(){return new Y.ri(S)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4920.7f3486b297062898.js b/static/web/_next/static/chunks/4920.7f3486b297062898.js new file mode 100644 index 000000000..7c04fe57d --- /dev/null +++ b/static/web/_next/static/chunks/4920.7f3486b297062898.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4920],{24920:function(O,Q,P){P.r(Q),P.d(Q,{rust:function(){return x},rustLanguage:function(){return S}});var $=P(53105),X=P(35524);function i(O){return O>=48&&O<=57}function e(O){return i(O)||95==O}let a=new $.Jq((O,Q)=>{if(i(O.next)){let P=!1;do O.advance();while(e(O.next));if(46==O.next){if(P=!0,O.advance(),i(O.next))do O.advance();while(e(O.next));else if(46==O.next||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(101==O.next||69==O.next){if(P=!0,O.advance(),(43==O.next||45==O.next)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(102==O.next){let $=O.peek(1);if((51!=$||50!=O.peek(2))&&(54!=$||52!=O.peek(2)))return;O.advance(3),P=!0}P&&O.acceptToken(5)}else if(98==O.next||114==O.next){if(98==O.next&&O.advance(),114!=O.next)return;O.advance();let X=0;for(;35==O.next;)X++,O.advance();if(34!=O.next)return;O.advance();O:for(;;){if(O.next<0)return;let a=34==O.next;if(O.advance(),a){for(let h=0;h{124==O.next&&O.acceptToken(1,1)}),r=new $.Jq(O=>{60==O.next?O.acceptToken(2,1):62==O.next&&O.acceptToken(3,1)}),t=(0,X.Gv)({"const macro_rules struct union enum type fn impl trait let static":X.pJ.definitionKeyword,"mod use crate":X.pJ.moduleKeyword,"pub unsafe async mut extern default move":X.pJ.modifier,"for if else loop while match continue break return await":X.pJ.controlKeyword,"as in ref":X.pJ.operatorKeyword,"where _ crate super dyn":X.pJ.keyword,self:X.pJ.self,String:X.pJ.string,Char:X.pJ.character,RawString:X.pJ.special(X.pJ.string),Boolean:X.pJ.bool,Identifier:X.pJ.variableName,"CallExpression/Identifier":X.pJ.function(X.pJ.variableName),BoundIdentifier:X.pJ.definition(X.pJ.variableName),"FunctionItem/BoundIdentifier":X.pJ.function(X.pJ.definition(X.pJ.variableName)),LoopLabel:X.pJ.labelName,FieldIdentifier:X.pJ.propertyName,"CallExpression/FieldExpression/FieldIdentifier":X.pJ.function(X.pJ.propertyName),Lifetime:X.pJ.special(X.pJ.variableName),ScopeIdentifier:X.pJ.namespace,TypeIdentifier:X.pJ.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":X.pJ.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":X.pJ.macroName,'"!"':X.pJ.macroName,UpdateOp:X.pJ.updateOperator,LineComment:X.pJ.lineComment,BlockComment:X.pJ.blockComment,Integer:X.pJ.integer,Float:X.pJ.float,ArithOp:X.pJ.arithmeticOperator,LogicOp:X.pJ.logicOperator,BitOp:X.pJ.bitwiseOperator,CompareOp:X.pJ.compareOperator,"=":X.pJ.definitionOperator,".. ... => ->":X.pJ.punctuation,"( )":X.pJ.paren,"[ ]":X.pJ.squareBracket,"{ }":X.pJ.brace,". DerefOp":X.pJ.derefOperator,"&":X.pJ.operator,", ; ::":X.pJ.separator,"Attribute/...":X.pJ.meta}),W={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},s=$.WQ.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OO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/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[t],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"#?|_R!VOX$hXY1_YZ2ZZ]$h]^1_^p$hpq1_qr2srs4qst5Ztu6Vuv9lvw;jwx=nxy!!ayz!#]z{!$X{|!&R|}!'T}!O!(P!O!P!*Q!P!Q!-|!Q!R!6X!R![!7|![!]!Jw!]!^!Lu!^!_!Mq!_!`# x!`!a##y!a!b#&Q!b!c#&|!c!}#'x!}#O#)o#O#P#*k#P#Q#1b#Q#R#2^#R#S#'x#S#T$h#T#U#'x#U#V#3`#V#f#'x#f#g#6s#g#o#'x#o#p#y!X!Y$h!Y!Z!<}!Z#O$h#O#P%x#P#g$h#g#h!?y#h~$h_!;O_'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!S$h!S!T!;}!T!W$h!W!X!<}!X#O$h#O#P%x#P~$h_!Q]'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!S$h!S!T!<}!T#O$h#O#P%x#P~$h_!?Q]'_Q'OSOY$hYZ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r?drsBdsw?dwx@dxz?dz{CO{!P?d!P!QDv!Q#O?d#O#PId#P~?d_#7Oi'_Q'OS!yW'TPOY$hYZ%bZr$hrs%xst#8mtz$hz{)Q{!P$h!P!Q*p!Q![#'x![!c$h!c!}#'x!}#O$h#O#P%x#P#R$h#R#S#'x#S#T$h#T#o#'x#o${$h${$|#'x$|4w$h4w5b#'x5b5i$h5i6S#'x6S~$hV#8tg'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q!c$h!c!}#:]!}#O$h#O#P%x#P#R$h#R#S#:]#S#T$h#T#o#:]#o${$h${$|#:]$|4w$h4w5b#:]5b5i$h5i6S#:]6S~$hV#:fh'_Q'OS'TPOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q![#:]![!c$h!c!}#:]!}#O$h#O#P%x#P#R$h#R#S#:]#S#T$h#T#o#:]#o${$h${$|#:]$|4w$h4w5b#:]5b5i$h5i6S#:]6S~$h_#U#q~$h_#>_Z'|X'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P~$h_#?ZZvX'_Q'OSOY$hYZ%bZr$hrs%xsz$hz{)Q{!P$h!P!Q*p!Q#O$h#O#P%x#P~$h",tokenizers:[h,r,a,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>W[O]||-1}],tokenPrec:15596});var Y=P(59119);let S=Y.qp.define({name:"rust",parser:s.configure({props:[Y.uj.add({IfExpression:(0,Y.tC)({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":(0,Y.tC)()}),Y.x0.add(O=>/(Block|edTokens|List)$/.test(O.name)?Y.Dv:"BlockComment"==O.name?O=>({from:O.from+2,to:O.to-2}):void 0)]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function x(){return new Y.ri(S)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4977-bed85c8621107c87.js b/static/web/_next/static/chunks/4977-bed85c8621107c87.js new file mode 100644 index 000000000..cac496e7d --- /dev/null +++ b/static/web/_next/static/chunks/4977-bed85c8621107c87.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4977],{94977:function(e,t,s){"use strict";s.r(t),s.d(t,{ChatContainer:function(){return em}});var a,n,r,o,i,l=s(85893),c=s(9764),d=s(67294),h=s(36531),u=s(91951),m=s(59760),g=s.n(m),p=s(86492),x=s.n(p),_=s(94184),C=s.n(_),f=s(94199),j=s(29158),v=s(4480),y=s(5152),N=s.n(y),M=s(50085),b=s.n(M),S=s(77278),E=s(48976),w=s.n(E);let T=e=>{let{badge:t,userColor:s}=e,a="var(--theme-user-colors-".concat(s,")");return(0,l.jsx)("span",{style:{color:a,borderColor:a},className:w().badge,children:t})};var k=s(77466);let B=N()(()=>Promise.all([s.e(8939),s.e(3903),s.e(4267),s.e(3626),s.e(8091),s.e(1300),s.e(4860)]).then(s.bind(s,94860)).then(e=>e.ChatModerationActionMenu),{loadableGenerated:{webpack:()=>[94860]}}),D=N()(()=>Promise.resolve().then(s.bind(s,47049)).then(e=>e.Highlight),{loadableGenerated:{webpack:()=>[47049]}}),O=e=>{let{message:t,highlightString:s,showModeratorMenu:a,sentBySelf:n,sameUserAsLast:r,isAuthorModerator:o,isAuthorAuthenticated:i}=e,{id:c,body:h,user:u,timestamp:m}=t,{id:g,displayName:p,displayColor:_}=u,y=(0,v.sJ)(k.FI),N="var(--theme-color-users-".concat(_,")"),M="Sent ".concat(function(e){let t=new Date(e);if(Number.isNaN(t))return"";let s=(0,S.Xb)(e);if(s>=1){let a=t.toLocaleDateString("en-US",{dateStyle:"medium"});return"at ".concat(a," at ").concat(t.toLocaleTimeString())}return"".concat(t.toLocaleTimeString())}(m)),[E,w]=(0,d.useState)(h),O=[];return o&&O.push((0,l.jsx)(T,{badge:"mod",userColor:_},"mod")),i&&O.push((0,l.jsx)(T,{badge:(0,l.jsx)(j.Z,{title:"authenticated"}),userColor:_},"auth")),(0,d.useEffect)(()=>{w(x().decode(h))},[t]),(0,l.jsx)("div",{className:C()(b().messagePadding,r&&b().messagePaddingCollapsed),children:(0,l.jsxs)("div",{className:C()(b().root,{[b().ownMessage]:n}),style:{borderColor:N},children:[!r&&(0,l.jsx)(f.Z,{title:"user info goes here",placement:"topLeft",mouseEnterDelay:1,children:(0,l.jsxs)("div",{className:b().user,style:{color:N},children:[(0,l.jsx)("span",{className:b().userName,children:p}),(0,l.jsx)("span",{children:O})]})}),(0,l.jsx)(f.Z,{title:M,mouseEnterDelay:1,children:(0,l.jsx)(D,{search:s,children:(0,l.jsx)("div",{className:b().message,dangerouslySetInnerHTML:{__html:E}})})}),a&&(0,l.jsx)("div",{className:b().modMenuWrapper,children:(0,l.jsx)(B,{messageID:c,accessToken:y,userID:g,userDisplayName:p})}),(0,l.jsx)("div",{className:b().background,style:{color:N}})]})})};var A=s(93045),U=s(27496),F=s(55241),I=s(77493),H=s(96391),L=s(26912),R=s.n(L);let P=N()(()=>Promise.all([s.e(7741),s.e(1559)]).then(s.bind(s,51559)).then(e=>e.EmojiPicker),{loadableGenerated:{webpack:()=>[51559]}}),W=e=>{let{attributes:t,element:s,children:a}=e,n=(0,H.vt)(),r=(0,H.UE)();return(0,l.jsxs)("span",{...t,contentEditable:!1,children:[(0,l.jsx)("img",{alt:s.alt,src:s.src,title:s.name,style:{display:"inline",maxWidth:"50px",maxHeight:"20px",boxShadow:"".concat(n&&r?"0 0 0 3px #B4D5FF":"none")}}),a]})},G=e=>{let{isVoid:t}=e;return e.isVoid=e=>"image"===e.type||t(e),e.isInline=e=>"image"===e.type,e},Y=e=>{let t;if(I.xv.isText(e)){let s=e.text;return s}if(0===e.children.length)t=[{text:""}];else{var a;t=null===(a=e.children)||void 0===a?void 0:a.map(e=>Y(e)).join("")}switch(e.type){case"paragraph":return"

".concat(t,"

");case"image":return'').concat(e.alt,'');default:return t}},Z=e=>{if(I.xv.isText(e))return e.text.length;if("image"===e.type)return 5;let t=0;return e.children.forEach(e=>{t+=Z(e)}),t},J=e=>{let{defaultText:t}=e,[s,a]=(0,d.useState)(!1),[n,r]=(0,d.useState)(null==t?void 0:t.length),o=(0,v.sJ)(k.Gt),i=(0,d.useMemo)(()=>(0,H.BU)(G((0,I.Jh)())),[]),c=()=>{if(!o){console.log("websocketService is not defined");return}let e=Y(i);o.send({type:u.C.CHAT,body:e}),I.YR.delete(i,{at:{anchor:I.ML.start(i,[]),focus:I.ML.end(i,[])}}),r(0)},h=(e,t,s)=>({type:"image",alt:e,src:t,name:s,children:[{text:""}]}),m=(e,t)=>{if(!e)return;let{selection:s}=i,a=h(t,e,t);if(I.YR.insertNodes(i,a,{select:!0}),s){var n;let[r,o]=I.ML.parent(i,null===(n=s.focus)||void 0===n?void 0:n.path);i.isVoid(r)||I.NB.string(r).length?I.YR.insertNodes(i,a,{at:I.y$.next(o),select:!0}):(I.YR.insertNodes(i,a,{at:o,select:!0}),I.ML.normalize(i,{force:!0}))}else I.YR.insertNodes(i,a,{select:!0})},g=e=>{H.F3.focus(i),I.YR.insertText(i,e)},p=(e,t)=>{H.F3.focus(i),m(t,e)},x=e=>{let t=Z(i)+1;if("Enter"===e.key){e.preventDefault(),c();return}if("Backspace"===e.key){r(t-1);return}t+1>300&&e.preventDefault(),r(t+1)},_=e=>{let t=e.clipboardData.getData("text/plain"),{length:s}=t;n+s>300&&e.preventDefault()},f=e=>"image"===e.element.type?(0,l.jsx)(W,{...e}):(0,l.jsx)("p",{...e});return(0,l.jsx)("div",{className:R().root,children:(0,l.jsxs)("div",{className:C()(R().inputWrap,n>=300&&R().maxCharacters),children:[(0,l.jsxs)(H.mH,{editor:i,value:[{type:"paragraph",children:[{text:t||""}]}],children:[(0,l.jsx)(H.CX,{onKeyDown:x,onPaste:_,renderElement:f,placeholder:"Send a message to chat",style:{width:"100%"},autoFocus:!0}),(0,l.jsx)(F.Z,{content:(0,l.jsx)(P,{onEmojiSelect:g,onCustomEmojiSelect:p}),trigger:"click",onOpenChange:e=>a(e),open:s})]}),(0,l.jsxs)("div",{style:{display:"flex",paddingLeft:"5px"},children:[(0,l.jsx)("button",{type:"button",className:R().emojiButton,title:"Emoji picker button",onClick:()=>a(!s),children:(0,l.jsx)(A.Z,{})}),(0,l.jsx)("button",{type:"button",className:R().sendButton,title:"Send message Button",onClick:c,children:(0,l.jsx)(U.Z,{})})]})]})})};var V=s(93107),X=s.n(V);function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t(0,l.jsxs)("div",{className:X().chatModerationNotification,children:[(0,l.jsx)(q,{className:X().icon}),"You are now a moderator."]});var $=s(47049),Q=s(23421),ee=s.n(Q);let et=e=>{let{message:{body:t,user:{displayName:s}},highlightString:a}=e;return(0,l.jsxs)("div",{className:ee().chatSystemMessage,children:[(0,l.jsx)("div",{className:ee().user,children:(0,l.jsx)("span",{className:ee().userName,children:s})}),(0,l.jsx)($.Highlight,{search:a,children:(0,l.jsx)("div",{className:ee().message,dangerouslySetInnerHTML:{__html:t}})})]})};var es=s(55355),ea=s(91044),en=s.n(ea);let er=e=>{let{isAuthorModerator:t,userColor:s,displayName:a}=e;return(0,l.jsxs)("div",{className:en().root,children:[(0,l.jsxs)("span",{style:{color:"var(--theme-color-users-".concat(s,")")},children:[(0,l.jsx)("span",{style:{padding:"0 10px"},children:(0,l.jsx)(es.Z,{})}),(0,l.jsx)("span",{style:{fontWeight:"bold"},children:a}),t&&(0,l.jsx)("span",{children:(0,l.jsx)(T,{badge:"mod",userColor:s})})]})," ","joined the chat."]})};var eo=s(66017),ei=s(71577);let el=e=>{let{chatContainerRef:t,messages:s}=e;return(0,l.jsx)("div",{className:g().toBottomWrap,children:(0,l.jsx)(ei.Z,{type:"default",style:{color:"currentColor"},icon:(0,l.jsx)(eo.Z,{}),onClick:()=>t.current.scrollToIndex({index:s.length-1,behavior:"smooth"}),children:"Go to last message"})})};var ec=s(65302),ed=s.n(ec);let eh=e=>{let{body:t}=e;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:ed().chatAction})};function eu(e){let{user:{scopes:t}}=e;return!!t&&0!==t.length&&t.includes("MODERATOR")}let em=e=>{let{messages:t,usernameToHighlight:s,chatUserId:a,isModerator:n,showInput:r,height:o}=e,[i,m]=(0,d.useState)(!1),p=(0,d.useRef)(null),x=e=>{let{oldName:t,user:s}=e,{displayName:a,displayColor:n}=s,r="var(--theme-color-users-".concat(n,")");return(0,l.jsxs)("div",{className:g().nameChangeView,children:[(0,l.jsx)("div",{style:{marginRight:5,height:"max-content",margin:"auto 5px auto 0"},children:(0,l.jsx)(h.Z,{})}),(0,l.jsxs)("div",{className:g().nameChangeText,children:[(0,l.jsx)("span",{style:{color:r},children:t}),(0,l.jsx)("span",{className:g().plain,children:" is now known as "}),(0,l.jsx)("span",{style:{color:r},children:a})]})]})},_=e=>{let{user:{displayName:t,displayColor:s}}=e,a=eu(e);return(0,l.jsx)(er,{displayName:t,userColor:s,isAuthorModerator:a})},C=e=>{let{body:t}=e;return(0,l.jsx)(eh,{body:t})},f=e=>{let t=eu(e);return t?(0,l.jsx)(K,{}):(0,l.jsx)("div",{style:{width:"1px",height:"1px"}})},j=(e,r)=>{switch(r.type){case u.C.CHAT:var o,i,c;return(0,l.jsx)(O,{message:r,showModeratorMenu:n,highlightString:s,sentBySelf:(null===(o=r.user)||void 0===o?void 0:o.id)===a,sameUserAsLast:function(e,t){if(e.length<2)return!1;let s=e[t],{user:{id:a}}=s,n=e[t-1];if((null==n?void 0:n.type)!==u.C.CHAT||!n.timestamp||!s.timestamp)return!1;let r=new Date(n.timestamp).getTime(),o=new Date(s.timestamp).getTime();return!(o-r>12e4)&&a===(null==n?void 0:n.user.id)}(t,e),isAuthorModerator:null===(i=r.user.scopes)||void 0===i?void 0:i.includes("MODERATOR"),isAuthorAuthenticated:null===(c=r.user)||void 0===c?void 0:c.authenticated},r.id);case u.C.NAME_CHANGE:return x(r);case u.C.CONNECTED_USER_INFO:return f(r);case u.C.USER_JOINED:return _(r);case u.C.CHAT_ACTION:return C(r);case u.C.SYSTEM:return(0,l.jsx)(et,{message:r,highlightString:s},r.id);default:return null}},v=(0,d.useMemo)(()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.OO,{style:{height:o},className:g().virtuoso,ref:p,initialTopMostItemIndex:t.length-1,data:t,itemContent:(e,t)=>j(e,t),followOutput:"auto",alignToBottom:!0,atBottomStateChange:e=>m(e)}),!i&&(0,l.jsx)(el,{chatContainerRef:p,messages:t})]}),[t,s,a,n,i]);return(0,l.jsxs)("div",{className:g().chatContainer,children:[v,r&&(0,l.jsx)(J,{})]})};em.defaultProps={showInput:!0,height:"auto"}},65302:function(e){e.exports={chatAction:"ChatActionMessage_chatAction__x9Xsg"}},59760:function(e){e.exports={chatHeader:"ChatContainer_chatHeader__EJsYI",toBottomWrap:"ChatContainer_toBottomWrap__3V5wa",toBottomBtn:"ChatContainer_toBottomBtn__453AG",nameChangeView:"ChatContainer_nameChangeView__ziyXN",nameChangeText:"ChatContainer_nameChangeText__yXG__",plain:"ChatContainer_plain__IPS19",chatContainer:"ChatContainer_chatContainer__O2lYN",virtuoso:"ChatContainer_virtuoso__OS9Kz"}},91044:function(e){e.exports={root:"ChatJoinMessage_root__vuVXa"}},93107:function(e){e.exports={chatModerationNotification:"ChatModeratorNotification_chatModerationNotification__kgFWe",icon:"ChatModeratorNotification_icon__7FdGg"}},23421:function(e){e.exports={chatSystemMessage:"ChatSystemMessage_chatSystemMessage__c6XEN",user:"ChatSystemMessage_user__6yHSJ",message:"ChatSystemMessage_message__ySq5g"}},26912:function(e){e.exports={root:"ChatTextField_root__4oUkJ",inputWrap:"ChatTextField_inputWrap__1mAjD",maxCharacters:"ChatTextField_maxCharacters__yGT4s",emojiButton:"ChatTextField_emojiButton__ON_Cu",sendButton:"ChatTextField_sendButton__MOmD4"}},48976:function(e){e.exports={badge:"ChatUserBadge_badge__1EdUp"}},50085:function(e){e.exports={root:"ChatUserMessage_root__79heB",user:"ChatUserMessage_user__xUEp9",message:"ChatUserMessage_message__MJ9LD",ownMessage:"ChatUserMessage_ownMessage__d28A3",background:"ChatUserMessage_background__Tfghp",modMenuWrapper:"ChatUserMessage_modMenuWrapper__7fblv",messagePadding:"ChatUserMessage_messagePadding__Xp1F6",messagePaddingCollapsed:"ChatUserMessage_messagePaddingCollapsed__qxN0E"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4ad82c5e-3111f896f08ad8d3.js b/static/web/_next/static/chunks/4ad82c5e-3111f896f08ad8d3.js deleted file mode 100644 index 02187d6fb..000000000 --- a/static/web/_next/static/chunks/4ad82c5e-3111f896f08ad8d3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5762],{47421:function(t,e,i){i.d(e,{$1:function(){return Ii},$f:function(){return Wi},AE:function(){return us},Eu:function(){return po},HQ:function(){return wo},Nm:function(){return zt},OO:function(){return Ct},S2:function(){return Ds},SJ:function(){return Us},Sd:function(){return Ks},Uw:function(){return Gi},W$:function(){return ys},ZO:function(){return gs},Zs:function(){return ks},bF:function(){return Fs},gB:function(){return Is},hJ:function(){return Hs},l9:function(){return st},lg:function(){return Ot},mH:function(){return _s},p:function(){return nt},qr:function(){return os},tk:function(){return Ei},v5:function(){return Js}});var s=i(78120),o=i(28699),n=i(33952);function r(t){let e;return e=11==t.nodeType?t.getSelection?t:t.ownerDocument:t,e.getSelection()}function l(t,e){return!!e&&(t==e||t.contains(1!=e.nodeType?e.parentNode:e))}function h(t,e){if(!e.anchorNode)return!1;try{return l(t,e.anchorNode)}catch(i){return!1}}function a(t){return 3==t.nodeType?x(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function c(t,e,i,s){return!!i&&(u(t,e,i,s,-1)||u(t,e,i,s,1))}function d(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e}function u(t,e,i,s,o){for(;;){if(t==i&&e==s)return!0;if(e==(o<0?0:f(t))){if("DIV"==t.nodeName)return!1;let i=t.parentNode;if(!i||1!=i.nodeType)return!1;e=d(t)+(o<0?0:1),t=i}else{if(1!=t.nodeType)return!1;if(1==(t=t.childNodes[e+(o<0?-1:0)]).nodeType&&"false"==t.contentEditable)return!1;e=o<0?f(t):0}}}function f(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}const p={left:0,right:0,top:0,bottom:0};function m(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function g(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}class v{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){this.set(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset)}set(t,e,i,s){this.anchorNode=t,this.anchorOffset=e,this.focusNode=i,this.focusOffset=s}}let w,b=null;function y(t){if(t.setActive)return t.setActive();if(b)return t.focus(b);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(null==b?{get preventScroll(){return b={preventScroll:!0},!0}}:void 0),!b){b=!1;for(let t=0;te)return i.domBoundsAround(t,e,h);if(c>=t&&-1==s&&(s=l,o=h),h>e&&i.dom.parentNode==this.dom){n=l,r=a;break}a=c,h=c+i.breakAfter}return{from:o,to:r<0?i+this.length:r,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:n=0?this.children[n].dom:null}}markDirty(t=!1){this.dirty|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let e=this.parent;e;e=e.parent){if(t&&(e.dirty|=2),1&e.dirty)return;e.dirty|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.dirty&&this.markParentsDirty(!0))}setDOM(t){this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this}get rootView(){for(let t=this;;){let e=t.parent;if(!e)return t;t=e}}replaceChildren(t,e,i=C){this.markDirty();for(let s=t;sthis.pos||t==this.pos&&(e>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function O(t,e,i,s,o,n,r,l,h){let{children:a}=t,c=a.length?a[e]:null,d=n.length?n[n.length-1]:null,u=d?d.breakAfter:r;if(!(e==s&&c&&!r&&!u&&n.length<2&&c.merge(i,o,n.length?d:null,0==i,l,h))){if(s0&&(!r&&n.length&&c.merge(i,c.length,n[0],!1,l,0)?c.breakAfter=n.shift().breakAfter:(i2);var q={mac:I||/Mac/.test(R.platform),windows:/Win/.test(R.platform),linux:/Linux|X11/.test(R.platform),ie:N,ie_version:V?B.documentMode||6:H?+H[1]:L?+L[1]:0,gecko:P,gecko_version:P?+(/Firefox\/(\d+)/.exec(R.userAgent)||[0,0])[1]:0,chrome:!!W,chrome_version:W?+W[1]:0,ios:I,android:/Android\b/.test(R.userAgent),webkit:z,safari:F,webkit_version:z?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=B.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};class j extends A{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){3==t.nodeType&&this.createDOM(t)}merge(t,e,i){return(!i||i instanceof j&&!(this.length-(e-t)+i.length>256))&&(this.text=this.text.slice(0,t)+(i?i.text:"")+this.text.slice(e),this.markDirty(),!0)}split(t){let e=new j(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),e}localPosFromDOM(t,e){return t==this.dom?e:e?this.text.length:0}domAtPos(t){return new k(this.dom,t)}domBoundsAround(t,e,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,e){return $(this.dom,t,e)}}class K extends A{constructor(t,e=[],i=0){super(),this.mark=t,this.children=e,this.length=i;for(let s of e)s.setParent(this)}setAttrs(t){if(M(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let e in this.mark.attrs)t.setAttribute(e,this.mark.attrs[e]);return t}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.dirty|=6)}sync(t){this.dom?4&this.dirty&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t)}merge(t,e,i,s,o,n){return(!i||!(!(i instanceof K&&i.mark.eq(this.mark))||t&&o<=0||et&&e.push(i=t&&(s=o),i=n,o++}let n=this.length-t;return this.length=t,s>-1&&(this.children.length=s,this.markDirty()),new K(this.mark,e,n)}domAtPos(t){return Q(this,t)}coordsAt(t,e){return J(this,t,e)}}function $(t,e,i){let s=t.nodeValue.length;e>s&&(e=s);let o=e,n=e,r=0;0==e&&i<0||e==s&&i>=0?q.chrome||q.gecko||(e?(o--,r=1):n=0)?0:l.length-1];return q.safari&&!r&&0==h.width&&(h=Array.prototype.find.call(l,(t=>t.width))||h),r?m(h,r<0):h||null}class G extends A{constructor(t,e,i){super(),this.widget=t,this.length=e,this.side=i,this.prevWidget=null}static create(t,e,i){return new(t.customView||G)(t,e,i)}split(t){let e=G.create(this.widget,this.length-t,this.side);return this.length-=t,e}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(t,e,i,s,o,n){return!(i&&(!(i instanceof G&&this.widget.compare(i.widget))||t>0&&o<=0||e0?i.length-1:0;s=i[o],!(t>0?0==o:o==i.length-1||s.top0?-1:1);return m(s,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class X extends G{domAtPos(t){let{topView:e,text:i}=this.widget;return e?_(t,0,e,i,((t,e)=>t.domAtPos(e)),(t=>new k(i,Math.min(t,i.nodeValue.length)))):new k(i,Math.min(t,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(t,e){let{topView:i,text:s}=this.widget;return i?U(t,e,i,s):Math.min(e,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(t,e){let{topView:i,text:s}=this.widget;return i?_(t,e,i,s,((t,e,i)=>t.coordsAt(e,i)),((t,e)=>$(s,t,e))):$(s,t,e)}destroy(){var t;super.destroy(),null===(t=this.widget.topView)||void 0===t||t.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function _(t,e,i,s,o,n){if(i instanceof K){for(let r=i.dom.firstChild;r;r=r.nextSibling){let i=A.get(r);if(!i)return n(t,e);let h=l(r,s),a=i.length+(h?s.nodeValue.length:0);if(t=0;)if(e<0?s>0:s0?-1:1);return i&&i.tope.top?{left:e.left,right:e.right,top:i.top,bottom:i.bottom}:e}get overrideDOMText(){return s.xv.empty}}function Q(t,e){let i=t.dom,{children:s}=t,o=0;for(let n=0;on&&e0;n--){let t=s[n-1];if(t.dom.parentNode==i)return t.domAtPos(t.length)}for(let n=o;n0&&e instanceof K&&o.length&&(s=o[o.length-1])instanceof K&&s.mark.eq(e.mark)?Z(s,e.children[0],i-1):(o.push(e),e.setParent(t)),t.length+=e.length}function J(t,e,i){let s=null,o=-1,n=null,r=-1;!function t(e,i){for(let l=0,h=0;l=i&&(a.children.length?t(a,i-h):!n&&(c>i||h==c&&a.getSide()>0)?(n=a,r=i-h):(h0?3e8:-4e8:e>0?1e8:-1e8,new ht(t,e,e,i,t.widget||null,!1)}static replace(t){let e,i,s=!!t.block;if(t.isBlockGap)e=-5e8,i=4e8;else{let{start:o,end:n}=at(t,s);e=(o?s?-3e8:-1:5e8)-1,i=1+(n?s?2e8:1:-6e8)}return new ht(t,e,i,s,t.widget||null,!0)}static line(t){return new lt(t)}static set(t,e=!1){return s.Xs.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}nt.none=s.Xs.empty;class rt extends nt{constructor(t){let{start:e,end:i}=at(t);super(e?-1:5e8,i?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){return this==t||t instanceof rt&&this.tagName==t.tagName&&this.class==t.class&&et(this.attrs,t.attrs)}range(t,e=t){if(t>=e)throw new RangeError("Mark decorations may not be empty");return super.range(t,e)}}rt.prototype.point=!1;class lt extends nt{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof lt&&et(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}lt.prototype.mapMode=s.gc.TrackBefore,lt.prototype.point=!0;class ht extends nt{constructor(t,e,i,o,n,r){super(e,i,n,t),this.block=o,this.isReplace=r,this.mapMode=o?e<=0?s.gc.TrackBefore:s.gc.TrackAfter:s.gc.TrackDel}get type(){return this.startSide=5}eq(t){return t instanceof ht&&(e=this.widget,i=t.widget,e==i||!!(e&&i&&e.compare(i)))&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide;var e,i}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function at(t,e=!1){let{inclusiveStart:i,inclusiveEnd:s}=t;return null==i&&(i=t.inclusive),null==s&&(s=t.inclusive),{start:null!==i&&void 0!==i?i:e,end:null!==s&&void 0!==s?s:e}}function ct(t,e,i,s=0){let o=i.length-1;o>=0&&i[o]+s>=t?i[o]=Math.max(i[o],e):i.push(t,e)}ht.prototype.point=!0;class dt extends A{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,i,s,o,n){if(i){if(!(i instanceof dt))return!1;this.dom||i.transferDOM(this)}return s&&this.setDeco(i?i.attrs:null),E(this,t,e,i?i.children:[],o,n),!0}split(t){let e=new dt;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i:i,off:s}=this.childPos(t);s&&(e.append(this.children[i].split(s),0),this.children[i].merge(s,this.children[i].length,null,!1,0,0),i++);for(let o=i;o0&&0==this.children[i-1].length;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=t,e}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){et(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,e){Z(this,t,e)}addLineDeco(t){let e=t.spec.attributes,i=t.spec.class;e&&(this.attrs=tt(e,this.attrs||{})),i&&(this.attrs=tt({class:i},this.attrs||{}))}domAtPos(t){return Q(this,t)}reuseDOM(t){"DIV"==t.nodeName&&(this.setDOM(t),this.dirty|=6)}sync(t){var e;this.dom?4&this.dirty&&(M(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(it(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t);let i=this.dom.lastChild;for(;i&&A.get(i)instanceof K;)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&0==(null===(e=A.get(i))||void 0===e?void 0:e.isEditable)&&(!q.ios||!this.children.some((t=>t instanceof j)))){let t=document.createElement("BR");t.cmIgnore=!0,this.dom.appendChild(t)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let t=0;for(let e of this.children){if(!(e instanceof j)||/[^ -~]/.test(e.text))return null;let i=a(e.dom);if(1!=i.length)return null;t+=i[0].width}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length}:null}coordsAt(t,e){return J(this,t,e)}become(t){return!1}get type(){return ot.Text}static find(t,e){for(let i=0,s=0;i=e){if(o instanceof dt)return o;if(n>e)break}s=n+o.breakAfter}return null}}class ut extends A{constructor(t,e,i){super(),this.widget=t,this.length=e,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(t,e,i,s,o,n){return!(i&&(!(i instanceof ut&&this.widget.compare(i.widget))||t>0&&o<=0||e0;){if(this.textOff==this.text.length){let{value:e,lineBreak:i,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(i){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,t--;continue}this.text=e,this.textOff=0}let s=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(e.slice(0,i)),this.getLine().append(pt(new j(this.text.slice(this.textOff,this.textOff+s)),e),i),this.atCursorPos=!0,this.textOff+=s,t-=s,i=0}}span(t,e,i,s){this.buildText(e-t,i,s),this.pos=e,this.openStart<0&&(this.openStart=s)}point(t,e,i,s,o,n){if(this.disallowBlockEffectsFor[n]&&i instanceof ht){if(i.block)throw new RangeError("Block decorations may not be specified via plugins");if(e>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let r=e-t;if(i instanceof ht)if(i.block){let{type:t}=i;t!=ot.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new ut(i.widget||new mt("div"),r,t))}else{let n=G.create(i.widget||new mt("span"),r,r?0:i.startSide),l=this.atCursorPos&&!n.isEditable&&o<=s.length&&(t0),h=!n.isEditable&&(tt.some((t=>t))});class Mt{constructor(t,e="nearest",i="nearest",s=5,o=5){this.range=t,this.y=e,this.x=i,this.yMargin=s,this.xMargin=o}map(t){return t.empty?this:new Mt(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}const kt=s.Py.define({map:(t,e)=>t.map(e)});function Ct(t,e,i){let s=t.facet(bt);s.length?s[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const At=s.r$.define({combine:t=>!t.length||t[0]});let Dt=0;const Tt=s.r$.define();class Ot{constructor(t,e,i,s){this.id=t,this.create=e,this.domEventHandlers=i,this.extension=s(this)}static define(t,e){const{eventHandlers:i,provide:s,decorations:o}=e||{};return new Ot(Dt++,t,i,(t=>{let e=[Tt.of(t)];return o&&e.push(Lt.of((e=>{let i=e.plugin(t);return i?o(i):nt.none}))),s&&e.push(s(t)),e}))}static fromClass(t,e){return Ot.define((e=>new t(e)),e)}}class Et{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(e){if(Ct(t.state,e,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(i){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(e){Ct(t.state,e,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy)try{this.value.destroy()}catch(i){Ct(t.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Rt=s.r$.define(),Bt=s.r$.define(),Lt=s.r$.define(),Vt=s.r$.define(),Ht=s.r$.define(),Nt=s.r$.define();class Pt{constructor(t,e,i,s){this.fromA=t,this.toA=e,this.fromB=i,this.toB=s}join(t){return new Pt(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;e>0;e--){let s=t[e-1];if(!(s.fromA>i.toA)){if(s.toAa)break;o+=2}if(!l)return i;new Pt(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),n=l.toA,r=l.toB}}}class Wt{constructor(t,e,i){this.view=t,this.state=e,this.transactions=i,this.flags=0,this.startState=t.state,this.changes=s.as.empty(this.startState.doc.length);for(let s of i)this.changes=this.changes.compose(s.changes);let o=[];this.changes.iterChangedRanges(((t,e,i,s)=>o.push(new Pt(t,e,i,s)))),this.changedRanges=o;let n=t.hasFocus;n!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=n,this.flags|=1)}static create(t,e,i){return new Wt(t,e,i)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some((t=>t.selection))}get empty(){return 0==this.flags&&0==this.transactions.length}}var zt=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(zt||(zt={}));const Ft=zt.LTR,It=zt.RTL;function qt(t){let e=[];for(let i=0;i=e){if(r.level==i)return n;(o<0||(0!=s?s<0?r.frome:t[o].level>r.level))&&(o=n)}}if(o<0)throw new RangeError("Index out of range");return o}}const Ut=[];function Yt(t,e){let i=t.length,s=e==Ft?1:2,o=e==Ft?2:1;if(!t||1==s&&!Xt.test(t))return Qt(i);for(let l=0,h=s,a=s;l=0;t-=3)if(Gt[t+1]==-h){let e=Gt[t+2],i=2&e?s:4&e?1&e?o:s:0;i&&(Ut[c]=Ut[Gt[t]]=i),d=t;break}}else{if(189==Gt.length)break;Gt[d++]=c,Gt[d++]=l,Gt[d++]=u}else if(2==(a=Ut[c])||1==a){let t=a==s;u=t?0:1;for(let e=d-3;e>=0;e-=3){let i=Gt[e+2];if(2&i)break;if(t)Gt[e+2]|=2;else{if(4&i)break;Gt[e+2]|=4}}}for(let l=0;lt;){let e=i,s=2!=Ut[--i];for(;i>t&&s==(2!=Ut[i-1]);)i--;r.push(new _t(i,e,s?2:1))}else r.push(new _t(t,l,0))}else for(let l=0;l1)for(let e of this.points)e.node==t&&e.pos>this.text.length&&(e.pos-=r-1);i=n+r}}readNode(t){if(t.cmIgnore)return;let e=A.get(t),i=e&&e.overrideDOMText;if(null!=i){this.findPointInside(t,i.length);for(let t=i.iter();!t.next().done;)t.lineBreak?this.lineBreak():this.append(t.value)}else 3==t.nodeType?this.readTextNode(t):"BR"==t.nodeName?t.nextSibling&&this.lineBreak():1==t.nodeType&&this.readRange(t.firstChild,null)}findPointBefore(t,e){for(let i of this.points)i.node==t&&t.childNodes[i.offset]==e&&(i.pos=this.text.length)}findPointInside(t,e){for(let i of this.points)(3==t.nodeType?i.node==t:t.contains(i.node))&&(i.pos=this.text.length+Math.min(e,i.offset))}}function ie(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class se{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class oe extends A{constructor(t){super(),this.view=t,this.compositionDeco=nt.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new dt],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Pt(0,0,0,t.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(t){let e=t.changedRanges;this.minWidth>0&&e.length&&(e.every((({fromA:t,toA:e})=>ethis.minWidthTo))?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=nt.none:(t.transactions.length||this.dirty)&&(this.compositionDeco=function(t,e){let i=re(t);if(!i)return nt.none;let{from:s,to:o,node:n,text:r}=i,l=e.mapPos(s,1),h=Math.max(l,e.mapPos(o,-1)),{state:a}=t,c=3==n.nodeType?n.nodeValue:new ee([],a).readRange(n.firstChild,null).text;if(h-l{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let t=q.chrome||q.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(t),this.dirty=0,t&&(t.written||i.selectionRange.focusNode!=t.node)&&(this.forceSelection=!0),this.dom.style.height=""}));let s=[];if(this.view.viewport.from||this.view.viewport.to=0?t[s]:null;if(!e)break;let{fromA:o,toA:n,fromB:r,toB:l}=e,{content:h,breakAtStart:a,openStart:c,openEnd:d}=ft.build(this.view.state.doc,r,l,this.decorations,this.dynamicDecorationMap),{i:u,off:f}=i.findPos(n,1),{i:p,off:m}=i.findPos(o,-1);O(this,p,m,u,f,h,a,c,d)}}updateSelection(t=!1,e=!1){if(!t&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange(),!e&&!this.mayControlSelection())return;let i=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,o=this.domAtPos(s.anchor),n=s.empty?o:this.domAtPos(s.head);if(q.gecko&&s.empty&&(1==(l=o).node.nodeType&&l.node.firstChild&&(0==l.offset||"false"==l.node.childNodes[l.offset-1].contentEditable)&&(l.offset==l.node.childNodes.length||"false"==l.node.childNodes[l.offset].contentEditable))){let t=document.createTextNode("");this.view.observer.ignore((()=>o.node.insertBefore(t,o.node.childNodes[o.offset]||null))),o=n=new k(t,0),i=!0}var l;let h=this.view.observer.selectionRange;!i&&h.focusNode&&c(o.node,o.offset,h.anchorNode,h.anchorOffset)&&c(n.node,n.offset,h.focusNode,h.focusOffset)||(this.view.observer.ignore((()=>{q.android&&q.chrome&&this.dom.contains(h.focusNode)&&function(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(1==i.nodeType&&"false"==i.contentEditable)return!0;return!1}(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let t=r(this.view.root);if(t)if(s.empty){if(q.gecko){let t=(e=o.node,i=o.offset,1!=e.nodeType?0:(i&&"false"==e.childNodes[i-1].contentEditable?1:0)|(is.head&&([o,n]=[n,o]),e.setEnd(n.node,n.offset),e.setStart(o.node,o.offset),t.removeAllRanges(),t.addRange(e)}else;var e,i})),this.view.observer.setSelectionRange(o,n)),this.impreciseAnchor=o.precise?null:new k(h.anchorNode,h.anchorOffset),this.impreciseHead=n.precise?null:new k(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let t=this.view.state.selection.main,e=r(this.view.root);if(!e||!t.empty||!t.assoc||!e.modify)return;let i=dt.find(this,t.head);if(!i)return;let s=i.posAtStart;if(t.head==s||t.head==s+i.length)return;let o=this.coordsAt(t.head,-1),n=this.coordsAt(t.head,1);if(!o||!n||o.bottom>n.top)return;let l=this.domAtPos(t.head+t.assoc);e.collapse(l.node,l.offset),e.modify("move",t.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){let t=this.view.root.activeElement;return t==this.dom||h(this.dom,this.view.observer.selectionRange)&&!(t&&this.dom.contains(t))}nearest(t){for(let e=t;e;){let t=A.get(e);if(t&&t.rootView==this)return t;e=e.parentNode}return null}posFromDOM(t,e){let i=this.nearest(t);if(!i)throw new RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(t,e)+i.posAtStart}domAtPos(t){let{i:e,off:i}=this.childCursor().findPos(t,-1);for(;en||t==n&&o.type!=ot.WidgetBefore&&o.type!=ot.WidgetAfter&&(!s||2==e||this.children[s-1].breakAfter||this.children[s-1].type==ot.WidgetBefore&&e>-2))return o.coordsAt(t-n,e);i=n}}measureVisibleLineHeights(t){let e=[],{from:i,to:s}=t,o=this.view.contentDOM.clientWidth,n=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,r=-1,l=this.view.textDirection==zt.LTR;for(let h=0,c=0;cs)break;if(h>=i){let i=t.dom.getBoundingClientRect();if(e.push(i.height),n){let e=t.dom.lastChild,s=e?a(e):[];if(s.length){let t=s[s.length-1],e=l?t.right-i.left:i.right-t.left;e>r&&(r=e,this.minWidth=o,this.minWidthFrom=h,this.minWidthTo=d)}}}h=d+t.breakAfter}return e}textDirectionAt(t){let{i:e}=this.childPos(t,1);return"rtl"==getComputedStyle(this.children[e].dom).direction?zt.RTL:zt.LTR}measureTextSize(){for(let s of this.children)if(s instanceof dt){let t=s.measureTextSize();if(t)return t}let t,e,i=document.createElement("div");return i.className="cm-line",i.style.width="99999px",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{this.dom.appendChild(i);let s=a(i.firstChild)[0];t=i.getBoundingClientRect().height,e=s?s.width/27:7,i.remove()})),{lineHeight:t,charWidth:e}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new T(this.children,t,e)}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,s=0;;s++){let o=s==e.viewports.length?null:e.viewports[s],n=o?o.from-1:this.length;if(n>i){let s=e.lineBlockAt(n).bottom-e.lineBlockAt(i).top;t.push(nt.replace({widget:new ne(s),block:!0,inclusive:!0,isBlockGap:!0}).range(i,n))}if(!o)break;i=o.to+1}return nt.set(t)}updateDeco(){let t=this.view.state.facet(Lt).map(((t,e)=>(this.dynamicDecorationMap[e]="function"==typeof t)?t(this.view):t));for(let e=t.length;ei.anchor?-1:1);if(!s)return;!i.empty&&(e=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(s={left:Math.min(s.left,e.left),top:Math.min(s.top,e.top),right:Math.max(s.right,e.right),bottom:Math.max(s.bottom,e.bottom)});let o=0,n=0,r=0,l=0;for(let a of this.view.state.facet(Ht).map((t=>t(this.view))))if(a){let{left:t,right:e,top:i,bottom:s}=a;null!=t&&(o=Math.max(o,t)),null!=e&&(n=Math.max(n,e)),null!=i&&(r=Math.max(r,i)),null!=s&&(l=Math.max(l,s))}let h={left:s.left-o,top:s.top-r,right:s.right+n,bottom:s.bottom+l};!function(t,e,i,s,o,n,r,l){let h=t.ownerDocument,a=h.defaultView||window;for(let c=t;c;)if(1==c.nodeType){let t,d=c==h.body;if(d)t=g(a);else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let e=c.getBoundingClientRect();t={left:e.left,right:e.left+c.clientWidth,top:e.top,bottom:e.top+c.clientHeight}}let u=0,f=0;if("nearest"==o)e.top0&&e.bottom>t.bottom+f&&(f=e.bottom-t.bottom+f+r)):e.bottom>t.bottom&&(f=e.bottom-t.bottom+r,i<0&&e.top-f0&&e.right>t.right+u&&(u=e.right-t.right+u+n)):e.right>t.right&&(u=e.right-t.right+n,i<0&&e.left0&&i<=0)e=f(t=t.childNodes[e-1]);else{if(!(1==t.nodeType&&e=0))return null;t=t.childNodes[e],e=0}}}class ae{constructor(){this.changes=[]}compareRange(t,e){ct(t,e,this.changes)}comparePoint(t,e){ct(t,e,this.changes)}}function ce(t,e){return e.left>t?e.left-t:Math.max(0,t-e.right)}function de(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function ue(t,e){return t.tope.top+1}function fe(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function me(t,e,i){let s,o,n,r,l,h,c,d,u=!1;for(let p=t.firstChild;p;p=p.nextSibling){let t=a(p);for(let a=0;ag||r==g&&n>m)&&(s=p,o=f,n=m,r=g,u=!m||(m>0?a0)),0==m?i>f.bottom&&(!c||c.bottomf.top)&&(h=p,d=f):c&&ue(c,f)?c=pe(c,f.bottom):d&&ue(d,f)&&(d=fe(d,f.top))}}if(c&&c.bottom>=i?(s=l,o=c):d&&d.top<=i&&(s=h,o=d),!s)return{node:t,offset:0};let f=Math.max(o.left,Math.min(o.right,e));return 3==s.nodeType?ge(s,f,i):u&&"false"!=s.contentEditable?me(s,f,i):{node:t,offset:Array.prototype.indexOf.call(t.childNodes,s)+(e>=(o.left+o.right)/2?1:0)}}function ge(t,e,i){let s=t.nodeValue.length,o=-1,n=1e9,r=0;for(let l=0;li?a.top-i:i-a.bottom)-1;if(a.left-1<=e&&a.right+1>=e&&c=(a.left+a.right)/2,s=i;if(q.chrome||q.gecko){x(t,l).getBoundingClientRect().left==a.right&&(s=!i)}if(c<=0)return{node:t,offset:l+(s?1:0)};o=l+(s?1:0),n=c}}}return{node:t,offset:o>-1?o:r>0?t.nodeValue.length:0}}function ve(t,{x:e,y:i},s,o=-1){var n;let r,l=t.contentDOM.getBoundingClientRect(),h=l.top+t.viewState.paddingTop,{docHeight:a}=t.viewState,c=i-h;if(c<0)return 0;if(c>a)return t.state.doc.length;for(let v=t.defaultLineHeight/2,w=!1;r=t.elementAtHeight(c),r.type!=ot.Text;)for(;c=o>0?r.bottom+v:r.top-v,!(c>=0&&c<=a);){if(w)return s?null:0;w=!0,o=-o}i=h+c;let d=r.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:s?null:we(t,l,r,e,i);let u=t.dom.ownerDocument,f=t.root.elementFromPoint?t.root:u,p=f.elementFromPoint(e,i);p&&!t.contentDOM.contains(p)&&(p=null),p||(e=Math.max(l.left+1,Math.min(l.right-1,e)),p=f.elementFromPoint(e,i),p&&!t.contentDOM.contains(p)&&(p=null));let m,g=-1;if(p&&0!=(null===(n=t.docView.nearest(p))||void 0===n?void 0:n.isEditable))if(u.caretPositionFromPoint){let t=u.caretPositionFromPoint(e,i);t&&({offsetNode:m,offset:g}=t)}else if(u.caretRangeFromPoint){let s=u.caretRangeFromPoint(e,i);s&&(({startContainer:m,startOffset:g}=s),(!t.contentDOM.contains(m)||q.safari&&function(t,e,i){let s;if(3!=t.nodeType||e!=(s=t.nodeValue.length))return!1;for(let o=t.nextSibling;o;o=o.nextSibling)if(1!=o.nodeType||"BR"!=o.nodeName)return!1;return x(t,s-1,s).getBoundingClientRect().left>i}(m,g,e)||q.chrome&&function(t,e,i){if(0!=e)return!1;for(let o=t;;){let t=o.parentNode;if(!t||1!=t.nodeType||t.firstChild!=o)return!1;if(t.classList.contains("cm-line"))break;o=t}let s=1==t.nodeType?t.getBoundingClientRect():x(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-s.left>5}(m,g,e))&&(m=void 0))}if(!m||!t.docView.dom.contains(m)){let s=dt.find(t.docView,d);if(!s)return c>r.top+r.height/2?r.to:r.from;({node:m,offset:g}=me(s.dom,e,i))}return t.docView.posFromDOM(m,g)}function we(t,e,i,o,n){let r=Math.round((o-e.left)*t.defaultCharacterWidth);if(t.lineWrapping&&i.height>1.5*t.defaultLineHeight){r+=Math.floor((n-i.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength}let l=t.state.sliceDoc(i.from,i.to);return i.from+(0,s.Gz)(l,r,t.state.tabSize)}function be(t,e,i,o){let n=t.state.doc.lineAt(e.head),r=t.bidiSpans(n),l=t.textDirectionAt(n.from);for(let h=e,a=null;;){let e=Jt(n,r,l,h,i),c=Zt;if(!e){if(n.number==(i?t.state.doc.lines:1))return h;c="\n",n=t.state.doc.line(n.number+(i?1:-1)),r=t.bidiSpans(n),e=s.jT.cursor(i?n.from:n.to)}if(a){if(!a(c))return h}else{if(!o)return e;a=o(c)}h=e}}function ye(t,e,i){let o=t.state.facet(Vt).map((e=>e(t)));for(;;){let t=!1;for(let n of o)n.between(i.from-1,i.from+1,((o,n,r)=>{i.from>o&&i.fromi.from?s.jT.cursor(o,1):s.jT.cursor(n,-1),t=!0)}));if(!t)return i}}class xe{constructor(t){this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null;for(let e in De){let i=De[e];t.contentDOM.addEventListener(e,(s=>{Ae(t,s)&&!this.ignoreDuringComposition(s)&&("keydown"==e&&this.keydown(t,s)||(this.mustFlushObserver(s)&&t.observer.forceFlush(),this.runCustomHandlers(e,t,s)?s.preventDefault():i(t,s)))}),Te[e]),this.registeredEvents.push(e)}q.chrome&&102==q.chrome_version&&t.scrollDOM.addEventListener("wheel",(()=>{this.chromeScrollHack<0?t.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout((()=>{this.chromeScrollHack=-1,t.contentDOM.style.pointerEvents=""}),100)}),{passive:!0}),this.notifiedFocused=t.hasFocus,q.safari&&t.contentDOM.addEventListener("input",(()=>null))}setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}ensureHandlers(t,e){var i;let s;this.customHandlers=[];for(let o of e)if(s=null===(i=o.update(t).spec)||void 0===i?void 0:i.domEventHandlers){this.customHandlers.push({plugin:o.value,handlers:s});for(let e in s)this.registeredEvents.indexOf(e)<0&&"scroll"!=e&&(this.registeredEvents.push(e),t.contentDOM.addEventListener(e,(i=>{Ae(t,i)&&this.runCustomHandlers(e,t,i)&&i.preventDefault()})))}}runCustomHandlers(t,e,i){for(let o of this.customHandlers){let n=o.handlers[t];if(n)try{if(n.call(o.plugin,i,e)||i.defaultPrevented)return!0}catch(s){Ct(e.state,s)}}return!1}runScrollHandlers(t,e){this.lastScrollTop=t.scrollDOM.scrollTop,this.lastScrollLeft=t.scrollDOM.scrollLeft;for(let s of this.customHandlers){let o=s.handlers.scroll;if(o)try{o.call(s.plugin,e,t)}catch(i){Ct(t.state,i)}}}keydown(t,e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&Date.now()t.keyCode==e.keyCode)))&&!e.ctrlKey||Me.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey))&&(this.pendingIOSKey=i||e,setTimeout((()=>this.flushIOSKey(t)),250),!0)}flushIOSKey(t){let e=this.pendingIOSKey;return!!e&&(this.pendingIOSKey=void 0,S(t.contentDOM,e.key,e.keyCode))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(this.composing>0||!!(q.safari&&!q.ios&&Date.now()-this.compositionEndedAt<100)&&(this.compositionEndedAt=0,!0))}mustFlushObserver(t){return"keydown"==t.type&&229!=t.keyCode}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.mouseSelection&&this.mouseSelection.update(t),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}const Se=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Me="dthko",ke=[16,17,18,20,91,92,224,225];class Ce{constructor(t,e,i,o){this.view=t,this.style=i,this.mustSelect=o,this.lastEvent=e;let n=t.contentDOM.ownerDocument;n.addEventListener("mousemove",this.move=this.move.bind(this)),n.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=e.shiftKey,this.multiple=t.state.facet(s.yy.allowMultipleSelections)&&function(t,e){let i=t.state.facet(gt);return i.length?i[0](e):q.mac?e.metaKey:e.ctrlKey}(t,e),this.dragMove=function(t,e){let i=t.state.facet(vt);return i.length?i[0](e):q.mac?!e.altKey:!e.ctrlKey}(t,e),this.dragging=!(!function(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let s=r(t.root);if(!s||0==s.rangeCount)return!0;let o=s.getRangeAt(0).getClientRects();for(let n=0;n=e.clientX&&t.top<=e.clientY&&t.bottom>=e.clientY)return!0}return!1}(t,e)||1!=Fe(e))&&null,!1===this.dragging&&(e.preventDefault(),this.select(e))}move(t){if(0==t.buttons)return this.destroy();!1===this.dragging&&this.select(this.lastEvent=t)}up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(t){let e=this.style.get(t,this.extend,this.multiple);!this.mustSelect&&e.eq(this.view.state.selection)&&e.main.assoc==this.view.state.selection.main.assoc||this.view.dispatch({selection:e,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(t){t.docChanged&&this.dragging&&(this.dragging=this.dragging.map(t.changes)),this.style.update(t)&&setTimeout((()=>this.select(this.lastEvent)),20)}}function Ae(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i,s=e.target;s!=t.contentDOM;s=s.parentNode)if(!s||11==s.nodeType||(i=A.get(s))&&i.ignoreEvent(e))return!1;return!0}const De=Object.create(null),Te=Object.create(null),Oe=q.ie&&q.ie_version<15||q.ios&&q.webkit_version<604;function Ee(t,e){let i,{state:o}=t,n=1,r=o.toText(e),l=r.lines==o.selection.ranges.length;if(null!=qe&&o.selection.ranges.every((t=>t.empty))&&qe==r.toString()){let t=-1;i=o.changeByRange((i=>{let h=o.doc.lineAt(i.from);if(h.from==t)return{range:i};t=h.from;let a=o.toText((l?r.line(n++).text:e)+o.lineBreak);return{changes:{from:h.from,insert:a},range:s.jT.cursor(i.from+a.length)}}))}else i=l?o.changeByRange((t=>{let e=r.line(n++);return{changes:{from:t.from,to:t.to,insert:e.text},range:s.jT.cursor(t.from+e.length)}})):o.replaceSelection(r);t.dispatch(i,{userEvent:"input.paste",scrollIntoView:!0})}function Re(t,e,i,o){if(1==o)return s.jT.cursor(e,i);if(2==o)return function(t,e,i=1){let o=t.charCategorizer(e),n=t.doc.lineAt(e),r=e-n.from;if(0==n.length)return s.jT.cursor(e);0==r?i=1:r==n.length&&(i=-1);let l=r,h=r;i<0?l=(0,s.cp)(n.text,r,!1):h=(0,s.cp)(n.text,r);let a=o(n.text.slice(l,h));for(;l>0;){let t=(0,s.cp)(n.text,l,!1);if(o(n.text.slice(t,l))!=a)break;l=t}for(;h{t.inputState.setSelectionOrigin("select"),27==e.keyCode?t.inputState.lastEscPress=Date.now():ke.indexOf(e.keyCode)<0&&(t.inputState.lastEscPress=0)},De.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},De.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},Te.touchstart=Te.touchmove={passive:!0},De.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return;let i=null;for(let s of t.state.facet(wt))if(i=s(t,e),i)break;if(i||0!=e.button||(i=function(t,e){let i=He(t,e),o=Fe(e),n=t.state.selection,r=i,l=e;return{update(t){t.docChanged&&(i.pos=t.changes.mapPos(i.pos),n=n.map(t.changes),l=null)},get(e,h,a){let c;l&&e.clientX==l.clientX&&e.clientY==l.clientY?c=r:(c=r=He(t,e),l=e);let d=Re(t,c.pos,c.bias,o);if(i.pos!=c.pos&&!h){let e=Re(t,i.pos,i.bias,o),n=Math.min(e.from,d.from),r=Math.max(e.to,d.to);d=n1&&n.ranges.some((t=>t.eq(d)))?function(t,e){for(let i=0;;i++)if(t.ranges[i].eq(e))return s.jT.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}(n,d):a?n.addRange(d):s.jT.create([d])}}}(t,e)),i){let s=t.root.activeElement!=t.contentDOM;s&&t.observer.ignore((()=>y(t.contentDOM))),t.inputState.startMouseSelection(new Ce(t,e,i,s))}};let Be=(t,e)=>t>=e.top&&t<=e.bottom,Le=(t,e,i)=>Be(e,i)&&t>=i.left&&t<=i.right;function Ve(t,e,i,s){let o=dt.find(t.docView,e);if(!o)return 1;let n=e-o.posAtStart;if(0==n)return 1;if(n==o.length)return-1;let r=o.coordsAt(n,-1);if(r&&Le(i,s,r))return-1;let l=o.coordsAt(n,1);return l&&Le(i,s,l)?1:r&&Be(s,r)?-1:1}function He(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:Ve(t,i,e.clientX,e.clientY)}}const Ne=q.ie&&q.ie_version<=11;let Pe=null,We=0,ze=0;function Fe(t){if(!Ne)return t.detail;let e=Pe,i=ze;return Pe=t,ze=Date.now(),We=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(We+1)%3:1}function Ie(t,e,i,s){if(!i)return;let o=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:n}=t.inputState,r=s&&n&&n.dragging&&n.dragMove?{from:n.dragging.from,to:n.dragging.to}:null,l={from:o,insert:i},h=t.state.changes(r?[r,l]:l);t.focus(),t.dispatch({changes:h,selection:{anchor:h.mapPos(o,-1),head:h.mapPos(o,1)},userEvent:r?"move.drop":"input.drop"})}De.dragstart=(t,e)=>{let{selection:{main:i}}=t.state,{mouseSelection:s}=t.inputState;s&&(s.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")},De.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let i=e.dataTransfer.files;if(i&&i.length){e.preventDefault();let s=Array(i.length),o=0,n=()=>{++o==i.length&&Ie(t,e,s.filter((t=>null!=t)).join(t.state.lineBreak),!1)};for(let t=0;t{/[\x00-\x08\x0e-\x1f]{2}/.test(e.result)||(s[t]=e.result),n()},e.readAsText(i[t])}}else Ie(t,e,e.dataTransfer.getData("Text"),!0)},De.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let i=Oe?null:e.clipboardData;i?(Ee(t,i.getData("text/plain")),e.preventDefault()):function(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout((()=>{t.focus(),i.remove(),Ee(t,i.value)}),50)}(t)};let qe=null;function je(t){setTimeout((()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])}),10)}De.copy=De.cut=(t,e)=>{let{text:i,ranges:s,linewise:o}=function(t){let e=[],i=[],s=!1;for(let o of t.selection.ranges)o.empty||(e.push(t.sliceDoc(o.from,o.to)),i.push(o));if(!e.length){let o=-1;for(let{from:s}of t.selection.ranges){let n=t.doc.lineAt(s);n.number>o&&(e.push(n.text),i.push({from:n.from,to:Math.min(t.doc.length,n.to+1)})),o=n.number}s=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:s}}(t.state);if(!i&&!o)return;qe=o?i:null;let n=Oe?null:e.clipboardData;n?(e.preventDefault(),n.clearData(),n.setData("text/plain",i)):function(t,e){let i=t.dom.parentNode;if(!i)return;let s=i.appendChild(document.createElement("textarea"));s.style.cssText="position: fixed; left: -10000px; top: 10px",s.value=e,s.focus(),s.selectionEnd=e.length,s.selectionStart=0,setTimeout((()=>{s.remove(),t.focus()}),50)}(t,i),"cut"!=e.type||t.state.readOnly||t.dispatch({changes:s,scrollIntoView:!0,userEvent:"delete.cut"})},De.focus=t=>{t.inputState.lastFocusTime=Date.now(),t.scrollDOM.scrollTop||!t.inputState.lastScrollTop&&!t.inputState.lastScrollLeft||(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),je(t)},De.blur=t=>{t.observer.clearSelectionRange(),je(t)},De.compositionstart=De.compositionupdate=t=>{null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)},De.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,q.chrome&&q.android&&t.observer.flushSoon(),setTimeout((()=>{t.inputState.composing<0&&t.docView.compositionDeco.size&&t.update([])}),50)},De.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},De.beforeinput=(t,e)=>{var i;let s;if(q.chrome&&q.android&&(s=Se.find((t=>t.inputType==e.inputType)))&&(t.observer.delayAndroidKey(s.key,s.keyCode),"Backspace"==s.key||"Delete"==s.key)){let e=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout((()=>{var i;((null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0)>e+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())}),100)}};const Ke=["pre-wrap","normal","pre-line","break-spaces"];class $e{constructor(){this.doc=s.xv.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(t){if(!this.lineWrapping)return this.lineHeight;return(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return Ke.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let e=!1;for(let i=0;i-1,r=Math.round(e)!=Math.round(this.lineHeight)||this.lineWrapping!=n;if(this.lineWrapping=n,this.lineHeight=e,this.charWidth=i,this.lineLength=s,r){this.heightSamples={};for(let t=0;t0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t,e){this.height!=e&&(Math.abs(this.height-e)>Ue&&(t.heightChanged=!0),this.height=e)}replace(t,e,i){return Ye.of(i)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,i,s){let o=this;for(let n=s.length-1;n>=0;n--){let{fromA:r,toA:l,fromB:h,toB:a}=s[n],c=o.lineAt(r,_e.ByPosNoHeight,e,0,0),d=c.to>=l?c:o.lineAt(l,_e.ByPosNoHeight,e,0,0);for(a+=d.to-l,l=d.to;n>0&&c.from<=s[n-1].toA;)r=s[n-1].fromA,h=s[n-1].fromB,n--,r2*o){let o=t[e-1];o.break?t.splice(--e,1,o.left,null,o.right):t.splice(--e,1,o.left,o.right),i+=1+o.break,s-=o.size}else{if(!(o>2*s))break;{let e=t[i];e.break?t.splice(i,1,e.left,null,e.right):t.splice(i,1,e.left,e.right),i+=2+e.break,o-=e.size}}else if(s=o&&n(this.blockAt(0,i,s,o))}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more&&this.setHeight(t,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Ze extends Qe{constructor(t,e){super(t,e,ot.Text),this.collapsed=0,this.widgetHeight=0}replace(t,e,i){let s=i[0];return 1==i.length&&(s instanceof Ze||s instanceof Je&&4&s.flags)&&Math.abs(this.length-s.length)<10?(s instanceof Je?s=new Ze(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):Ye.of(i)}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more?this.setHeight(t,s.heights[s.index++]):(i||this.outdated)&&this.setHeight(t,Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Je extends Ye{constructor(t){super(t,0)}lines(t,e){let i=t.lineAt(e).number,s=t.lineAt(e+this.length).number;return{firstLine:i,lastLine:s,lineHeight:this.height/(s-i+1)}}blockAt(t,e,i,s){let{firstLine:o,lastLine:n,lineHeight:r}=this.lines(e,s),l=Math.max(0,Math.min(n-o,Math.floor((t-i)/r))),{from:h,length:a}=e.line(o+l);return new Xe(h,a,i+r*l,r,ot.Text)}lineAt(t,e,i,s,o){if(e==_e.ByHeight)return this.blockAt(t,i,s,o);if(e==_e.ByPosNoHeight){let{from:e,to:s}=i.lineAt(t);return new Xe(e,s-e,0,0,ot.Text)}let{firstLine:n,lineHeight:r}=this.lines(i,o),{from:l,length:h,number:a}=i.lineAt(t);return new Xe(l,h,s+r*(a-n),r,ot.Text)}forEachLine(t,e,i,s,o,n){let{firstLine:r,lineHeight:l}=this.lines(i,o);for(let h=Math.max(t,o),a=Math.min(o+this.length,e);h<=a;){let e=i.lineAt(h);h==t&&(s+=l*(e.number-r)),n(new Xe(e.from,e.length,s,l,ot.Text)),s+=l,h=e.to+1}}replace(t,e,i){let s=this.length-e;if(s>0){let t=i[i.length-1];t instanceof Je?i[i.length-1]=new Je(t.length+s):i.push(null,new Je(s-1))}if(t>0){let e=i[0];e instanceof Je?i[0]=new Je(t+e.length):i.unshift(new Je(t-1),null)}return Ye.of(i)}decomposeLeft(t,e){e.push(new Je(t-1),null)}decomposeRight(t,e){e.push(null,new Je(this.length-t-1))}updateHeight(t,e=0,i=!1,s){let o=e+this.length;if(s&&s.from<=e+this.length&&s.more){let i=[],n=Math.max(e,s.from),r=-1,l=t.heightChanged;for(s.from>e&&i.push(new Je(s.from-e-1).updateHeight(t,e));n<=o&&s.more;){let e=t.doc.lineAt(n).length;i.length&&i.push(null);let o=s.heights[s.index++];-1==r?r=o:Math.abs(o-r)>=Ue&&(r=-2);let l=new Ze(e,o);l.outdated=!1,i.push(l),n+=e+1}n<=o&&i.push(null,new Je(o-n).updateHeight(t,n));let h=Ye.of(i);return t.heightChanged=l||r<0||Math.abs(h.height-this.height)>=Ue||Math.abs(r-this.lines(t.doc,e).lineHeight)>=Ue,h}return(i||this.outdated)&&(this.setHeight(t,t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class ti extends Ye{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,s){let o=i+this.left.height;return tr))return h;let a=e==_e.ByPosNoHeight?_e.ByPosNoHeight:_e.ByPos;return l?h.join(this.right.lineAt(r,a,i,n,r)):this.left.lineAt(r,a,i,s,o).join(h)}forEachLine(t,e,i,s,o,n){let r=s+this.left.height,l=o+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,e,i,r,l,n);else{let h=this.lineAt(l,_e.ByPos,i,s,o);t=t&&h.from<=e&&n(h),e>h.to&&this.right.forEachLine(h.to+1,e,i,r,l,n)}}replace(t,e,i){let s=this.left.length+this.break;if(ethis.left.length)return this.balanced(this.left,this.right.replace(t-s,e-s,i));let o=[];t>0&&this.decomposeLeft(t,o);let n=o.length;for(let r of i)o.push(r);if(t>0&&ei(o,n-1),e=i&&e.push(null)),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){let i=this.left.length,s=i+this.break;if(t>=s)return this.right.decomposeRight(t-s,e);t2*e.size||e.size>2*t.size?Ye.of(this.break?[t,null,e]:[t,e]):(this.left=t,this.right=e,this.height=t.height+e.height,this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,s){let{left:o,right:n}=this,r=e+o.length+this.break,l=null;return s&&s.from<=e+o.length&&s.more?l=o=o.updateHeight(t,e,i,s):o.updateHeight(t,e,i),s&&s.from<=r+n.length&&s.more?l=n=n.updateHeight(t,r,i,s):n.updateHeight(t,r,i),l?this.balanced(o,n):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function ei(t,e){let i,s;null==t[e]&&(i=t[e-1])instanceof Je&&(s=t[e+1])instanceof Je&&t.splice(e-1,3,new Je(i.length+1+s.length))}class ii{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let t=Math.min(e,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Ze?i.length+=t-this.pos:(t>this.pos||!this.isCovered)&&this.nodes.push(new Ze(t-this.pos,-1)),this.writtenTo=t,e>t&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,i){if(t=5)&&this.addLineDeco(s,o)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTot&&this.nodes.push(new Ze(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,e){let i=new Je(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Ze)return t;let e=new Ze(0,-1);return this.nodes.push(e),e}addBlock(t){this.enterLine(),t.type!=ot.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,t.type!=ot.WidgetBefore&&(this.covering=t)}addLineDeco(t,e){let i=this.ensureLine();i.length+=e,i.collapsed+=e,i.widgetHeight=Math.max(i.widgetHeight,t),this.writtenTo=this.pos=this.pos+e}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof Ze||this.isCovered?(this.writtenToe.clientHeight||e.scrollWidth>e.clientWidth)&&"visible"!=i.overflow){let i=e.getBoundingClientRect();n=Math.max(n,i.left),r=Math.min(r,i.right),l=Math.max(l,i.top),h=a==t.parentNode?i.bottom:Math.min(h,i.bottom)}a="absolute"==i.position||"fixed"==i.position?e.offsetParent:e.parentNode}else{if(11!=a.nodeType)break;a=a.host}return{left:n-i.left,right:Math.max(n,r)-i.left,top:l-(i.top+e),bottom:Math.max(l,h)-(i.top+e)}}function ni(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class ri{constructor(t,e,i){this.from=t,this.to=e,this.size=i}static same(t,e){if(t.length!=e.length)return!1;for(let i=0;i"function"!=typeof t)),this.heightMap=Ye.empty().applyChanges(this.stateDeco,s.xv.empty,this.heightOracle.setDoc(t.doc),[new Pt(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=nt.set(this.lineGaps.map((t=>t.draw(!1)))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let i=0;i<=1;i++){let s=i?e.head:e.anchor;if(!t.some((({from:t,to:e})=>s>=t&&s<=e))){let{from:e,to:i}=this.lineBlockAt(s);t.push(new ai(e,i))}}this.viewports=t.sort(((t,e)=>t.from-e.from)),this.scaler=this.heightMap.height<=7e6?fi:new pi(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,(t=>{this.viewportLines.push(1==this.scaler.scale?t:mi(t,this.scaler))}))}update(t,e=null){this.state=t.state;let i=this.stateDeco;this.stateDeco=this.state.facet(Lt).filter((t=>"function"!=typeof t));let o=t.changedRanges,n=Pt.extendWithRanges(o,function(t,e,i){let o=new si;return s.Xs.compare(t,e,i,o,0),o.changes}(i,this.stateDeco,t?t.changes:s.as.empty(this.state.doc.length))),r=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),n),this.heightMap.height!=r&&(t.flags|=2);let l=n.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,e));let h=!t.changes.empty||2&t.flags||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),h&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(t){let e=t.contentDOM,i=window.getComputedStyle(e),s=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection="rtl"==i.direction?zt.RTL:zt.LTR;let n=this.heightOracle.mustRefreshForWrapping(o),r=n||this.mustMeasureContent||this.contentDOMHeight!=e.clientHeight;this.contentDOMHeight=e.clientHeight,this.mustMeasureContent=!1;let l=0,h=0,a=parseInt(i.paddingTop)||0,c=parseInt(i.paddingBottom)||0;this.paddingTop==a&&this.paddingBottom==c||(this.paddingTop=a,this.paddingBottom=c,l|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(s.lineWrapping&&(r=!0),this.editorWidth=t.scrollDOM.clientWidth,l|=8);let d=(this.printing?ni:oi)(e,this.paddingTop),u=d.top-this.pixelViewport.top,f=d.bottom-this.pixelViewport.bottom;this.pixelViewport=d;let p=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(p!=this.inView&&(this.inView=p,p&&(r=!0)),!this.inView&&!this.scrollTarget)return 0;let m=e.clientWidth;if(this.contentDOMWidth==m&&this.editorHeight==t.scrollDOM.clientHeight||(this.contentDOMWidth=m,this.editorHeight=t.scrollDOM.clientHeight,l|=8),r){let e=t.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(e)&&(n=!0),n||s.lineWrapping&&Math.abs(m-this.contentDOMWidth)>s.charWidth){let{lineHeight:i,charWidth:r}=t.docView.measureTextSize();n=i>0&&s.refresh(o,i,r,m/r,e),n&&(t.docView.minWidth=0,l|=8)}u>0&&f>0?h=Math.max(u,f):u<0&&f<0&&(h=Math.min(u,f)),s.heightChanged=!1;for(let i of this.viewports){let o=i.from==this.viewport.from?e:t.docView.measureVisibleLineHeights(i);this.heightMap=this.heightMap.updateHeight(s,0,n,new Ge(i.from,o))}s.heightChanged&&(l|=2)}let g=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return g&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(2&l||g)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(n?[]:this.lineGaps,t)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let i=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),s=this.heightMap,o=this.state.doc,{visibleTop:n,visibleBottom:r}=this,l=new ai(s.lineAt(n-1e3*i,_e.ByHeight,o,0,0).from,s.lineAt(r+1e3*(1-i),_e.ByHeight,o,0,0).to);if(e){let{head:t}=e.range;if(tl.to){let i,n=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),r=s.lineAt(t,_e.ByPos,o,0,0);i="center"==e.y?(r.top+r.bottom)/2-n/2:"start"==e.y||"nearest"==e.y&&t=r+Math.max(10,Math.min(i,250)))&&s>n-2e3&&o>1,r=o<<1;if(this.defaultTextDirection!=zt.LTR&&!i)return[];let l=[],h=(o,r,a,c)=>{if(r-oo&&tt.from>=a.from&&t.to<=a.to&&Math.abs(t.from-o)t.frome))));if(!f){if(rt.from<=r&&t.to>=r))){let t=e.moveToLineBoundary(s.jT.cursor(r),!1,!0).head;t>o&&(r=t)}f=new ri(o,r,this.gapSize(a,o,r,c))}l.push(f)};for(let s of this.viewportLines){if(s.lengths.from&&h(s.from,e,s,t),nt.draw(this.heightOracle.lineWrapping)))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let e=[];s.Xs.spans(t,this.viewport.from,this.viewport.to,{span(t,i){e.push({from:t,to:i})},point(){}},20);let i=e.length!=this.visibleRanges.length||this.visibleRanges.some(((t,i)=>t.from!=e[i].from||t.to!=e[i].to));return this.visibleRanges=e,i?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find((e=>e.from<=t&&e.to>=t))||mi(this.heightMap.lineAt(t,_e.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(t){return mi(this.heightMap.lineAt(this.scaler.fromDOM(t),_e.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(t){return mi(this.heightMap.blockAt(this.scaler.fromDOM(t),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class ai{constructor(t,e){this.from=t,this.to=e}}function ci(t,e,i){let o=[],n=t,r=0;return s.Xs.spans(i,t,e,{span(){},point(t,e){t>n&&(o.push({from:n,to:t}),r+=t-n),n=e}},20),n=1)return e[e.length-1].to;let s=Math.floor(t*i);for(let o=0;;o++){let{from:t,to:i}=e[o],n=i-t;if(s<=n)return t+s;s-=n}}function ui(t,e){let i=0;for(let{from:s,to:o}of t.ranges){if(e<=o){i+=e-s;break}i+=o-s}return i/t.total}const fi={toDOM:t=>t,fromDOM:t=>t,scale:1};class pi{constructor(t,e,i){let s=0,o=0,n=0;this.viewports=i.map((({from:i,to:o})=>{let n=e.lineAt(i,_e.ByPos,t,0,0).top,r=e.lineAt(o,_e.ByPos,t,0,0).bottom;return s+=r-n,{from:i,to:o,top:n,bottom:r,domTop:0,domBottom:0}})),this.scale=(7e6-s)/(e.height-s);for(let r of this.viewports)r.domTop=n+(r.top-o)*this.scale,n=r.domBottom=r.domTop+(r.bottom-r.top),o=r.bottom}toDOM(t){for(let e=0,i=0,s=0;;e++){let o=emi(t,e))):t.type)}const gi=s.r$.define({combine:t=>t.join(" ")}),vi=s.r$.define({combine:t=>t.indexOf(!0)>-1}),wi=o.V.newName(),bi=o.V.newName(),yi=o.V.newName(),xi={"&light":"."+bi,"&dark":"."+yi};function Si(t,e,i){return new o.V(e,{finish:e=>/&/.test(e)?e.replace(/&\w*/,(e=>{if("&"==e)return t;if(!i||!i[e])throw new RangeError(`Unsupported selector: ${e}`);return i[e]})):t+" "+e})}const Mi=Si("."+wi,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},xi);class ki{constructor(t,e,i,o){this.typeOver=o,this.bounds=null,this.text="";let{impreciseHead:n,impreciseAnchor:r}=t.docView;if(e>-1&&!t.state.readOnly&&(this.bounds=t.docView.domBoundsAround(e,i,0))){let e=n||r?[]:function(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:s,focusNode:o,focusOffset:n}=t.observer.selectionRange;i&&(e.push(new se(i,s)),o==i&&n==s||e.push(new se(o,n)));return e}(t),i=new ee(e,t.state);i.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=i.text,this.newSel=function(t,e){if(0==t.length)return null;let i=t[0].pos,o=2==t.length?t[1].pos:i;return i>-1&&o>-1?s.jT.single(i+e,o+e):null}(e,this.bounds.from)}else{let e=t.observer.selectionRange,i=n&&n.node==e.focusNode&&n.offset==e.focusOffset||!l(t.contentDOM,e.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(e.focusNode,e.focusOffset),o=r&&r.node==e.anchorNode&&r.offset==e.anchorOffset||!l(t.contentDOM,e.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(e.anchorNode,e.anchorOffset);this.newSel=s.jT.single(o,i)}}}function Ci(t,e){let i,{newSel:o}=e,n=t.state.selection.main;if(e.bounds){let{from:o,to:r}=e.bounds,l=n.from,h=null;(8===t.inputState.lastKeyCode&&t.inputState.lastKeyTime>Date.now()-100||q.android&&e.text.length0&&l>0&&t.charCodeAt(r-1)==e.charCodeAt(l-1);)r--,l--;if("end"==s){i-=r+Math.max(0,n-Math.min(r,l))-n}if(r=r?n-i:0,l=n+(l-r),r=n}else if(l=l?n-i:0,r=n+(r-l),l=n}return{from:n,toA:r,toB:l}}(t.state.doc.sliceString(o,r,te),e.text,l-o,h);a&&(q.chrome&&13==t.inputState.lastKeyCode&&a.toB==a.from+2&&"\uffff\uffff"==e.text.slice(a.from,a.toB)&&a.toB--,i={from:o+a.from,to:o+a.toA,insert:s.xv.of(e.text.slice(a.from,a.toB).split(te))})}else!o||t.hasFocus&&t.state.facet(At)&&!o.main.eq(n)||(o=null);if(!i&&!o)return!1;if(!i&&e.typeOver&&!n.empty&&o&&o.main.empty?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,n.to)}:i&&i.from>=n.from&&i.to<=n.to&&(i.from!=n.from||i.to!=n.to)&&n.to-n.from-(i.to-i.from)<=4?i={from:n.from,to:n.to,insert:t.state.doc.slice(n.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,n.to))}:(q.mac||q.android)&&i&&i.from==i.to&&i.from==n.head-1&&/^\. ?$/.test(i.insert.toString())?(o&&2==i.insert.length&&(o=s.jT.single(o.main.anchor-1,o.main.head-1)),i={from:n.from,to:n.to,insert:s.xv.of([" "])}):q.chrome&&i&&i.from==i.to&&i.from==n.head&&"\n "==i.insert.toString()&&t.lineWrapping&&(o&&(o=s.jT.single(o.main.anchor-1,o.main.head-1)),i={from:n.from,to:n.to,insert:s.xv.of([" "])}),i){let e=t.state;if(q.ios&&t.inputState.flushIOSKey(t))return!0;if(q.android&&(i.from==n.from&&i.to==n.to&&1==i.insert.length&&2==i.insert.lines&&S(t.contentDOM,"Enter",13)||i.from==n.from-1&&i.to==n.to&&0==i.insert.length&&S(t.contentDOM,"Backspace",8)||i.from==n.from&&i.to==n.to+1&&0==i.insert.length&&S(t.contentDOM,"Delete",46)))return!0;let r,l=i.insert.toString();if(t.state.facet(xt).some((e=>e(t,i.from,i.to,l))))return!0;if(t.inputState.composing>=0&&t.inputState.composing++,i.from>=n.from&&i.to<=n.to&&i.to-i.from>=(n.to-n.from)/3&&(!o||o.main.empty&&o.main.from==i.from+i.insert.length)&&t.inputState.composing<0){let s=n.fromi.to?e.sliceDoc(i.to,n.to):"";r=e.replaceSelection(t.state.toText(s+i.insert.sliceString(0,void 0,t.state.lineBreak)+o))}else{let l=e.changes(i),h=o&&!e.selection.main.eq(o.main)&&o.main.to<=l.newLength?o.main:void 0;if(e.selection.ranges.length>1&&t.inputState.composing>=0&&i.to<=n.to&&i.to>=n.to-10){let o=t.state.sliceDoc(i.from,i.to),a=re(t)||t.state.doc.lineAt(n.head),c=n.to-i.to,d=n.to-n.from;r=e.changeByRange((r=>{if(r.from==n.from&&r.to==n.to)return{changes:l,range:h||r.map(l)};let u=r.to-c,f=u-o.length;if(r.to-r.from!=d||t.state.sliceDoc(f,u)!=o||a&&r.to>=a.from&&r.from<=a.to)return{range:r};let p=e.changes({from:f,to:u,insert:i.insert}),m=r.to-n.to;return{changes:p,range:h?s.jT.range(Math.max(0,h.anchor+m),Math.max(0,h.head+m)):r.map(p)}}))}else r={changes:l,selection:h&&e.selection.replaceRange(h)}}let h="input.type";return t.composing&&(h+=".compose",t.inputState.compositionFirstChange&&(h+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(r,{scrollIntoView:!0,userEvent:h}),!0}if(o&&!o.main.eq(n)){let e=!1,i="select";return t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(e=!0),i=t.inputState.lastSelectionOrigin),t.dispatch({selection:o,scrollIntoView:e,userEvent:i}),!0}return!1}const Ai={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Di=q.ie&&q.ie_version<=11;class Ti{constructor(t){this.view=t,this.active=!1,this.selectionRange=new v,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver((e=>{for(let t of e)this.queue.push(t);(q.ie&&q.ie_version<=11||q.ios&&t.composing)&&e.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),Di&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),"function"==typeof ResizeObserver&&(this.resize=new ResizeObserver((()=>{this.view.docView.lastUpdate{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))}),{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver((t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))}),{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runScrollHandlers(this.view,t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout((()=>{this.resizeTimeout=-1,this.view.requestMeasure()}),50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout((()=>{this.view.viewState.printing=!1,this.view.requestMeasure()}),500)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some(((e,i)=>e!=t[i])))){this.gapIntersection.disconnect();for(let e of t)this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(At)?i.root.activeElement!=this.dom:!h(i.dom,s))return;let o=s.anchorNode&&i.docView.nearest(s.anchorNode);o&&o.ignoreEvent(t)?e||(this.selectionChanged=!1):(q.ie&&q.ie_version<=11||q.android&&q.chrome)&&!i.state.selection.main.empty&&s.focusNode&&c(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,e=q.safari&&11==t.root.nodeType&&function(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(this.dom.ownerDocument)==this.dom&&function(t){let e=null;function i(t){t.preventDefault(),t.stopImmediatePropagation(),e=t.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let s=e.startContainer,o=e.startOffset,n=e.endContainer,r=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);c(l.node,l.offset,n,r)&&([s,o,n,r]=[n,r,s,o]);return{anchorNode:s,anchorOffset:o,focusNode:n,focusOffset:r}}(this.view)||r(t.root);if(!e||this.selectionRange.eq(e))return!1;let i=h(this.dom,e);return i&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let t=this.delayedAndroidKey;t&&(this.clearDelayedAndroidKey(),!this.flush()&&t.force&&S(this.dom,t.key,t.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(t)}this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e,force:this.lastChange{this.delayedFlush=-1,this.flush()})))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let t=this.queue;for(let o of this.observer.takeRecords())t.push(o);t.length&&(this.queue=[]);let e=-1,i=-1,s=!1;for(let o of t){let t=this.readMutation(o);t&&(t.typeOver&&(s=!0),-1==e?({from:e,to:i}=t):(e=Math.min(t.from,e),i=Math.max(t.to,i)))}return{from:e,to:i,typeOver:s}}readChange(){let{from:t,to:e,typeOver:i}=this.processRecords(),s=this.selectionChanged&&h(this.dom,this.selectionRange);return t<0&&!s?null:(t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new ki(this.view,t,e,i))}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let e=this.readChange();if(!e)return!1;let i=this.view.state,s=Ci(this.view,e);return this.view.state==i&&this.view.update([]),s}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty("attributes"==t.type),"attributes"==t.type&&(e.dirty|=4),"childList"==t.type){let i=Oi(e,t.previousSibling||t.target.previousSibling,-1),s=Oi(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:s?e.posBefore(s):e.posAtEnd,typeOver:!1}}return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var t,e,i;this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(i=this.resize)||void 0===i||i.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Oi(t,e,i){for(;e;){let s=A.get(e);if(s&&s.parent==t)return s;let o=e.parentNode;e=o!=t.dom?o:i>0?e.nextSibling:e.previousSibling}return null}class Ei{constructor(t={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=t.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=t.root||function(t){for(;t;){if(t&&(9==t.nodeType||11==t.nodeType&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}(t.parent)||document,this.viewState=new hi(t.state||s.yy.create(t)),this.plugins=this.state.facet(Tt).map((t=>new Et(t)));for(let e of this.plugins)e.update(this);this.observer=new Ti(this),this.inputState=new xe(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new oe(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),t.parent&&t.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...t){this._dispatch(1==t.length&&t[0]instanceof s.YW?t[0]:this.state.update(...t))}update(t){if(0!=this.updateState)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let e,i=!1,o=!1,n=this.state;for(let s of t){if(s.startState!=n)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");n=s.state}if(this.destroyed)return void(this.viewState.state=n);let r=this.observer.delayedAndroidKey,l=null;if(r?(this.observer.clearDelayedAndroidKey(),l=this.observer.readChange(),(l&&!this.state.doc.eq(n.doc)||!this.state.selection.eq(n.selection))&&(l=null)):this.observer.clear(),n.facet(s.yy.phrases)!=this.state.facet(s.yy.phrases))return this.setState(n);e=Wt.create(this,n,t);let h=this.viewState.scrollTarget;try{this.updateState=2;for(let e of t){if(h&&(h=h.map(e.changes)),e.scrollIntoView){let{main:t}=e.state.selection;h=new Mt(t.empty?t:s.jT.cursor(t.head,t.head>t.anchor?-1:1))}for(let t of e.effects)t.is(kt)&&(h=t.value)}this.viewState.update(e,h),this.bidiCache=Li.update(this.bidiCache,e.changes),e.empty||(this.updatePlugins(e),this.inputState.update(e)),i=this.docView.update(e),this.state.facet(Nt)!=this.styleModules&&this.mountStyles(),o=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(i,t.some((t=>t.isUserEvent("select.pointer"))))}finally{this.updateState=0}if(e.startState.facet(gi)!=e.state.facet(gi)&&(this.viewState.mustMeasureContent=!0),(i||o||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!e.empty)for(let s of this.state.facet(yt))s(e);l&&!Ci(this,l)&&r.force&&S(this.contentDOM,r.key,r.keyCode)}setState(t){if(0!=this.updateState)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=t);this.updateState=2;let e=this.hasFocus;try{for(let t of this.plugins)t.destroy(this);this.viewState=new hi(t),this.plugins=t.facet(Tt).map((t=>new Et(t))),this.pluginMap.clear();for(let t of this.plugins)t.update(this);this.docView=new oe(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(Tt),i=t.state.facet(Tt);if(e!=i){let s=[];for(let o of i){let i=e.indexOf(o);if(i<0)s.push(new Et(o));else{let e=this.plugins[i];e.mustUpdate=t,s.push(e)}}for(let e of this.plugins)e.mustUpdate!=t&&e.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let s of this.plugins)s.mustUpdate=t;for(let s=0;s-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.forceFlush();let e=null,{scrollHeight:i,scrollTop:s,clientHeight:o}=this.scrollDOM,n=s>i-o-4?i:s;try{for(let t=0;;t++){this.updateState=1;let i=this.viewport,s=this.viewState.lineBlockAtHeight(n),o=this.viewState.measure(this);if(!o&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(t>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let l=[];4&o||([this.measureRequests,l]=[l,this.measureRequests]);let h=l.map((t=>{try{return t.read(this)}catch(e){return Ct(this.state,e),Bi}})),a=Wt.create(this,this.state,[]),c=!1,d=!1;a.flags|=o,e?e.flags|=o:e=a,this.updateState=2,a.empty||(this.updatePlugins(a),this.inputState.update(a),this.updateAttrs(),c=this.docView.update(a));for(let t=0;t1||t<-1)&&(this.scrollDOM.scrollTop+=t,d=!0)}if(c&&this.docView.updateSelection(!0),this.viewport.from==i.from&&this.viewport.to==i.to&&!d&&0==this.measureRequests.length)break}}finally{this.updateState=0,this.measureScheduled=-1}if(e&&!e.empty)for(let l of this.state.facet(yt))l(e)}get themeClasses(){return wi+" "+(this.state.facet(vi)?yi:bi)+" "+this.state.facet(gi)}updateAttrs(){let t=Vi(this,Rt,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),e={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(At)?"true":"false",class:"cm-content",style:`${q.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(e["aria-readonly"]="true"),Vi(this,Bt,e);let i=this.observer.ignore((()=>{let i=it(this.contentDOM,this.contentAttrs,e),s=it(this.dom,this.editorAttrs,t);return i||s}));return this.editorAttrs=t,this.contentAttrs=e,i}showAnnouncements(t){let e=!0;for(let i of t)for(let t of i.effects)if(t.is(Ei.announce)){e&&(this.announceDOM.textContent=""),e=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(Nt),o.V.mount(this.root,this.styleModules.concat(Mi).reverse())}readMeasured(){if(2==this.updateState)throw new Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame((()=>this.measure()))),t){if(null!=t.key)for(let e=0;ee.spec==t))||null),e&&e.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,i){return ye(this,t,be(this,t,e,i))}moveByGroup(t,e){return ye(this,t,be(this,t,e,(e=>function(t,e,i){let o=t.state.charCategorizer(e),n=o(i);return t=>{let e=o(t);return n==s.D0.Space&&(n=e),n==e}}(this,t.head,e))))}moveToLineBoundary(t,e,i=!0){return function(t,e,i,o){let n=t.state.doc.lineAt(e.head),r=o&&t.lineWrapping?t.coordsAtPos(e.assoc<0&&e.head>n.from?e.head-1:e.head):null;if(r){let e=t.dom.getBoundingClientRect(),o=t.textDirectionAt(n.from),l=t.posAtCoords({x:i==(o==zt.LTR)?e.right-1:e.left+1,y:(r.top+r.bottom)/2});if(null!=l)return s.jT.cursor(l,i?-1:1)}let l=dt.find(t.docView,e.head),h=l?i?l.posAtEnd:l.posAtStart:i?n.to:n.from;return s.jT.cursor(h,i?-1:1)}(this,t,e,i)}moveVertically(t,e,i){return ye(this,t,function(t,e,i,o){let n=e.head,r=i?1:-1;if(n==(i?t.state.doc.length:0))return s.jT.cursor(n,e.assoc);let l,h=e.goalColumn,a=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(n),d=t.documentTop;if(c)null==h&&(h=c.left-a.left),l=r<0?c.top:c.bottom;else{let e=t.viewState.lineBlockAt(n);null==h&&(h=Math.min(a.right-a.left,t.defaultCharacterWidth*(n-e.from))),l=(r<0?e.top:e.bottom)+d}let u=a.left+h,f=null!==o&&void 0!==o?o:t.defaultLineHeight>>1;for(let p=0;;p+=10){let i=l+(f+p)*r,o=ve(t,{x:u,y:i},!1,r);if(ia.bottom||(r<0?on))return s.jT.cursor(o,e.assoc,void 0,h)}}(this,t,e,i))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){return this.readMeasured(),ve(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(t),o=this.bidiSpans(s);return m(i,o[_t.find(o,t-s.from,-1,e)].dir==zt.LTR==e>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(St)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>Ri)return Qt(t.length);let e=this.textDirectionAt(t.from);for(let s of this.bidiCache)if(s.from==t.from&&s.dir==e)return s.order;let i=Yt(t.text,e);return this.bidiCache.push(new Li(t.from,t.to,e,i)),i}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||q.safari&&(null===(t=this.inputState)||void 0===t?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore((()=>{y(this.contentDOM),this.docView.updateSelection()}))}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.nodeType?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,e={}){return kt.of(new Mt("number"==typeof t?s.jT.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}static domEventHandlers(t){return Ot.define((()=>({})),{eventHandlers:t})}static theme(t,e){let i=o.V.newName(),s=[gi.of(i),Nt.of(Si(`.${i}`,t))];return e&&e.dark&&s.push(vi.of(!0)),s}static baseTheme(t){return s.Wl.lowest(Nt.of(Si("."+wi,t,xi)))}static findFromDOM(t){var e;let i=t.querySelector(".cm-content"),s=i&&A.get(i)||A.get(t);return(null===(e=null===s||void 0===s?void 0:s.rootView)||void 0===e?void 0:e.view)||null}}Ei.styleModule=Nt,Ei.inputHandler=xt,Ei.perLineTextDirection=St,Ei.exceptionSink=bt,Ei.updateListener=yt,Ei.editable=At,Ei.mouseSelectionStyle=wt,Ei.dragMovesSelection=vt,Ei.clickAddsSelectionRange=gt,Ei.decorations=Lt,Ei.atomicRanges=Vt,Ei.scrollMargins=Ht,Ei.darkTheme=vi,Ei.contentAttributes=Bt,Ei.editorAttributes=Rt,Ei.lineWrapping=Ei.contentAttributes.of({class:"cm-lineWrapping"}),Ei.announce=s.Py.define();const Ri=4096,Bi={};class Li{constructor(t,e,i,s){this.from=t,this.to=e,this.dir=i,this.order=s}static update(t,e){if(e.empty)return t;let i=[],s=t.length?t[t.length-1].dir:zt.LTR;for(let o=Math.max(0,t.length-10);o=0;o--){let e=s[o],n="function"==typeof e?e(t):e;n&&tt(n,i)}return i}const Hi=q.mac?"mac":q.windows?"win":q.linux?"linux":"key";function Ni(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==i&&e.shiftKey&&(t="Shift-"+t),t}const Pi=s.Wl.default(Ei.domEventHandlers({keydown:(t,e)=>ji(Fi(e.state),t,e,"editor")})),Wi=s.r$.define({enables:Pi}),zi=new WeakMap;function Fi(t){let e=t.facet(Wi),i=zi.get(e);return i||zi.set(e,i=function(t,e=Hi){let i=Object.create(null),s=Object.create(null),o=(t,e)=>{let i=s[t];if(null==i)s[t]=e;else if(i!=e)throw new Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},n=(t,s,n,r)=>{var l,h;let a=i[t]||(i[t]=Object.create(null)),c=s.split(/ (?!$)/).map((t=>function(t,e){const i=t.split(/-(?!$)/);let s,o,n,r,l=i[i.length-1];"Space"==l&&(l=" ");for(let h=0;h{let s=qi={view:e,prefix:i,scope:t};return setTimeout((()=>{qi==s&&(qi=null)}),4e3),!0}]})}let d=c.join(" ");o(d,!1);let u=a[d]||(a[d]={preventDefault:!1,run:(null===(h=null===(l=a._any)||void 0===l?void 0:l.run)||void 0===h?void 0:h.slice())||[]});n&&u.run.push(n),r&&(u.preventDefault=!0)};for(let r of t){let t=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let e of t){let t=i[e]||(i[e]=Object.create(null));t._any||(t._any={preventDefault:!1,run:[]});for(let e in t)t[e].run.push(r.any)}let s=r[e]||r.key;if(s)for(let e of t)n(e,s,r.run,r.preventDefault),r.shift&&n(e,"Shift-"+s,r.shift,r.preventDefault)}return i}(e.reduce(((t,e)=>t.concat(e)),[]))),i}function Ii(t,e,i){return ji(Fi(t.state),e,t,i)}let qi=null;function ji(t,e,i,o){let r=(0,n.YG)(e),l=(0,s.gm)(r,0),h=(0,s.nZ)(l)==r.length&&" "!=r,a="",c=!1;qi&&qi.view==i&&qi.scope==o&&(a=qi.prefix+" ",(c=ke.indexOf(e.keyCode)<0)&&(qi=null));let d,u,f=new Set,p=t=>{if(t){for(let s of t.run)if(!f.has(s)&&(f.add(s),s(i,e)))return!0;t.preventDefault&&(c=!0)}return!1},m=t[o];if(m){if(p(m[a+Ni(r,e,!h)]))return!0;if(h&&(e.shiftKey||e.altKey||e.metaKey||l>127)&&(d=n.ue[e.keyCode])&&d!=r){if(p(m[a+Ni(d,e,!0)]))return!0;if(e.shiftKey&&(u=n.uY[e.keyCode])!=r&&u!=d&&p(m[a+Ni(u,e,!1)]))return!0}else if(h&&e.shiftKey&&p(m[a+Ni(r,e,!0)]))return!0;if(p(m._any))return!0}return c}const Ki=!q.ios,$i=s.r$.define({combine:t=>(0,s.BO)(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})});function Gi(t={}){return[$i.of(t),_i,Yi]}class Xi{constructor(t,e,i,s,o){this.left=t,this.top=e,this.width=i,this.height=s,this.className=o}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width>=0&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}}const _i=Ot.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet($i).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet($i)!=t.state.facet($i);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some((t=>t.scrollIntoView))&&(this.cursorLayer.style.animationName="cm-blink"==this.cursorLayer.style.animationName?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet($i),i=t.selection.ranges.map((t=>t.empty?[]:function(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let i=Math.max(e.from,t.viewport.from),s=Math.min(e.to,t.viewport.to),o=t.textDirection==zt.LTR,n=t.contentDOM,r=n.getBoundingClientRect(),l=Qi(t),h=window.getComputedStyle(n.firstChild),a=r.left+parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)),c=r.right-parseInt(h.paddingRight),d=Ji(t,i),u=Ji(t,s),f=d.type==ot.Text?d:null,p=u.type==ot.Text?u:null;t.lineWrapping&&(f&&(f=Zi(t,i,f)),p&&(p=Zi(t,s,p)));if(f&&p&&f.from==p.from)return g(v(e.from,e.to,f));{let i=f?v(e.from,null,f):w(d,!1),s=p?v(null,e.to,p):w(u,!0),o=[];return(f||d).to<(p||u).from-1?o.push(m(a,i.bottom,c,s.top)):i.bottomd&&o.from=n)break;l>s&&h(Math.max(t,s),null==e&&t<=d,Math.min(l,n),null==i&&l>=u,r.dir)}if(s=o.to+1,s>=n)break}return 0==l.length&&h(d,null==e,u,null==i,t.textDirection),{top:n,bottom:r,horizontal:l}}function w(t,e){let i=r.top+(e?t.top:t.bottom);return{top:i,bottom:i,horizontal:[]}}}(this.view,t))).reduce(((t,e)=>t.concat(e))),s=[];for(let o of t.selection.ranges){let i=o==t.selection.main;if(o.empty?!i||Ki:e.drawRangeCursor){let t=ts(this.view,o,i);t&&s.push(t)}}return{rangePieces:i,cursors:s}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some(((t,e)=>!t.eq(this.rangePieces[e])))){this.selectionLayer.textContent="";for(let e of t)this.selectionLayer.appendChild(e.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some(((t,e)=>!t.eq(this.cursors[e])))){let t=this.cursorLayer.children;if(t.length!==e.length){this.cursorLayer.textContent="";for(const t of e)this.cursorLayer.appendChild(t.draw())}else e.forEach(((e,i)=>e.adjust(t[i])));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),Ui={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Ki&&(Ui[".cm-line"].caretColor="transparent !important");const Yi=s.Wl.highest(Ei.theme(Ui));function Qi(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==zt.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function Zi(t,e,i){let o=s.jT.cursor(e);return{from:Math.max(i.from,t.moveToLineBoundary(o,!1,!0).from),to:Math.min(i.to,t.moveToLineBoundary(o,!0,!0).from),type:ot.Text}}function Ji(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type))for(let s of i.type)if(s.to>e||s.to==e&&(s.to==i.to||s.type==ot.Text))return s;return i}function ts(t,e,i){let s=t.coordsAtPos(e.head,e.assoc||1);if(!s)return null;let o=Qi(t);return new Xi(s.left-o.left,s.top-o.top,-1,s.bottom-s.top,i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}const es=s.Py.define({map:(t,e)=>null==t?null:e.mapPos(t)}),is=s.QQ.define({create:()=>null,update:(t,e)=>(null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce(((t,e)=>e.is(es)?e.value:t),t))}),ss=Ot.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(is);null==i?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(is)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(is),e=null!=t&&this.view.coordsAtPos(t);if(!e)return null;let i=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-i.left+this.view.scrollDOM.scrollLeft,top:e.top-i.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(is)!=t&&this.view.dispatch({effects:es.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contains(t.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function os(){return[is,ss]}function ns(t,e,i,s,o){e.lastIndex=0;for(let n,r=t.iterRange(i,s),l=i;!r.next().done;l+=r.value.length)if(!r.lineBreak)for(;n=e.exec(r.value);)o(l+n.index,n)}class rs{constructor(t){const{regexp:e,decoration:i,decorate:s,boundary:o,maxLength:n=1e3}=t;if(!e.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=e,s)this.addMatch=(t,e,i,o)=>s(o,i,i+t[0].length,t,e);else if("function"==typeof i)this.addMatch=(t,e,s,o)=>{let n=i(t,e,s);n&&o(s,s+t[0].length,n)};else{if(!i)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(t,e,s,o)=>o(s,s+t[0].length,i)}this.boundary=o,this.maxLength=n}createDeco(t){let e=new s.f_,i=e.add.bind(e);for(let{from:s,to:o}of function(t,e){let i=t.visibleRanges;if(1==i.length&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let s=[];for(let{from:o,to:n}of i)o=Math.max(t.state.doc.lineAt(o).from,o-e),n=Math.min(t.state.doc.lineAt(n).to,n+e),s.length&&s[s.length-1].to>=o?s[s.length-1].to=n:s.push({from:o,to:n});return s}(t,this.maxLength))ns(t.state.doc,this.regexp,s,o,((e,s)=>this.addMatch(s,t,e,i)));return e.finish()}updateDeco(t,e){let i=1e9,s=-1;return t.docChanged&&t.changes.iterChanges(((e,o,n,r)=>{r>t.view.viewport.from&&n1e3?this.createDeco(t.view):s>-1?this.updateRange(t.view,e.map(t.changes),i,s):e}updateRange(t,e,i,s){for(let o of t.visibleRanges){let n=Math.max(o.from,i),r=Math.min(o.to,s);if(r>n){let i=t.state.doc.lineAt(n),s=i.toi.from;n--)if(this.boundary.test(i.text[n-1-i.from])){l=n;break}for(;rc.push(i.range(t,e));if(i==s)for(this.regexp.lastIndex=l-i.from;(a=this.regexp.exec(i.text))&&a.indexthis.addMatch(i,t,e,d)));e=e.update({filterFrom:l,filterTo:h,filter:(t,e)=>th,add:c})}}return e}}const ls=null!=/x/.unicode?"gu":"g",hs=new RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]",ls),as={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let cs=null;const ds=s.r$.define({combine(t){let e=(0,s.BO)(t,{render:null,specialChars:hs,addSpecialChars:null});return(e.replaceTabs=!function(){var t;if(null==cs&&"undefined"!=typeof document&&document.body){let e=document.body.style;cs=null!=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)}return cs||!1}())&&(e.specialChars=new RegExp("\t|"+e.specialChars.source,ls)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,ls)),e}});function us(t={}){return[ds.of(t),fs||(fs=Ot.fromClass(class{constructor(t){this.view=t,this.decorations=nt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(ds)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new rs({regexp:t.specialChars,decoration:(e,i,o)=>{let{doc:n}=i.state,r=(0,s.gm)(e[0],0);if(9==r){let t=n.lineAt(o),e=i.state.tabSize,r=(0,s.IS)(t.text,e,o-t.from);return nt.replace({widget:new ms((e-r%e)*this.view.defaultCharacterWidth)})}return this.decorationCache[r]||(this.decorationCache[r]=nt.replace({widget:new ps(t,r)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(ds);t.startState.facet(ds)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))]}let fs=null;class ps extends st{constructor(t,e){super(),this.options=t,this.code=e}eq(t){return t.code==this.code}toDOM(t){let e=(i=this.code)>=32?"\u2022":10==i?"\u2424":String.fromCharCode(9216+i);var i;let s=t.state.phrase("Control character")+" "+(as[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,s,e);if(o)return o;let n=document.createElement("span");return n.textContent=e,n.title=s,n.setAttribute("aria-label",s),n.className="cm-specialChar",n}ignoreEvent(){return!1}}class ms extends st{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="\t",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function gs(){return ws}const vs=nt.line({class:"cm-activeLine"}),ws=Ot.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let s of t.state.selection.ranges){let o=t.lineBlockAt(s.head);o.from>e&&(i.push(vs.range(o.from)),e=o.from)}return nt.set(i)}},{decorations:t=>t.decorations});class bs extends st{constructor(t){super(),this.content=t}toDOM(){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}ignoreEvent(){return!1}}function ys(t){return Ot.fromClass(class{constructor(e){this.view=e,this.placeholder=nt.set([nt.widget({widget:new bs(t),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?nt.none:this.placeholder}},{decorations:t=>t.decorations})}const xs=2e3;function Ss(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),o=t.state.doc.lineAt(i),n=i-o.from,r=n>xs?-1:n==o.length?function(t,e){let i=t.coordsAtPos(t.viewport.from);return i?Math.round(Math.abs((i.left-e)/t.defaultCharacterWidth)):-1}(t,e.clientX):(0,s.IS)(o.text,t.state.tabSize,i-o.from);return{line:o.number,col:r,off:n}}function Ms(t,e){let i=Ss(t,e),o=t.state.selection;return i?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(i.line).from),s=t.state.doc.lineAt(e);i={line:s.number,col:i.col,off:Math.min(i.off,s.length)},o=o.map(t.changes)}},get(e,n,r){let l=Ss(t,e);if(!l)return o;let h=function(t,e,i){let o=Math.min(e.line,i.line),n=Math.max(e.line,i.line),r=[];if(e.off>xs||i.off>xs||e.col<0||i.col<0){let l=Math.min(e.off,i.off),h=Math.max(e.off,i.off);for(let e=o;e<=n;e++){let i=t.doc.line(e);i.length<=h&&r.push(s.jT.range(i.from+l,i.to+h))}}else{let l=Math.min(e.col,i.col),h=Math.max(e.col,i.col);for(let e=o;e<=n;e++){let i=t.doc.line(e),o=(0,s.Gz)(i.text,l,t.tabSize,!0);if(o<0)r.push(s.jT.cursor(i.to));else{let e=(0,s.Gz)(i.text,h,t.tabSize);r.push(s.jT.range(i.from+o,i.from+e))}}}return r}(t.state,i,l);return h.length?r?s.jT.create(h.concat(o.ranges)):s.jT.create(h):o}}:null}function ks(t){let e=(null===t||void 0===t?void 0:t.eventFilter)||(t=>t.altKey&&0==t.button);return Ei.mouseSelectionStyle.of(((t,i)=>e(i)?Ms(t,i):null))}const Cs={Alt:[18,t=>t.altKey],Control:[17,t=>t.ctrlKey],Shift:[16,t=>t.shiftKey],Meta:[91,t=>t.metaKey]},As={style:"cursor: crosshair"};function Ds(t={}){let[e,i]=Cs[t.key||"Alt"],s=Ot.fromClass(class{constructor(t){this.view=t,this.isDown=!1}set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]))}},{eventHandlers:{keydown(t){this.set(t.keyCode==e||i(t))},keyup(t){t.keyCode!=e&&i(t)||this.set(!1)}}});return[s,Ei.contentAttributes.of((t=>{var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.isDown)?As:null}))]}const Ts="-10000px";class Os{constructor(t,e,i){this.facet=e,this.createTooltipView=i,this.input=t.state.facet(e),this.tooltips=this.input.filter((t=>t)),this.tooltipViews=this.tooltips.map(i)}update(t){var e;let i=t.state.facet(this.facet),s=i.filter((t=>t));if(i===this.input){for(let e of this.tooltipViews)e.update&&e.update(t);return!1}let o=[];for(let n=0;n{var e,i,s;return{position:q.ios?"absolute":(null===(e=t.find((t=>t.position)))||void 0===e?void 0:e.position)||"fixed",parent:(null===(i=t.find((t=>t.parent)))||void 0===i?void 0:i.parent)||null,tooltipSpace:(null===(s=t.find((t=>t.tooltipSpace)))||void 0===s?void 0:s.tooltipSpace)||Es}}}),Bs=Ot.fromClass(class{constructor(t){this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(Rs);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new Os(t,Hs,(t=>this.createTooltip(t))),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver((t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()}),{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout((()=>{this.measureTimeout=-1,this.maybeMeasure()}),50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let i=e||t.geometryChanged,s=t.state.facet(Rs);if(s.position!=this.position){this.position=s.position;for(let t of this.manager.tooltipViews)t.dom.style.position=this.position;i=!0}if(s.parent!=this.parent){this.parent&&this.container.remove(),this.parent=s.parent,this.createContainer();for(let t of this.manager.tooltipViews)this.container.appendChild(t.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=Ts,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let i of this.manager.tooltipViews)i.dom.remove(),null===(t=i.destroy)||void 0===t||t.call(i);null===(e=this.intersectionObserver)||void 0===e||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map(((t,e)=>{let i=this.manager.tooltipViews[e];return i.getCoords?i.getCoords(t.pos):this.view.coordsAtPos(t.pos)})),size:this.manager.tooltipViews.map((({dom:t})=>t.getBoundingClientRect())),space:this.view.state.facet(Rs).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:i}=t,s=[];for(let o=0;o=Math.min(e.bottom,i.bottom)||h.rightMath.min(e.right,i.right)+.1){l.style.top=Ts;continue}let c=n.arrow?r.dom.querySelector(".cm-tooltip-arrow"):null,d=c?7:0,u=a.right-a.left,f=a.bottom-a.top,p=r.offset||Vs,m=this.view.textDirection==zt.LTR,g=a.width>i.right-i.left?m?i.left:i.right-a.width:m?Math.min(h.left-(c?14:0)+p.x,i.right-u):Math.max(i.left,h.left-u+(c?14:0)-p.x),v=!!n.above;!n.strictSide&&(v?h.top-(a.bottom-a.top)-p.yi.bottom)&&v==i.bottom-h.bottom>h.top-i.top&&(v=!v);let w=v?h.top-f-d-p.y:h.bottom+d+p.y,b=g+u;if(!0!==r.overlap)for(let t of s)t.leftg&&t.topw&&(w=v?t.top-f-2-d:t.bottom+d+2);"absolute"==this.position?(l.style.top=w-t.parent.top+"px",l.style.left=g-t.parent.left+"px"):(l.style.top=w+"px",l.style.left=g+"px"),c&&(c.style.left=h.left+(m?p.x:-p.x)-(g+14-7)+"px"),!0!==r.overlap&&s.push({left:g,top:w,right:b,bottom:w+f}),l.classList.toggle("cm-tooltip-above",v),l.classList.toggle("cm-tooltip-below",!v),r.positioned&&r.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Ts}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),Ls=Ei.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Vs={x:0,y:0},Hs=s.r$.define({enables:[Bs,Ls]}),Ns=s.r$.define();class Ps{constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new Os(t,Ns,(t=>this.createHostedView(t)))}static create(t){return new Ps(t)}createHostedView(t){let e=t.create(this.view);return e.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(e.dom),this.mounted&&e.mount&&e.mount(this.view),e}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned()}update(t){this.manager.update(t)}}const Ws=Hs.compute([Ns],(t=>{let e=t.facet(Ns).filter((t=>t));return 0===e.length?null:{pos:Math.min(...e.map((t=>t.pos))),end:Math.max(...e.filter((t=>null!=t.end)).map((t=>t.end))),create:Ps.create,above:e[0].above,arrow:e.some((t=>t.arrow))}}));class zs{constructor(t,e,i,s,o){this.view=t,this.source=e,this.field=i,this.setHover=s,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout((()=>this.startHover()),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;ti.bottom||t.xi.right+this.view.defaultCharacterWidth)return;let s=this.view.bidiSpans(this.view.state.doc.lineAt(e)).find((t=>t.from<=e&&t.to>=e)),o=s&&s.dir==zt.RTL?-1:1,n=this.source(this.view,e,t.x{this.pending==t&&(this.pending=null,e&&this.view.dispatch({effects:this.setHover.of(e)}))}),(t=>Ct(this.view.state,t,"hover tooltip")))}else n&&this.view.dispatch({effects:this.setHover.of(n)})}mousemove(t){var e;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!function(t){for(let e=t;e;e=e.parentNode)if(1==e.nodeType&&e.classList.contains("cm-tooltip"))return!0;return!1}(this.lastMove.target)||this.pending){let{pos:s}=i||this.pending,o=null!==(e=null===i||void 0===i?void 0:i.end)&&void 0!==e?e:s;(s==o?this.view.posAtCoords(this.lastMove)==s:function(t,e,i,s,o,n){let r=document.createRange(),l=t.domAtPos(e),h=t.domAtPos(i);r.setEnd(h.node,h.offset),r.setStart(l.node,l.offset);let a=r.getClientRects();r.detach();for(let c=0;cnull,update(t,o){if(t&&(e.hideOnChange&&(o.docChanged||o.selection)||e.hideOn&&e.hideOn(o,t)))return null;if(t&&o.docChanged){let e=o.changes.mapPos(t.pos,-1,s.gc.TrackDel);if(null==e)return null;let i=Object.assign(Object.create(null),t);i.pos=e,null!=t.end&&(i.end=o.changes.mapPos(t.end)),t=i}for(let e of o.effects)e.is(i)&&(t=e.value),e.is(qs)&&(t=null);return t},provide:t=>Ns.from(t)});return[o,Ot.define((s=>new zs(s,t,o,i,e.hoverTime||300))),Ws]}function Is(t,e){let i=t.plugin(Bs);if(!i)return null;let s=i.manager.tooltips.indexOf(e);return s<0?null:i.manager.tooltipViews[s]}const qs=s.Py.define();const js=s.r$.define({combine(t){let e,i;for(let s of t)e=e||s.topContainer,i=i||s.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Ks(t,e){let i=t.plugin($s),s=i?i.specs.indexOf(e):-1;return s>-1?i.panels[s]:null}const $s=Ot.fromClass(class{constructor(t){this.input=t.state.facet(_s),this.specs=this.input.filter((t=>t)),this.panels=this.specs.map((e=>e(t)));let e=t.state.facet(js);this.top=new Gs(t,!0,e.topContainer),this.bottom=new Gs(t,!1,e.bottomContainer),this.top.sync(this.panels.filter((t=>t.top))),this.bottom.sync(this.panels.filter((t=>!t.top)));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(js);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new Gs(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new Gs(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(_s);if(i!=this.input){let e=i.filter((t=>t)),s=[],o=[],n=[],r=[];for(let i of e){let e,l=this.specs.indexOf(i);l<0?(e=i(t.view),r.push(e)):(e=this.panels[l],e.update&&e.update(t)),s.push(e),(e.top?o:n).push(e)}this.specs=e,this.panels=s,this.top.sync(o),this.bottom.sync(n);for(let t of r)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}else for(let s of this.panels)s.update&&s.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Ei.scrollMargins.of((e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}}))});class Gs{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&t.indexOf(e)<0&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&(this.dom.remove(),this.dom=void 0));if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let t=this.dom.firstChild;for(let e of this.panels)if(e.dom.parentNode==this.dom){for(;t!=e.dom;)t=Xs(t);t=t.nextSibling}else this.dom.insertBefore(e.dom,t);for(;t;)t=Xs(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function Xs(t){let e=t.nextSibling;return t.remove(),e}const _s=s.r$.define({enables:$s});class Us extends s.uU{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Us.prototype.elementClass="",Us.prototype.toDOM=void 0,Us.prototype.mapMode=s.gc.TrackBefore,Us.prototype.startSide=Us.prototype.endSide=-1,Us.prototype.point=!0;const Ys=s.r$.define(),Qs={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>s.Xs.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Zs=s.r$.define();function Js(t){return[eo(),Zs.of(Object.assign(Object.assign({},Qs),t))]}const to=s.r$.define({combine:t=>t.some((t=>t))});function eo(t){let e=[io];return t&&!1===t.fixed&&e.push(to.of(!0)),e}const io=Ot.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(Zs).map((e=>new ro(t,e)));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(to),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,s=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(s<.8*(i.to-i.from))}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(to)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=s.Xs.iter(this.view.state.facet(Ys),this.view.viewport.from),o=[],n=this.gutters.map((t=>new no(t,this.view.viewport,-this.view.documentPadding.top)));for(let s of this.view.viewportLineBlocks){let t;if(Array.isArray(s.type)){for(let e of s.type)if(e.type==ot.Text){t=e;break}}else t=s.type==ot.Text?s:void 0;if(t){o.length&&(o=[]),oo(i,o,s.from);for(let e of n)e.line(this.view,t,o)}}for(let s of n)s.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Zs),i=t.state.facet(Zs),o=t.docChanged||t.heightChanged||t.viewportChanged||!s.Xs.eq(t.startState.facet(Ys),t.state.facet(Ys),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let s of this.gutters)s.update(t)&&(o=!0);else{o=!0;let s=[];for(let o of i){let i=e.indexOf(o);i<0?s.push(new ro(this.view,o)):(this.gutters[i].update(t),s.push(this.gutters[i]))}for(let t of this.gutters)t.dom.remove(),s.indexOf(t)<0&&t.destroy();for(let t of s)this.dom.appendChild(t.dom);this.gutters=s}return o}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>Ei.scrollMargins.of((e=>{let i=e.plugin(t);return i&&0!=i.gutters.length&&i.fixed?e.textDirection==zt.LTR?{left:i.dom.offsetWidth}:{right:i.dom.offsetWidth}:null}))});function so(t){return Array.isArray(t)?t:[t]}function oo(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}class no{constructor(t,e,i){this.gutter=t,this.height=i,this.localMarkers=[],this.i=0,this.cursor=s.Xs.iter(t.markers,e.from)}line(t,e,i){this.localMarkers.length&&(this.localMarkers=[]),oo(this.cursor,this.localMarkers,e.from);let s=i.length?this.localMarkers.concat(i):this.localMarkers,o=this.gutter.config.lineMarker(t,e,s);o&&s.unshift(o);let n=this.gutter;if(0==s.length&&!n.config.renderEmptyElements)return;let r=e.top-this.height;if(this.i==n.elements.length){let i=new lo(t,e.height,r,s);n.elements.push(i),n.dom.appendChild(i.dom)}else n.elements[this.i].update(t,e.height,r,s);this.height=e.bottom,this.i++}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class ro{constructor(t,e){this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let i in e.domEventHandlers)this.dom.addEventListener(i,(s=>{let o=t.lineBlockAtHeight(s.clientY-t.documentTop);e.domEventHandlers[i](t,o,s)&&s.preventDefault()}));this.markers=so(e.markers(t)),e.initialSpacer&&(this.spacer=new lo(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=so(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let e=this.config.updateSpacer(this.spacer.markers[0],t);e!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[e])}let i=t.view.viewport;return!s.Xs.eq(this.markers,e,i.from,i.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class lo{constructor(t,e,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,e,i,s)}update(t,e,i,s){this.height!=e&&(this.dom.style.height=(this.height=e)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),function(t,e){if(t.length!=e.length)return!1;for(let i=0;i(0,s.BO)(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,e){let i=Object.assign({},t);for(let s in e){let t=i[s],o=e[s];i[s]=t?(e,i,s)=>t(e,i,s)||o(e,i,s):o}return i}})});class co extends Us{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function uo(t,e){return t.state.facet(ao).formatNumber(e,t.state)}const fo=Zs.compute([ao],(t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:t=>t.state.facet(ho),lineMarker:(t,e,i)=>i.some((t=>t.toDOM))?null:new co(uo(t,t.state.doc.lineAt(e.from).number)),lineMarkerChange:t=>t.startState.facet(ao)!=t.state.facet(ao),initialSpacer:t=>new co(uo(t,mo(t.state.doc.lines))),updateSpacer(t,e){let i=uo(e.view,mo(e.view.state.doc.lines));return i==t.number?t:new co(i)},domEventHandlers:t.facet(ao).domEventHandlers})));function po(t={}){return[ao.of(t),eo(),fo]}function mo(t){let e=9;for(;e{let e=[],i=-1;for(let s of t.selection.ranges){let o=t.doc.lineAt(s.head).from;o>i&&(i=o,e.push(go.range(o)))}return s.Xs.of(e)}));function wo(){return vo}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/4ad82c5e-36e71da4442aa09e.js b/static/web/_next/static/chunks/4ad82c5e-36e71da4442aa09e.js new file mode 100644 index 000000000..7e4a37c68 --- /dev/null +++ b/static/web/_next/static/chunks/4ad82c5e-36e71da4442aa09e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5762],{47421:function(t,e,i){let s;i.d(e,{$1:function(){return iv},$f:function(){return ip},AE:function(){return iI},Eu:function(){return sE},HQ:function(){return sV},Nm:function(){return tz},OO:function(){return tC},S2:function(){return i0},SJ:function(){return su},Sd:function(){return sl},Uw:function(){return iS},W$:function(){return iU},ZO:function(){return i$},Zs:function(){return iQ},bF:function(){return ss},gB:function(){return so},hJ:function(){return i6},l9:function(){return ts},lg:function(){return tO},mH:function(){return sd},p:function(){return tn},qr:function(){return iL},tk:function(){return io},v5:function(){return sg}});var o,n,r,l=i(78120),h=i(28699),a=i(33952);function c(t){return(11==t.nodeType?t.getSelection?t:t.ownerDocument:t).getSelection()}function d(t,e){return!!e&&(t==e||t.contains(1!=e.nodeType?e.parentNode:e))}function u(t,e){if(!e.anchorNode)return!1;try{return d(t,e.anchorNode)}catch(i){return!1}}function f(t){return 3==t.nodeType?M(t,0,t.nodeValue.length).getClientRects():1==t.nodeType?t.getClientRects():[]}function p(t,e,i,s){return!!i&&(g(t,e,i,s,-1)||g(t,e,i,s,1))}function m(t){for(var e=0;;e++)if(!(t=t.previousSibling))return e}function g(t,e,i,s,o){for(;;){if(t==i&&e==s)return!0;if(e==(o<0?0:v(t))){if("DIV"==t.nodeName)return!1;let n=t.parentNode;if(!n||1!=n.nodeType)return!1;e=m(t)+(o<0?0:1),t=n}else{if(1!=t.nodeType||1==(t=t.childNodes[e+(o<0?-1:0)]).nodeType&&"false"==t.contentEditable)return!1;e=o<0?v(t):0}}}function v(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}let w={left:0,right:0,top:0,bottom:0};function y(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}class b{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){this.set(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset)}set(t,e,i,s){this.anchorNode=t,this.anchorOffset=e,this.focusNode=i,this.focusOffset=s}}let x=null;function S(t){if(t.setActive)return t.setActive();if(x)return t.focus(x);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(null==x?{get preventScroll(){return x={preventScroll:!0},!0}}:void 0),!x){x=!1;for(let s=0;se)return c.domBoundsAround(t,e,h);if(d>=t&&-1==s&&(s=l,o=h),h>e&&c.dom.parentNode==this.dom){n=l,r=a;break}a=d,h=d+c.breakAfter}return{from:o,to:r<0?i+this.length:r,startDOM:(s?this.children[s-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:n=0?this.children[n].dom:null}}markDirty(t=!1){this.dirty|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let e=this.parent;e;e=e.parent){if(t&&(e.dirty|=2),1&e.dirty)return;e.dirty|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.dirty&&this.markParentsDirty(!0))}setDOM(t){this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this}get rootView(){for(let t=this;;){let e=t.parent;if(!e)return t;t=e}}replaceChildren(t,e,i=D){this.markDirty();for(let s=t;sthis.pos||t==this.pos&&(e>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let i=this.children[--this.i];this.pos-=i.length+i.breakAfter}}}function R(t,e,i,s,o,n,r,l,h){let{children:a}=t,c=a.length?a[e]:null,d=n.length?n[n.length-1]:null,u=d?d.breakAfter:r;if(!(e==s&&c&&!r&&!u&&n.length<2&&c.merge(i,o,n.length?d:null,0==i,l,h))){if(s0&&(!r&&n.length&&c.merge(i,c.length,n[0],!1,l,0)?c.breakAfter=n.shift().breakAfter:(i2);var K={mac:j||/Mac/.test(L.platform),windows:/Win/.test(L.platform),linux:/Linux|X11/.test(L.platform),ie:W,ie_version:N?V.documentMode||6:P?+P[1]:H?+H[1]:0,gecko:z,gecko_version:z?+(/Firefox\/(\d+)/.exec(L.userAgent)||[0,0])[1]:0,chrome:!!F,chrome_version:F?+F[1]:0,ios:j,android:/Android\b/.test(L.userAgent),webkit:I,safari:q,webkit_version:I?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:null!=V.documentElement.style.tabSize?"tab-size":"-moz-tab-size"};class $ extends T{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){3==t.nodeType&&this.createDOM(t)}merge(t,e,i){return(!i||i instanceof $&&!(this.length-(e-t)+i.length>256))&&(this.text=this.text.slice(0,t)+(i?i.text:"")+this.text.slice(e),this.markDirty(),!0)}split(t){let e=new $(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),e}localPosFromDOM(t,e){return t==this.dom?e:e?this.text.length:0}domAtPos(t){return new A(this.dom,t)}domBoundsAround(t,e,i){return{from:i,to:i+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,e){return X(this.dom,t,e)}}class G extends T{constructor(t,e=[],i=0){for(let s of(super(),this.mark=t,this.children=e,this.length=i,e))s.setParent(this)}setAttrs(t){if(C(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let e in this.mark.attrs)t.setAttribute(e,this.mark.attrs[e]);return t}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.dirty|=6)}sync(t){this.dom?4&this.dirty&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t)}merge(t,e,i,s,o,n){return(!i||!!(i instanceof G&&i.mark.eq(this.mark))&&(!t||!(o<=0))&&(!(et&&e.push(i=t&&(s=o),i=r,o++}let l=this.length-t;return this.length=t,s>-1&&(this.children.length=s,this.markDirty()),new G(this.mark,e,l)}domAtPos(t){return Z(this,t)}coordsAt(t,e){return J(this,t,e)}}function X(t,e,i){let s=t.nodeValue.length;e>s&&(e=s);let o=e,n=e,r=0;0==e&&i<0||e==s&&i>=0?!(K.chrome||K.gecko)&&(e?(o--,r=1):n=0)?0:l.length-1];return K.safari&&!r&&0==h.width&&(h=Array.prototype.find.call(l,t=>t.width)||h),r?y(h,r<0):h||null}class _ extends T{constructor(t,e,i){super(),this.widget=t,this.length=e,this.side=i,this.prevWidget=null}static create(t,e,i){return new(t.customView||_)(t,e,i)}split(t){let e=_.create(this.widget,this.length-t,this.side);return this.length-=t,e}sync(){this.dom&&this.widget.updateDOM(this.dom)||(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(this.editorView)),this.dom.contentEditable="false")}getSide(){return this.side}merge(t,e,i,s,o,n){return(!i||i instanceof _&&!!this.widget.compare(i.widget)&&(!(t>0)||!(o<=0))&&(!(e0?i.length-1:0;s=i[o],t>0?0!=o:o!=i.length-1&&!(s.top0?-1:1);return y(s,this.side>0)}get isEditable(){return!1}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class U extends _{domAtPos(t){let{topView:e,text:i}=this.widget;return e?Y(t,0,e,i,(t,e)=>t.domAtPos(e),t=>new A(i,Math.min(t,i.nodeValue.length))):new A(i,Math.min(t,i.nodeValue.length))}sync(){this.setDOM(this.widget.toDOM())}localPosFromDOM(t,e){let{topView:i,text:s}=this.widget;return i?function t(e,i,s,o){if(s instanceof G)for(let n of s.children){let r=0,l=d(n.dom,o);if(d(n.dom,e))return r+(l?t(e,i,n,o):n.localPosFromDOM(e,i));r+=l?o.nodeValue.length:n.length}else if(s.dom==o)return Math.min(i,o.nodeValue.length);return s.localPosFromDOM(e,i)}(t,e,i,s):Math.min(e,this.length)}ignoreMutation(){return!1}get overrideDOMText(){return null}coordsAt(t,e){let{topView:i,text:s}=this.widget;return i?Y(t,e,i,s,(t,e,i)=>t.coordsAt(e,i),(t,e)=>X(s,t,e)):X(s,t,e)}destroy(){var t;super.destroy(),null===(t=this.widget.topView)||void 0===t||t.destroy()}get isEditable(){return!0}canReuseDOM(){return!0}}function Y(t,e,i,s,o,n){if(i instanceof G){for(let r=i.dom.firstChild;r;r=r.nextSibling){let l=T.get(r);if(!l)return n(t,e);let h=d(r,s),a=l.length+(h?s.nodeValue.length:0);if(t=l.getSide())return h?Y(t,e,l,s,o,n):o(l,t,e);t-=a}return o(i,i.length,-1)}return i.dom==s?n(t,e):o(i,t,e)}class Q extends T{constructor(t){super(),this.side=t}get length(){return 0}merge(){return!1}become(t){return t instanceof Q&&t.side==this.side}split(){return new Q(this.side)}sync(){if(!this.dom){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),this.setDOM(t)}}getSide(){return this.side}domAtPos(t){return A.before(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){let e=this.dom.getBoundingClientRect(),i=function(t,e){let i=t.parent,s=i?i.children.indexOf(t):-1;for(;i&&s>=0;)if(e<0?s>0:s0?-1:1);return i&&i.tope.top?{left:e.left,right:e.right,top:i.top,bottom:i.bottom}:e}get overrideDOMText(){return l.xv.empty}}function Z(t,e){let i=t.dom,{children:s}=t,o=0;for(let n=0;o=r.getSide())){if(e>n&&e0;h--){let a=s[h-1];if(a.dom.parentNode==i)return a.domAtPos(a.length)}for(let c=o;c=i&&(a.children.length?t(a,i-h):!n&&(c>i||h==c&&a.getSide()>0)?(n=a,r=i-h):(ha.getSide())&&(s=a,o=i-h)),h=c}}(t,e);let l=(i<0?s:n)||s||n;return l?l.coordsAt(Math.max(0,l==s?o:r),i):function(t){let e=t.dom.lastChild;if(!e)return t.dom.getBoundingClientRect();let i=f(e);return i[i.length-1]||null}(t)}function tt(t,e){for(let i in t)"class"==i&&e.class?e.class+=" "+t.class:"style"==i&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}function te(t,e){if(t==e)return!0;if(!t||!e)return!1;let i=Object.keys(t),s=Object.keys(e);if(i.length!=s.length)return!1;for(let o of i)if(-1==s.indexOf(o)||t[o]!==e[o])return!1;return!0}function ti(t,e,i){let s=null;if(e)for(let o in e)i&&o in i||t.removeAttribute(s=o);if(i)for(let n in i)e&&e[n]==i[n]||t.setAttribute(s=n,i[n]);return!!s}$.prototype.children=_.prototype.children=Q.prototype.children=D;class ts{eq(t){return!1}updateDOM(t){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return -1}ignoreEvent(t){return!0}get customView(){return null}destroy(t){}}var to=((o=to||(to={}))[o.Text=0]="Text",o[o.WidgetBefore=1]="WidgetBefore",o[o.WidgetAfter=2]="WidgetAfter",o[o.WidgetRange=3]="WidgetRange",o);class tn extends l.uU{constructor(t,e,i,s){super(),this.startSide=t,this.endSide=e,this.widget=i,this.spec=s}get heightRelevant(){return!1}static mark(t){return new tr(t)}static widget(t){let e=t.side||0,i=!!t.block;return e+=i?e>0?3e8:-4e8:e>0?1e8:-1e8,new th(t,e,e,i,t.widget||null,!1)}static replace(t){let e=!!t.block,i,s;if(t.isBlockGap)i=-5e8,s=4e8;else{let{start:o,end:n}=ta(t,e);i=(o?e?-3e8:-1:5e8)-1,s=(n?e?2e8:1:-6e8)+1}return new th(t,i,s,e,t.widget||null,!0)}static line(t){return new tl(t)}static set(t,e=!1){return l.Xs.of(t,e)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}}tn.none=l.Xs.empty;class tr extends tn{constructor(t){let{start:e,end:i}=ta(t);super(e?-1:5e8,i?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){return this==t||t instanceof tr&&this.tagName==t.tagName&&this.class==t.class&&te(this.attrs,t.attrs)}range(t,e=t){if(t>=e)throw RangeError("Mark decorations may not be empty");return super.range(t,e)}}tr.prototype.point=!1;class tl extends tn{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof tl&&te(this.spec.attributes,t.spec.attributes)}range(t,e=t){if(e!=t)throw RangeError("Line decoration ranges must be zero-length");return super.range(t,e)}}tl.prototype.mapMode=l.gc.TrackBefore,tl.prototype.point=!0;class th extends tn{constructor(t,e,i,s,o,n){super(e,i,o,t),this.block=s,this.isReplace=n,this.mapMode=s?e<=0?l.gc.TrackBefore:l.gc.TrackAfter:l.gc.TrackDel}get type(){return this.startSide=5}eq(t){var e,i;return t instanceof th&&((e=this.widget)==(i=t.widget)||!!(e&&i&&e.compare(i)))&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,e=t){if(this.isReplace&&(t>e||t==e&&this.startSide>0&&this.endSide<=0))throw RangeError("Invalid range for replacement decoration");if(!this.isReplace&&e!=t)throw RangeError("Widget decorations can only have zero-length ranges");return super.range(t,e)}}function ta(t,e=!1){let{inclusiveStart:i,inclusiveEnd:s}=t;return null==i&&(i=t.inclusive),null==s&&(s=t.inclusive),{start:null!=i?i:e,end:null!=s?s:e}}function tc(t,e,i,s=0){let o=i.length-1;o>=0&&i[o]+s>=t?i[o]=Math.max(i[o],e):i.push(t,e)}th.prototype.point=!0;class td extends T{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,e,i,s,o,n){if(i){if(!(i instanceof td))return!1;this.dom||i.transferDOM(this)}return s&&this.setDeco(i?i.attrs:null),B(this,t,e,i?i.children:[],o,n),!0}split(t){let e=new td;if(e.breakAfter=this.breakAfter,0==this.length)return e;let{i,off:s}=this.childPos(t);s&&(e.append(this.children[i].split(s),0),this.children[i].merge(s,this.children[i].length,null,!1,0,0),i++);for(let o=i;o0&&0==this.children[i-1].length;)this.children[--i].destroy();return this.children.length=i,this.markDirty(),this.length=t,e}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){te(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,e){!function t(e,i,s){let o,{children:n}=e;s>0&&i instanceof G&&n.length&&(o=n[n.length-1])instanceof G&&o.mark.eq(i.mark)?t(o,i.children[0],s-1):(n.push(i),i.setParent(e)),e.length+=i.length}(this,t,e)}addLineDeco(t){let e=t.spec.attributes,i=t.spec.class;e&&(this.attrs=tt(e,this.attrs||{})),i&&(this.attrs=tt({class:i},this.attrs||{}))}domAtPos(t){return Z(this,t)}reuseDOM(t){"DIV"==t.nodeName&&(this.setDOM(t),this.dirty|=6)}sync(t){var e;this.dom?4&this.dirty&&(C(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(ti(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t);let i=this.dom.lastChild;for(;i&&T.get(i) instanceof G;)i=i.lastChild;if(!i||!this.length||"BR"!=i.nodeName&&(null===(e=T.get(i))||void 0===e?void 0:e.isEditable)==!1&&(!K.ios||!this.children.some(t=>t instanceof $))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let t=0;for(let e of this.children){if(!(e instanceof $)||/[^ -~]/.test(e.text))return null;let i=f(e.dom);if(1!=i.length)return null;t+=i[0].width}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length}:null}coordsAt(t,e){return J(this,t,e)}become(t){return!1}get type(){return to.Text}static find(t,e){for(let i=0,s=0;i=e){if(o instanceof td)return o;if(n>e)break}s=n+o.breakAfter}return null}}class tu extends T{constructor(t,e,i){super(),this.widget=t,this.length=e,this.type=i,this.breakAfter=0,this.prevWidget=null}merge(t,e,i,s,o,n){return(!i||i instanceof tu&&!!this.widget.compare(i.widget)&&(!(t>0)||!(o<=0))&&(!(e0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:n}=this.cursor.next(this.skip);if(this.skip=0,n)throw Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer([]),this.curLine=null,t--;continue}this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(e.slice(0,i)),this.getLine().append(tp(new $(this.text.slice(this.textOff,this.textOff+r)),e),i),this.atCursorPos=!0,this.textOff+=r,t-=r,i=0}}span(t,e,i,s){this.buildText(e-t,i,s),this.pos=e,this.openStart<0&&(this.openStart=s)}point(t,e,i,s,o,n){if(this.disallowBlockEffectsFor[n]&&i instanceof th){if(i.block)throw RangeError("Block decorations may not be specified via plugins");if(e>this.doc.lineAt(this.pos).to)throw RangeError("Decorations that replace line breaks may not be specified via plugins")}let r=e-t;if(i instanceof th){if(i.block){let{type:l}=i;l!=to.WidgetAfter||this.posCovered()||this.getLine(),this.addBlockWidget(new tu(i.widget||new tm("div"),r,l))}else{let h=_.create(i.widget||new tm("span"),r,r?0:i.startSide),a=this.atCursorPos&&!h.isEditable&&o<=s.length&&(t0),c=!h.isEditable&&(tt.some(t=>t)});class tM{constructor(t,e="nearest",i="nearest",s=5,o=5){this.range=t,this.y=e,this.x=i,this.yMargin=s,this.xMargin=o}map(t){return t.empty?this:new tM(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin)}}let tk=l.Py.define({map:(t,e)=>t.map(e)});function tC(t,e,i){let s=t.facet(ty);s.length?s[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}let tA=l.r$.define({combine:t=>!t.length||t[0]}),tD=0,tT=l.r$.define();class tO{constructor(t,e,i,s){this.id=t,this.create=e,this.domEventHandlers=i,this.extension=s(this)}static define(t,e){let{eventHandlers:i,provide:s,decorations:o}=e||{};return new tO(tD++,t,i,t=>{let e=[tT.of(t)];return o&&e.push(tL.of(e=>{let i=e.plugin(t);return i?o(i):tn.none})),s&&e.push(s(t)),e})}static fromClass(t,e){return tO.define(e=>new t(e),e)}}class tE{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(s){if(tC(e.state,s,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch(i){}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(o){tC(t.state,o,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var e;if(null===(e=this.value)||void 0===e?void 0:e.destroy)try{this.value.destroy()}catch(i){tC(t.state,i,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}let tR=l.r$.define(),tB=l.r$.define(),tL=l.r$.define(),tV=l.r$.define(),tH=l.r$.define(),tN=l.r$.define();class tP{constructor(t,e,i,s){this.fromA=t,this.toA=e,this.fromB=i,this.toB=s}join(t){return new tP(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let e=t.length,i=this;for(;e>0;e--){let s=t[e-1];if(!(s.fromA>i.toA)){if(s.toAa)break;o+=2}if(!l)return i;new tP(l.fromA,l.toA,l.fromB,l.toB).addToSet(i),n=l.toA,r=l.toB}}}class tW{constructor(t,e,i){for(let s of(this.view=t,this.state=e,this.transactions=i,this.flags=0,this.startState=t.state,this.changes=l.as.empty(this.startState.doc.length),i))this.changes=this.changes.compose(s.changes);let o=[];this.changes.iterChangedRanges((t,e,i,s)=>o.push(new tP(t,e,i,s))),this.changedRanges=o;let n=t.hasFocus;n!=t.inputState.notifiedFocused&&(t.inputState.notifiedFocused=n,this.flags|=1)}static create(t,e,i){return new tW(t,e,i)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}}var tz=((n=tz||(tz={}))[n.LTR=0]="LTR",n[n.RTL=1]="RTL",n);let tF=tz.LTR,tI=tz.RTL;function tq(t){let e=[];for(let i=0;i=e){if(r.level==i)return n;(o<0||(0!=s?s<0?r.frome:t[o].level>r.level))&&(o=n)}}if(o<0)throw RangeError("Index out of range");return o}}let tZ=[];function tJ(t){return[new tQ(0,t,0)]}let t0="";class t1{constructor(t,e){this.points=t,this.text="",this.lineSeparator=e.facet(l.yy.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+="￿"}readRange(t,e){if(!t)return this;let i=t.parentNode;for(let s=t;;){this.findPointBefore(i,s),this.readNode(s);let o=s.nextSibling;if(o==e)break;let n=T.get(s),r=T.get(o);(n&&r?n.breakAfter:(n?n.breakAfter:t2(s))||t2(o)&&("BR"!=s.nodeName||s.cmIgnore))&&this.lineBreak(),s=o}return this.findPointBefore(i,e),this}readTextNode(t){let e=t.nodeValue;for(let i of this.points)i.node==t&&(i.pos=this.text.length+Math.min(i.offset,e.length));for(let s=0,o=this.lineSeparator?null:/\r\n?|\n/g;;){let n=-1,r=1,l;if(this.lineSeparator?(n=e.indexOf(this.lineSeparator,s),r=this.lineSeparator.length):(l=o.exec(e))&&(n=l.index,r=l[0].length),this.append(e.slice(s,n<0?e.length:n)),n<0)break;if(this.lineBreak(),r>1)for(let h of this.points)h.node==t&&h.pos>this.text.length&&(h.pos-=r-1);s=n+r}}readNode(t){if(t.cmIgnore)return;let e=T.get(t),i=e&&e.overrideDOMText;if(null!=i){this.findPointInside(t,i.length);for(let s=i.iter();!s.next().done;)s.lineBreak?this.lineBreak():this.append(s.value)}else 3==t.nodeType?this.readTextNode(t):"BR"==t.nodeName?t.nextSibling&&this.lineBreak():1==t.nodeType&&this.readRange(t.firstChild,null)}findPointBefore(t,e){for(let i of this.points)i.node==t&&t.childNodes[i.offset]==e&&(i.pos=this.text.length)}findPointInside(t,e){for(let i of this.points)(3==t.nodeType?i.node==t:t.contains(i.node))&&(i.pos=this.text.length+Math.min(e,i.offset))}}function t2(t){return 1==t.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class t8{constructor(t,e){this.node=t,this.offset=e,this.pos=-1}}class t3 extends T{constructor(t){super(),this.view=t,this.compositionDeco=tn.none,this.decorations=[],this.dynamicDecorationMap=[],this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new td],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new tP(0,0,0,t.state.doc.length)],0)}get editorView(){return this.view}get length(){return this.view.state.doc.length}update(t){var e,i,s;let o,n=t.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:t,toA:e})=>ethis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.view.inputState.composing<0?this.compositionDeco=tn.none:(t.transactions.length||this.dirty)&&(this.compositionDeco=function(t,e){let i=t5(t);if(!i)return tn.none;let{from:s,to:o,node:n,text:r}=i,l=e.mapPos(s,1),h=Math.max(l,e.mapPos(o,-1)),{state:a}=t,c=3==n.nodeType?n.nodeValue:new t1([],a).readRange(n.firstChild,null).text;if(h-l{this.dom.style.height=this.view.viewState.contentHeight+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let t=K.chrome||K.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(t),this.dirty=0,t&&(t.written||i.selectionRange.focusNode!=t.node)&&(this.forceSelection=!0),this.dom.style.height=""});let s=[];if(this.view.viewport.from||this.view.viewport.to=0?t[s]:null;if(!o)break;let{fromA:n,toA:r,fromB:l,toB:h}=o,{content:a,breakAtStart:c,openStart:d,openEnd:u}=tf.build(this.view.state.doc,l,h,this.decorations,this.dynamicDecorationMap),{i:f,off:p}=i.findPos(r,1),{i:m,off:g}=i.findPos(n,-1);R(this,m,g,f,p,a,c,d,u)}}updateSelection(t=!1,e=!1){var i;if((t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange(),!(e||this.mayControlSelection()))return;let s=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,n=this.domAtPos(o.anchor),r=o.empty?n:this.domAtPos(o.head);if(K.gecko&&o.empty&&1==(i=n).node.nodeType&&i.node.firstChild&&(0==i.offset||"false"==i.node.childNodes[i.offset-1].contentEditable)&&(i.offset==i.node.childNodes.length||"false"==i.node.childNodes[i.offset].contentEditable)){let l=document.createTextNode("");this.view.observer.ignore(()=>n.node.insertBefore(l,n.node.childNodes[n.offset]||null)),n=r=new A(l,0),s=!0}let h=this.view.observer.selectionRange;!s&&h.focusNode&&p(n.node,n.offset,h.anchorNode,h.anchorOffset)&&p(r.node,r.offset,h.focusNode,h.focusOffset)||(this.view.observer.ignore(()=>{K.android&&K.chrome&&this.dom.contains(h.focusNode)&&function(t,e){for(let i=t;i&&i!=e;i=i.assignedSlot||i.parentNode)if(1==i.nodeType&&"false"==i.contentEditable)return!0;return!1}(h.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let t=c(this.view.root);if(t){if(o.empty){if(K.gecko){var e,i;let s=(e=n.node,i=n.offset,1!=e.nodeType?0:(i&&"false"==e.childNodes[i-1].contentEditable?1:0)|(io.head&&([n,r]=[r,n]),d.setEnd(r.node,r.offset),d.setStart(n.node,n.offset),t.removeAllRanges(),t.addRange(d)}}}),this.view.observer.setSelectionRange(n,r)),this.impreciseAnchor=n.precise?null:new A(h.anchorNode,h.anchorOffset),this.impreciseHead=r.precise?null:new A(h.focusNode,h.focusOffset)}enforceCursorAssoc(){if(this.compositionDeco.size)return;let t=this.view.state.selection.main,e=c(this.view.root);if(!e||!t.empty||!t.assoc||!e.modify)return;let i=td.find(this,t.head);if(!i)return;let s=i.posAtStart;if(t.head==s||t.head==s+i.length)return;let o=this.coordsAt(t.head,-1),n=this.coordsAt(t.head,1);if(!o||!n||o.bottom>n.top)return;let r=this.domAtPos(t.head+t.assoc);e.collapse(r.node,r.offset),e.modify("move",t.assoc<0?"forward":"backward","lineboundary")}mayControlSelection(){let t=this.view.root.activeElement;return t==this.dom||u(this.dom,this.view.observer.selectionRange)&&!(t&&this.dom.contains(t))}nearest(t){for(let e=t;e;){let i=T.get(e);if(i&&i.rootView==this)return i;e=e.parentNode}return null}posFromDOM(t,e){let i=this.nearest(t);if(!i)throw RangeError("Trying to find position for a DOM position outside of the document");return i.localPosFromDOM(t,e)+i.posAtStart}domAtPos(t){let{i:e,off:i}=this.childCursor().findPos(t,-1);for(;en||t==n&&o.type!=to.WidgetBefore&&o.type!=to.WidgetAfter&&(!s||2==e||this.children[s-1].breakAfter||this.children[s-1].type==to.WidgetBefore&&e>-2))return o.coordsAt(t-n,e);i=n}}measureVisibleLineHeights(t){let e=[],{from:i,to:s}=t,o=this.view.contentDOM.clientWidth,n=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,r=-1,l=this.view.textDirection==tz.LTR;for(let h=0,a=0;as)break;if(h>=i){let u=c.dom.getBoundingClientRect();if(e.push(u.height),n){let p=c.dom.lastChild,m=p?f(p):[];if(m.length){let g=m[m.length-1],v=l?g.right-u.left:u.right-g.left;v>r&&(r=v,this.minWidth=o,this.minWidthFrom=h,this.minWidthTo=d)}}}h=d+c.breakAfter}return e}textDirectionAt(t){let{i:e}=this.childPos(t,1);return"rtl"==getComputedStyle(this.children[e].dom).direction?tz.RTL:tz.LTR}measureTextSize(){for(let t of this.children)if(t instanceof td){let e=t.measureTextSize();if(e)return e}let i=document.createElement("div"),s,o;return i.className="cm-line",i.style.width="99999px",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(i);let t=f(i.firstChild)[0];s=i.getBoundingClientRect().height,o=t?t.width/27:7,i.remove()}),{lineHeight:s,charWidth:o}}childCursor(t=this.length){let e=this.children.length;return e&&(t-=this.children[--e].length),new E(this.children,t,e)}computeBlockGapDeco(){let t=[],e=this.view.viewState;for(let i=0,s=0;;s++){let o=s==e.viewports.length?null:e.viewports[s],n=o?o.from-1:this.length;if(n>i){let r=e.lineBlockAt(n).bottom-e.lineBlockAt(i).top;t.push(tn.replace({widget:new t9(r),block:!0,inclusive:!0,isBlockGap:!0}).range(i,n))}if(!o)break;i=o.to+1}return tn.set(t)}updateDeco(){let t=this.view.state.facet(tL).map((t,e)=>(this.dynamicDecorationMap[e]="function"==typeof t)?t(this.view):t);for(let e=t.length;ee.anchor?-1:1),s;if(!i)return;!e.empty&&(s=this.coordsAt(e.anchor,e.anchor>e.head?-1:1))&&(i={left:Math.min(i.left,s.left),top:Math.min(i.top,s.top),right:Math.max(i.right,s.right),bottom:Math.max(i.bottom,s.bottom)});let o=0,n=0,r=0,l=0;for(let h of this.view.state.facet(tH).map(t=>t(this.view)))if(h){let{left:a,right:c,top:d,bottom:u}=h;null!=a&&(o=Math.max(o,a)),null!=c&&(n=Math.max(n,c)),null!=d&&(r=Math.max(r,d)),null!=u&&(l=Math.max(l,u))}let f={left:i.left-o,top:i.top-r,right:i.right+n,bottom:i.bottom+l};!function(t,e,i,s,o,n,r,l){let h=t.ownerDocument,a=h.defaultView||window;for(let c=t;c;)if(1==c.nodeType){let d,u=c==h.body;if(u)d={left:0,right:a.innerWidth,top:0,bottom:a.innerHeight};else{if(c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let f=c.getBoundingClientRect();d={left:f.left,right:f.left+c.clientWidth,top:f.top,bottom:f.top+c.clientHeight}}let p=0,m=0;if("nearest"==o)e.top0&&e.bottom>d.bottom+m&&(m=e.bottom-d.bottom+m+r)):e.bottom>d.bottom&&(m=e.bottom-d.bottom+r,i<0&&e.top-m0&&e.right>d.right+p&&(p=e.right-d.right+p+n)):e.right>d.right&&(p=e.right-d.right+n,i<0&&e.leftMath.abs(w-p)&&(s="nearest"),y&&1>Math.abs(y-m)&&(o="nearest")}}if(u)break;c=c.assignedSlot||c.parentNode}else if(11==c.nodeType)c=c.host;else break}(this.view.scrollDOM,f,e.head0&&i<=0)e=v(t=t.childNodes[e-1]);else{if(1!=t.nodeType||!(e=0))return null;t=t.childNodes[e],e=0}}}class t7{constructor(){this.changes=[]}compareRange(t,e){tc(t,e,this.changes)}comparePoint(t,e){tc(t,e,this.changes)}}function et(t,e){return t.tope.top+1}function ee(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function es(t,e,i){let s=t.nodeValue.length,o=-1,n=1e9,r=0;for(let l=0;li?c.top-i:i-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&d=(c.left+c.right)/2,f=u;if((K.chrome||K.gecko)&&M(t,l).getBoundingClientRect().left==c.right&&(f=!u),d<=0)return{node:t,offset:l+(f?1:0)};o=l+(f?1:0),n=d}}}return{node:t,offset:o>-1?o:r>0?t.nodeValue.length:0}}function eo(t,{x:e,y:i},s,o=-1){var n;let r=t.contentDOM.getBoundingClientRect(),l=r.top+t.viewState.paddingTop,h,{docHeight:a}=t.viewState,c=i-l;if(c<0)return 0;if(c>a)return t.state.doc.length;for(let d=t.defaultLineHeight/2,u=!1;(h=t.elementAtHeight(c)).type!=to.Text;)for(;!((c=o>0?h.bottom+d:h.top-d)>=0)||!(c<=a);){if(u)return s?null:0;u=!0,o=-o}i=l+c;let p=h.from;if(pt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:s?null:en(t,r,h,e,i);let m=t.dom.ownerDocument,g=t.root.elementFromPoint?t.root:m,v=g.elementFromPoint(e,i);v&&!t.contentDOM.contains(v)&&(v=null),!v&&(e=Math.max(r.left+1,Math.min(r.right-1,e)),(v=g.elementFromPoint(e,i))&&!t.contentDOM.contains(v)&&(v=null));let w,y=-1;if(v&&(null===(n=t.docView.nearest(v))||void 0===n?void 0:n.isEditable)!=!1){if(m.caretPositionFromPoint){let b=m.caretPositionFromPoint(e,i);b&&({offsetNode:w,offset:y}=b)}else if(m.caretRangeFromPoint){let x=m.caretRangeFromPoint(e,i);x&&({startContainer:w,startOffset:y}=x,(!t.contentDOM.contains(w)||K.safari&&function(t,e,i){let s;if(3!=t.nodeType||e!=(s=t.nodeValue.length))return!1;for(let o=t.nextSibling;o;o=o.nextSibling)if(1!=o.nodeType||"BR"!=o.nodeName)return!1;return M(t,s-1,s).getBoundingClientRect().left>i}(w,y,e)||K.chrome&&function(t,e,i){if(0!=e)return!1;for(let s=t;;){let o=s.parentNode;if(!o||1!=o.nodeType||o.firstChild!=s)return!1;if(o.classList.contains("cm-line"))break;s=o}return i-(1==t.nodeType?t.getBoundingClientRect():M(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect()).left>5}(w,y,e))&&(w=void 0))}}if(!w||!t.docView.dom.contains(w)){let S=td.find(t.docView,p);if(!S)return c>h.top+h.height/2?h.to:h.from;({node:w,offset:y}=function t(e,i,s){let o,n,r,l,h,a,c,d,u=!1;for(let p=e.firstChild;p;p=p.nextSibling){let m=f(p);for(let g=0;gi?v.left-i:Math.max(0,i-v.right),x=(w=y).top>s?w.top-s:Math.max(0,s-w.bottom);if(0==b&&0==x)return 3==p.nodeType?es(p,i,s):t(p,i,s);(!h||d>x||d==x&&c>b)&&(h=p,a=y,c=b,d=x,u=!b||(b>0?g0)),0==b?s>y.bottom&&(!r||r.bottomy.top)&&(n=p,l=y):r&&et(r,y)?r=ei(r,y.bottom):l&&et(l,y)&&(l=ee(l,y.top))}}if(r&&r.bottom>=s?(h=o,a=r):l&&l.top<=s&&(h=n,a=l),!h)return{node:e,offset:0};let S=Math.max(a.left,Math.min(a.right,i));if(3==h.nodeType)return es(h,S,s);if(u&&"false"!=h.contentEditable)return t(h,S,s);let M=Array.prototype.indexOf.call(e.childNodes,h)+(i>=(a.left+a.right)/2?1:0);return{node:e,offset:M}}(S.dom,e,i))}return t.docView.posFromDOM(w,y)}function en(t,e,i,s,o){let n=Math.round((s-e.left)*t.defaultCharacterWidth);t.lineWrapping&&i.height>1.5*t.defaultLineHeight&&(n+=Math.floor((o-i.top)/t.defaultLineHeight)*t.viewState.heightOracle.lineLength);let r=t.state.sliceDoc(i.from,i.to);return i.from+(0,l.Gz)(r,n,t.state.tabSize)}function er(t,e,i,s){let o=t.state.doc.lineAt(e.head),n=t.bidiSpans(o),r=t.textDirectionAt(o.from);for(let h=e,a=null;;){let c=function(t,e,i,s,o){var n;let r=s.head-t.from,h=-1;if(0==r){if(!o||!t.length)return null;e[0].level!=i&&(r=e[0].side(!1,i),h=0)}else if(r==t.length){if(o)return null;let a=e[e.length-1];a.level!=i&&(r=a.side(!0,i),h=e.length-1)}h<0&&(h=tQ.find(e,r,null!==(n=s.bidiLevel)&&void 0!==n?n:-1,s.assoc));let c=e[h];r==c.side(o,i)&&(r=(c=e[h+=o?1:-1]).side(!o,i));let d=o==(c.dir==i),u=(0,l.cp)(t.text,r,d);if(t0=t.text.slice(Math.min(r,u),Math.max(r,u)),u!=c.side(o,i))return l.jT.cursor(u+t.from,d?-1:1,c.level);let f=h==(o?e.length-1:0)?null:e[h+(o?1:-1)];return f||c.level==i?f&&f.levele(t));for(;;){let o=!1;for(let n of s)n.between(i.from-1,i.from+1,(t,s,n)=>{i.from>t&&i.fromi.from?l.jT.cursor(t,1):l.jT.cursor(s,-1),o=!0)});if(!o)return i}}class eh{constructor(t){for(let e in this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.chromeScrollHack=-1,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.registeredEvents=[],this.customHandlers=[],this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.mouseSelection=null,ep){let i=ep[e];t.contentDOM.addEventListener(e,s=>{!(!ef(t,s)||this.ignoreDuringComposition(s))&&("keydown"==e&&this.keydown(t,s)||(this.mustFlushObserver(s)&&t.observer.forceFlush(),this.runCustomHandlers(e,t,s)?s.preventDefault():i(t,s)))},em[e]),this.registeredEvents.push(e)}K.chrome&&102==K.chrome_version&&t.scrollDOM.addEventListener("wheel",()=>{this.chromeScrollHack<0?t.contentDOM.style.pointerEvents="none":window.clearTimeout(this.chromeScrollHack),this.chromeScrollHack=setTimeout(()=>{this.chromeScrollHack=-1,t.contentDOM.style.pointerEvents=""},100)},{passive:!0}),this.notifiedFocused=t.hasFocus,K.safari&&t.contentDOM.addEventListener("input",()=>null)}setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}ensureHandlers(t,e){var i;let s;for(let o of(this.customHandlers=[],e))if(s=null===(i=o.update(t).spec)||void 0===i?void 0:i.domEventHandlers)for(let n in this.customHandlers.push({plugin:o.value,handlers:s}),s)0>this.registeredEvents.indexOf(n)&&"scroll"!=n&&(this.registeredEvents.push(n),t.contentDOM.addEventListener(n,e=>{ef(t,e)&&this.runCustomHandlers(n,t,e)&&e.preventDefault()}))}runCustomHandlers(t,e,i){for(let s of this.customHandlers){let o=s.handlers[t];if(o)try{if(o.call(s.plugin,i,e)||i.defaultPrevented)return!0}catch(n){tC(e.state,n)}}return!1}runScrollHandlers(t,e){for(let i of(this.lastScrollTop=t.scrollDOM.scrollTop,this.lastScrollLeft=t.scrollDOM.scrollLeft,this.customHandlers)){let s=i.handlers.scroll;if(s)try{s.call(i.plugin,e,t)}catch(o){tC(t.state,o)}}}keydown(t,e){let i;return this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),!!(9==e.keyCode&&Date.now()t.keyCode==e.keyCode))&&!e.ctrlKey||ec.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey))&&(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(t),250),!0))}flushIOSKey(t){let e=this.pendingIOSKey;return!!e&&(this.pendingIOSKey=void 0,k(t.contentDOM,e.key,e.keyCode))}ignoreDuringComposition(t){return!!/^key/.test(t.type)&&(this.composing>0||!!(K.safari&&!K.ios&&Date.now()-this.compositionEndedAt<100)&&(this.compositionEndedAt=0,!0))}mustFlushObserver(t){return"keydown"==t.type&&229!=t.keyCode}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.mouseSelection&&this.mouseSelection.update(t),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}let ea=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ec="dthko",ed=[16,17,18,20,91,92,224,225];class eu{constructor(t,e,i,s){let o,n;this.view=t,this.style=i,this.mustSelect=s,this.lastEvent=e;let r=t.contentDOM.ownerDocument;r.addEventListener("mousemove",this.move=this.move.bind(this)),r.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=e.shiftKey,this.multiple=t.state.facet(l.yy.allowMultipleSelections)&&((o=t.state.facet(tg)).length?o[0](e):K.mac?e.metaKey:e.ctrlKey),this.dragMove=(n=t.state.facet(tv)).length?n[0](e):K.mac?!e.altKey:!e.ctrlKey,this.dragging=!!function(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let s=c(t.root);if(!s||0==s.rangeCount)return!0;let o=s.getRangeAt(0).getClientRects();for(let n=0;n=e.clientX&&r.top<=e.clientY&&r.bottom>=e.clientY)return!0}return!1}(t,e)&&1==eA(e)&&null,!1===this.dragging&&(e.preventDefault(),this.select(e))}move(t){if(0==t.buttons)return this.destroy();!1===this.dragging&&this.select(this.lastEvent=t)}up(t){null==this.dragging&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}select(t){let e=this.style.get(t,this.extend,this.multiple);(this.mustSelect||!e.eq(this.view.state.selection)||e.main.assoc!=this.view.state.selection.main.assoc)&&this.view.dispatch({selection:e,userEvent:"select.pointer",scrollIntoView:!0}),this.mustSelect=!1}update(t){t.docChanged&&this.dragging&&(this.dragging=this.dragging.map(t.changes)),this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function ef(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,s;i!=t.contentDOM;i=i.parentNode)if(!i||11==i.nodeType||(s=T.get(i))&&s.ignoreEvent(e))return!1;return!0}let ep=Object.create(null),em=Object.create(null),eg=K.ie&&K.ie_version<15||K.ios&&K.webkit_version<604;function ev(t,e){let{state:i}=t,s,o=1,n=i.toText(e),r=n.lines==i.selection.ranges.length;if(null!=eT&&i.selection.ranges.every(t=>t.empty)&&eT==n.toString()){let h=-1;s=i.changeByRange(t=>{let s=i.doc.lineAt(t.from);if(s.from==h)return{range:t};h=s.from;let a=i.toText((r?n.line(o++).text:e)+i.lineBreak);return{changes:{from:s.from,insert:a},range:l.jT.cursor(t.from+a.length)}})}else s=r?i.changeByRange(t=>{let e=n.line(o++);return{changes:{from:t.from,to:t.to,insert:e.text},range:l.jT.cursor(t.from+e.length)}}):i.replaceSelection(n);t.dispatch(s,{userEvent:"input.paste",scrollIntoView:!0})}function ew(t,e,i,s){if(1==s)return l.jT.cursor(e,i);if(2==s)return function(t,e,i=1){let s=t.charCategorizer(e),o=t.doc.lineAt(e),n=e-o.from;if(0==o.length)return l.jT.cursor(e);0==n?i=1:n==o.length&&(i=-1);let r=n,h=n;i<0?r=(0,l.cp)(o.text,n,!1):h=(0,l.cp)(o.text,n);let a=s(o.text.slice(r,h));for(;r>0;){let c=(0,l.cp)(o.text,r,!1);if(s(o.text.slice(c,r))!=a)break;r=c}for(;h{t.inputState.setSelectionOrigin("select"),27==e.keyCode?t.inputState.lastEscPress=Date.now():0>ed.indexOf(e.keyCode)&&(t.inputState.lastEscPress=0)},ep.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},ep.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},em.touchstart=em.touchmove={passive:!0},ep.mousedown=(t,e)=>{let i,s,o,n,r;if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return;let h=null;for(let a of t.state.facet(tw))if(h=a(t,e))break;if(h||0!=e.button||(i=ex(t,e),s=eA(e),o=t.state.selection,n=i,r=e,h={update(t){t.docChanged&&(i.pos=t.changes.mapPos(i.pos),o=o.map(t.changes),r=null)},get(e,h,a){let c;r&&e.clientX==r.clientX&&e.clientY==r.clientY?c=n:(c=n=ex(t,e),r=e);let d=ew(t,c.pos,c.bias,s);if(i.pos!=c.pos&&!h){let u=ew(t,i.pos,i.bias,s),f=Math.min(u.from,d.from),p=Math.max(u.to,d.to);d=f1&&o.ranges.some(t=>t.eq(d))?function(t,e){for(let i=0;;i++)if(t.ranges[i].eq(e))return l.jT.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}(o,d):a?o.addRange(d):l.jT.create([d])}}),h){let c=t.root.activeElement!=t.contentDOM;c&&t.observer.ignore(()=>S(t.contentDOM)),t.inputState.startMouseSelection(new eu(t,e,h,c))}};let ey=(t,e)=>t>=e.top&&t<=e.bottom,eb=(t,e,i)=>ey(e,i)&&t>=i.left&&t<=i.right;function ex(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:function(t,e,i,s){let o=td.find(t.docView,e);if(!o)return 1;let n=e-o.posAtStart;if(0==n)return 1;if(n==o.length)return -1;let r=o.coordsAt(n,-1);if(r&&eb(i,s,r))return -1;let l=o.coordsAt(n,1);return l&&eb(i,s,l)?1:r&&ey(s,r)?-1:1}(t,i,e.clientX,e.clientY)}}let eS=K.ie&&K.ie_version<=11,eM=null,ek=0,eC=0;function eA(t){if(!eS)return t.detail;let e=eM,i=eC;return eM=t,eC=Date.now(),ek=!e||i>Date.now()-400&&2>Math.abs(e.clientX-t.clientX)&&2>Math.abs(e.clientY-t.clientY)?(ek+1)%3:1}function eD(t,e,i,s){if(!i)return;let o=t.posAtCoords({x:e.clientX,y:e.clientY},!1);e.preventDefault();let{mouseSelection:n}=t.inputState,r=s&&n&&n.dragging&&n.dragMove?{from:n.dragging.from,to:n.dragging.to}:null,l={from:o,insert:i},h=t.state.changes(r?[r,l]:l);t.focus(),t.dispatch({changes:h,selection:{anchor:h.mapPos(o,-1),head:h.mapPos(o,1)},userEvent:r?"move.drop":"input.drop"})}ep.dragstart=(t,e)=>{let{selection:{main:i}}=t.state,{mouseSelection:s}=t.inputState;s&&(s.dragging=i),e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove")},ep.drop=(t,e)=>{if(!e.dataTransfer)return;if(t.state.readOnly)return e.preventDefault();let i=e.dataTransfer.files;if(i&&i.length){e.preventDefault();let s=Array(i.length),o=0,n=()=>{++o==i.length&&eD(t,e,s.filter(t=>null!=t).join(t.state.lineBreak),!1)};for(let r=0;r{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(s[r]=l.result),n()},l.readAsText(i[r])}}else eD(t,e,e.dataTransfer.getData("Text"),!0)},ep.paste=(t,e)=>{if(t.state.readOnly)return e.preventDefault();t.observer.flush();let i=eg?null:e.clipboardData;i?(ev(t,i.getData("text/plain")),e.preventDefault()):function(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),ev(t,i.value)},50)}(t)};let eT=null;function eO(t){setTimeout(()=>{t.hasFocus!=t.inputState.notifiedFocused&&t.update([])},10)}ep.copy=ep.cut=(t,e)=>{let{text:i,ranges:s,linewise:o}=function(t){let e=[],i=[],s=!1;for(let o of t.selection.ranges)o.empty||(e.push(t.sliceDoc(o.from,o.to)),i.push(o));if(!e.length){let n=-1;for(let{from:r}of t.selection.ranges){let l=t.doc.lineAt(r);l.number>n&&(e.push(l.text),i.push({from:l.from,to:Math.min(t.doc.length,l.to+1)})),n=l.number}s=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:s}}(t.state);if(!i&&!o)return;eT=o?i:null;let n=eg?null:e.clipboardData;n?(e.preventDefault(),n.clearData(),n.setData("text/plain",i)):function(t,e){let i=t.dom.parentNode;if(!i)return;let s=i.appendChild(document.createElement("textarea"));s.style.cssText="position: fixed; left: -10000px; top: 10px",s.value=e,s.focus(),s.selectionEnd=e.length,s.selectionStart=0,setTimeout(()=>{s.remove(),t.focus()},50)}(t,i),"cut"!=e.type||t.state.readOnly||t.dispatch({changes:s,scrollIntoView:!0,userEvent:"delete.cut"})},ep.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),eO(t)},ep.blur=t=>{t.observer.clearSelectionRange(),eO(t)},ep.compositionstart=ep.compositionupdate=t=>{null==t.inputState.compositionFirstChange&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)},ep.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionFirstChange=null,K.chrome&&K.android&&t.observer.flushSoon(),setTimeout(()=>{t.inputState.composing<0&&t.docView.compositionDeco.size&&t.update([])},50)},ep.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},ep.beforeinput=(t,e)=>{var i;let s;if(K.chrome&&K.android&&(s=ea.find(t=>t.inputType==e.inputType))&&(t.observer.delayAndroidKey(s.key,s.keyCode),"Backspace"==s.key||"Delete"==s.key)){let o=(null===(i=window.visualViewport)||void 0===i?void 0:i.height)||0;setTimeout(()=>{var e;((null===(e=window.visualViewport)||void 0===e?void 0:e.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}};let eE=["pre-wrap","normal","pre-line","break-spaces"];class eR{constructor(){this.doc=l.xv.empty,this.lineWrapping=!1,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.lineLength=30,this.heightChanged=!1}heightForGap(t,e){let i=this.doc.lineAt(e).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(i+=Math.ceil((e-t-i*this.lineLength*.5)/this.lineLength)),this.lineHeight*i}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return eE.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let e=!1;for(let i=0;i-1,r=Math.round(e)!=Math.round(this.lineHeight)||this.lineWrapping!=n;if(this.lineWrapping=n,this.lineHeight=e,this.charWidth=i,this.lineLength=s,r){this.heightSamples={};for(let l=0;l0}set outdated(t){this.flags=(t?2:0)|-3&this.flags}setHeight(t,e){this.height!=e&&(Math.abs(this.height-e)>.001&&(t.heightChanged=!0),this.height=e)}replace(t,e,i){return eH.of(i)}decomposeLeft(t,e){e.push(this)}decomposeRight(t,e){e.push(this)}applyChanges(t,e,i,s){let o=this;for(let n=s.length-1;n>=0;n--){let{fromA:r,toA:l,fromB:h,toB:a}=s[n],c=o.lineAt(r,eV.ByPosNoHeight,e,0,0),d=c.to>=l?c:o.lineAt(l,eV.ByPosNoHeight,e,0,0);for(a+=d.to-l,l=d.to;n>0&&c.from<=s[n-1].toA;)r=s[n-1].fromA,h=s[n-1].fromB,n--,r2*o){let n=t[e-1];n.break?t.splice(--e,1,n.left,null,n.right):t.splice(--e,1,n.left,n.right),i+=1+n.break,s-=n.size}else if(o>2*s){let r=t[i];r.break?t.splice(i,1,r.left,null,r.right):t.splice(i,1,r.left,r.right),i+=2+r.break,o-=r.size}else break}else if(s=o&&n(this.blockAt(0,i,s,o))}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more&&this.setHeight(t,s.heights[s.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class eP extends eN{constructor(t,e){super(t,e,to.Text),this.collapsed=0,this.widgetHeight=0}replace(t,e,i){let s=i[0];return 1==i.length&&(s instanceof eP||s instanceof eW&&4&s.flags)&&10>Math.abs(this.length-s.length)?(s instanceof eW?s=new eP(s.length,this.height):s.height=this.height,this.outdated||(s.outdated=!1),s):eH.of(i)}updateHeight(t,e=0,i=!1,s){return s&&s.from<=e&&s.more?this.setHeight(t,s.heights[s.index++]):(i||this.outdated)&&this.setHeight(t,Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class eW extends eH{constructor(t){super(t,0)}lines(t,e){let i=t.lineAt(e).number,s=t.lineAt(e+this.length).number;return{firstLine:i,lastLine:s,lineHeight:this.height/(s-i+1)}}blockAt(t,e,i,s){let{firstLine:o,lastLine:n,lineHeight:r}=this.lines(e,s),l=Math.max(0,Math.min(n-o,Math.floor((t-i)/r))),{from:h,length:a}=e.line(o+l);return new eL(h,a,i+r*l,r,to.Text)}lineAt(t,e,i,s,o){if(e==eV.ByHeight)return this.blockAt(t,i,s,o);if(e==eV.ByPosNoHeight){let{from:n,to:r}=i.lineAt(t);return new eL(n,r-n,0,0,to.Text)}let{firstLine:l,lineHeight:h}=this.lines(i,o),{from:a,length:c,number:d}=i.lineAt(t);return new eL(a,c,s+h*(d-l),h,to.Text)}forEachLine(t,e,i,s,o,n){let{firstLine:r,lineHeight:l}=this.lines(i,o);for(let h=Math.max(t,o),a=Math.min(o+this.length,e);h<=a;){let c=i.lineAt(h);h==t&&(s+=l*(c.number-r)),n(new eL(c.from,c.length,s,l,to.Text)),s+=l,h=c.to+1}}replace(t,e,i){let s=this.length-e;if(s>0){let o=i[i.length-1];o instanceof eW?i[i.length-1]=new eW(o.length+s):i.push(null,new eW(s-1))}if(t>0){let n=i[0];n instanceof eW?i[0]=new eW(t+n.length):i.unshift(new eW(t-1),null)}return eH.of(i)}decomposeLeft(t,e){e.push(new eW(t-1),null)}decomposeRight(t,e){e.push(null,new eW(this.length-t-1))}updateHeight(t,e=0,i=!1,s){let o=e+this.length;if(s&&s.from<=e+this.length&&s.more){let n=[],r=Math.max(e,s.from),l=-1,h=t.heightChanged;for(s.from>e&&n.push(new eW(s.from-e-1).updateHeight(t,e));r<=o&&s.more;){let a=t.doc.lineAt(r).length;n.length&&n.push(null);let c=s.heights[s.index++];-1==l?l=c:Math.abs(c-l)>=.001&&(l=-2);let d=new eP(a,c);d.outdated=!1,n.push(d),r+=a+1}r<=o&&n.push(null,new eW(o-r).updateHeight(t,r));let u=eH.of(n);return t.heightChanged=h||l<0||Math.abs(u.height-this.height)>=.001||Math.abs(l-this.lines(t.doc,e).lineHeight)>=.001,u}return(i||this.outdated)&&(this.setHeight(t,t.heightForGap(e,e+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}}class ez extends eH{constructor(t,e,i){super(t.length+e+i.length,t.height+i.height,e|(t.outdated||i.outdated?2:0)),this.left=t,this.right=i,this.size=t.size+i.size}get break(){return 1&this.flags}blockAt(t,e,i,s){let o=i+this.left.height;return tr))return h;let a=e==eV.ByPosNoHeight?eV.ByPosNoHeight:eV.ByPos;return l?h.join(this.right.lineAt(r,a,i,n,r)):this.left.lineAt(r,a,i,s,o).join(h)}forEachLine(t,e,i,s,o,n){let r=s+this.left.height,l=o+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,e,i,r,l,n);else{let h=this.lineAt(l,eV.ByPos,i,s,o);t=t&&h.from<=e&&n(h),e>h.to&&this.right.forEachLine(h.to+1,e,i,r,l,n)}}replace(t,e,i){let s=this.left.length+this.break;if(ethis.left.length)return this.balanced(this.left,this.right.replace(t-s,e-s,i));let o=[];t>0&&this.decomposeLeft(t,o);let n=o.length;for(let r of i)o.push(r);if(t>0&&eF(o,n-1),e=++i&&e.push(null),t>i&&this.right.decomposeLeft(t-i,e)}decomposeRight(t,e){let i=this.left.length,s=i+this.break;if(t>=s)return this.right.decomposeRight(t-s,e);t2*e.size||e.size>2*t.size?eH.of(this.break?[t,null,e]:[t,e]):(this.left=t,this.right=e,this.height=t.height+e.height,this.outdated=t.outdated||e.outdated,this.size=t.size+e.size,this.length=t.length+this.break+e.length,this)}updateHeight(t,e=0,i=!1,s){let{left:o,right:n}=this,r=e+o.length+this.break,l=null;return(s&&s.from<=e+o.length&&s.more?l=o=o.updateHeight(t,e,i,s):o.updateHeight(t,e,i),s&&s.from<=r+n.length&&s.more?l=n=n.updateHeight(t,r,i,s):n.updateHeight(t,r,i),l)?this.balanced(o,n):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function eF(t,e){let i,s;null==t[e]&&(i=t[e-1])instanceof eW&&(s=t[e+1])instanceof eW&&t.splice(e-1,3,new eW(i.length+1+s.length))}class eI{constructor(t,e){this.pos=t,this.oracle=e,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,e){if(this.lineStart>-1){let i=Math.min(e,this.lineEnd),s=this.nodes[this.nodes.length-1];s instanceof eP?s.length+=i-this.pos:(i>this.pos||!this.isCovered)&&this.nodes.push(new eP(i-this.pos,-1)),this.writtenTo=i,e>i&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=e}point(t,e,i){if(t=5)&&this.addLineDeco(s,o)}else e>t&&this.span(t,e);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:e}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=e,this.writtenTot&&this.nodes.push(new eP(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,e){let i=new eW(e-t);return this.oracle.doc.lineAt(t).to==e&&(i.flags|=4),i}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof eP)return t;let e=new eP(0,-1);return this.nodes.push(e),e}addBlock(t){this.enterLine(),t.type!=to.WidgetAfter||this.isCovered||this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,t.type!=to.WidgetBefore&&(this.covering=t)}addLineDeco(t,e){let i=this.ensureLine();i.length+=e,i.collapsed+=e,i.widgetHeight=Math.max(i.widgetHeight,t),this.writtenTo=this.pos=this.pos+e}finish(t){let e=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||e instanceof eP||this.isCovered?(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&"visible"!=d.overflow){let u=c.getBoundingClientRect();n=Math.max(n,u.left),r=Math.min(r,u.right),l=Math.max(l,u.top),h=a==t.parentNode?u.bottom:Math.min(h,u.bottom)}a="absolute"==d.position||"fixed"==d.position?c.offsetParent:c.parentNode}else if(11==a.nodeType)a=a.host;else break;return{left:n-i.left,right:Math.max(n,r)-i.left,top:l-(i.top+e),bottom:Math.max(l,h)-(i.top+e)}}function eK(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class e${constructor(t,e,i){this.from=t,this.to=e,this.size=i}static same(t,e){if(t.length!=e.length)return!1;for(let i=0;i"function"!=typeof t),this.heightMap=eH.empty().applyChanges(this.stateDeco,l.xv.empty,this.heightOracle.setDoc(t.doc),[new tP(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=tn.set(this.lineGaps.map(t=>t.draw(!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:e}=this.state.selection;for(let i=0;i<=1;i++){let s=i?e.head:e.anchor;if(!t.some(({from:t,to:e})=>s>=t&&s<=e)){let{from:o,to:n}=this.lineBlockAt(s);t.push(new e_(o,n))}}this.viewports=t.sort((t,e)=>t.from-e.from),this.scaler=this.heightMap.height<=7e6?eQ:new eZ(this.heightOracle.doc,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.state.doc,0,0,t=>{this.viewportLines.push(1==this.scaler.scale?t:eJ(t,this.scaler))})}update(t,e=null){var i,s;let o;this.state=t.state;let n=this.stateDeco;this.stateDeco=this.state.facet(tL).filter(t=>"function"!=typeof t);let r=t.changedRanges,h=tP.extendWithRanges(r,(i=this.stateDeco,s=t?t.changes:l.as.empty(this.state.doc.length),o=new eq,l.Xs.compare(n,i,s,o,0),o.changes)),a=this.heightMap.height;this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),h),this.heightMap.height!=a&&(t.flags|=2);let c=h.length?this.mapViewport(this.viewport,t.changes):this.viewport;(e&&(e.range.headc.to)||!this.viewportIsAppropriate(c))&&(c=this.getViewport(0,e));let d=!t.changes.empty||2&t.flags||c.from!=this.viewport.from||c.to!=this.viewport.to;this.viewport=c,this.updateForViewport(),d&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),e&&(this.scrollTarget=e),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&(this.mustEnforceCursorAssoc=!0)}measure(t){let e=t.contentDOM,i=window.getComputedStyle(e),s=this.heightOracle,o=i.whiteSpace;this.defaultTextDirection="rtl"==i.direction?tz.RTL:tz.LTR;let n=this.heightOracle.mustRefreshForWrapping(o),r=n||this.mustMeasureContent||this.contentDOMHeight!=e.clientHeight;this.contentDOMHeight=e.clientHeight,this.mustMeasureContent=!1;let l=0,h=0,a=parseInt(i.paddingTop)||0,c=parseInt(i.paddingBottom)||0;(this.paddingTop!=a||this.paddingBottom!=c)&&(this.paddingTop=a,this.paddingBottom=c,l|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(s.lineWrapping&&(r=!0),this.editorWidth=t.scrollDOM.clientWidth,l|=8);let d=(this.printing?eK:ej)(e,this.paddingTop),u=d.top-this.pixelViewport.top,f=d.bottom-this.pixelViewport.bottom;this.pixelViewport=d;let p=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(p!=this.inView&&(this.inView=p,p&&(r=!0)),!this.inView&&!this.scrollTarget)return 0;let m=e.clientWidth;if((this.contentDOMWidth!=m||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=m,this.editorHeight=t.scrollDOM.clientHeight,l|=8),r){let g=t.docView.measureVisibleLineHeights(this.viewport);if(s.mustRefreshForHeights(g)&&(n=!0),n||s.lineWrapping&&Math.abs(m-this.contentDOMWidth)>s.charWidth){let{lineHeight:v,charWidth:w}=t.docView.measureTextSize();(n=v>0&&s.refresh(o,v,w,m/w,g))&&(t.docView.minWidth=0,l|=8)}for(let y of(u>0&&f>0?h=Math.max(u,f):u<0&&f<0&&(h=Math.min(u,f)),s.heightChanged=!1,this.viewports)){let b=y.from==this.viewport.from?g:t.docView.measureVisibleLineHeights(y);this.heightMap=this.heightMap.updateHeight(s,0,n,new eB(y.from,b))}s.heightChanged&&(l|=2)}let x=!this.viewportIsAppropriate(this.viewport,h)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return x&&(this.viewport=this.getViewport(h,this.scrollTarget)),this.updateForViewport(),(2&l||x)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(n?[]:this.lineGaps,t)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,e){let i=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),s=this.heightMap,o=this.state.doc,{visibleTop:n,visibleBottom:r}=this,l=new e_(s.lineAt(n-1e3*i,eV.ByHeight,o,0,0).from,s.lineAt(r+(1-i)*1e3,eV.ByHeight,o,0,0).to);if(e){let{head:h}=e.range;if(hl.to){let a=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),c=s.lineAt(h,eV.ByPos,o,0,0),d;d="center"==e.y?(c.top+c.bottom)/2-a/2:"start"==e.y||"nearest"==e.y&&h=r+Math.max(10,Math.min(i,250)))&&s>n-2e3&&o>1,n=s<<1;if(this.defaultTextDirection!=tz.LTR&&!i)return[];let r=[],h=(s,n,a,c)=>{if(n-ss&&ft.from>=a.from&&t.to<=a.to&&Math.abs(t.from-s)t.frome));if(!p){if(nt.from<=n&&t.to>=n)){let m=e.moveToLineBoundary(l.jT.cursor(n),!1,!0).head;m>s&&(n=m)}p=new e$(s,n,this.gapSize(a,s,n,c))}r.push(p)};for(let a of this.viewportLines){let c,d;if(a.lengtho&&(s.push({from:o,to:t}),n+=t-o),o=e}},20),oa.from&&h(a.from,c,a,u),dt.draw(this.heightOracle.lineWrapping))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let e=[];l.Xs.spans(t,this.viewport.from,this.viewport.to,{span(t,i){e.push({from:t,to:i})},point(){}},20);let i=e.length!=this.visibleRanges.length||this.visibleRanges.some((t,i)=>t.from!=e[i].from||t.to!=e[i].to);return this.visibleRanges=e,i?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(e=>e.from<=t&&e.to>=t)||eJ(this.heightMap.lineAt(t,eV.ByPos,this.state.doc,0,0),this.scaler)}lineBlockAtHeight(t){return eJ(this.heightMap.lineAt(this.scaler.fromDOM(t),eV.ByHeight,this.state.doc,0,0),this.scaler)}elementAtHeight(t){return eJ(this.heightMap.blockAt(this.scaler.fromDOM(t),this.state.doc,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class e_{constructor(t,e){this.from=t,this.to=e}}function eU({total:t,ranges:e},i){if(i<=0)return e[0].from;if(i>=1)return e[e.length-1].to;let s=Math.floor(t*i);for(let o=0;;o++){let{from:n,to:r}=e[o],l=r-n;if(s<=l)return n+s;s-=l}}function eY(t,e){let i=0;for(let{from:s,to:o}of t.ranges){if(e<=o){i+=e-s;break}i+=o-s}return i/t.total}let eQ={toDOM:t=>t,fromDOM:t=>t,scale:1};class eZ{constructor(t,e,i){let s=0,o=0,n=0;for(let r of(this.viewports=i.map(({from:i,to:o})=>{let n=e.lineAt(i,eV.ByPos,t,0,0).top,r=e.lineAt(o,eV.ByPos,t,0,0).bottom;return s+=r-n,{from:i,to:o,top:n,bottom:r,domTop:0,domBottom:0}}),this.scale=(7e6-s)/(e.height-s),this.viewports))r.domTop=n+(r.top-o)*this.scale,n=r.domBottom=r.domTop+(r.bottom-r.top),o=r.bottom}toDOM(t){for(let e=0,i=0,s=0;;e++){let o=eeJ(t,e)):t.type)}let e0=l.r$.define({combine:t=>t.join(" ")}),e1=l.r$.define({combine:t=>t.indexOf(!0)>-1}),e2=h.V.newName(),e8=h.V.newName(),e3=h.V.newName(),e9={"&light":"."+e8,"&dark":"."+e3};function e5(t,e,i){return new h.V(e,{finish:e=>/&/.test(e)?e.replace(/&\w*/,e=>{if("&"==e)return t;if(!i||!i[e])throw RangeError(`Unsupported selector: ${e}`);return i[e]}):t+" "+e})}let e4=e5("."+e2,{"&.cm-editor":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,minHeight:"100%",display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 4px"},".cm-selectionLayer":{zIndex:-1,contain:"size style"},".cm-selectionBackground":{position:"absolute"},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{zIndex:100,contain:"size style",pointerEvents:"none"},"&.cm-focused .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{position:"absolute",borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},"&.cm-focused .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",left:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},e9);class e6{constructor(t,e,i,s){this.typeOver=s,this.bounds=null,this.text="";let{impreciseHead:o,impreciseAnchor:n}=t.docView;if(e>-1&&!t.state.readOnly&&(this.bounds=t.docView.domBoundsAround(e,i,0))){let r=o||n?[]:function(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:s,focusNode:o,focusOffset:n}=t.observer.selectionRange;return i&&(e.push(new t8(i,s)),(o!=i||n!=s)&&e.push(new t8(o,n))),e}(t),h=new t1(r,t.state);h.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=h.text,this.newSel=function(t,e){if(0==t.length)return null;let i=t[0].pos,s=2==t.length?t[1].pos:i;return i>-1&&s>-1?l.jT.single(i+e,s+e):null}(r,this.bounds.from)}else{let a=t.observer.selectionRange,c=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!d(t.contentDOM,a.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(a.focusNode,a.focusOffset),u=n&&n.node==a.anchorNode&&n.offset==a.anchorOffset||!d(t.contentDOM,a.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(a.anchorNode,a.anchorOffset);this.newSel=l.jT.single(u,c)}}}function e7(t,e){let i;let{newSel:s}=e,o=t.state.selection.main;if(e.bounds){let{from:n,to:r}=e.bounds,h=o.from,a=null;(8===t.inputState.lastKeyCode&&t.inputState.lastKeyTime>Date.now()-100||K.android&&e.text.length0&&l>0&&t.charCodeAt(r-1)==e.charCodeAt(l-1);)r--,l--;if("end"==s){let h=Math.max(0,n-Math.min(r,l));i-=r+h-n}if(r=r?n-i:0;n-=a,l=n+(l-r),r=n}else if(l=l?n-i:0;n-=c,r=n+(r-l),l=n}return{from:n,toA:r,toB:l}}(t.state.doc.sliceString(n,r,"￿"),e.text,h-n,a);c&&(K.chrome&&13==t.inputState.lastKeyCode&&c.toB==c.from+2&&"￿￿"==e.text.slice(c.from,c.toB)&&c.toB--,i={from:n+c.from,to:n+c.toA,insert:l.xv.of(e.text.slice(c.from,c.toB).split("￿"))})}else s&&(!t.hasFocus||!t.state.facet(tA)||s.main.eq(o))&&(s=null);if(!i&&!s)return!1;if(!i&&e.typeOver&&!o.empty&&s&&s.main.empty?i={from:o.from,to:o.to,insert:t.state.doc.slice(o.from,o.to)}:i&&i.from>=o.from&&i.to<=o.to&&(i.from!=o.from||i.to!=o.to)&&o.to-o.from-(i.to-i.from)<=4?i={from:o.from,to:o.to,insert:t.state.doc.slice(o.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,o.to))}:(K.mac||K.android)&&i&&i.from==i.to&&i.from==o.head-1&&/^\. ?$/.test(i.insert.toString())?(s&&2==i.insert.length&&(s=l.jT.single(s.main.anchor-1,s.main.head-1)),i={from:o.from,to:o.to,insert:l.xv.of([" "])}):K.chrome&&i&&i.from==i.to&&i.from==o.head&&"\n "==i.insert.toString()&&t.lineWrapping&&(s&&(s=l.jT.single(s.main.anchor-1,s.main.head-1)),i={from:o.from,to:o.to,insert:l.xv.of([" "])}),i){let d,u=t.state;if(K.ios&&t.inputState.flushIOSKey(t)||K.android&&(i.from==o.from&&i.to==o.to&&1==i.insert.length&&2==i.insert.lines&&k(t.contentDOM,"Enter",13)||i.from==o.from-1&&i.to==o.to&&0==i.insert.length&&k(t.contentDOM,"Backspace",8)||i.from==o.from&&i.to==o.to+1&&0==i.insert.length&&k(t.contentDOM,"Delete",46)))return!0;let f=i.insert.toString();if(t.state.facet(tx).some(e=>e(t,i.from,i.to,f)))return!0;if(t.inputState.composing>=0&&t.inputState.composing++,i.from>=o.from&&i.to<=o.to&&i.to-i.from>=(o.to-o.from)/3&&(!s||s.main.empty&&s.main.from==i.from+i.insert.length)&&t.inputState.composing<0){let p=o.fromi.to?u.sliceDoc(i.to,o.to):"";d=u.replaceSelection(t.state.toText(p+i.insert.sliceString(0,void 0,t.state.lineBreak)+m))}else{let g=u.changes(i),v=s&&!u.selection.main.eq(s.main)&&s.main.to<=g.newLength?s.main:void 0;if(u.selection.ranges.length>1&&t.inputState.composing>=0&&i.to<=o.to&&i.to>=o.to-10){let w=t.state.sliceDoc(i.from,i.to),y=t5(t)||t.state.doc.lineAt(o.head),b=o.to-i.to,x=o.to-o.from;d=u.changeByRange(e=>{if(e.from==o.from&&e.to==o.to)return{changes:g,range:v||e.map(g)};let s=e.to-b,n=s-w.length;if(e.to-e.from!=x||t.state.sliceDoc(n,s)!=w||y&&e.to>=y.from&&e.from<=y.to)return{range:e};let r=u.changes({from:n,to:s,insert:i.insert}),h=e.to-o.to;return{changes:r,range:v?l.jT.range(Math.max(0,v.anchor+h),Math.max(0,v.head+h)):e.map(r)}})}else d={changes:g,selection:v&&u.selection.replaceRange(v)}}let S="input.type";return t.composing&&(S+=".compose",t.inputState.compositionFirstChange&&(S+=".start",t.inputState.compositionFirstChange=!1)),t.dispatch(d,{scrollIntoView:!0,userEvent:S}),!0}if(!s||s.main.eq(o))return!1;{let M=!1,C="select";return t.inputState.lastSelectionTime>Date.now()-50&&("select"==t.inputState.lastSelectionOrigin&&(M=!0),C=t.inputState.lastSelectionOrigin),t.dispatch({selection:s,scrollIntoView:M,userEvent:C}),!0}}let it={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ie=K.ie&&K.ie_version<=11;class ii{constructor(t){this.view=t,this.active=!1,this.selectionRange=new b,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resize=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(e=>{for(let i of e)this.queue.push(i);(K.ie&&K.ie_version<=11||K.ios&&t.composing)&&e.some(t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length)?this.flushSoon():this.flush()}),ie&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),"function"==typeof ResizeObserver&&(this.resize=new ResizeObserver(()=>{this.view.docView.lastUpdate{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runScrollHandlers(this.view,t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((e,i)=>e!=t[i]))){for(let e of(this.gapIntersection.disconnect(),t))this.gapIntersection.observe(e);this.gaps=t}}onSelectionChange(t){let e=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:i}=this,s=this.selectionRange;if(i.state.facet(tA)?i.root.activeElement!=this.dom:!u(i.dom,s))return;let o=s.anchorNode&&i.docView.nearest(s.anchorNode);if(o&&o.ignoreEvent(t)){e||(this.selectionChanged=!1);return}(K.ie&&K.ie_version<=11||K.android&&K.chrome)&&!i.state.selection.main.empty&&s.focusNode&&p(s.focusNode,s.focusOffset,s.anchorNode,s.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,e=K.safari&&11==t.root.nodeType&&function(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}(this.dom.ownerDocument)==this.dom&&function(t){let e=null;function i(t){t.preventDefault(),t.stopImmediatePropagation(),e=t.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let s=e.startContainer,o=e.startOffset,n=e.endContainer,r=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return p(l.node,l.offset,n,r)&&([s,o,n,r]=[n,r,s,o]),{anchorNode:s,anchorOffset:o,focusNode:n,focusOffset:r}}(this.view)||c(t.root);if(!e||this.selectionRange.eq(e))return!1;let i=u(this.dom,e);return i&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let t=this.delayedAndroidKey;t&&(this.clearDelayedAndroidKey(),!this.flush()&&t.force&&k(this.dom,t.key,t.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(s)}this.delayedAndroidKey&&"Enter"!=t||(this.delayedAndroidKey={key:t,keyCode:e,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}processRecords(){let t=this.queue;for(let e of this.observer.takeRecords())t.push(e);t.length&&(this.queue=[]);let i=-1,s=-1,o=!1;for(let n of t){let r=this.readMutation(n);r&&(r.typeOver&&(o=!0),-1==i?{from:i,to:s}=r:(i=Math.min(r.from,i),s=Math.max(r.to,s)))}return{from:i,to:s,typeOver:o}}readChange(){let{from:t,to:e,typeOver:i}=this.processRecords(),s=this.selectionChanged&&u(this.dom,this.selectionRange);return t<0&&!s?null:(t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1,new e6(this.view,t,e,i))}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let e=this.readChange();if(!e)return!1;let i=this.view.state,s=e7(this.view,e);return this.view.state==i&&this.view.update([]),s}readMutation(t){let e=this.view.docView.nearest(t.target);if(!e||e.ignoreMutation(t))return null;if(e.markDirty("attributes"==t.type),"attributes"==t.type&&(e.dirty|=4),"childList"==t.type){let i=is(e,t.previousSibling||t.target.previousSibling,-1),s=is(e,t.nextSibling||t.target.nextSibling,1);return{from:i?e.posAfter(i):e.posAtStart,to:s?e.posBefore(s):e.posAtEnd,typeOver:!1}}return"characterData"==t.type?{from:e.posAtStart,to:e.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var t,e,i;for(let s of(this.stop(),null===(t=this.intersection)||void 0===t||t.disconnect(),null===(e=this.gapIntersection)||void 0===e||e.disconnect(),null===(i=this.resize)||void 0===i||i.disconnect(),this.scrollTargets))s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function is(t,e,i){for(;e;){let s=T.get(e);if(s&&s.parent==t)return s;let o=e.parentNode;e=o!=t.dom?o:i>0?e.nextSibling:e.previousSibling}return null}class io{constructor(t={}){for(let e of(this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: absolute; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),this._dispatch=t.dispatch||(t=>this.update([t])),this.dispatch=this.dispatch.bind(this),this._root=t.root||function(t){for(;t;){if(t&&(9==t.nodeType||11==t.nodeType&&t.host))return t;t=t.assignedSlot||t.parentNode}return null}(t.parent)||document,this.viewState=new eX(t.state||l.yy.create(t)),this.plugins=this.state.facet(tT).map(t=>new tE(t)),this.plugins))e.update(this);this.observer=new ii(this),this.inputState=new eh(this),this.inputState.ensureHandlers(this,this.plugins),this.docView=new t3(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),t.parent&&t.parent.appendChild(this.dom)}get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}dispatch(...t){this._dispatch(1==t.length&&t[0]instanceof l.YW?t[0]:this.state.update(...t))}update(t){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let e=!1,i=!1,s,o=this.state;for(let n of t){if(n.startState!=o)throw RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=n.state}if(this.destroyed){this.viewState.state=o;return}let r=this.observer.delayedAndroidKey,h=null;if(r?(this.observer.clearDelayedAndroidKey(),((h=this.observer.readChange())&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(h=null)):this.observer.clear(),o.facet(l.yy.phrases)!=this.state.facet(l.yy.phrases))return this.setState(o);s=tW.create(this,o,t);let a=this.viewState.scrollTarget;try{for(let c of(this.updateState=2,t)){if(a&&(a=a.map(c.changes)),c.scrollIntoView){let{main:d}=c.state.selection;a=new tM(d.empty?d:l.jT.cursor(d.head,d.head>d.anchor?-1:1))}for(let u of c.effects)u.is(tk)&&(a=u.value)}this.viewState.update(s,a),this.bidiCache=ih.update(this.bidiCache,s.changes),s.empty||(this.updatePlugins(s),this.inputState.update(s)),e=this.docView.update(s),this.state.facet(tN)!=this.styleModules&&this.mountStyles(),i=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(e,t.some(t=>t.isUserEvent("select.pointer")))}finally{this.updateState=0}if(s.startState.facet(e0)!=s.state.facet(e0)&&(this.viewState.mustMeasureContent=!0),(e||i||a||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!s.empty)for(let f of this.state.facet(tb))f(s);h&&!e7(this,h)&&r.force&&k(this.contentDOM,r.key,r.keyCode)}setState(t){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let e=this.hasFocus;try{for(let i of this.plugins)i.destroy(this);for(let s of(this.viewState=new eX(t),this.plugins=t.facet(tT).map(t=>new tE(t)),this.pluginMap.clear(),this.plugins))s.update(this);this.docView=new t3(this),this.inputState.ensureHandlers(this,this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}e&&this.focus(),this.requestMeasure()}updatePlugins(t){let e=t.startState.facet(tT),i=t.state.facet(tT);if(e!=i){let s=[];for(let o of i){let n=e.indexOf(o);if(n<0)s.push(new tE(o));else{let r=this.plugins[n];r.mustUpdate=t,s.push(r)}}for(let l of this.plugins)l.mustUpdate!=t&&l.destroy(this);this.plugins=s,this.pluginMap.clear(),this.inputState.ensureHandlers(this,this.plugins)}else for(let h of this.plugins)h.mustUpdate=t;for(let a=0;a-1&&cancelAnimationFrame(this.measureScheduled),this.measureScheduled=0,t&&this.observer.forceFlush();let e=null,{scrollHeight:i,scrollTop:s,clientHeight:o}=this.scrollDOM,n=s>i-o-4?i:s;try{for(let r=0;;r++){this.updateState=1;let l=this.viewport,h=this.viewState.lineBlockAtHeight(n),a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(r>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];4&a||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(t=>{try{return t.read(this)}catch(e){return tC(this.state,e),il}}),u=tW.create(this,this.state,[]),f=!1,p=!1;u.flags|=a,e?e.flags|=a:e=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),f=this.docView.update(u));for(let m=0;m1||w<-1)&&(this.scrollDOM.scrollTop+=w,p=!0)}}if(f&&this.docView.updateSelection(!0),this.viewport.from==l.from&&this.viewport.to==l.to&&!p&&0==this.measureRequests.length)break}}finally{this.updateState=0,this.measureScheduled=-1}if(e&&!e.empty)for(let y of this.state.facet(tb))y(e)}get themeClasses(){return e2+" "+(this.state.facet(e1)?e3:e8)+" "+this.state.facet(e0)}updateAttrs(){let t=ia(this,tR,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),e={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(tA)?"true":"false",class:"cm-content",style:`${K.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(e["aria-readonly"]="true"),ia(this,tB,e);let i=this.observer.ignore(()=>{let i=ti(this.contentDOM,this.contentAttrs,e),s=ti(this.dom,this.editorAttrs,t);return i||s});return this.editorAttrs=t,this.contentAttrs=e,i}showAnnouncements(t){let e=!0;for(let i of t)for(let s of i.effects)s.is(io.announce)&&(e&&(this.announceDOM.textContent=""),e=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=s.value)}mountStyles(){this.styleModules=this.state.facet(tN),h.V.mount(this.root,this.styleModules.concat(e4).reverse())}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(null!=t.key){for(let e=0;ee.spec==t)||null),e&&e.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,e,i){return el(this,t,er(this,t,e,i))}moveByGroup(t,e){return el(this,t,er(this,t,e,e=>{var i;let s,o;return i=t.head,o=(s=this.state.charCategorizer(i))(e),t=>{let e=s(t);return o==l.D0.Space&&(o=e),o==e}}))}moveToLineBoundary(t,e,i=!0){return function(t,e,i,s){let o=t.state.doc.lineAt(e.head),n=s&&t.lineWrapping?t.coordsAtPos(e.assoc<0&&e.head>o.from?e.head-1:e.head):null;if(n){let r=t.dom.getBoundingClientRect(),h=t.textDirectionAt(o.from),a=t.posAtCoords({x:i==(h==tz.LTR)?r.right-1:r.left+1,y:(n.top+n.bottom)/2});if(null!=a)return l.jT.cursor(a,i?-1:1)}let c=td.find(t.docView,e.head),d=c?i?c.posAtEnd:c.posAtStart:i?o.to:o.from;return l.jT.cursor(d,i?-1:1)}(this,t,e,i)}moveVertically(t,e,i){return el(this,t,function(t,e,i,s){let o=e.head,n=i?1:-1;if(o==(i?t.state.doc.length:0))return l.jT.cursor(o,e.assoc);let r=e.goalColumn,h,a=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(o),d=t.documentTop;if(c)null==r&&(r=c.left-a.left),h=n<0?c.top:c.bottom;else{let u=t.viewState.lineBlockAt(o);null==r&&(r=Math.min(a.right-a.left,t.defaultCharacterWidth*(o-u.from))),h=(n<0?u.top:u.bottom)+d}let f=a.left+r,p=null!=s?s:t.defaultLineHeight>>1;for(let m=0;;m+=10){let g=h+(p+m)*n,v=eo(t,{x:f,y:g},!1,n);if(ga.bottom||(n<0?vo))return l.jT.cursor(v,e.assoc,void 0,r)}}(this,t,e,i))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,e=0){return this.docView.posFromDOM(t,e)}posAtCoords(t,e=!0){return this.readMeasured(),eo(this,t,e)}coordsAtPos(t,e=1){this.readMeasured();let i=this.docView.coordsAt(t,e);if(!i||i.left==i.right)return i;let s=this.state.doc.lineAt(t),o=this.bidiSpans(s);return y(i,o[tQ.find(o,t-s.from,-1,e)].dir==tz.LTR==e>0)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(tS)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>ir)return tJ(t.length);let e=this.textDirectionAt(t.from);for(let i of this.bidiCache)if(i.from==t.from&&i.dir==e)return i.order;let s=function(t,e){let i=t.length,s=e==tF?1:2,o=e==tF?2:1;if(!t||1==s&&!tY.test(t))return tJ(i);for(let n=0,r=s,l=s;n=0;M-=3)if(tG[M+1]==-x){let k=tG[M+2],C=2&k?s:4&k?1&k?o:s:0;C&&(tZ[v]=tZ[tG[M]]=C),w=M;break}}else if(189==tG.length)break;else tG[w++]=v,tG[w++]=b,tG[w++]=y}else if(2==(S=tZ[v])||1==S){let A=S==s;y=A?0:1;for(let D=w-3;D>=0;D-=3){let T=tG[D+2];if(2&T)break;if(A)tG[D+2]|=2;else{if(4&T)break;tG[D+2]|=4}}}for(let O=0;ON;){let z=W,F=2!=tZ[--W];for(;W>N&&F==(2!=tZ[W-1]);)W--;V.push(new tQ(W,z,F?2:1))}else V.push(new tQ(N,H,0))}else for(let I=0;IDate.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{S(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((9==t.nodeType?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,e={}){return tk.of(new tM("number"==typeof t?l.jT.cursor(t):t,e.y,e.x,e.yMargin,e.xMargin))}static domEventHandlers(t){return tO.define(()=>({}),{eventHandlers:t})}static theme(t,e){let i=h.V.newName(),s=[e0.of(i),tN.of(e5(`.${i}`,t))];return e&&e.dark&&s.push(e1.of(!0)),s}static baseTheme(t){return l.Wl.lowest(tN.of(e5("."+e2,t,e9)))}static findFromDOM(t){var e;let i=t.querySelector(".cm-content"),s=i&&T.get(i)||T.get(t);return(null===(e=null==s?void 0:s.rootView)||void 0===e?void 0:e.view)||null}}io.styleModule=tN,io.inputHandler=tx,io.perLineTextDirection=tS,io.exceptionSink=ty,io.updateListener=tb,io.editable=tA,io.mouseSelectionStyle=tw,io.dragMovesSelection=tv,io.clickAddsSelectionRange=tg,io.decorations=tL,io.atomicRanges=tV,io.scrollMargins=tH,io.darkTheme=e1,io.contentAttributes=tB,io.editorAttributes=tR,io.lineWrapping=io.contentAttributes.of({class:"cm-lineWrapping"}),io.announce=l.Py.define();let ir=4096,il={};class ih{constructor(t,e,i,s){this.from=t,this.to=e,this.dir=i,this.order=s}static update(t,e){if(e.empty)return t;let i=[],s=t.length?t[t.length-1].dir:tz.LTR;for(let o=Math.max(0,t.length-10);o=0;o--){let n=s[o],r="function"==typeof n?n(t):n;r&&tt(r,i)}return i}let ic=K.mac?"mac":K.windows?"win":K.linux?"linux":"key";function id(t,e,i){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),!1!==i&&e.shiftKey&&(t="Shift-"+t),t}let iu=l.Wl.default(io.domEventHandlers({keydown:(t,e)=>iy(ig(e.state),t,e,"editor")})),ip=l.r$.define({enables:iu}),im=new WeakMap;function ig(t){let e=t.facet(ip),i=im.get(e);return i||im.set(e,i=function(t,e=ic){let i=Object.create(null),s=Object.create(null),o=(t,e)=>{let i=s[t];if(null==i)s[t]=e;else if(i!=e)throw Error("Key binding "+t+" is used both as a regular binding and as a multi-stroke prefix")},n=(t,s,n,r)=>{var l,h;let a=i[t]||(i[t]=Object.create(null)),c=s.split(/ (?!$)/).map(t=>(function(t,e){let i,s,o,n;let r=t.split(/-(?!$)/),l=r[r.length-1];"Space"==l&&(l=" ");for(let h=0;h{let i=iw={view:e,prefix:u,scope:t};return setTimeout(()=>{iw==i&&(iw=null)},4e3),!0}]})}let f=c.join(" ");o(f,!1);let p=a[f]||(a[f]={preventDefault:!1,run:(null===(h=null===(l=a._any)||void 0===l?void 0:l.run)||void 0===h?void 0:h.slice())||[]});n&&p.run.push(n),r&&(p.preventDefault=!0)};for(let r of t){let l=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let h of l){let a=i[h]||(i[h]=Object.create(null));for(let c in a._any||(a._any={preventDefault:!1,run:[]}),a)a[c].run.push(r.any)}let d=r[e]||r.key;if(d)for(let u of l)n(u,d,r.run,r.preventDefault),r.shift&&n(u,"Shift-"+d,r.shift,r.preventDefault)}return i}(e.reduce((t,e)=>t.concat(e),[]))),i}function iv(t,e,i){return iy(ig(t.state),e,t,i)}let iw=null;function iy(t,e,i,s){let o=(0,a.YG)(e),n=(0,l.gm)(o,0),r=(0,l.nZ)(n)==o.length&&" "!=o,h="",c=!1;iw&&iw.view==i&&iw.scope==s&&(h=iw.prefix+" ",(c=0>ed.indexOf(e.keyCode))&&(iw=null));let d=new Set,u=t=>{if(t){for(let s of t.run)if(!d.has(s)&&(d.add(s),s(i,e)))return!0;t.preventDefault&&(c=!0)}return!1},f=t[s],p,m;if(f){if(u(f[h+id(o,e,!r)]))return!0;if(r&&(e.shiftKey||e.altKey||e.metaKey||n>127)&&(p=a.ue[e.keyCode])&&p!=o){if(u(f[h+id(p,e,!0)])||e.shiftKey&&(m=a.uY[e.keyCode])!=o&&m!=p&&u(f[h+id(m,e,!1)]))return!0}else if(r&&e.shiftKey&&u(f[h+id(o,e,!0)]))return!0;if(u(f._any))return!0}return c}let ib=!K.ios,ix=l.r$.define({combine:t=>(0,l.BO)(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,e)=>Math.min(t,e),drawRangeCursor:(t,e)=>t||e})});function iS(t={}){return[ix.of(t),ik,iA]}class iM{constructor(t,e,i,s,o){this.left=t,this.top=e,this.width=i,this.height=s,this.className=o}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width>=0&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}}let ik=tO.fromClass(class{constructor(t){this.view=t,this.rangePieces=[],this.cursors=[],this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.selectionLayer=t.scrollDOM.appendChild(document.createElement("div")),this.selectionLayer.className="cm-selectionLayer",this.selectionLayer.setAttribute("aria-hidden","true"),this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){this.cursorLayer.style.animationDuration=this.view.state.facet(ix).cursorBlinkRate+"ms"}update(t){let e=t.startState.facet(ix)!=t.state.facet(ix);(e||t.selectionSet||t.geometryChanged||t.viewportChanged)&&this.view.requestMeasure(this.measureReq),t.transactions.some(t=>t.scrollIntoView)&&(this.cursorLayer.style.animationName="cm-blink"==this.cursorLayer.style.animationName?"cm-blink2":"cm-blink"),e&&this.setBlinkRate()}readPos(){let{state:t}=this.view,e=t.facet(ix),i=t.selection.ranges.map(t=>t.empty?[]:function(t,e){if(e.to<=t.viewport.from||e.from>=t.viewport.to)return[];let i=Math.max(e.from,t.viewport.from),s=Math.min(e.to,t.viewport.to),o=t.textDirection==tz.LTR,n=t.contentDOM,r=n.getBoundingClientRect(),l=iD(t),h=window.getComputedStyle(n.firstChild),a=r.left+parseInt(h.paddingLeft)+Math.min(0,parseInt(h.textIndent)),c=r.right-parseInt(h.paddingRight),d=iO(t,i),u=iO(t,s),f=d.type==to.Text?d:null,p=u.type==to.Text?u:null;if(t.lineWrapping&&(f&&(f=iT(t,i,f)),p&&(p=iT(t,s,p))),f&&p&&f.from==p.from)return y(b(e.from,e.to,f));{let m=f?b(e.from,null,f):x(d,!1),g=p?b(null,e.to,p):x(u,!0),v=[];return(f||d).to<(p||u).from-1?v.push(w(a,m.bottom,c,g.top)):m.bottomd&&f.from=m)break;y>p&&h(Math.max(w,p),null==e&&w<=d,Math.min(y,m),null==i&&y>=u,v.dir)}if((p=g.to+1)>=m)break}return 0==l.length&&h(d,null==e,u,null==i,t.textDirection),{top:n,bottom:r,horizontal:l}}function x(t,e){let i=r.top+(e?t.top:t.bottom);return{top:i,bottom:i,horizontal:[]}}}(this.view,t)).reduce((t,e)=>t.concat(e)),s=[];for(let o of t.selection.ranges){let n=o==t.selection.main;if(o.empty?!n||ib:e.drawRangeCursor){let r=function(t,e,i){let s=t.coordsAtPos(e.head,e.assoc||1);if(!s)return null;let o=iD(t);return new iM(s.left-o.left,s.top-o.top,-1,s.bottom-s.top,i?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary")}(this.view,o,n);r&&s.push(r)}}return{rangePieces:i,cursors:s}}drawSel({rangePieces:t,cursors:e}){if(t.length!=this.rangePieces.length||t.some((t,e)=>!t.eq(this.rangePieces[e]))){for(let i of(this.selectionLayer.textContent="",t))this.selectionLayer.appendChild(i.draw());this.rangePieces=t}if(e.length!=this.cursors.length||e.some((t,e)=>!t.eq(this.cursors[e]))){let s=this.cursorLayer.children;if(s.length!==e.length)for(let o of(this.cursorLayer.textContent="",e))this.cursorLayer.appendChild(o.draw());else e.forEach((t,e)=>t.adjust(s[e]));this.cursors=e}}destroy(){this.selectionLayer.remove(),this.cursorLayer.remove()}}),iC={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};ib&&(iC[".cm-line"].caretColor="transparent !important");let iA=l.Wl.highest(io.theme(iC));function iD(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==tz.LTR?e.left:e.right-t.scrollDOM.clientWidth)-t.scrollDOM.scrollLeft,top:e.top-t.scrollDOM.scrollTop}}function iT(t,e,i){let s=l.jT.cursor(e);return{from:Math.max(i.from,t.moveToLineBoundary(s,!1,!0).from),to:Math.min(i.to,t.moveToLineBoundary(s,!0,!0).from),type:to.Text}}function iO(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let s of i.type)if(s.to>e||s.to==e&&(s.to==i.to||s.type==to.Text))return s}return i}let iE=l.Py.define({map:(t,e)=>null==t?null:e.mapPos(t)}),iR=l.QQ.define({create:()=>null,update:(t,e)=>(null!=t&&(t=e.changes.mapPos(t)),e.effects.reduce((t,e)=>e.is(iE)?e.value:t,t))}),iB=tO.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let i=t.state.field(iR);null==i?null!=this.cursor&&(null===(e=this.cursor)||void 0===e||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(iR)!=i||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let t=this.view.state.field(iR),e=null!=t&&this.view.coordsAtPos(t);if(!e)return null;let i=this.view.scrollDOM.getBoundingClientRect();return{left:e.left-i.left+this.view.scrollDOM.scrollLeft,top:e.top-i.top+this.view.scrollDOM.scrollTop,height:e.bottom-e.top}}drawCursor(t){this.cursor&&(t?(this.cursor.style.left=t.left+"px",this.cursor.style.top=t.top+"px",this.cursor.style.height=t.height+"px"):this.cursor.style.left="-100000px")}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(iR)!=t&&this.view.dispatch({effects:iE.of(t)})}},{eventHandlers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){t.target!=this.view.contentDOM&&this.view.contentDOM.contains(t.relatedTarget)||this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function iL(){return[iR,iB]}function iV(t,e,i,s,o){e.lastIndex=0;for(let n=t.iterRange(i,s),r=i,l;!n.next().done;r+=n.value.length)if(!n.lineBreak)for(;l=e.exec(n.value);)o(r+l.index,l)}class iH{constructor(t){let{regexp:e,decoration:i,decorate:s,boundary:o,maxLength:n=1e3}=t;if(!e.global)throw RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=e,s)this.addMatch=(t,e,i,o)=>s(o,i,i+t[0].length,t,e);else if("function"==typeof i)this.addMatch=(t,e,s,o)=>{let n=i(t,e,s);n&&o(s,s+t[0].length,n)};else if(i)this.addMatch=(t,e,s,o)=>o(s,s+t[0].length,i);else throw RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=n}createDeco(t){let e=new l.f_,i=e.add.bind(e);for(let{from:s,to:o}of function(t,e){let i=t.visibleRanges;if(1==i.length&&i[0].from==t.viewport.from&&i[0].to==t.viewport.to)return i;let s=[];for(let{from:o,to:n}of i)o=Math.max(t.state.doc.lineAt(o).from,o-e),n=Math.min(t.state.doc.lineAt(n).to,n+e),s.length&&s[s.length-1].to>=o?s[s.length-1].to=n:s.push({from:o,to:n});return s}(t,this.maxLength))iV(t.state.doc,this.regexp,s,o,(e,s)=>this.addMatch(s,t,e,i));return e.finish()}updateDeco(t,e){let i=1e9,s=-1;return(t.docChanged&&t.changes.iterChanges((e,o,n,r)=>{r>t.view.viewport.from&&n1e3)?this.createDeco(t.view):s>-1?this.updateRange(t.view,e.map(t.changes),i,s):e}updateRange(t,e,i,s){for(let o of t.visibleRanges){let n=Math.max(o.from,i),r=Math.min(o.to,s);if(r>n){let l=t.state.doc.lineAt(n),h=l.tol.from;n--)if(this.boundary.test(l.text[n-1-l.from])){a=n;break}for(;rd.push(i.range(t,e));if(l==h)for(this.regexp.lastIndex=a-l.from;(u=this.regexp.exec(l.text))&&u.indexthis.addMatch(i,t,e,f));e=e.update({filterFrom:a,filterTo:c,filter:(t,e)=>tc,add:d})}}return e}}let iN=null!=/x/.unicode?"gu":"g",iP=RegExp("[\0-\b\n-\x1f\x7f-\x9f\xad؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]",iN),iW={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},iz=null,iF=l.r$.define({combine(t){let e=(0,l.BO)(t,{render:null,specialChars:iP,addSpecialChars:null});return(e.replaceTabs=!function(){var t;if(null==iz&&"undefined"!=typeof document&&document.body){let e=document.body.style;iz=(null!==(t=e.tabSize)&&void 0!==t?t:e.MozTabSize)!=null}return iz||!1}())&&(e.specialChars=RegExp(" |"+e.specialChars.source,iN)),e.addSpecialChars&&(e.specialChars=RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,iN)),e}});function iI(t={}){return[iF.of(t),iq||(iq=tO.fromClass(class{constructor(t){this.view=t,this.decorations=tn.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(iF)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new iH({regexp:t.specialChars,decoration:(e,i,s)=>{let{doc:o}=i.state,n=(0,l.gm)(e[0],0);if(9==n){let r=o.lineAt(s),h=i.state.tabSize,a=(0,l.IS)(r.text,h,s-r.from);return tn.replace({widget:new iK((h-a%h)*this.view.defaultCharacterWidth)})}return this.decorationCache[n]||(this.decorationCache[n]=tn.replace({widget:new ij(t,n)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(iF);t.startState.facet(iF)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))]}let iq=null;class ij extends ts{constructor(t,e){super(),this.options=t,this.code=e}eq(t){return t.code==this.code}toDOM(t){var e;let i=(e=this.code)>=32?"•":10==e?"␤":String.fromCharCode(9216+e),s=t.state.phrase("Control character")+" "+(iW[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,s,i);if(o)return o;let n=document.createElement("span");return n.textContent=i,n.title=s,n.setAttribute("aria-label",s),n.className="cm-specialChar",n}ignoreEvent(){return!1}}class iK extends ts{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function i$(){return iX}let iG=tn.line({class:"cm-activeLine"}),iX=tO.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,i=[];for(let s of t.state.selection.ranges){let o=t.lineBlockAt(s.head);o.from>e&&(i.push(iG.range(o.from)),e=o.from)}return tn.set(i)}},{decorations:t=>t.decorations});class i_ extends ts{constructor(t){super(),this.content=t}toDOM(){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):this.content),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}ignoreEvent(){return!1}}function iU(t){return tO.fromClass(class{constructor(e){this.view=e,this.placeholder=tn.set([tn.widget({widget:new i_(t),side:1}).range(0)])}get decorations(){return this.view.state.doc.length?tn.none:this.placeholder}},{decorations:t=>t.decorations})}function iY(t,e){var i;let s,o=t.posAtCoords({x:e.clientX,y:e.clientY},!1),n=t.state.doc.lineAt(o),r=o-n.from,h=r>2e3?-1:r==n.length?(i=e.clientX,(s=t.coordsAtPos(t.viewport.from))?Math.round(Math.abs((s.left-i)/t.defaultCharacterWidth)):-1):(0,l.IS)(n.text,t.state.tabSize,o-n.from);return{line:n.number,col:h,off:r}}function iQ(t){let e=(null==t?void 0:t.eventFilter)||(t=>t.altKey&&0==t.button);return io.mouseSelectionStyle.of((t,i)=>{let s,o;return e(i)?(s=iY(t,i),o=t.state.selection,s?{update(t){if(t.docChanged){let e=t.changes.mapPos(t.startState.doc.line(s.line).from),i=t.state.doc.lineAt(e);s={line:i.number,col:s.col,off:Math.min(s.off,i.length)},o=o.map(t.changes)}},get(e,i,n){let r=iY(t,e);if(!r)return o;let h=function(t,e,i){let s=Math.min(e.line,i.line),o=Math.max(e.line,i.line),n=[];if(e.off>2e3||i.off>2e3||e.col<0||i.col<0){let r=Math.min(e.off,i.off),h=Math.max(e.off,i.off);for(let a=s;a<=o;a++){let c=t.doc.line(a);c.length<=h&&n.push(l.jT.range(c.from+r,c.to+h))}}else{let d=Math.min(e.col,i.col),u=Math.max(e.col,i.col);for(let f=s;f<=o;f++){let p=t.doc.line(f),m=(0,l.Gz)(p.text,d,t.tabSize,!0);if(m<0)n.push(l.jT.cursor(p.to));else{let g=(0,l.Gz)(p.text,u,t.tabSize);n.push(l.jT.range(p.from+m,p.from+g))}}}return n}(t.state,s,r);return h.length?n?l.jT.create(h.concat(o.ranges)):l.jT.create(h):o}}:null):null})}let iZ={Alt:[18,t=>t.altKey],Control:[17,t=>t.ctrlKey],Shift:[16,t=>t.shiftKey],Meta:[91,t=>t.metaKey]},iJ={style:"cursor: crosshair"};function i0(t={}){let[e,i]=iZ[t.key||"Alt"],s=tO.fromClass(class{constructor(t){this.view=t,this.isDown=!1}set(t){this.isDown!=t&&(this.isDown=t,this.view.update([]))}},{eventHandlers:{keydown(t){this.set(t.keyCode==e||i(t))},keyup(t){t.keyCode!=e&&i(t)||this.set(!1)}}});return[s,io.contentAttributes.of(t=>{var e;return(null===(e=t.plugin(s))||void 0===e?void 0:e.isDown)?iJ:null})]}let i1="-10000px";class i2{constructor(t,e,i){this.facet=e,this.createTooltipView=i,this.input=t.state.facet(e),this.tooltips=this.input.filter(t=>t),this.tooltipViews=this.tooltips.map(i)}update(t){var e;let i=t.state.facet(this.facet),s=i.filter(t=>t);if(i===this.input){for(let o of this.tooltipViews)o.update&&o.update(t);return!1}let n=[];for(let r=0;rn.indexOf(u)&&(u.dom.remove(),null===(e=u.destroy)||void 0===e||e.call(u));return this.input=i,this.tooltips=s,this.tooltipViews=n,!0}}function i8(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}let i3=l.r$.define({combine(t){var e,i,s;return{position:K.ios?"absolute":(null===(e=t.find(t=>t.position))||void 0===e?void 0:e.position)||"fixed",parent:(null===(i=t.find(t=>t.parent))||void 0===i?void 0:i.parent)||null,tooltipSpace:(null===(s=t.find(t=>t.tooltipSpace))||void 0===s?void 0:s.tooltipSpace)||i8}}}),i9=tO.fromClass(class{constructor(t){this.view=t,this.inView=!0,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(i3);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new i2(t,i6,t=>this.createTooltip(t)),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver)for(let t of(this.intersectionObserver.disconnect(),this.manager.tooltipViews))this.intersectionObserver.observe(t.dom)}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t);e&&this.observeIntersection();let i=e||t.geometryChanged,s=t.state.facet(i3);if(s.position!=this.position){for(let o of(this.position=s.position,this.manager.tooltipViews))o.dom.style.position=this.position;i=!0}if(s.parent!=this.parent){for(let n of(this.parent&&this.container.remove(),this.parent=s.parent,this.createContainer(),this.manager.tooltipViews))this.container.appendChild(n.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t){let e=t.create(this.view);if(e.dom.classList.add("cm-tooltip"),t.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",e.dom.appendChild(i)}return e.dom.style.position=this.position,e.dom.style.top=i1,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var t,e;for(let i of(this.view.win.removeEventListener("resize",this.measureSoon),this.manager.tooltipViews))i.dom.remove(),null===(t=i.destroy)||void 0===t||t.call(i);null===(e=this.intersectionObserver)||void 0===e||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect();return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((t,e)=>{let i=this.manager.tooltipViews[e];return i.getCoords?i.getCoords(t.pos):this.view.coordsAtPos(t.pos)}),size:this.manager.tooltipViews.map(({dom:t})=>t.getBoundingClientRect()),space:this.view.state.facet(i3).tooltipSpace(this.view)}}writeMeasure(t){let{editor:e,space:i}=t,s=[];for(let o=0;o=Math.min(e.bottom,i.bottom)||h.rightMath.min(e.right,i.right)+.1){l.style.top=i1;continue}let c=n.arrow?r.dom.querySelector(".cm-tooltip-arrow"):null,d=c?7:0,u=a.right-a.left,f=a.bottom-a.top,p=r.offset||i4,m=this.view.textDirection==tz.LTR,g=a.width>i.right-i.left?m?i.left:i.right-a.width:m?Math.min(h.left-(c?14:0)+p.x,i.right-u):Math.max(i.left,h.left-u+(c?14:0)-p.x),v=!!n.above;!n.strictSide&&(v?h.top-(a.bottom-a.top)-p.yi.bottom)&&v==i.bottom-h.bottom>h.top-i.top&&(v=!v);let w=v?h.top-f-d-p.y:h.bottom+d+p.y,y=g+u;if(!0!==r.overlap)for(let b of s)b.leftg&&b.topw&&(w=v?b.top-f-2-d:b.bottom+d+2);"absolute"==this.position?(l.style.top=w-t.parent.top+"px",l.style.left=g-t.parent.left+"px"):(l.style.top=w+"px",l.style.left=g+"px"),c&&(c.style.left=`${h.left+(m?p.x:-p.x)-(g+14-7)}px`),!0!==r.overlap&&s.push({left:g,top:w,right:y,bottom:w+f}),l.classList.toggle("cm-tooltip-above",v),l.classList.toggle("cm-tooltip-below",!v),r.positioned&&r.positioned()}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=i1}},{eventHandlers:{scroll(){this.maybeMeasure()}}}),i5=io.baseTheme({".cm-tooltip":{zIndex:100},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),i4={x:0,y:0},i6=l.r$.define({enables:[i9,i5]}),i7=l.r$.define();class st{constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new i2(t,i7,t=>this.createHostedView(t))}static create(t){return new st(t)}createHostedView(t){let e=t.create(this.view);return e.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(e.dom),this.mounted&&e.mount&&e.mount(this.view),e}mount(t){for(let e of this.manager.tooltipViews)e.mount&&e.mount(t);this.mounted=!0}positioned(){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned()}update(t){this.manager.update(t)}}let se=i6.compute([i7],t=>{let e=t.facet(i7).filter(t=>t);return 0===e.length?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>null!=t.end).map(t=>t.end)),create:st.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class si{constructor(t,e,i,s,o){this.view=t,this.source=e,this.field=i,this.setHover=s,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;ti.bottom||t.xi.right+this.view.defaultCharacterWidth)return;let s=this.view.bidiSpans(this.view.state.doc.lineAt(e)).find(t=>t.from<=e&&t.to>=e),o=s&&s.dir==tz.RTL?-1:1,n=this.source(this.view,e,t.x{this.pending==r&&(this.pending=null,t&&this.view.dispatch({effects:this.setHover.of(t)}))},t=>tC(this.view.state,t,"hover tooltip"))}else n&&this.view.dispatch({effects:this.setHover.of(n)})}mousemove(t){var e;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let i=this.active;if(i&&!function(t){for(let e=t;e;e=e.parentNode)if(1==e.nodeType&&e.classList.contains("cm-tooltip"))return!0;return!1}(this.lastMove.target)||this.pending){let{pos:s}=i||this.pending,o=null!==(e=null==i?void 0:i.end)&&void 0!==e?e:s;(s==o?this.view.posAtCoords(this.lastMove)!=s:!function(t,e,i,s,o,n){let r=document.createRange(),l=t.domAtPos(e),h=t.domAtPos(i);r.setEnd(h.node,h.offset),r.setStart(l.node,l.offset);let a=r.getClientRects();r.detach();for(let c=0;c=Math.max(d.top-o,o-d.bottom,d.left-s,s-d.right))return!0}return!1}(this.view,s,o,t.clientX,t.clientY,0))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function ss(t,e={}){let i=l.Py.define(),s=l.QQ.define({create:()=>null,update(t,s){if(t&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,t)))return null;if(t&&s.docChanged){let o=s.changes.mapPos(t.pos,-1,l.gc.TrackDel);if(null==o)return null;let n=Object.assign(Object.create(null),t);n.pos=o,null!=t.end&&(n.end=s.changes.mapPos(t.end)),t=n}for(let r of s.effects)r.is(i)&&(t=r.value),r.is(sn)&&(t=null);return t},provide:t=>i7.from(t)});return[s,tO.define(o=>new si(o,t,s,i,e.hoverTime||300)),se]}function so(t,e){let i=t.plugin(i9);if(!i)return null;let s=i.manager.tooltips.indexOf(e);return s<0?null:i.manager.tooltipViews[s]}let sn=l.Py.define(),sr=l.r$.define({combine(t){let e,i;for(let s of t)e=e||s.topContainer,i=i||s.bottomContainer;return{topContainer:e,bottomContainer:i}}});function sl(t,e){let i=t.plugin(sh),s=i?i.specs.indexOf(e):-1;return s>-1?i.panels[s]:null}let sh=tO.fromClass(class{constructor(t){this.input=t.state.facet(sd),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(e=>e(t));let e=t.state.facet(sr);for(let i of(this.top=new sa(t,!0,e.topContainer),this.bottom=new sa(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top)),this.panels))i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(sr);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new sa(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new sa(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(sd);if(i!=this.input){let s=i.filter(t=>t),o=[],n=[],r=[],l=[];for(let h of s){let a=this.specs.indexOf(h),c;a<0?(c=h(t.view),l.push(c)):(c=this.panels[a]).update&&c.update(t),o.push(c),(c.top?n:r).push(c)}for(let d of(this.specs=s,this.panels=o,this.top.sync(n),this.bottom.sync(r),l))d.dom.classList.add("cm-panel"),d.mount&&d.mount()}else for(let u of this.panels)u.update&&u.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>io.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class sa{constructor(t,e,i){this.view=t,this.top=e,this.container=i,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let e of this.panels)e.destroy&&0>t.indexOf(e)&&e.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(0==this.panels.length){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=sc(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=sc(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function sc(t){let e=t.nextSibling;return t.remove(),e}let sd=l.r$.define({enables:sh});class su extends l.uU{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}su.prototype.elementClass="",su.prototype.toDOM=void 0,su.prototype.mapMode=l.gc.TrackBefore,su.prototype.startSide=su.prototype.endSide=-1,su.prototype.point=!0;let sf=l.r$.define(),sp={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>l.Xs.empty,lineMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},sm=l.r$.define();function sg(t){return[sw(),sm.of(Object.assign(Object.assign({},sp),t))]}let sv=l.r$.define({combine:t=>t.some(t=>t)});function sw(t){let e=[sy];return t&&!1===t.fixed&&e.push(sv.of(!0)),e}let sy=tO.fromClass(class{constructor(t){for(let e of(this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight+"px",this.gutters=t.state.facet(sm).map(e=>new sM(t,e)),this.gutters))this.dom.appendChild(e.dom);this.fixed=!t.state.facet(sv),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,s=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(s<(i.to-i.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(sv)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let i=l.Xs.iter(this.view.state.facet(sf),this.view.viewport.from),s=[],o=this.gutters.map(t=>new sS(t,this.view.viewport,-this.view.documentPadding.top));for(let n of this.view.viewportLineBlocks){let r;if(Array.isArray(n.type)){for(let h of n.type)if(h.type==to.Text){r=h;break}}else r=n.type==to.Text?n:void 0;if(r)for(let a of(s.length&&(s=[]),sx(i,s,n.from),o))a.line(this.view,r,s)}for(let c of o)c.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(sm),i=t.state.facet(sm),s=t.docChanged||t.heightChanged||t.viewportChanged||!l.Xs.eq(t.startState.facet(sf),t.state.facet(sf),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let o of this.gutters)o.update(t)&&(s=!0);else{s=!0;let n=[];for(let r of i){let h=e.indexOf(r);h<0?n.push(new sM(this.view,r)):(this.gutters[h].update(t),n.push(this.gutters[h]))}for(let a of this.gutters)a.dom.remove(),0>n.indexOf(a)&&a.destroy();for(let c of n)this.dom.appendChild(c.dom);this.gutters=n}return s}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>io.scrollMargins.of(e=>{let i=e.plugin(t);return i&&0!=i.gutters.length&&i.fixed?e.textDirection==tz.LTR?{left:i.dom.offsetWidth}:{right:i.dom.offsetWidth}:null})});function sb(t){return Array.isArray(t)?t:[t]}function sx(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}class sS{constructor(t,e,i){this.gutter=t,this.height=i,this.localMarkers=[],this.i=0,this.cursor=l.Xs.iter(t.markers,e.from)}line(t,e,i){this.localMarkers.length&&(this.localMarkers=[]),sx(this.cursor,this.localMarkers,e.from);let s=i.length?this.localMarkers.concat(i):this.localMarkers,o=this.gutter.config.lineMarker(t,e,s);o&&s.unshift(o);let n=this.gutter;if(0==s.length&&!n.config.renderEmptyElements)return;let r=e.top-this.height;if(this.i==n.elements.length){let l=new sk(t,e.height,r,s);n.elements.push(l),n.dom.appendChild(l.dom)}else n.elements[this.i].update(t,e.height,r,s);this.height=e.bottom,this.i++}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let e=t.elements.pop();t.dom.removeChild(e.dom),e.destroy()}}}class sM{constructor(t,e){for(let i in this.view=t,this.config=e,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:""),e.domEventHandlers)this.dom.addEventListener(i,s=>{let o=t.lineBlockAtHeight(s.clientY-t.documentTop);e.domEventHandlers[i](t,o,s)&&s.preventDefault()});this.markers=sb(e.markers(t)),e.initialSpacer&&(this.spacer=new sk(t,0,0,[e.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let e=this.markers;if(this.markers=sb(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],t);i!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[i])}let s=t.view.viewport;return!l.Xs.eq(this.markers,e,s.from,s.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(t)}destroy(){for(let t of this.elements)t.destroy()}}class sk{constructor(t,e,i,s){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,e,i,s)}update(t,e,i,s){this.height!=e&&(this.dom.style.height=(this.height=e)+"px"),this.above!=i&&(this.dom.style.marginTop=(this.above=i)?i+"px":""),!function(t,e){if(t.length!=e.length)return!1;for(let i=0;i(0,l.BO)(t,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,e){let i=Object.assign({},t);for(let s in e){let o=i[s],n=e[s];i[s]=o?(t,e,i)=>o(t,e,i)||n(t,e,i):n}return i}})});class sD extends su{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function sT(t,e){return t.state.facet(sA).formatNumber(e,t.state)}let sO=sm.compute([sA],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:t=>t.state.facet(sC),lineMarker:(t,e,i)=>i.some(t=>t.toDOM)?null:new sD(sT(t,t.state.doc.lineAt(e.from).number)),lineMarkerChange:t=>t.startState.facet(sA)!=t.state.facet(sA),initialSpacer:t=>new sD(sT(t,sR(t.state.doc.lines))),updateSpacer(t,e){let i=sT(e.view,sR(e.view.state.doc.lines));return i==t.number?t:new sD(i)},domEventHandlers:t.facet(sA).domEventHandlers}));function sE(t={}){return[sA.of(t),sw(),sO]}function sR(t){let e=9;for(;e{let e=[],i=-1;for(let s of t.selection.ranges){let o=t.doc.lineAt(s.head).from;o>i&&(i=o,e.push(sB.range(o)))}return l.Xs.of(e)});function sV(){return sL}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5122.79b201ce99890c5d.js b/static/web/_next/static/chunks/5122.79b201ce99890c5d.js new file mode 100644 index 000000000..b77e36db6 --- /dev/null +++ b/static/web/_next/static/chunks/5122.79b201ce99890c5d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5122],{5122:function(e,t,O){O.r(t),O.d(t,{completeFromSchema:function(){return w},xml:function(){return y},xmlLanguage:function(){return x}});var n=O(53105),r=O(35524);let a=null,s=null,o=0;function l(e,t){var O;let n=e.pos+t;if(s==e&&o==n)return a;for(;9==(O=e.peek(t))||10==O||13==O||32==O;)t++;let r="";for(;;){let l=e.peek(t);if(!(45==l||46==l||58==l||l>=65&&l<=90||95==l||l>=97&&l<=122||l>=161))break;r+=String.fromCharCode(l),t++}return s=e,o=n,a=r||null}function d(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O1==t?new d(l(n,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,O,n){let r=t.type.id;return 1==r||13==r?new d(l(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),p=new n.Jq((e,t)=>{if(60==e.next){if(e.advance(),47==e.next){e.advance();let O=l(e,0);if(!O)return e.acceptToken(5);if(t.context&&O==t.context.name)return e.acceptToken(2);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}},{contextual:!0});function c(e,t){return new n.Jq(O=>{for(let n=0,r=0;;r++){if(O.next<0){r&&O.acceptToken(e);break}if(O.next==t.charCodeAt(n)){if(++n==t.length){r>t.length&&O.acceptToken(e,1-t.length);break}}else n=O.next==t.charCodeAt(0)?1:0;O.advance()}})}let $=c(35,"-->"),u=c(36,"?>"),k=c(37,"]]>"),m=(0,r.Gv)({Text:r.pJ.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/Tagname":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,AttributeValue:r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingIn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firstChild;return O&&"OpenTag"==O.name?T(e,O):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class v{constructor(e,t,O){this.attrs=t,this.attrValues=O,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}}let b=/^[:\-\.\w\u00b7-\uffff]*$/;function W(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function C(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function w(e,t){let O=[],n=[],r=Object.create(null);for(let a of t){let s=W(a);O.push(s),a.global&&n.push(s),a.values&&(r[a.name]=a.values.map(C))}let o=[],l=[],d=Object.create(null);for(let i of e){let p=n,c=r;i.attributes&&(p=p.concat(i.attributes.map(e=>"string"==typeof e?O.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(c==r&&(c=Object.create(c)),c[e.name]=e.values.map(C)),W(e)))));let $=new v(i,p,c);d[$.name]=$,o.push($),i.top&&l.push($)}l.length||(l=o);for(let u=0;u{var t;let{doc:O}=e.state,a=function(e,t){var O;let n=(0,g.qz)(e).resolveInner(t,-1),r=null;for(let a=n;!r&&a.parent;a=a.parent)("OpenTag"==a.name||"CloseTag"==a.name||"SelfClosingTag"==a.name||"MismatchedCloseTag"==a.name)&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let s=r.parent;if("TagName"==n.name)return"CloseTag"==r.name||"MismatchedCloseTag"==r.name?{type:"closeTag",from:n.from,context:s}:{type:"openTag",from:n.from,context:P(s)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:r};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:r};let o=n==r||"Attribute"==n.name?n.childBefore(t):n;return(null==o?void 0:o.name)=="StartTag"?{type:"openTag",from:t,context:P(s)}:(null==o?void 0:o.name)=="StartCloseTag"&&o.to<=t?{type:"closeTag",from:t,context:s}:(null==o?void 0:o.name)=="Is"?{type:"attrValue",from:t,context:r}:o?{type:"attrName",from:t,context:r}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(null===(O=n.lastChild)||void 0===O?void 0:O.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:t,context:"Element"==n.name?n:P(n)}:null}(e.state,e.pos);if(!a||"tag"==a.type&&!e.explicit)return null;let{type:s,from:i,context:p}=a;if("openTag"==s){let c=l,$=h(O,p);if($){let u=d[$];c=(null==u?void 0:u.children)||o}return{from:i,options:c.map(e=>e.completion),validFor:b}}if("closeTag"==s){let k=h(O,p);return k?{from:i,to:e.pos+(">"==O.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=d[k])||void 0===t?void 0:t.closeNameCompletion)||{label:k+">",type:"type"}],validFor:b}:null}if("attrName"==s){let m=d[T(O,p)];return{from:i,options:(null==m?void 0:m.attrs)||n,validFor:b}}if("attrValue"==s){let f,v;let W=(v=(f=p&&p.getChildren("Attribute").find(e=>e.from<=i&&e.to>=i))&&f.getChild("AttributeName"))?O.sliceString(v.from,v.to):"";if(!W)return null;let C=d[T(O,p)],w=((null==C?void 0:C.attrValues)||r)[W];return w&&w.length?{from:i,to:e.pos+('"'==O.sliceString(e.pos,e.pos+1)?1:0),options:w,validFor:/^"[^"]*"?$/}:null}{if("tag"!=s)return null;let x=h(O,p),y=d[x],S=[],X=p&&p.lastChild;x&&(!X||"CloseTag"!=X.name||T(O,X)!=x)&&S.push(y?y.closeCompletion:{label:"",type:"type",boost:2});let z=S.concat(((null==y?void 0:y.children)||(p?o:l)).map(e=>e.openCompletion));if(p&&(null==y?void 0:y.text.length)){let _=p.firstChild;_.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(_.to,e.pos))&&(z=z.concat(y.text))}return{from:i,options:z,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}}}let x=g.qp.define({name:"xml",parser:f.configure({props:[g.uj.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),g.x0.add({Element(e){let t=e.firstChild,O=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==O.name?O.from:e.to}:null}})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function y(e={}){return new g.ri(x,x.data.of({autocomplete:w(e.elements||[],e.attributes||[])}))}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5122.d469466b4242e478.js b/static/web/_next/static/chunks/5122.d469466b4242e478.js deleted file mode 100644 index 32b71d8e1..000000000 --- a/static/web/_next/static/chunks/5122.d469466b4242e478.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5122],{5122:function(e,t,O){O.r(t),O.d(t,{completeFromSchema:function(){return x},xml:function(){return S},xmlLanguage:function(){return y}});var n=O(53105),r=O(35524);function a(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}let o=null,s=null,l=0;function d(e,t){let O=e.pos+t;if(s==e&&l==O)return o;for(;9==(n=e.peek(t))||10==n||13==n||32==n;)t++;var n;let r="";for(;;){let O=e.peek(t);if(!a(O))break;r+=String.fromCharCode(O),t++}return s=e,l=O,o=r||null}function i(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O1==t?new i(d(n,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,O,n){let r=t.type.id;return 1==r||13==r?new i(d(n,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),c=new n.Jq(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let O=d(e,0);if(!O)return e.acceptToken(5);if(t.context&&O==t.context.name)return e.acceptToken(2);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{contextual:!0});function $(e,t){return new n.Jq((O=>{for(let n=0,r=0;;r++){if(O.next<0){r&&O.acceptToken(e);break}if(O.next==t.charCodeAt(n)){if(n++,n==t.length){r>t.length&&O.acceptToken(e,1-t.length);break}}else n=O.next==t.charCodeAt(0)?1:0;O.advance()}}))}const u=$(35,"--\x3e"),m=$(36,"?>"),k=$(37,"]]>"),f=(0,r.Gv)({Text:r.pJ.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/Tagname":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,AttributeValue:r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta,Cdata:r.pJ.special(r.pJ.string)}),g=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO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dw~%dX8|T{WOr%dsv%dw#W%d#W#X9]#X~%dX9bT{WOr%dsv%dw#T%d#T#U9q#U~%dX9vT{WOr%dsv%dw#h%d#h#i:V#i~%dX:[T{WOr%dsv%dw#T%d#T#U8R#U~%dX:pT{WOr%dsv%dw#c%d#c#d;P#d~%dX;UT{WOr%dsv%dw#V%d#V#W;e#W~%dX;jT{WOr%dsv%dw#h%d#h#i;y#i~%dX_U[UVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ>xWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!a?b!a~$kZ?kU!OQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$kZ@UWVP{WOr$krs%Usv$kw!^$k!^!_%d!_#P$k#P#Q@n#Q~$kZ@uWVP{WOr$krs%Usv$kw!^$k!^!_%d!_!`$k!`!aA_!a~$kZAhUwQVP{WOr$krs%Usv$kw!^$k!^!_%d!_~$k",tokenizers:[c,u,m,k,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});var T=O(59119);function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function v(e,t){let O=t&&t.firstChild;return O&&"OpenTag"==O.name?h(e,O):""}function P(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}class b{constructor(e,t,O){this.attrs=t,this.attrValues=O,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,type:"text"}))):[]}}const W=/^[:\-\.\w\u00b7-\uffff]*$/;function C(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function w(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function x(e,t){let O=[],n=[],r=Object.create(null);for(let l of t){let e=C(l);O.push(e),l.global&&n.push(e),l.values&&(r[l.name]=l.values.map(w))}let a=[],o=[],s=Object.create(null);for(let l of e){let e=n,t=r;l.attributes&&(e=e.concat(l.attributes.map((e=>"string"==typeof e?O.find((t=>t.label==e))||{label:e,type:"property"}:(e.values&&(t==r&&(t=Object.create(t)),t[e.name]=e.values.map(w)),C(e))))));let d=new b(l,e,t);s[d.name]=d,a.push(d),l.top&&o.push(d)}o.length||(o=a);for(let l=0;l{var t;let{doc:O}=e.state,l=function(e,t){var O;let n=(0,T.qz)(e).resolveInner(t,-1),r=null;for(let a=n;!r&&a.parent;a=a.parent)"OpenTag"!=a.name&&"CloseTag"!=a.name&&"SelfClosingTag"!=a.name&&"MismatchedCloseTag"!=a.name||(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let e=r.parent;if("TagName"==n.name)return"CloseTag"==r.name||"MismatchedCloseTag"==r.name?{type:"closeTag",from:n.from,context:e}:{type:"openTag",from:n.from,context:P(e)};if("AttributeName"==n.name)return{type:"attrName",from:n.from,context:r};if("AttributeValue"==n.name)return{type:"attrValue",from:n.from,context:r};let O=n==r||"Attribute"==n.name?n.childBefore(t):n;return"StartTag"==(null===O||void 0===O?void 0:O.name)?{type:"openTag",from:t,context:P(e)}:"StartCloseTag"==(null===O||void 0===O?void 0:O.name)&&O.to<=t?{type:"closeTag",from:t,context:e}:"Is"==(null===O||void 0===O?void 0:O.name)?{type:"attrValue",from:t,context:r}:O?{type:"attrName",from:t,context:r}:null}if("StartCloseTag"==n.name)return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(null===(O=n.lastChild)||void 0===O?void 0:O.type.isError);)n=n.parent;return"Element"==n.name||"Text"==n.name||"Document"==n.name?{type:"tag",from:t,context:"Element"==n.name?n:P(n)}:null}(e.state,e.pos);if(!l||"tag"==l.type&&!e.explicit)return null;let{type:d,from:i,context:p}=l;if("openTag"==d){let e=o,t=v(O,p);if(t){let O=s[t];e=(null===O||void 0===O?void 0:O.children)||a}return{from:i,options:e.map((e=>e.completion)),validFor:W}}if("closeTag"==d){let n=v(O,p);return n?{from:i,to:e.pos+(">"==O.sliceString(e.pos,e.pos+1)?1:0),options:[(null===(t=s[n])||void 0===t?void 0:t.closeNameCompletion)||{label:n+">",type:"type"}],validFor:W}:null}if("attrName"==d){let e=s[h(O,p)];return{from:i,options:(null===e||void 0===e?void 0:e.attrs)||n,validFor:W}}if("attrValue"==d){let t=function(e,t,O){let n=t&&t.getChildren("Attribute").find((e=>e.from<=O&&e.to>=O)),r=n&&n.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}(O,p,i);if(!t)return null;let n=s[h(O,p)],a=((null===n||void 0===n?void 0:n.attrValues)||r)[t];return a&&a.length?{from:i,to:e.pos+('"'==O.sliceString(e.pos,e.pos+1)?1:0),options:a,validFor:/^"[^"]*"?$/}:null}if("tag"==d){let t=v(O,p),n=s[t],r=[],l=p&&p.lastChild;!t||l&&"CloseTag"==l.name&&h(O,l)==t||r.push(n?n.closeCompletion:{label:"",type:"type",boost:2});let d=r.concat(((null===n||void 0===n?void 0:n.children)||(p?a:o)).map((e=>e.openCompletion)));if(p&&(null===n||void 0===n?void 0:n.text.length)){let t=p.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(d=d.concat(n.text))}return{from:i,options:d,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}const y=T.qp.define({name:"xml",parser:g.configure({props:[T.uj.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),T.x0.add({Element(e){let t=e.firstChild,O=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==O.name?O.from:e.to}:null}})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function S(e={}){return new T.ri(y,y.data.of({autocomplete:x(e.elements||[],e.attributes||[])}))}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5134.dfb7833d278260f3.js b/static/web/_next/static/chunks/5134.a121d8d21d1c9247.js similarity index 84% rename from static/web/_next/static/chunks/5134.dfb7833d278260f3.js rename to static/web/_next/static/chunks/5134.a121d8d21d1c9247.js index 73b4b8c6c..f35757c21 100644 --- a/static/web/_next/static/chunks/5134.dfb7833d278260f3.js +++ b/static/web/_next/static/chunks/5134.a121d8d21d1c9247.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5134],{65134:function(e,i,$){function r(e){for(var i={},$=e.split(" "),r=0;r<$.length;++r)i[$[r]]=!0;return i}$.r(i),$.d(i,{mirc:function(){return m}});var t=r("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),n=r("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),a=r("if elseif else and not or eq ne in ni for foreach while switch"),o=/[+\-*&%=<>!?^\/\|]/;function s(e,i,$){return i.tokenize=$,$(e,i)}function l(e,i){var $=i.beforeParams;i.beforeParams=!1;var r=e.next();if(/[\[\]{}\(\),\.]/.test(r))return"("==r&&$?i.inParams=!0:")"==r&&(i.inParams=!1),null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("\\"==r)return e.eat("\\"),e.eat(/./),"number";if("/"==r&&e.eat("*"))return s(e,i,c);if(";"==r&&e.match(/ *\( *\(/))return s(e,i,d);if(";"!=r||i.inParams){if('"'==r)return e.eat(/"/),"keyword";if("$"==r)return e.eatWhile(/[$_a-z0-9A-Z\.:]/),t&&t.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(i.beforeParams=!0,"builtin");if("%"==r)return e.eatWhile(/[^,\s()]/),i.beforeParams=!0,"string";if(o.test(r))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_{}]/);var l=e.current().toLowerCase();return n&&n.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)?(i.beforeParams=!0,"keyword"):null}return e.skipToEnd(),"comment"}function c(e,i){for(var $,r=!1;$=e.next();){if("/"==$&&r){i.tokenize=l;break}r="*"==$}return"comment"}function d(e,i){for(var $,r=0;$=e.next();){if(";"==$&&2==r){i.tokenize=l;break}")"==$?r++:" "!=$&&(r=0)}return"meta"}const m={name:"mirc",startState:function(){return{tokenize:l,beforeParams:!1,inParams:!1}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5134],{65134:function(e,i,$){function r(e){for(var i={},$=e.split(" "),r=0;r<$.length;++r)i[$[r]]=!0;return i}$.r(i),$.d(i,{mirc:function(){return m}});var t=r("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),n=r("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),a=r("if elseif else and not or eq ne in ni for foreach while switch"),o=/[+\-*&%=<>!?^\/\|]/;function s(e,i,$){return i.tokenize=$,$(e,i)}function l(e,i){var $=i.beforeParams;i.beforeParams=!1;var r=e.next();if(/[\[\]{}\(\),\.]/.test(r))return"("==r&&$?i.inParams=!0:")"==r&&(i.inParams=!1),null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("\\"==r)return e.eat("\\"),e.eat(/./),"number";if("/"==r&&e.eat("*"))return s(e,i,c);if(";"==r&&e.match(/ *\( *\(/))return s(e,i,d);if(";"==r&&!i.inParams)return e.skipToEnd(),"comment";if('"'==r)return e.eat(/"/),"keyword";if("$"==r)return(e.eatWhile(/[$_a-z0-9A-Z\.:]/),t&&t.propertyIsEnumerable(e.current().toLowerCase()))?"keyword":(i.beforeParams=!0,"builtin");if("%"==r)return e.eatWhile(/[^,\s()]/),i.beforeParams=!0,"string";if(o.test(r))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_{}]/);var l=e.current().toLowerCase();return n&&n.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)?(i.beforeParams=!0,"keyword"):null}function c(e,i){for(var $,r=!1;$=e.next();){if("/"==$&&r){i.tokenize=l;break}r="*"==$}return"comment"}function d(e,i){for(var $,r=0;$=e.next();){if(";"==$&&2==r){i.tokenize=l;break}")"==$?r++:" "!=$&&(r=0)}return"meta"}let m={name:"mirc",startState:function(){return{tokenize:l,beforeParams:!1,inParams:!1}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5135.6541163f583921e6.js b/static/web/_next/static/chunks/5135.6541163f583921e6.js deleted file mode 100644 index fd742c34d..000000000 --- a/static/web/_next/static/chunks/5135.6541163f583921e6.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5135],{5135:function(e,n,r){"use strict";r.r(n),r.d(n,{BrowserNotifyModal:function(){return C}});var i=r(47568),t=r(70655),s=r(85893),o=r(84485),a=r(71577),c=r(11382),l=r(25968),u=r(6226),h=r(67294),d=r(4480),f=r(1899);function p(){return(p=(0,i.Z)((function(e,n,r){var i,s,o;return(0,t.__generator)(this,(function(t){switch(t.label){case 0:i="/api/notifications/register",s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,destination:n})},t.label=1;case 1:return t.trys.push([1,3,,4]),[4,fetch("".concat(i,"?accessToken=").concat(r),s)];case 2:return t.sent(),[3,4];case 3:return o=t.sent(),console.error(o),[3,4];case 4:return[2]}}))}))).apply(this,arguments)}function w(e){for(var n=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(n),i=new Uint8Array(r.length),t=0;t0){var q=y[0]/2;_.paddingLeft=q,_.paddingRight=q}if(y&&y[1]>0&&!b){var M=y[1]/2;_.paddingTop=M,_.paddingBottom=M}return P&&(_.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(P),!1!==Z||_.minWidth||(_.minWidth=0)),i.createElement("div",(0,r.Z)({},z,{style:(0,r.Z)((0,r.Z)({},_),j),className:A,ref:t}),O)}))},99134:function(e,t,a){var n=(0,a(67294).createContext)({});t.Z=n},25968:function(e,t,a){a.d(t,{Z:function(){return y}});var n=a(87462),r=a(4942),c=a(71002),l=a(97685),o=a(94184),i=a.n(o),s=a(67294),u=a(53124),f=a(98082),d=a(24308),v=a(93355),m=a(99134),p=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r0?q[0]/-2:void 0,I=null!=q[1]&&q[1]>0?q[1]/-2:void 0;if(T&&(B.marginLeft=T,B.marginRight=T),S){var R=(0,l.Z)(q,2);B.rowGap=R[1]}else I&&(B.marginTop=I,B.marginBottom=I);var K=(0,l.Z)(q,2),G=K[0],L=K[1],F=s.useMemo((function(){return{gutter:[G,L],wrap:E,supportFlexGap:S}}),[G,L,E,S]);return s.createElement(m.Z.Provider,{value:F},s.createElement("div",(0,n.Z)({},C,{className:M,style:(0,n.Z)((0,n.Z)({},B),b),ref:t}),h))}))},26303:function(e,t,a){a.d(t,{Z:function(){return P}});var n=a(4942),r=a(87462),c=a(71002),l=a(94184),o=a.n(l),i=a(67294),s=a(53124),u=a(98423),f=function(e){var t,a,c=e.prefixCls,l=e.className,s=e.style,u=e.size,f=e.shape,d=o()((t={},(0,n.Z)(t,"".concat(c,"-lg"),"large"===u),(0,n.Z)(t,"".concat(c,"-sm"),"small"===u),t)),v=o()((a={},(0,n.Z)(a,"".concat(c,"-circle"),"circle"===f),(0,n.Z)(a,"".concat(c,"-square"),"square"===f),(0,n.Z)(a,"".concat(c,"-round"),"round"===f),a)),m=i.useMemo((function(){return"number"===typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}}),[u]);return i.createElement("span",{className:o()(c,d,v,l),style:(0,r.Z)((0,r.Z)({},m),s)})},d=function(e){var t=e.prefixCls,a=e.className,c=e.active,l=e.shape,d=void 0===l?"circle":l,v=e.size,m=void 0===v?"default":v,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),y=(0,u.Z)(e,["prefixCls","className"]),Z=o()(p,"".concat(p,"-element"),(0,n.Z)({},"".concat(p,"-active"),c),a);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(p,"-avatar"),shape:d,size:m},y)))},v=function(e){var t,a=e.prefixCls,c=e.className,l=e.active,d=e.block,v=void 0!==d&&d,m=e.size,p=void 0===m?"default":m,y=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),Z=(0,u.Z)(e,["prefixCls"]),b=o()(y,"".concat(y,"-element"),(t={},(0,n.Z)(t,"".concat(y,"-active"),l),(0,n.Z)(t,"".concat(y,"-block"),v),t),c);return i.createElement("div",{className:b},i.createElement(f,(0,r.Z)({prefixCls:"".concat(y,"-button"),size:p},Z)))},m=a(1413),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},y=a(42135),Z=function(e,t){return i.createElement(y.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:p}))};Z.displayName="DotChartOutlined";var b=i.forwardRef(Z),h=function(e){var t=e.prefixCls,a=e.className,r=e.style,c=e.active,l=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=o()(u,"".concat(u,"-element"),(0,n.Z)({},"".concat(u,"-active"),c),a),d=null!==l&&void 0!==l?l:i.createElement(b,null);return i.createElement("div",{className:f},i.createElement("div",{className:o()("".concat(u,"-image"),a),style:r},d))},x=function(e){var t=e.prefixCls,a=e.className,r=e.style,c=e.active,l=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=o()(l,"".concat(l,"-element"),(0,n.Z)({},"".concat(l,"-active"),c),a);return i.createElement("div",{className:u},i.createElement("div",{className:o()("".concat(l,"-image"),a),style:r},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(l,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(l,"-image-path")}))))},g=function(e){var t,a=e.prefixCls,c=e.className,l=e.active,d=e.block,v=e.size,m=void 0===v?"default":v,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),y=(0,u.Z)(e,["prefixCls"]),Z=o()(p,"".concat(p,"-element"),(t={},(0,n.Z)(t,"".concat(p,"-active"),l),(0,n.Z)(t,"".concat(p,"-block"),d),t),c);return i.createElement("div",{className:Z},i.createElement(f,(0,r.Z)({prefixCls:"".concat(p,"-input"),size:m},y)))},E=a(74902),C=function(e){var t=function(t){var a=e.width,n=e.rows,r=void 0===n?2:n;return Array.isArray(a)?a[t]:r-1===t?a:void 0},a=e.prefixCls,n=e.className,r=e.style,c=e.rows,l=(0,E.Z)(Array(c)).map((function(e,a){return i.createElement("li",{key:a,style:{width:t(a)}})}));return i.createElement("ul",{className:o()(a,n),style:r},l)},N=function(e){var t=e.prefixCls,a=e.className,n=e.width,c=e.style;return i.createElement("h3",{className:o()(t,a),style:(0,r.Z)({width:n},c)})};function w(e){return e&&"object"===(0,c.Z)(e)?e:{}}var O=function(e){var t=e.prefixCls,a=e.loading,c=e.className,l=e.style,u=e.children,d=e.avatar,v=void 0!==d&&d,m=e.title,p=void 0===m||m,y=e.paragraph,Z=void 0===y||y,b=e.active,h=e.round,x=i.useContext(s.E_),g=x.getPrefixCls,E=x.direction,O=g("skeleton",t);if(a||!("loading"in e)){var P,j,z,k=!!v,S=!!p,A=!!Z;if(k){var _=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(S,A)),w(v));j=i.createElement("div",{className:"".concat(O,"-header")},i.createElement(f,(0,r.Z)({},_)))}if(S||A){var q,M;if(S){var B=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(k,A)),w(p));q=i.createElement(N,(0,r.Z)({},B))}if(A){var T=(0,r.Z)((0,r.Z)({prefixCls:"".concat(O,"-paragraph")},function(e,t){var a={};return e&&t||(a.width="61%"),a.rows=!e&&t?3:2,a}(k,S)),w(Z));M=i.createElement(C,(0,r.Z)({},T))}z=i.createElement("div",{className:"".concat(O,"-content")},q,M)}var I=o()(O,(P={},(0,n.Z)(P,"".concat(O,"-with-avatar"),k),(0,n.Z)(P,"".concat(O,"-active"),b),(0,n.Z)(P,"".concat(O,"-rtl"),"rtl"===E),(0,n.Z)(P,"".concat(O,"-round"),h),P),c);return i.createElement("div",{className:I,style:l},j,z)}return"undefined"!==typeof u?u:null};O.Button=v,O.Avatar=d,O.Input=g,O.Image=x,O.Node=h;var P=O}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5315-bf39c482e3a31a7c.js b/static/web/_next/static/chunks/5315-bf39c482e3a31a7c.js new file mode 100644 index 000000000..e2296e03a --- /dev/null +++ b/static/web/_next/static/chunks/5315-bf39c482e3a31a7c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5315],{59652:function(e,t,a){a.d(t,{Z:function(){return x}});var c=a(4942),n=a(87462),r=a(94184),l=a.n(r),o=a(98423),i=a(67294),s=a(53124),u=a(97647),f=a(26303),d=a(84381),m=function(e,t){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,c=Object.getOwnPropertySymbols(e);nt.indexOf(c[n])&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]]);return a},p=function(e){var t=e.prefixCls,a=e.className,r=e.hoverable,o=void 0===r||r,u=m(e,["prefixCls","className","hoverable"]);return i.createElement(s.C,null,function(e){var r=(0,e.getPrefixCls)("card",t),s=l()("".concat(r,"-grid"),a,(0,c.Z)({},"".concat(r,"-grid-hoverable"),o));return i.createElement("div",(0,n.Z)({},u,{className:s}))})},v=function(e,t){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,c=Object.getOwnPropertySymbols(e);nt.indexOf(c[n])&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]]);return a},y=i.forwardRef(function(e,t){var a,r,m,y,Z=i.useContext(s.E_),b=Z.getPrefixCls,h=Z.direction,x=i.useContext(u.Z),g=function(t){var a;null===(a=e.onTabChange)||void 0===a||a.call(e,t)},E=e.prefixCls,C=e.className,N=e.extra,w=e.headStyle,O=e.bodyStyle,P=e.title,j=e.loading,z=e.bordered,k=e.size,S=e.type,A=e.cover,_=e.actions,q=e.tabList,M=e.children,B=e.activeTabKey,T=e.defaultActiveTabKey,I=e.tabBarExtraContent,R=e.hoverable,K=e.tabProps,G=v(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),L=b("card",E),F=i.createElement(f.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},M),H=void 0!==B,W=(0,n.Z)((0,n.Z)({},void 0===K?{}:K),(r={},(0,c.Z)(r,H?"activeKey":"defaultActiveKey",H?B:T),(0,c.Z)(r,"tabBarExtraContent",I),r)),D=q&&q.length?i.createElement(d.Z,(0,n.Z)({size:"large"},W,{className:"".concat(L,"-head-tabs"),onChange:g,items:q.map(function(e){var t;return{label:e.tab,key:e.key,disabled:null!==(t=e.disabled)&&void 0!==t&&t}})})):null;(P||N||D)&&(y=i.createElement("div",{className:"".concat(L,"-head"),style:void 0===w?{}:w},i.createElement("div",{className:"".concat(L,"-head-wrapper")},P&&i.createElement("div",{className:"".concat(L,"-head-title")},P),N&&i.createElement("div",{className:"".concat(L,"-extra")},N)),D));var V=A?i.createElement("div",{className:"".concat(L,"-cover")},A):null,$=i.createElement("div",{className:"".concat(L,"-body"),style:void 0===O?{}:O},j?F:M),J=_&&_.length?i.createElement("ul",{className:"".concat(L,"-actions")},_.map(function(e,t){return i.createElement("li",{style:{width:"".concat(100/_.length,"%")},key:"action-".concat(t)},i.createElement("span",null,e))})):null,Q=(0,o.Z)(G,["onTabChange"]),U=k||x,X=l()(L,(m={},(0,c.Z)(m,"".concat(L,"-loading"),j),(0,c.Z)(m,"".concat(L,"-bordered"),void 0===z||z),(0,c.Z)(m,"".concat(L,"-hoverable"),R),(0,c.Z)(m,"".concat(L,"-contain-grid"),(i.Children.forEach(e.children,function(e){e&&e.type&&e.type===p&&(a=!0)}),a)),(0,c.Z)(m,"".concat(L,"-contain-tabs"),q&&q.length),(0,c.Z)(m,"".concat(L,"-").concat(U),U),(0,c.Z)(m,"".concat(L,"-type-").concat(S),!!S),(0,c.Z)(m,"".concat(L,"-rtl"),"rtl"===h),m),C);return i.createElement("div",(0,n.Z)({ref:t},Q,{className:X}),y,V,$,J)}),Z=function(e,t){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,c=Object.getOwnPropertySymbols(e);nt.indexOf(c[n])&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]]);return a},b=function(e){return i.createElement(s.C,null,function(t){var a=t.getPrefixCls,c=e.prefixCls,r=e.className,o=e.avatar,s=e.title,u=e.description,f=Z(e,["prefixCls","className","avatar","title","description"]),d=a("card",c),m=l()("".concat(d,"-meta"),r),p=o?i.createElement("div",{className:"".concat(d,"-meta-avatar")},o):null,v=s?i.createElement("div",{className:"".concat(d,"-meta-title")},s):null,y=u?i.createElement("div",{className:"".concat(d,"-meta-description")},u):null,b=v||y?i.createElement("div",{className:"".concat(d,"-meta-detail")},v,y):null;return i.createElement("div",(0,n.Z)({},f,{className:m}),p,b)})},h=y;h.Grid=p,h.Meta=b;var x=h},6226:function(e,t,a){a.d(t,{Z:function(){return m}});var c=a(4942),n=a(87462),r=a(71002),l=a(94184),o=a.n(l),i=a(67294),s=a(53124),u=a(99134),f=function(e,t){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,c=Object.getOwnPropertySymbols(e);nt.indexOf(c[n])&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]]);return a},d=["xs","sm","md","lg","xl","xxl"],m=i.forwardRef(function(e,t){var a,l=i.useContext(s.E_),m=l.getPrefixCls,p=l.direction,v=i.useContext(u.Z),y=v.gutter,Z=v.wrap,b=v.supportFlexGap,h=e.prefixCls,x=e.span,g=e.order,E=e.offset,C=e.push,N=e.pull,w=e.className,O=e.children,P=e.flex,j=e.style,z=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),k=m("col",h),S={};d.forEach(function(t){var a,l={},o=e[t];"number"==typeof o?l.span=o:"object"===(0,r.Z)(o)&&(l=o||{}),delete z[t],S=(0,n.Z)((0,n.Z)({},S),(a={},(0,c.Z)(a,"".concat(k,"-").concat(t,"-").concat(l.span),void 0!==l.span),(0,c.Z)(a,"".concat(k,"-").concat(t,"-order-").concat(l.order),l.order||0===l.order),(0,c.Z)(a,"".concat(k,"-").concat(t,"-offset-").concat(l.offset),l.offset||0===l.offset),(0,c.Z)(a,"".concat(k,"-").concat(t,"-push-").concat(l.push),l.push||0===l.push),(0,c.Z)(a,"".concat(k,"-").concat(t,"-pull-").concat(l.pull),l.pull||0===l.pull),(0,c.Z)(a,"".concat(k,"-rtl"),"rtl"===p),a))});var A=o()(k,(a={},(0,c.Z)(a,"".concat(k,"-").concat(x),void 0!==x),(0,c.Z)(a,"".concat(k,"-order-").concat(g),g),(0,c.Z)(a,"".concat(k,"-offset-").concat(E),E),(0,c.Z)(a,"".concat(k,"-push-").concat(C),C),(0,c.Z)(a,"".concat(k,"-pull-").concat(N),N),a),w,S),_={};if(y&&y[0]>0){var q=y[0]/2;_.paddingLeft=q,_.paddingRight=q}if(y&&y[1]>0&&!b){var M=y[1]/2;_.paddingTop=M,_.paddingBottom=M}return P&&(_.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==Z||_.minWidth||(_.minWidth=0)),i.createElement("div",(0,n.Z)({},z,{style:(0,n.Z)((0,n.Z)({},_),j),className:A,ref:t}),O)})},99134:function(e,t,a){var c=(0,a(67294).createContext)({});t.Z=c},25968:function(e,t,a){a.d(t,{Z:function(){return y}});var c=a(87462),n=a(4942),r=a(71002),l=a(97685),o=a(94184),i=a.n(o),s=a(67294),u=a(53124),f=a(98082),d=a(24308),m=a(93355),p=a(99134),v=function(e,t){var a={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>t.indexOf(c)&&(a[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,c=Object.getOwnPropertySymbols(e);nt.indexOf(c[n])&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(a[c[n]]=e[c[n]]);return a};(0,m.b)("top","middle","bottom","stretch"),(0,m.b)("start","end","center","space-around","space-between","space-evenly");var y=s.forwardRef(function(e,t){var a,o,m=e.prefixCls,y=e.justify,Z=e.align,b=e.className,h=e.style,x=e.children,g=e.gutter,E=void 0===g?0:g,C=e.wrap,N=v(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),w=s.useContext(u.E_),O=w.getPrefixCls,P=w.direction,j=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),z=(0,l.Z)(j,2),k=z[0],S=z[1],A=(0,f.Z)(),_=s.useRef(E);s.useEffect(function(){var e=d.ZP.subscribe(function(e){var t=_.current||0;(!Array.isArray(t)&&"object"===(0,r.Z)(t)||Array.isArray(t)&&("object"===(0,r.Z)(t[0])||"object"===(0,r.Z)(t[1])))&&S(e)});return function(){return d.ZP.unsubscribe(e)}},[]);var q=O("row",m),M=(a=[void 0,void 0],(Array.isArray(E)?E:[E,void 0]).forEach(function(e,t){if("object"===(0,r.Z)(e))for(var c=0;c0?-(M[0]/2):void 0,R=null!=M[1]&&M[1]>0?-(M[1]/2):void 0;if(I&&(T.marginLeft=I,T.marginRight=I),A){var K=(0,l.Z)(M,2);T.rowGap=K[1]}else R&&(T.marginTop=R,T.marginBottom=R);var G=(0,l.Z)(M,2),L=G[0],F=G[1],H=s.useMemo(function(){return{gutter:[L,F],wrap:C,supportFlexGap:A}},[L,F,C,A]);return s.createElement(p.Z.Provider,{value:H},s.createElement("div",(0,c.Z)({},N,{className:B,style:(0,c.Z)((0,c.Z)({},T),h),ref:t}),x))})},26303:function(e,t,a){a.d(t,{Z:function(){return P}});var c=a(4942),n=a(87462),r=a(71002),l=a(94184),o=a.n(l),i=a(67294),s=a(53124),u=a(98423),f=function(e){var t,a,r=e.prefixCls,l=e.className,s=e.style,u=e.size,f=e.shape,d=o()((t={},(0,c.Z)(t,"".concat(r,"-lg"),"large"===u),(0,c.Z)(t,"".concat(r,"-sm"),"small"===u),t)),m=o()((a={},(0,c.Z)(a,"".concat(r,"-circle"),"circle"===f),(0,c.Z)(a,"".concat(r,"-square"),"square"===f),(0,c.Z)(a,"".concat(r,"-round"),"round"===f),a)),p=i.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return i.createElement("span",{className:o()(r,d,m,l),style:(0,n.Z)((0,n.Z)({},p),s)})},d=function(e){var t=e.prefixCls,a=e.className,r=e.active,l=e.shape,d=e.size,m=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),p=(0,u.Z)(e,["prefixCls","className"]),v=o()(m,"".concat(m,"-element"),(0,c.Z)({},"".concat(m,"-active"),r),a);return i.createElement("div",{className:v},i.createElement(f,(0,n.Z)({prefixCls:"".concat(m,"-avatar"),shape:void 0===l?"circle":l,size:void 0===d?"default":d},p)))},m=function(e){var t,a=e.prefixCls,r=e.className,l=e.active,d=e.block,m=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),y=o()(p,"".concat(p,"-element"),(t={},(0,c.Z)(t,"".concat(p,"-active"),l),(0,c.Z)(t,"".concat(p,"-block"),void 0!==d&&d),t),r);return i.createElement("div",{className:y},i.createElement(f,(0,n.Z)({prefixCls:"".concat(p,"-button"),size:void 0===m?"default":m},v)))},p=a(1413),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},y=a(42135),Z=function(e,t){return i.createElement(y.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:v}))};Z.displayName="DotChartOutlined";var b=i.forwardRef(Z),h=function(e){var t=e.prefixCls,a=e.className,n=e.style,r=e.active,l=e.children,u=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),f=o()(u,"".concat(u,"-element"),(0,c.Z)({},"".concat(u,"-active"),r),a),d=null!=l?l:i.createElement(b,null);return i.createElement("div",{className:f},i.createElement("div",{className:o()("".concat(u,"-image"),a),style:n},d))},x=function(e){var t=e.prefixCls,a=e.className,n=e.style,r=e.active,l=(0,i.useContext(s.E_).getPrefixCls)("skeleton",t),u=o()(l,"".concat(l,"-element"),(0,c.Z)({},"".concat(l,"-active"),r),a);return i.createElement("div",{className:u},i.createElement("div",{className:o()("".concat(l,"-image"),a),style:n},i.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(l,"-image-svg")},i.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(l,"-image-path")}))))},g=function(e){var t,a=e.prefixCls,r=e.className,l=e.active,d=e.block,m=e.size,p=(0,i.useContext(s.E_).getPrefixCls)("skeleton",a),v=(0,u.Z)(e,["prefixCls"]),y=o()(p,"".concat(p,"-element"),(t={},(0,c.Z)(t,"".concat(p,"-active"),l),(0,c.Z)(t,"".concat(p,"-block"),d),t),r);return i.createElement("div",{className:y},i.createElement(f,(0,n.Z)({prefixCls:"".concat(p,"-input"),size:void 0===m?"default":m},v)))},E=a(74902),C=function(e){var t=function(t){var a=e.width,c=e.rows;return Array.isArray(a)?a[t]:(void 0===c?2:c)-1===t?a:void 0},a=e.prefixCls,c=e.className,n=e.style,r=e.rows,l=(0,E.Z)(Array(r)).map(function(e,a){return i.createElement("li",{key:a,style:{width:t(a)}})});return i.createElement("ul",{className:o()(a,c),style:n},l)},N=function(e){var t=e.prefixCls,a=e.className,c=e.width,r=e.style;return i.createElement("h3",{className:o()(t,a),style:(0,n.Z)({width:c},r)})};function w(e){return e&&"object"===(0,r.Z)(e)?e:{}}var O=function(e){var t=e.prefixCls,a=e.loading,r=e.className,l=e.style,u=e.children,d=e.avatar,m=void 0!==d&&d,p=e.title,v=void 0===p||p,y=e.paragraph,Z=void 0===y||y,b=e.active,h=e.round,x=i.useContext(s.E_),g=x.getPrefixCls,E=x.direction,O=g("skeleton",t);if(a||!("loading"in e)){var P=!!m,j=!!v,z=!!Z;if(P){var k=(0,n.Z)((0,n.Z)({prefixCls:"".concat(O,"-avatar")},j&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),w(m));A=i.createElement("div",{className:"".concat(O,"-header")},i.createElement(f,(0,n.Z)({},k)))}if(j||z){if(j){var S,A,_,q,M,B=(0,n.Z)((0,n.Z)({prefixCls:"".concat(O,"-title")},!P&&z?{width:"38%"}:P&&z?{width:"50%"}:{}),w(v));q=i.createElement(N,(0,n.Z)({},B))}if(z){var T,I=(0,n.Z)((0,n.Z)({prefixCls:"".concat(O,"-paragraph")},(T={},P&&j||(T.width="61%"),!P&&j?T.rows=3:T.rows=2,T)),w(Z));M=i.createElement(C,(0,n.Z)({},I))}_=i.createElement("div",{className:"".concat(O,"-content")},q,M)}var R=o()(O,(S={},(0,c.Z)(S,"".concat(O,"-with-avatar"),P),(0,c.Z)(S,"".concat(O,"-active"),b),(0,c.Z)(S,"".concat(O,"-rtl"),"rtl"===E),(0,c.Z)(S,"".concat(O,"-round"),h),S),r);return i.createElement("div",{className:R,style:l},A,_)}return void 0!==u?u:null};O.Button=m,O.Avatar=d,O.Input=g,O.Image=x,O.Node=h;var P=O}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5360-2b39dbc93c18fdb4.js b/static/web/_next/static/chunks/5360-2b39dbc93c18fdb4.js deleted file mode 100644 index c31a56227..000000000 --- a/static/web/_next/static/chunks/5360-2b39dbc93c18fdb4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var a=r(4942),n=r(87462),i=r(97685),o=r(97937),s=r(94184),u=r.n(s),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(e);n=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function l(e){var t=e.re=r(36066)(e.__opts__),a=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||a.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),a.push(t.src_xn),t.src_tlds=a.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var u=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===n(r))return!function(e){return"[object RegExp]"===n(e)}(r.validate)?i(r.validate)?a.validate=r.validate:c(t,r):a.validate=function(e){return function(t,r){var a=t.slice(r);return e.test(a)?a.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?a.normalize=r.normalize:r.normalize?c(t,r):a.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===n(e)}(r)?c(t,r):u.push(t)}})),u.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function _(e,t){var r=e.__index__,a=e.__last_index__,n=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=n,this.text=n,this.url=n}function p(e,t){var r=new _(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=a({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},l(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,l(this),this},h.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,a,n,i,o,s,u;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(n=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(i=a.index+a[1].length,o=a.index+a[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(p(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(p(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),l(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,l(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},23279:function(e,t,r){var a=r(13218),n=r(7771),i=r(14841),o=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,_,p,h,d=0,m=!1,f=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=u,a=c;return u=c=void 0,d=t,_=e.apply(a,r)}function y(e){return d=e,p=setTimeout(D,t),m?b(e):_}function v(e){var r=e-h;return void 0===h||r>=t||r<0||f&&e-d>=l}function D(){var e=n();if(v(e))return k(e);p=setTimeout(D,function(e){var r=t-(e-h);return f?s(r,l-(e-d)):r}(e))}function k(e){return p=void 0,g&&u?b(e):(u=c=void 0,_)}function F(){var e=n(),r=v(e);if(u=arguments,c=this,h=e,r){if(void 0===p)return y(h);if(f)return clearTimeout(p),p=setTimeout(D,t),b(h)}return void 0===p&&(p=setTimeout(D,t)),_}return t=i(t)||0,a(r)&&(m=!!r.leading,l=(f="maxWait"in r)?o(i(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),F.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=c=p=void 0},F.flush=function(){return void 0===p?_:k(n())},F}},7771:function(e,t,r){var a=r(55639);e.exports=function(){return a.Date.now()}},36887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;rn&&a.push(e.substring(n,r.index));var o=t.props.hrefDecorator(r.url),s=t.props.textDecorator(r.text),u=t.props.componentDecorator(o,s,i);a.push(u),n=r.lastIndex})),e.length>n&&a.push(e.substring(n)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"===typeof e?this.parseString(e):n.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?n.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map((function(e,r){return t.parse(e,r)})):e}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.parse(this.props.children))}}]),t}(n.Component);p.defaultProps={componentDecorator:i.default,hrefDecorator:o.default,matchDecorator:s.default,textDecorator:u.default},t.default=p},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(68337)),n=i(r(10248));function i(e){return e&&e.__esModule?e:{default:e}}var o=new a.default;o.tlds(n.default),t.default=function(e){return o.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,n=r(36887),i=(a=n)&&a.__esModule?a:{default:a};t.Z=i.default},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","\u03b5\u03bb","\u03b5\u03c5","\u0431\u0433","\u0431\u0435\u043b","\u0434\u0435\u0442\u0438","\u0435\u044e","\u043a\u0430\u0442\u043e\u043b\u0438\u043a","\u043a\u043e\u043c","\u043c\u043a\u0434","\u043c\u043e\u043d","\u043c\u043e\u0441\u043a\u0432\u0430","\u043e\u043d\u043b\u0430\u0439\u043d","\u043e\u0440\u0433","\u0440\u0443\u0441","\u0440\u0444","\u0441\u0430\u0439\u0442","\u0441\u0440\u0431","\u0443\u043a\u0440","\u049b\u0430\u0437","\u0570\u0561\u0575","\u05d9\u05e9\u05e8\u05d0\u05dc","\u05e7\u05d5\u05dd","\u0627\u0628\u0648\u0638\u0628\u064a","\u0627\u062a\u0635\u0627\u0644\u0627\u062a","\u0627\u0631\u0627\u0645\u0643\u0648","\u0627\u0644\u0627\u0631\u062f\u0646","\u0627\u0644\u0628\u062d\u0631\u064a\u0646","\u0627\u0644\u062c\u0632\u0627\u0626\u0631","\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629","\u0627\u0644\u0639\u0644\u064a\u0627\u0646","\u0627\u0644\u0645\u063a\u0631\u0628","\u0627\u0645\u0627\u0631\u0627\u062a","\u0627\u06cc\u0631\u0627\u0646","\u0628\u0627\u0631\u062a","\u0628\u0627\u0632\u0627\u0631","\u0628\u064a\u062a\u0643","\u0628\u06be\u0627\u0631\u062a","\u062a\u0648\u0646\u0633","\u0633\u0648\u062f\u0627\u0646","\u0633\u0648\u0631\u064a\u0629","\u0634\u0628\u0643\u0629","\u0639\u0631\u0627\u0642","\u0639\u0631\u0628","\u0639\u0645\u0627\u0646","\u0641\u0644\u0633\u0637\u064a\u0646","\u0642\u0637\u0631","\u0643\u0627\u062b\u0648\u0644\u064a\u0643","\u0643\u0648\u0645","\u0645\u0635\u0631","\u0645\u0644\u064a\u0633\u064a\u0627","\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627","\u0645\u0648\u0642\u0639","\u0647\u0645\u0631\u0627\u0647","\u067e\u0627\u06a9\u0633\u062a\u0627\u0646","\u0680\u0627\u0631\u062a","\u0915\u0949\u092e","\u0928\u0947\u091f","\u092d\u093e\u0930\u0924","\u092d\u093e\u0930\u0924\u092e\u094d","\u092d\u093e\u0930\u094b\u0924","\u0938\u0902\u0917\u0920\u0928","\u09ac\u09be\u0982\u09b2\u09be","\u09ad\u09be\u09b0\u09a4","\u09ad\u09be\u09f0\u09a4","\u0a2d\u0a3e\u0a30\u0a24","\u0aad\u0abe\u0ab0\u0aa4","\u0b2d\u0b3e\u0b30\u0b24","\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe","\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8","\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd","\u0c2d\u0c3e\u0c30\u0c24\u0c4d","\u0cad\u0cbe\u0cb0\u0ca4","\u0d2d\u0d3e\u0d30\u0d24\u0d02","\u0dbd\u0d82\u0d9a\u0dcf","\u0e04\u0e2d\u0e21","\u0e44\u0e17\u0e22","\u0ea5\u0eb2\u0ea7","\u10d2\u10d4","\u307f\u3093\u306a","\u30a2\u30de\u30be\u30f3","\u30af\u30e9\u30a6\u30c9","\u30b0\u30fc\u30b0\u30eb","\u30b3\u30e0","\u30b9\u30c8\u30a2","\u30bb\u30fc\u30eb","\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3","\u30dd\u30a4\u30f3\u30c8","\u4e16\u754c","\u4e2d\u4fe1","\u4e2d\u56fd","\u4e2d\u570b","\u4e2d\u6587\u7f51","\u4e9a\u9a6c\u900a","\u4f01\u4e1a","\u4f5b\u5c71","\u4fe1\u606f","\u5065\u5eb7","\u516b\u5366","\u516c\u53f8","\u516c\u76ca","\u53f0\u6e7e","\u53f0\u7063","\u5546\u57ce","\u5546\u5e97","\u5546\u6807","\u5609\u91cc","\u5609\u91cc\u5927\u9152\u5e97","\u5728\u7ebf","\u5927\u62ff","\u5929\u4e3b\u6559","\u5a31\u4e50","\u5bb6\u96fb","\u5e7f\u4e1c","\u5fae\u535a","\u6148\u5584","\u6211\u7231\u4f60","\u624b\u673a","\u62db\u8058","\u653f\u52a1","\u653f\u5e9c","\u65b0\u52a0\u5761","\u65b0\u95fb","\u65f6\u5c1a","\u66f8\u7c4d","\u673a\u6784","\u6de1\u9a6c\u9521","\u6e38\u620f","\u6fb3\u9580","\u70b9\u770b","\u79fb\u52a8","\u7ec4\u7ec7\u673a\u6784","\u7f51\u5740","\u7f51\u5e97","\u7f51\u7ad9","\u7f51\u7edc","\u8054\u901a","\u8bfa\u57fa\u4e9a","\u8c37\u6b4c","\u8d2d\u7269","\u901a\u8ca9","\u96c6\u56e2","\u96fb\u8a0a\u76c8\u79d1","\u98de\u5229\u6d66","\u98df\u54c1","\u9910\u5385","\u9999\u683c\u91cc\u62c9","\u9999\u6e2f","\ub2f7\ub137","\ub2f7\ucef4","\uc0bc\uc131","\ud55c\uad6d"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5360-e0e4b550194b07d1.js b/static/web/_next/static/chunks/5360-e0e4b550194b07d1.js new file mode 100644 index 000000000..3a44be351 --- /dev/null +++ b/static/web/_next/static/chunks/5360-e0e4b550194b07d1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5360],{20550:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var a=r(4942),i=r(87462),o=r(97685),n=r(97937),s=r(94184),u=r.n(s),c=r(98423),l=r(67294),_=r(53124),p=r(98787),h=r(68349),d=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);it.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},m=function(e){var t,r=e.prefixCls,o=e.className,n=e.checked,s=e.onChange,c=e.onClick,p=d(e,["prefixCls","className","checked","onChange","onClick"]),h=l.useContext(_.E_).getPrefixCls,m=function(e){null==s||s(!n),null==c||c(e)},f=h("tag",r),g=u()(f,(t={},(0,a.Z)(t,"".concat(f,"-checkable"),!0),(0,a.Z)(t,"".concat(f,"-checkable-checked"),n),t),o);return l.createElement("span",(0,i.Z)({},p,{className:g,onClick:m}))},f=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,a=Object.getOwnPropertySymbols(e);it.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},g=RegExp("^(".concat(p.Y.join("|"),")(-inverse)?$")),b=RegExp("^(".concat(p.E.join("|"),")$")),y=function(e,t){var r,s=e.prefixCls,p=e.className,d=e.style,m=e.children,y=e.icon,v=e.color,D=e.onClose,k=e.closeIcon,F=e.closable,x=f(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),z=l.useContext(_.E_),w=z.getPrefixCls,E=z.direction,C=l.useState(!0),A=(0,o.Z)(C,2),j=A[0],O=A[1];l.useEffect(function(){"visible"in x&&O(x.visible)},[x.visible]);var Z=function(){return!!v&&(g.test(v)||b.test(v))},B=(0,i.Z)({backgroundColor:v&&!Z()?v:void 0},d),P=Z(),q=w("tag",s),S=u()(q,(r={},(0,a.Z)(r,"".concat(q,"-").concat(v),P),(0,a.Z)(r,"".concat(q,"-has-color"),v&&!P),(0,a.Z)(r,"".concat(q,"-hidden"),!j),(0,a.Z)(r,"".concat(q,"-rtl"),"rtl"===E),r),p),R=function(e){e.stopPropagation(),null==D||D(e),!e.defaultPrevented&&("visible"in x||O(!1))},T="onClick"in x||m&&"a"===m.type,$=(0,c.Z)(x,["visible"]),I=y||null,M=I?l.createElement(l.Fragment,null,I,l.createElement("span",null,m)):m,N=l.createElement("span",(0,i.Z)({},$,{ref:t,className:S,style:B}),M,void 0!==F&&F?k?l.createElement("span",{className:"".concat(q,"-close-icon"),onClick:R},k):l.createElement(n.Z,{className:"".concat(q,"-close-icon"),onClick:R}):null);return T?l.createElement(h.Z,null,N):N},v=l.forwardRef(y);v.CheckableTag=m;var D=v},68337:function(e,t,r){"use strict";function a(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===i(e)}function n(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},u={"http:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.http||(r.re.http=RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a))?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var a=e.slice(t);return(r.re.no_http||(r.re.no_http=RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var a=e.slice(t);return(r.re.mailto||(r.re.mailto=RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a))?a.match(r.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function l(){return function(e,t){t.normalize(e)}}function _(e){var t,a=e.re=r(36066)(e.__opts__),s=e.__tlds__.slice();function u(e){return e.replace("%TLDS%",a.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(a.src_xn),a.src_tlds=s.join("|"),a.email_fuzzy=RegExp(u(a.tpl_email_fuzzy),"i"),a.link_fuzzy=RegExp(u(a.tpl_link_fuzzy),"i"),a.link_no_ip_fuzzy=RegExp(u(a.tpl_link_no_ip_fuzzy),"i"),a.host_fuzzy_test=RegExp(u(a.tpl_host_fuzzy_test),"i");var c=[];function _(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var r,a=e.__schemas__[t];if(null!==a){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===i(a)){"[object RegExp]"===i(a.validate)?n.validate=(r=a.validate,function(e,t){var a=e.slice(t);return r.test(a)?a.match(r)[0].length:0}):o(a.validate)?n.validate=a.validate:_(t,a),o(a.normalize)?n.normalize=a.normalize:a.normalize?_(t,a):n.normalize=l();return}if("[object String]"===i(a)){c.push(t);return}_(t,a)}}),c.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:l()};var p=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(n).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+a.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),(t=e).__index__=-1,t.__text_cache__=""}function p(e,t){var r=e.__index__,a=e.__last_index__,i=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=a+t,this.raw=i,this.text=i,this.url=i}function h(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function d(e,t){if(!(this instanceof d))return new d(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=a({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=a({},u,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},_(this)}d.prototype.add=function(e,t){return this.__schemas__[e]=t,_(this),this},d.prototype.set=function(e){return this.__opts__=a(this.__opts__,e),this},d.prototype.test=function(e){var t,r,a,i,o,n,s,u;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(a=e.match(this.re.email_fuzzy))&&(o=a.index+a[1].length,n=a.index+a[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=n)),this.__index__>=0},d.prototype.pretest=function(e){return this.re.pretest.test(e)},d.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},d.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(h(this,t)),t=this.__last_index__);for(var a=t?e.slice(t):e;this.test(a);)r.push(h(this,t)),a=a.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},d.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse(),_(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,_(this),this)},d.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},d.prototype.onCompile=function(){},e.exports=d},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var a="[><|]";return t.src_pseudo_letter="(?:(?!"+a+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+a+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+a+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+a+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},23279:function(e,t,r){var a=r(13218),i=r(7771),o=r(14841),n=Math.max,s=Math.min;e.exports=function(e,t,r){var u,c,l,_,p,h,d=0,m=!1,f=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var r=u,a=c;return u=c=void 0,d=t,_=e.apply(a,r)}function y(e){var r=e-h,a=e-d;return void 0===h||r>=t||r<0||f&&a>=l}function v(){var e,r,a,o=i();if(y(o))return D(o);p=setTimeout(v,(e=o-h,r=o-d,a=t-e,f?s(a,l-r):a))}function D(e){return(p=void 0,g&&u)?b(e):(u=c=void 0,_)}function k(){var e,r=i(),a=y(r);if(u=arguments,c=this,h=r,a){if(void 0===p)return d=e=h,p=setTimeout(v,t),m?b(e):_;if(f)return clearTimeout(p),p=setTimeout(v,t),b(h)}return void 0===p&&(p=setTimeout(v,t)),_}return t=o(t)||0,a(r)&&(m=!!r.leading,l=(f="maxWait"in r)?n(o(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),k.cancel=function(){void 0!==p&&clearTimeout(p),d=0,u=h=c=p=void 0},k.flush=function(){return void 0===p?_:D(i())},k}},7771:function(e,t,r){var a=r(55639),i=function(){return a.Date.now()};e.exports=i},36887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;ri&&a.push(e.substring(i,r.index));var n=t.props.hrefDecorator(r.url),s=t.props.textDecorator(r.text),u=t.props.componentDecorator(n,s,o);a.push(u),i=r.lastIndex}),e.length>i&&a.push(e.substring(i)),1===a.length?a[0]:a}},{key:"parse",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"==typeof e?this.parseString(e):i.isValidElement(e)&&"a"!==e.type&&"button"!==e.type?i.cloneElement(e,{key:r},this.parse(e.props.children)):Array.isArray(e)?e.map(function(e,r){return t.parse(e,r)}):e}},{key:"render",value:function(){return i.createElement(i.Fragment,null,this.parse(this.props.children))}}]),t}(i.Component);l.defaultProps={componentDecorator:o.default,hrefDecorator:n.default,matchDecorator:s.default,textDecorator:u.default},t.default=l},29872:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(67294));t.default=function(e,t,r){return a.createElement("a",{href:e,key:r},t)}},77599:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},86704:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(r(68337)),i=o(r(10248));function o(e){return e&&e.__esModule?e:{default:e}}var n=new a.default;n.tlds(i.default),t.default=function(e){return n.match(e)}},1627:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},53731:function(e,t,r){"use strict";var a,i=(a=r(36887))&&a.__esModule?a:{default:a};t.Z=i.default},99413:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},73189:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},29369:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},10248:function(e){"use strict";e.exports=JSON.parse('["aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","ac","academy","accenture","accountant","accountants","aco","actor","ad","adac","ads","adult","ae","aeg","aero","aetna","af","afl","africa","ag","agakhan","agency","ai","aig","airbus","airforce","airtel","akdn","al","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","am","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","ao","aol","apartments","app","apple","aq","aquarelle","ar","arab","aramco","archi","army","arpa","art","arte","as","asda","asia","associates","at","athleta","attorney","au","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aw","aws","ax","axa","az","azure","ba","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bb","bbc","bbt","bbva","bcg","bcn","bd","be","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bf","bg","bh","bharti","bi","bible","bid","bike","bing","bingo","bio","biz","bj","black","blackfriday","blockbuster","blog","bloomberg","blue","bm","bms","bmw","bn","bnpparibas","bo","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","br","bradesco","bridgestone","broadway","broker","brother","brussels","bs","bt","build","builders","business","buy","buzz","bv","bw","by","bz","bzh","ca","cab","cafe","cal","call","calvinklein","cam","camera","camp","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","cat","catering","catholic","cba","cbn","cbre","cbs","cc","cd","center","ceo","cern","cf","cfa","cfd","cg","ch","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","ci","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","ck","cl","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","cm","cn","co","coach","codes","coffee","college","cologne","com","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","coop","corsica","country","coupon","coupons","courses","cpa","cr","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cu","cuisinella","cv","cw","cx","cy","cymru","cyou","cz","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","de","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dj","dk","dm","dnp","do","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","dz","earth","eat","ec","eco","edeka","edu","education","ee","eg","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","er","ericsson","erni","es","esq","estate","et","etisalat","eu","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fi","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","fj","fk","flickr","flights","flir","florist","flowers","fly","fm","fo","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","fr","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","ga","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gb","gbiz","gd","gdn","ge","gea","gent","genting","george","gf","gg","ggee","gh","gi","gift","gifts","gives","giving","gl","glass","gle","global","globo","gm","gmail","gmbh","gmo","gmx","gn","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","gov","gp","gq","gr","grainger","graphics","gratis","green","gripe","grocery","group","gs","gt","gu","guardian","gucci","guge","guide","guitars","guru","gw","gy","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hk","hkt","hm","hn","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hr","hsbc","ht","hu","hughes","hyatt","hyundai","ibm","icbc","ice","icu","id","ie","ieee","ifm","ikano","il","im","imamat","imdb","immo","immobilien","in","inc","industries","infiniti","info","ing","ink","institute","insurance","insure","int","international","intuit","investments","io","ipiranga","iq","ir","irish","is","ismaili","ist","istanbul","it","itau","itv","jaguar","java","jcb","je","jeep","jetzt","jewelry","jio","jll","jm","jmp","jnj","jo","jobs","joburg","jot","joy","jp","jpmorgan","jprs","juegos","juniper","kaufen","kddi","ke","kerryhotels","kerrylogistics","kerryproperties","kfh","kg","kh","ki","kia","kids","kim","kinder","kindle","kitchen","kiwi","km","kn","koeln","komatsu","kosher","kp","kpmg","kpn","kr","krd","kred","kuokgroup","kw","ky","kyoto","kz","la","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lb","lc","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","li","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lk","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","lr","ls","lt","ltd","ltda","lu","lundbeck","luxe","luxury","lv","ly","ma","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mc","mckinsey","md","me","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","mg","mh","miami","microsoft","mil","mini","mint","mit","mitsubishi","mk","ml","mlb","mls","mm","mma","mn","mo","mobi","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","mp","mq","mr","ms","msd","mt","mtn","mtr","mu","museum","music","mutual","mv","mw","mx","my","mz","na","nab","nagoya","name","natura","navy","nba","nc","ne","nec","net","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nf","nfl","ng","ngo","nhk","ni","nico","nike","nikon","ninja","nissan","nissay","nl","no","nokia","northwesternmutual","norton","now","nowruz","nowtv","np","nr","nra","nrw","ntt","nu","nyc","nz","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","om","omega","one","ong","onl","online","ooo","open","oracle","orange","org","organic","origins","osaka","otsuka","ott","ovh","pa","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pe","pet","pf","pfizer","pg","ph","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","pk","pl","place","play","playstation","plumbing","plus","pm","pn","pnc","pohl","poker","politie","porn","post","pr","pramerica","praxi","press","prime","pro","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","ps","pt","pub","pw","pwc","py","qa","qpon","quebec","quest","racing","radio","re","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","ro","rocher","rocks","rodeo","rogers","room","rs","rsvp","ru","rugby","ruhr","run","rw","rwe","ryukyu","sa","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sb","sbi","sbs","sc","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","sd","se","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","sg","sh","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","si","silk","sina","singles","site","sj","sk","ski","skin","sky","skype","sl","sling","sm","smart","smile","sn","sncf","so","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","sr","srl","ss","st","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","su","sucks","supplies","supply","support","surf","surgery","suzuki","sv","swatch","swiss","sx","sy","sydney","systems","sz","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tc","tci","td","tdk","team","tech","technology","tel","temasek","tennis","teva","tf","tg","th","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tj","tjmaxx","tjx","tk","tkmaxx","tl","tm","tmall","tn","to","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","tr","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tt","tube","tui","tunes","tushu","tv","tvs","tw","tz","ua","ubank","ubs","ug","uk","unicom","university","uno","uol","ups","us","uy","uz","va","vacations","vana","vanguard","vc","ve","vegas","ventures","verisign","verm\xf6gensberater","verm\xf6gensberatung","versicherung","vet","vg","vi","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vn","vodka","volkswagen","volvo","vote","voting","voto","voyage","vu","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","wf","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","ws","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","xxx","xyz","yachts","yahoo","yamaxun","yandex","ye","yodobashi","yoga","yokohama","you","youtube","yt","yun","za","zappos","zara","zero","zip","zm","zone","zuerich","zw","ελ","ευ","бг","бел","дети","ею","католик","ком","мкд","мон","москва","онлайн","орг","рус","рф","сайт","срб","укр","қаз","հայ","ישראל","קום","ابوظبي","اتصالات","ارامكو","الاردن","البحرين","الجزائر","السعودية","العليان","المغرب","امارات","ایران","بارت","بازار","بيتك","بھارت","تونس","سودان","سورية","شبكة","عراق","عرب","عمان","فلسطين","قطر","كاثوليك","كوم","مصر","مليسيا","موريتانيا","موقع","همراه","پاکستان","ڀارت","कॉम","नेट","भारत","भारतम्","भारोत","संगठन","বাংলা","ভারত","ভাৰত","ਭਾਰਤ","ભારત","ଭାରତ","இந்தியா","இலங்கை","சிங்கப்பூர்","భారత్","ಭಾರತ","ഭാരതം","ලංකා","คอม","ไทย","ລາວ","გე","みんな","アマゾン","クラウド","グーグル","コム","ストア","セール","ファッション","ポイント","世界","中信","中国","中國","中文网","亚马逊","企业","佛山","信息","健康","八卦","公司","公益","台湾","台灣","商城","商店","商标","嘉里","嘉里大酒店","在线","大拿","天主教","娱乐","家電","广东","微博","慈善","我爱你","手机","招聘","政务","政府","新加坡","新闻","时尚","書籍","机构","淡马锡","游戏","澳門","点看","移动","组织机构","网址","网店","网站","网络","联通","诺基亚","谷歌","购物","通販","集团","電訊盈科","飞利浦","食品","餐厅","香格里拉","香港","닷넷","닷컴","삼성","한국"]')}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5372.3546bc48355a0c0e.js b/static/web/_next/static/chunks/5372.3546bc48355a0c0e.js new file mode 100644 index 000000000..ad1f20579 --- /dev/null +++ b/static/web/_next/static/chunks/5372.3546bc48355a0c0e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5372],{95372:function(e,t,r){r.r(t),r.d(t,{haskell:function(){return g}});var n=/[a-z_]/,a=/[A-Z]/,i=/\d/,o=/[0-9A-Fa-f]/,l=/[0-7]/,u=/[a-z_A-Z0-9'\xa1-\uffff]/,s=/[-!#$%&*+.\/<=>?@\\^|~:]/,f=/[(),;[\]`{}]/,c=/[ \t\v\f]/;function d(e,t){if(e.eatWhile(c))return null;var r=e.next();if(f.test(r)){if("{"==r&&e.eat("-")){var h,p="comment";return e.eat("#")&&(p="meta"),t(h=function e(t,r){return 0==r?d:function(n,a){for(var i=r;!n.eol();){var o=n.next();if("{"==o&&n.eat("-"))++i;else if("-"==o&&n.eat("}")&&0==--i)return a(d),t}return a(e(t,i)),t}}(p,1)),h(e,t)}return null}if("'"==r)return(e.eat("\\"),e.next(),e.eat("'"))?"string":"error";if('"'==r)return t(m),m(e,t);if(a.test(r))return(e.eatWhile(u),e.eat("."))?"qualifier":"type";if(n.test(r))return e.eatWhile(u),"variable";if(i.test(r)){if("0"==r){if(e.eat(/[xX]/))return e.eatWhile(o),"integer";if(e.eat(/[oO]/))return e.eatWhile(l),"number"}e.eatWhile(i);var p="number";return e.match(/^\.\d+/)&&(p="number"),e.eat(/[eE]/)&&(p="number",e.eat(/[-+]/),e.eatWhile(i)),p}return"."==r&&e.eat(".")?"keyword":s.test(r)?"-"==r&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(s))?(e.skipToEnd(),"comment"):(e.eatWhile(s),"variable"):"error"}function m(e,t){for(;!e.eol();){var r=e.next();if('"'==r)return t(d),"string";if("\\"==r){if(e.eol()||e.eat(c))return t(h),"string";e.eat("&")||e.next()}}return t(d),"error"}function h(e,t){return e.eat("\\")?(t(m),m(e,t)):(e.next(),t(d),"error")}var p=function(){var e={};function t(t){return function(){for(var r=0;r","@","~","=>"),t("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),t("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e}();let g={name:"haskell",startState:function(){return{f:d}},copyState:function(e){return{f:e.f}},token:function(e,t){var r=t.f(e,function(e){t.f=e}),n=e.current();return p.hasOwnProperty(n)?p[n]:r},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5372.36dfd243fadb8477.js b/static/web/_next/static/chunks/5372.36dfd243fadb8477.js deleted file mode 100644 index 0c94fee45..000000000 --- a/static/web/_next/static/chunks/5372.36dfd243fadb8477.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5372],{95372:function(e,t,r){function n(e,t,r){return t(r),r(e,t)}r.r(t),r.d(t,{haskell:function(){return F}});var a=/[a-z_]/,i=/[A-Z]/,o=/\d/,l=/[0-9A-Fa-f]/,u=/[0-7]/,s=/[a-z_A-Z0-9'\xa1-\uffff]/,f=/[-!#$%&*+.\/<=>?@\\^|~:]/,c=/[(),;[\]`{}]/,d=/[ \t\v\f]/;function m(e,t){if(e.eatWhile(d))return null;var r=e.next();if(c.test(r)){if("{"==r&&e.eat("-")){var m="comment";return e.eat("#")&&(m="meta"),n(e,t,h(m,1))}return null}if("'"==r)return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if('"'==r)return n(e,t,p);if(i.test(r))return e.eatWhile(s),e.eat(".")?"qualifier":"type";if(a.test(r))return e.eatWhile(s),"variable";if(o.test(r)){if("0"==r){if(e.eat(/[xX]/))return e.eatWhile(l),"integer";if(e.eat(/[oO]/))return e.eatWhile(u),"number"}e.eatWhile(o);m="number";return e.match(/^\.\d+/)&&(m="number"),e.eat(/[eE]/)&&(m="number",e.eat(/[-+]/),e.eatWhile(o)),m}return"."==r&&e.eat(".")?"keyword":f.test(r)?"-"==r&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(f))?(e.skipToEnd(),"comment"):(e.eatWhile(f),"variable"):"error"}function h(e,t){return 0==t?m:function(r,n){for(var a=t;!r.eol();){var i=r.next();if("{"==i&&r.eat("-"))++a;else if("-"==i&&r.eat("}")&&0==--a)return n(m),e}return n(h(e,a)),e}}function p(e,t){for(;!e.eol();){var r=e.next();if('"'==r)return t(m),"string";if("\\"==r){if(e.eol()||e.eat(d))return t(g),"string";e.eat("&")||e.next()}}return t(m),"error"}function g(e,t){return e.eat("\\")?n(e,t,p):(e.next(),t(m),"error")}var w=function(){var e={};function t(t){return function(){for(var r=0;r","@","~","=>"),t("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),t("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),t("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e}();const F={name:"haskell",startState:function(){return{f:m}},copyState:function(e){return{f:e.f}},token:function(e,t){var r=t.f(e,(function(e){t.f=e})),n=e.current();return w.hasOwnProperty(n)?w[n]:r},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5379.ac9e5e22f6188abc.js b/static/web/_next/static/chunks/5379.ac9e5e22f6188abc.js deleted file mode 100644 index 30cfbd06e..000000000 --- a/static/web/_next/static/chunks/5379.ac9e5e22f6188abc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5379],{82877:function(t,e,i){i.r(e),i.d(e,{yaml:function(){return n}});var r=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");const n={name:"yaml",token:function(t,e){var i=t.peek(),n=e.escaped;if(e.escaped=!1,"#"==i&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&t.indentation()>e.keyCol)return t.skipToEnd(),"string";if(e.literal&&(e.literal=!1),t.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,t.match("---"))return"def";if(t.match("..."))return"def";if(t.match(/^\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return"{"==i?e.inlinePairs++:"}"==i?e.inlinePairs--:"["==i?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!n&&","==i)return t.next(),"meta";if(e.inlinePairs>0&&!n&&","==i)return e.keyCol=0,e.pair=!1,e.pairStart=!1,t.next(),"meta";if(e.pairStart){if(t.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(0==e.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(e.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(r))return"keyword"}return!e.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=t.indentation(),"atom"):e.pair&&t.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped="\\"==i,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js b/static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js deleted file mode 100644 index c0f089cd1..000000000 --- a/static/web/_next/static/chunks/5473-ecd3fd646bf241fd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5473],{54907:function(e,n,t){t.d(n,{Z:function(){return S}});var a=t(87462),r=t(4942),o=t(18073),c=t(94184),l=t.n(c),i=t(74902),s=t(15671),d=t(43144),u=t(60136),p=t(33643),f=t(71002),v=t(67294),m=t(96774),h=t.n(m),C=t(50344),y=t(62874),Z=t(97685),b=v.forwardRef((function(e,n){var t,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,p=v.useState(d||o),f=(0,Z.Z)(p,2),m=f[0],h=f[1];return v.useEffect((function(){(o||d)&&h(!0)}),[o,d]),m?v.createElement("div",{ref:n,className:l()("".concat(a,"-content"),(t={},(0,r.Z)(t,"".concat(a,"-content-active"),d),(0,r.Z)(t,"".concat(a,"-content-inactive"),!d),t),c),style:i,role:u},v.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));b.displayName="PanelContent";var x=b,k=function(e){(0,u.Z)(t,e);var n=(0,p.Z)(t);function t(){var e;(0,s.Z)(this,t);for(var a=arguments.length,r=new Array(a),o=0;o-1?n.splice(t,1):n.push(e)}a.setActiveKey(n)},a.getNewChild=function(e,n){if(!e)return null;var t=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(n),p=e.props,f=p.header,m=p.headerClass,h=p.destroyInactivePanel,C=p.collapsible,y=null!==C&&void 0!==C?C:d,Z={key:u,panelKey:u,header:f,headerClass:m,isActive:l?t[0]===u:t.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(Z).forEach((function(e){"undefined"===typeof Z[e]&&delete Z[e]})),v.cloneElement(e,Z))},a.getItems=function(){var e=a.props.children;return(0,C.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:g(o)},a}return(0,d.Z)(t,[{key:"shouldComponentUpdate",value:function(e,n){return!h()(this.props,e)||!h()(this.state,n)}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls,a=n.className,o=n.style,c=n.accordion,i=l()((e={},(0,r.Z)(e,t,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var n={};return"activeKey"in e&&(n.activeKey=g(e.activeKey)),n}}]),t}(v.Component);E.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},E.Panel=N;var I=E,w=(E.Panel,t(98423)),P=t(53124),K=t(33603),A=t(96159),O=function(e){var n,t=v.useContext(P.E_),c=t.getPrefixCls,i=t.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,p=e.bordered,f=void 0===p||p,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,Z=c("collapse",s),b=v.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),x=l()("".concat(Z,"-icon-position-").concat(b),(n={},(0,r.Z)(n,"".concat(Z,"-borderless"),!f),(0,r.Z)(n,"".concat(Z,"-rtl"),"rtl"===i),(0,r.Z)(n,"".concat(Z,"-ghost"),!!m),n),u),k=(0,a.Z)((0,a.Z)({},K.ZP),{motionAppear:!1,leavedClassName:"".concat(Z,"-content-hidden")});return v.createElement(I,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.expandIcon,a=t?t(n):v.createElement(o.Z,{rotate:n.isActive?90:void 0});return(0,A.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(Z,"-arrow"))}}))},prefixCls:Z,className:x}),function(){var n=e.children;return(0,C.Z)(n).map((function(e,n){var t;if(null===(t=e.props)||void 0===t?void 0:t.disabled){var r=e.key||String(n),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,w.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,A.Tm)(e,i)}return e}))}())};O.Panel=function(e){var n=v.useContext(P.E_).getPrefixCls,t=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=n("collapse",t),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return v.createElement(I.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var S=O},94594:function(e,n,t){t.d(n,{Z:function(){return x}});var a=t(87462),r=t(4942),o=t(50888),c=t(94184),l=t.n(c),i=t(97685),s=t(45987),d=t(67294),u=t(21770),p=t(15105),f=d.forwardRef((function(e,n){var t,a=e.prefixCls,o=void 0===a?"rc-switch":a,c=e.className,f=e.checked,v=e.defaultChecked,m=e.disabled,h=e.loadingIcon,C=e.checkedChildren,y=e.unCheckedChildren,Z=e.onClick,b=e.onChange,x=e.onKeyDown,k=(0,s.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),N=(0,u.Z)(!1,{value:f,defaultValue:v}),g=(0,i.Z)(N,2),E=g[0],I=g[1];function w(e,n){var t=E;return m||(I(t=e),null===b||void 0===b||b(t,n)),t}var P=l()(o,c,(t={},(0,r.Z)(t,"".concat(o,"-checked"),E),(0,r.Z)(t,"".concat(o,"-disabled"),m),t));return d.createElement("button",Object.assign({},k,{type:"button",role:"switch","aria-checked":E,disabled:m,className:P,ref:n,onKeyDown:function(e){e.which===p.Z.LEFT?w(!1,e):e.which===p.Z.RIGHT&&w(!0,e),null===x||void 0===x||x(e)},onClick:function(e){var n=w(!E,e);null===Z||void 0===Z||Z(n,e)}}),h,d.createElement("span",{className:"".concat(o,"-inner")},E?C:y))}));f.displayName="Switch";var v=f,m=t(53124),h=t(98866),C=t(97647),y=t(68349),Z=function(e,n){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,i=r.prefixCls,s=r.openMotion,o=r.accordion,c=r.destroyInactivePanel,l=r.expandIcon,d=r.collapsible,u=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,f=p.destroyInactivePanel,A=p.collapsible,y=!1;y=o?n[0]===u:n.indexOf(u)>-1;var g=null!=A?A:d,x={key:u,panelKey:u,header:h,headerClass:m,isActive:y,prefixCls:i,destroyInactivePanel:null!=f?f:c,openMotion:s,accordion:o,children:e.props.children,onItemClick:"disabled"===g?null:a.onClickItem,expandIcon:l,collapsible:g};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),v.cloneElement(e,x))},a.getItems=function(){var e=a.props.children;return(0,A.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,i=e.defaultActiveKey;return"activeKey"in e&&(i=r),a.state={activeKey:C(i)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!f()(this.props,e)||!f()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,i=t.style,s=t.accordion,c=o()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:c,style:i,role:s?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=C(e.activeKey)),t}}]),n}(v.Component);Z.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},Z.Panel=b,Z.Panel;var N=n(98423),w=n(53124),E=n(33603),j=n(96159),I=function(e){var t=v.useContext(w.E_).getPrefixCls,n=e.prefixCls,i=e.className,s=e.showArrow,c=t("collapse",n),l=o()((0,r.Z)({},"".concat(c,"-no-arrow"),!(void 0===s||s)),void 0===i?"":i);return v.createElement(Z.Panel,(0,a.Z)({},e,{prefixCls:c,className:l}))},k=function(e){var t,n,s=v.useContext(w.E_),c=s.getPrefixCls,l=s.direction,d=e.prefixCls,u=e.className,p=e.bordered,h=e.ghost,m=e.expandIconPosition,f=void 0===m?"start":m,y=c("collapse",d),g=v.useMemo(function(){return"left"===f?"start":"right"===f?"end":f},[f]),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(i.Z,{rotate:t.isActive?90:void 0});return(0,j.Tm)(a,function(){return{className:o()(a.props.className,"".concat(y,"-arrow"))}})},b=o()("".concat(y,"-icon-position-").concat(g),(n={},(0,r.Z)(n,"".concat(y,"-borderless"),!(void 0===p||p)),(0,r.Z)(n,"".concat(y,"-rtl"),"rtl"===l),(0,r.Z)(n,"".concat(y,"-ghost"),!!h),n),void 0===u?"":u),C=(0,a.Z)((0,a.Z)({},E.ZP),{motionAppear:!1,leavedClassName:"".concat(y,"-content-hidden")});return v.createElement(Z,(0,a.Z)({openMotion:C},e,{expandIcon:x,prefixCls:y,className:b}),(t=e.children,(0,A.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),i=e.props,s=i.disabled,o=i.collapsible,c=(0,a.Z)((0,a.Z)({},(0,N.Z)(e.props,["disabled"])),{key:r,collapsible:null!=o?o:s?"disabled":void 0});return(0,j.Tm)(e,c)}return e})))};k.Panel=I;var O=k},11382:function(e,t,n){"use strict";var a=n(87462),r=n(4942),i=n(97685),s=n(94184),o=n.n(s),c=n(23279),l=n.n(c),d=n(98423),u=n(67294),p=n(53124),h=n(96159),v=n(93355),m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);rt.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};(0,v.b)("small","default","large");var f=null,A=function(e){var t=e.spinPrefixCls,n=e.spinning,s=void 0===n||n,c=e.delay,v=e.className,A=e.size,y=void 0===A?"default":A,g=e.tip,x=e.wrapperClassName,b=e.style,C=e.children,Z=m(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),N=u.useState(function(){return s&&(!s||!c||!!isNaN(Number(c)))}),w=(0,i.Z)(N,2),E=w[0],j=w[1];u.useEffect(function(){var e=l()(function(){j(s)},c);return e(),function(){var t;null===(t=null==e?void 0:e.cancel)||void 0===t||t.call(e)}},[c,s]);var I=function(n){var i,s,c,l=n.direction,p=o()(t,(c={},(0,r.Z)(c,"".concat(t,"-sm"),"small"===y),(0,r.Z)(c,"".concat(t,"-lg"),"large"===y),(0,r.Z)(c,"".concat(t,"-spinning"),E),(0,r.Z)(c,"".concat(t,"-show-text"),!!g),(0,r.Z)(c,"".concat(t,"-rtl"),"rtl"===l),c),v),m=(0,d.Z)(Z,["indicator","prefixCls"]),A=u.createElement("div",(0,a.Z)({},m,{style:b,className:p,"aria-live":"polite","aria-busy":E}),(i=e.indicator,s="".concat(t,"-dot"),null===i?null:(0,h.l$)(i)?(0,h.Tm)(i,{className:o()(i.props.className,s)}):(0,h.l$)(f)?(0,h.Tm)(f,{className:o()(f.props.className,s)}):u.createElement("span",{className:o()(s,"".concat(t,"-dot-spin"))},u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}),u.createElement("i",{className:"".concat(t,"-dot-item")}))),g?u.createElement("div",{className:"".concat(t,"-text")},g):null);if(void 0!==C){var N=o()("".concat(t,"-container"),(0,r.Z)({},"".concat(t,"-blur"),E));return u.createElement("div",(0,a.Z)({},m,{className:o()("".concat(t,"-nested-loading"),x)}),E&&u.createElement("div",{key:"loading"},A),u.createElement("div",{className:N,key:"container"},C))}return A};return u.createElement(p.C,null,I)},y=function(e){var t=e.prefixCls,n=(0,u.useContext(p.E_).getPrefixCls)("spin",t),r=(0,a.Z)((0,a.Z)({},e),{spinPrefixCls:n});return u.createElement(A,(0,a.Z)({},r))};y.setDefaultIndicator=function(e){f=e},t.Z=y},65535:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthModal:function(){return j}});var a=n(85893),r=n(84381),i=n(4480),s=n(54907),o=n(84485),c=n(11382),l=n(26713),d=n(14670),u=n(69677),p=n(67294),h=n(37174);let{Panel:v}=s.Z,{Link:m}=o.Z,f=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,o]=(0,p.useState)(null),[f,A]=(0,p.useState)(!1),[y,g]=(0,p.useState)(!1),[x,b]=(0,p.useState)(""),C=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Use your own domain to authenticate ",(0,a.jsx)("span",{children:n})," or login as a previously"," ","authenticated chat user using IndieAuth."]}),Z=i;Z&&Z.includes("url does not support indieauth")&&(Z="The provided URL is either invalid or does not support IndieAuth.");let N=e=>{if(!(0,h.Z)(e)||!e.includes(".")){g(!1);return}g(!0)},w=e=>{let t=e.nativeEvent.data;if(":"===t)return;b(e.target.value);let n="https://".concat(e.target.value);N(n)},E=async()=>{if(y){A(!0);try{let e=await fetch("/api/auth/indieauth?accessToken=".concat(r),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({authHost:"https://".concat(x)})}),t=await e.json();if(t.message){o(t.message),A(!1);return}if(!t.redirect){o("Auth provider did not return a redirect URL."),A(!1);return}if(t.redirect){let{redirect:n}=t;window.location=n}}catch(a){o(a.message)}A(!1)}};return(0,a.jsx)(c.Z,{spinning:f,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[C,Z&&(0,a.jsx)(d.Z,{message:"Error",description:Z,type:"error",showIcon:!0}),(0,a.jsx)("div",{children:"Your domain"}),(0,a.jsx)(u.Z.Search,{addonBefore:"https://",onInput:w,type:"url",value:x,placeholder:"yoursite.com",status:!y&&x.length>0?"error":void 0,onSearch:E}),(0,a.jsx)(s.Z,{ghost:!0,children:(0,a.jsxs)(v,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,a.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,a.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,a.jsx)(m,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var A=n(71577),y=n(50501),g=n.n(y);let{Panel:x}=s.Z,b=e=>{let{authenticated:t,displayName:n,accessToken:r}=e,[i,o]=(0,p.useState)(null),[h,v]=(0,p.useState)(!1),[m,f]=(0,p.useState)(!1),[y,b]=(0,p.useState)(""),[C,Z]=(0,p.useState)(""),[N,w]=(0,p.useState)(!1),E=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,a.jsx)("strong",{children:n}),", or login as a previously linked chat user."]}),j=i;j&&j.includes("url does not support indieauth")&&(j="The provided URL is either invalid or does not support IndieAuth.");let I=e=>{f(function(e){let t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e))},k=e=>{b(e.target.value),I(e.target.value)},O=async(e,t)=>{let n=await fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}),a=await n.json();a.message&&(o(a.message),v(!1))},S=async()=>{v(!0);try{await O("/api/auth/fediverse/verify?accessToken=".concat(r),{code:C}),window.location.href="/"}catch(e){console.error(e),o(e)}v(!1)},P=async()=>{if(!m)return;v(!0),o(null);let e=y.replace(/^@+/,"");try{await O("/api/auth/fediverse?accessToken=".concat(r),{account:e}),w(!0)}catch(t){console.error(t),o(t)}v(!1)},T=(0,a.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,a.jsxs)("div",{className:g().codeInputContainer,children:[(0,a.jsx)(u.Z,{value:C,onChange:e=>Z(e.target.value),className:g().codeInput,placeholder:"123456",maxLength:6}),(0,a.jsx)(A.Z,{type:"primary",onClick:S,disabled:C.length<6,className:g().submitButton,children:"Verify Code"})]})]}),U=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"Your Fediverse Account"}),(0,a.jsx)(u.Z.Search,{addonBefore:"@",onInput:k,value:y,placeholder:"youraccount@yourserver.com",status:!m&&y.length>0?"error":void 0,onSearch:P})]});return(0,a.jsx)(c.Z,{spinning:h,children:(0,a.jsxs)(l.Z,{direction:"vertical",children:[E,j&&(0,a.jsx)(d.Z,{message:"Error",description:j,type:"error",showIcon:!0}),N?T:U,(0,a.jsx)(s.Z,{ghost:!0,children:(0,a.jsx)(x,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,a.jsx)("p",{children:"xxxxxx"})},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})};var C={src:"/_next/static/media/fediverse-black.0b51c805.png",height:100,width:100,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAOVBMVEVMaXEbGxsREREQEBAPDw8NDQ0FBQUQEBAQEBAUFBQNDQ0REREVFRUQEBAODg4UFBQUFBQHBwcNDQ1DUQGwAAAAE3RSTlMAC2QvWeDEnZQbSn15tW2ri/pAr8wTOgAAAAlwSFlzAAAD6AAAA+gBtXtSawAAAD1JREFUeJwdy0cOgDAMAMGNS2yHFPj/Z0GcRwMwegNaWbgB3WfmZSArZd7eqR0qEYM6GT/pc/bygqal8v0XMgEBhHcrytIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},Z={src:"/_next/static/media/indieauth.38c52a3d.png",height:512,width:406,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAJFBMVEU4ODg4ODg5OTk5OTk5OTk4ODg5OTk4ODg5OTk5OTk5OTk4ODiRUFfYAAAAC3RSTlMCFOuovTv1zI8wabTrOYwAAAAJcEhZcwAAA+gAAAPoAbV7UmsAAAAsSURBVHicBcGFAQAwDMCg1Gb5/98BHG1gd2UQGeQwVvl4ujyUEzbbi8nyhn4bVgEfoFU38wAAAABJRU5ErkJggg==",blurWidth:6,blurHeight:8},N=n(54639),w=n.n(N),E=n(77466);let j=()=>{let e=(0,i.sJ)(E.L4),t=(0,i.sJ)(E.FI),n=(0,i.sJ)(E.db);if(!n)return null;let{displayName:s}=n,o=(0,a.jsxs)("span",{className:w().tabContent,children:[(0,a.jsx)("img",{className:w().icon,src:Z.src,alt:"IndieAuth"}),"IndieAuth"]}),c=(0,a.jsx)(f,{authenticated:e,displayName:s,accessToken:t}),l=(0,a.jsxs)("span",{className:w().tabContent,children:[(0,a.jsx)("img",{className:w().icon,src:C.src,alt:"Fediverse auth"}),"FediAuth"]}),d=(0,a.jsx)(b,{authenticated:e,displayName:s,accessToken:t});return(0,a.jsx)("div",{children:(0,a.jsx)(r.Z,{defaultActiveKey:"1",items:[{label:o,key:"1",children:c},{label:l,key:"2",children:d}],type:"card",size:"small",renderTabBar:null})})}},54639:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},50501:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5648.bdb1004d22f7e037.js b/static/web/_next/static/chunks/5648.267f082c55c2b106.js similarity index 60% rename from static/web/_next/static/chunks/5648.bdb1004d22f7e037.js rename to static/web/_next/static/chunks/5648.267f082c55c2b106.js index 4d711524d..0c4c898e4 100644 --- a/static/web/_next/static/chunks/5648.bdb1004d22f7e037.js +++ b/static/web/_next/static/chunks/5648.267f082c55c2b106.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5648],{15648:function(e,t,n){n.r(t),n.d(t,{asterisk:function(){return o}});var a=["exten","same","include","ignorepat","switch"],i=["#include","#exec"],r=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];const o={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,t){var n="";return e.eatSpace()?null:t.extenStart?(e.eatWhile(/[^\s]/),n=e.current(),/^=>?$/.test(n)?(t.extenExten=!0,t.extenStart=!1,"strong"):(t.extenStart=!1,e.skipToEnd(),"error")):t.extenExten?(t.extenExten=!1,t.extenPriority=!0,e.eatWhile(/[^,]/),t.extenInclude&&(e.skipToEnd(),t.extenPriority=!1,t.extenInclude=!1),t.extenSame&&(t.extenPriority=!1,t.extenSame=!1,t.extenApplication=!0),"tag"):t.extenPriority?(t.extenPriority=!1,t.extenApplication=!0,e.next(),t.extenSame?null:(e.eatWhile(/[^,]/),"number")):t.extenApplication?(e.eatWhile(/,/),","===(n=e.current())?null:(e.eatWhile(/\w/),n=e.current().toLowerCase(),t.extenApplication=!1,-1!==r.indexOf(n)?"def":null)):function(e,t){var n="",r=e.next();if(t.blockComment)return"-"==r&&e.match("-;",!0)?t.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),t.blockComment=!1):e.skipToEnd(),"comment";if(";"==r)return e.match("--",!0)&&!e.match("-",!1)?(t.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if("["==r)return e.skipTo("]"),e.eat("]"),"header";if('"'==r)return e.skipTo('"'),"string";if("'"==r)return e.skipTo("'"),"string.special";if("#"==r&&(e.eatWhile(/\w/),n=e.current(),-1!==i.indexOf(n)))return e.skipToEnd(),"strong";if("$"==r&&"{"==e.peek())return e.skipTo("}"),e.eat("}"),"variableName.special";if(e.eatWhile(/\w/),n=e.current(),-1!==a.indexOf(n)){switch(t.extenStart=!0,n){case"same":t.extenSame=!0;break;case"include":case"switch":case"ignorepat":t.extenInclude=!0}return"atom"}}(e,t)},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5648],{15648:function(e,t,n){n.r(t),n.d(t,{asterisk:function(){return o}});var a=["exten","same","include","ignorepat","switch"],i=["#include","#exec"],r=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];let o={name:"asterisk",startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,t){var n="";return e.eatSpace()?null:t.extenStart?(e.eatWhile(/[^\s]/),n=e.current(),/^=>?$/.test(n))?(t.extenExten=!0,t.extenStart=!1,"strong"):(t.extenStart=!1,e.skipToEnd(),"error"):t.extenExten?(t.extenExten=!1,t.extenPriority=!0,e.eatWhile(/[^,]/),t.extenInclude&&(e.skipToEnd(),t.extenPriority=!1,t.extenInclude=!1),t.extenSame&&(t.extenPriority=!1,t.extenSame=!1,t.extenApplication=!0),"tag"):t.extenPriority?(t.extenPriority=!1,t.extenApplication=!0,e.next(),t.extenSame)?null:(e.eatWhile(/[^,]/),"number"):t.extenApplication?(e.eatWhile(/,/),","===(n=e.current()))?null:(e.eatWhile(/\w/),n=e.current().toLowerCase(),t.extenApplication=!1,-1!==r.indexOf(n))?"def":null:function(e,t){var n="",r=e.next();if(t.blockComment)return"-"==r&&e.match("-;",!0)?t.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),t.blockComment=!1):e.skipToEnd(),"comment";if(";"==r)return e.match("--",!0)&&!e.match("-",!1)?(t.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if("["==r)return e.skipTo("]"),e.eat("]"),"header";if('"'==r)return e.skipTo('"'),"string";if("'"==r)return e.skipTo("'"),"string.special";if("#"==r&&(e.eatWhile(/\w/),n=e.current(),-1!==i.indexOf(n)))return e.skipToEnd(),"strong";if("$"==r&&"{"==e.peek())return e.skipTo("}"),e.eat("}"),"variableName.special";if(e.eatWhile(/\w/),n=e.current(),-1!==a.indexOf(n)){switch(t.extenStart=!0,n){case"same":t.extenSame=!0;break;case"include":case"switch":case"ignorepat":t.extenInclude=!0}return"atom"}}(e,t)},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5753.b7dbc47d5bb85861.js b/static/web/_next/static/chunks/5753.b7dbc47d5bb85861.js new file mode 100644 index 000000000..587e5a1f1 --- /dev/null +++ b/static/web/_next/static/chunks/5753.b7dbc47d5bb85861.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5753],{35753:function(e,t,n){n.r(t),n.d(t,{xQuery:function(){return y}});var r=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("operator"),n={type:"atom",style:"atom"},r={type:"axis_specifier",style:"qualifier"},a={",":{type:"punctuation",style:null}},i=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],s=0,o=i.length;s",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],s=0,o=u.length;s\"\'\/?]/);)b+=v;return a(e,t,(h=b,function(e,t){return(e.eatSpace(),k&&e.eat(">"))?(d(t),t.tokenize=i,"tag"):(e.eat("/")||g(t,{type:"tag",name:h,tokenize:i}),e.eat(">")?t.tokenize=i:t.tokenize=u,"tag")}))}if("{"==n)return g(t,{type:"codeblock"}),null;if("}"==n)return d(t),null;if(x(t,"tag"))return">"==n?"tag":"/"==n&&e.eat(">")?(d(t),"tag"):"variable";if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===n&&e.eat(":"))return g(t,{type:"comment"}),a(e,t,s);if(!y&&('"'===n||"'"===n))return a(e,t,o(n));if("$"===n)return a(e,t,c);if(":"===n&&e.eat("="))return"keyword";if("("===n)return g(t,{type:"paren"}),null;if(")"===n)return d(t),null;if("["===n)return g(t,{type:"bracket"}),null;if("]"===n)return d(t),null;var z=r.propertyIsEnumerable(n)&&r[n];if(y&&'"'===n)for(;'"'!==e.next(););if(y&&"'"===n)for(;"'"!==e.next(););z||e.eatWhile(/[\w\$_-]/);var w=e.eat(":");!e.eat(":")&&w&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(m=!0);var I=e.current();return(z=r.propertyIsEnumerable(I)&&r[I],m&&!z&&(z={type:"function_call",style:"def"}),x(t,"xmlconstructor"))?(d(t),"variable"):(("element"==I||"attribute"==I||"axis_specifier"==z.type)&&g(t,{type:"xmlconstructor"}),z?z.style:"variable")}function s(e,t){for(var n,r=!1,a=!1,i=0;n=e.next();){if(")"==n&&r){if(i>0)i--;else{d(t);break}}else":"==n&&a&&i++;r=":"==n,a="("==n}return"comment"}function o(e,t){return function(n,r){var a;if(x(r,"string")&&n.current()==e)return d(r),t&&(r.tokenize=t),"string";if(g(r,{type:"string",name:e,tokenize:o(e,t)}),n.match("{",!1)&&m(r))return r.tokenize=i,"string";for(;a=n.next();){if(a==e){d(r),t&&(r.tokenize=t);break}if(n.match("{",!1)&&m(r)){r.tokenize=i;break}}return"string"}}function c(e,t){var n=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(n),e.match(":=",!1)||e.eat(":");return e.eatWhile(n),t.tokenize=i,"variable"}function u(e,t){var n=e.next();return"/"==n&&e.eat(">")?(m(t)&&d(t),x(t,"tag")&&d(t),"tag"):">"==n?(m(t)&&d(t),"tag"):"="==n?null:'"'==n||"'"==n?a(e,t,o(n,u)):(m(t)||g(t,{type:"attribute",tokenize:u}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(d(t),t.tokenize=i),"attribute")}function l(e,t){for(var n;n=e.next();)if("-"==n&&e.match("->",!0))return t.tokenize=i,"comment"}function f(e,t){for(var n;n=e.next();)if("]"==n&&e.match("]",!0))return t.tokenize=i,"comment"}function p(e,t){for(var n;n=e.next();)if("?"==n&&e.match(">",!0))return t.tokenize=i,"processingInstruction"}function m(e){return x(e,"attribute")}function x(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function g(e,t){e.stack.push(t)}function d(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||i}let y={name:"xquery",startState:function(){return{tokenize:i,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5753.cfc5660346a9f9da.js b/static/web/_next/static/chunks/5753.cfc5660346a9f9da.js deleted file mode 100644 index 61229d4ca..000000000 --- a/static/web/_next/static/chunks/5753.cfc5660346a9f9da.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5753],{35753:function(e,t,n){n.r(t),n.d(t,{xQuery:function(){return h}});var r=function(){function e(e){return{type:e,style:"keyword"}}for(var t=e("operator"),n={type:"atom",style:"atom"},r={type:"axis_specifier",style:"qualifier"},a={",":{type:"punctuation",style:null}},i=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],s=0,o=i.length;s",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(s=0,o=u.length;s\"\'\/?]/);)b+=v;return a(e,t,function(e,t){return function(n,r){return n.eatSpace(),t&&n.eat(">")?(y(r),r.tokenize=i,"tag"):(n.eat("/")||d(r,{type:"tag",name:e,tokenize:i}),n.eat(">")?(r.tokenize=i,"tag"):(r.tokenize=u,"tag"))}}(b,k))}if("{"==n)return d(t,{type:"codeblock"}),null;if("}"==n)return y(t),null;if(m(t))return">"==n?"tag":"/"==n&&e.eat(">")?(y(t),"tag"):"variable";if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===n&&e.eat(":"))return d(t,{type:"comment"}),a(e,t,s);if(h||'"'!==n&&"'"!==n){if("$"===n)return a(e,t,c);if(":"===n&&e.eat("="))return"keyword";if("("===n)return d(t,{type:"paren"}),null;if(")"===n)return y(t),null;if("["===n)return d(t,{type:"bracket"}),null;if("]"===n)return y(t),null;var z=r.propertyIsEnumerable(n)&&r[n];if(h&&'"'===n)for(;'"'!==e.next(););if(h&&"'"===n)for(;"'"!==e.next(););z||e.eatWhile(/[\w\$_-]/);var w=e.eat(":");!e.eat(":")&&w&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(g=!0);var I=e.current();return z=r.propertyIsEnumerable(I)&&r[I],g&&!z&&(z={type:"function_call",style:"def"}),function(e){return x(e,"xmlconstructor")}(t)?(y(t),"variable"):("element"!=I&&"attribute"!=I&&"axis_specifier"!=z.type||d(t,{type:"xmlconstructor"}),z?z.style:"variable")}return a(e,t,o(n))}function s(e,t){for(var n,r=!1,a=!1,i=0;n=e.next();){if(")"==n&&r){if(!(i>0)){y(t);break}i--}else":"==n&&a&&i++;r=":"==n,a="("==n}return"comment"}function o(e,t){return function(n,r){var a;if(function(e){return x(e,"string")}(r)&&n.current()==e)return y(r),t&&(r.tokenize=t),"string";if(d(r,{type:"string",name:e,tokenize:o(e,t)}),n.match("{",!1)&&g(r))return r.tokenize=i,"string";for(;a=n.next();){if(a==e){y(r),t&&(r.tokenize=t);break}if(n.match("{",!1)&&g(r))return r.tokenize=i,"string"}return"string"}}function c(e,t){var n=/[\w\$_-]/;if(e.eat('"')){for(;'"'!==e.next(););e.eat(":")}else e.eatWhile(n),e.match(":=",!1)||e.eat(":");return e.eatWhile(n),t.tokenize=i,"variable"}function u(e,t){var n=e.next();return"/"==n&&e.eat(">")?(g(t)&&y(t),m(t)&&y(t),"tag"):">"==n?(g(t)&&y(t),"tag"):"="==n?null:'"'==n||"'"==n?a(e,t,o(n,u)):(g(t)||d(t,{type:"attribute",tokenize:u}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(y(t),t.tokenize=i),"attribute")}function l(e,t){for(var n;n=e.next();)if("-"==n&&e.match("->",!0))return t.tokenize=i,"comment"}function f(e,t){for(var n;n=e.next();)if("]"==n&&e.match("]",!0))return t.tokenize=i,"comment"}function p(e,t){for(var n;n=e.next();)if("?"==n&&e.match(">",!0))return t.tokenize=i,"processingInstruction"}function m(e){return x(e,"tag")}function g(e){return x(e,"attribute")}function x(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function d(e,t){e.stack.push(t)}function y(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||i}const h={name:"xquery",startState:function(){return{tokenize:i,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5815.a2728b3992c996c3.js b/static/web/_next/static/chunks/5815.a2728b3992c996c3.js new file mode 100644 index 000000000..911fbfec6 --- /dev/null +++ b/static/web/_next/static/chunks/5815.a2728b3992c996c3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5815],{15815:function(t,e,n){function o(t){return RegExp("^(?:"+t.join("|")+")$","i")}n.r(e),n.d(e,{turtle:function(){return f}}),o([]);var r,i=o(["@prefix","@base","a"]),c=/[*+\-<>=&|]/;function a(t,e){var n,o=t.next();if(r=null,"<"==o&&!t.match(/^[\s\u00a0=]/,!1))return t.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==o||"'"==o)return e.tokenize=function(t,e){for(var n,r=!1;null!=(n=t.next());){if(n==o&&!r){e.tokenize=a;break}r=!r&&"\\"==n}return"string"},e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(o))return r=o,null;if("#"==o)return t.skipToEnd(),"comment";if(c.test(o))return t.eatWhile(c),null;if(":"==o)return"operator";if(t.eatWhile(/[_\w\d]/),":"==t.peek())return"variableName.special";var n=t.current();return i.test(n)?"meta":o>="A"&&o<="Z"?"comment":"keyword"}function l(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function u(t){t.indent=t.context.indent,t.context=t.context.prev}let f={name:"turtle",startState:function(){return{tokenize:a,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==r)l(e,")",t.column());else if("["==r)l(e,"]",t.column());else if("{"==r)l(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"==e.context.type;)u(e);e.context&&r==e.context.type&&u(e)}else"."==r&&e.context&&"pattern"==e.context.type?u(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5815.be0dfad15e8f26d6.js b/static/web/_next/static/chunks/5815.be0dfad15e8f26d6.js deleted file mode 100644 index 5fd5e28dc..000000000 --- a/static/web/_next/static/chunks/5815.be0dfad15e8f26d6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5815],{15815:function(t,e,n){var o;function r(t){return new RegExp("^(?:"+t.join("|")+")$","i")}n.r(e),n.d(e,{turtle:function(){return f}});r([]);var c=r(["@prefix","@base","a"]),i=/[*+\-<>=&|]/;function a(t,e){var n,r=t.next();if(o=null,"<"!=r||t.match(/^[\s\u00a0=]/,!1)){if('"'==r||"'"==r)return e.tokenize=(n=r,function(t,e){for(var o,r=!1;null!=(o=t.next());){if(o==n&&!r){e.tokenize=a;break}r=!r&&"\\"==o}return"string"}),e.tokenize(t,e);if(/[{}\(\),\.;\[\]]/.test(r))return o=r,null;if("#"==r)return t.skipToEnd(),"comment";if(i.test(r))return t.eatWhile(i),null;if(":"==r)return"operator";if(t.eatWhile(/[_\w\d]/),":"==t.peek())return"variableName.special";var l=t.current();return c.test(l)?"meta":r>="A"&&r<="Z"?"comment":"keyword"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function l(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function u(t){t.indent=t.context.indent,t.context=t.context.prev}const f={name:"turtle",startState:function(){return{tokenize:a,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!=n&&e.context&&null==e.context.align&&"pattern"!=e.context.type&&(e.context.align=!0),"("==o)l(e,")",t.column());else if("["==o)l(e,"]",t.column());else if("{"==o)l(e,"}",t.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&"pattern"==e.context.type;)u(e);e.context&&o==e.context.type&&u(e)}else"."==o&&e.context&&"pattern"==e.context.type?u(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",t.column()):"pattern"!=e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(t,e,n){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var c=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(c?0:1):r.indent+(c?0:n.unit):0},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5819.a59443e62006c745.js b/static/web/_next/static/chunks/5819.a59443e62006c745.js new file mode 100644 index 000000000..15f84ac1d --- /dev/null +++ b/static/web/_next/static/chunks/5819.a59443e62006c745.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5819],{5819:function(e,t,n){function r(e){for(var t={},n=e.split(","),r=0;rinteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),u=o("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function m(e,t,n){this.indent=e,this.type=t,this.prev=n}function p(e,t,n){e.indentStack=new m(t,n,e.indentStack)}var f=RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),h=RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),g=RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),x=RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function b(e){return e.match(f)}function k(e){return e.match(h)}function v(e,t){return!0===t&&e.backUp(1),e.match(x)}function y(e){return e.match(g)}function E(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t.token&&!r){t.state.mode=!1;break}r=!r&&"\\"==n}}let w={name:"scheme",startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(t.mode){case"string":E(e,{token:'"',state:t}),n=a;break;case"symbol":E(e,{token:"|",state:t}),n=i;break;case"comment":for(var o,m=!1;null!=(o=e.next());){if("#"==o&&m){t.mode=!1;break}m="|"==o}n=r;break;case"s-expr-comment":if(t.mode=!1,"("==e.peek()||"["==e.peek())t.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),n=r;break}default:var f=e.next();if('"'==f)t.mode="string",n=a;else if("'"==f)"("==e.peek()||"["==e.peek()?("number"!=typeof t.sExprQuote&&(t.sExprQuote=0),n=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=s);else if("|"==f)t.mode="symbol",n=i;else if("#"==f){if(e.eat("|"))t.mode="comment",n=r;else if(e.eat(/[tf]/i))n=s;else if(e.eat(";"))t.mode="s-expr-comment",n=r;else{var h=null,g=!1,x=!0;e.eat(/[ei]/i)?g=!0:e.backUp(1),e.match(/^#b/i)?h=b:e.match(/^#o/i)?h=k:e.match(/^#x/i)?h=y:e.match(/^#d/i)?h=v:e.match(/^[-+0-9.]/,!1)?(x=!1,h=v):g||e.eat("#"),null!=h&&(x&&!g&&e.match(/^#[ei]/i),h(e)&&(n=c))}}else if(/^[-+0-9.]/.test(f)&&v(e,!0))n=c;else if(";"==f)e.skipToEnd(),n=r;else if("("==f||"["==f){for(var w,S="",q=e.column();null!=(w=e.eat(/[^\s\(\[\;\)\]]/));)S+=w;S.length>0&&u.propertyIsEnumerable(S)?p(t,q+2,f):(e.eatSpace(),e.eol()||";"==e.peek()?p(t,q+1,f):p(t,q+e.current().length,f)),e.backUp(e.current().length-1),"number"==typeof t.sExprComment&&t.sExprComment++,"number"==typeof t.sExprQuote&&t.sExprQuote++,n=l}else")"==f||"]"==f?(n=l,null!=t.indentStack&&t.indentStack.type==(")"==f?"(":"[")&&(t.indentStack=t.indentStack.prev,"number"==typeof t.sExprComment&&0==--t.sExprComment&&(n=r,t.sExprComment=!1),"number"==typeof t.sExprQuote&&0==--t.sExprQuote&&(n=s,t.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=d&&d.propertyIsEnumerable(e.current())?"builtin":"variable")}return"number"==typeof t.sExprComment?r:"number"==typeof t.sExprQuote?s:n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5879.92dfa35cb68955ba.js b/static/web/_next/static/chunks/5879.92dfa35cb68955ba.js deleted file mode 100644 index ebb96643a..000000000 --- a/static/web/_next/static/chunks/5879.92dfa35cb68955ba.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5879],{95879:function(e,t,n){n.r(t),n.d(t,{scheme:function(){return E}});var r="comment",a="string",i="symbol",s="atom",c="number",l="bracket";function o(e){for(var t={},n=e.split(" "),r=0;rinteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),u=o("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function m(e,t,n){this.indent=e,this.type=t,this.prev=n}function p(e,t,n){e.indentStack=new m(t,n,e.indentStack)}var f=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),h=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),g=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),x=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function b(e){return e.match(f)}function k(e){return e.match(h)}function v(e,t){return!0===t&&e.backUp(1),e.match(x)}function y(e){return e.match(g)}function w(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t.token&&!r){t.state.mode=!1;break}r=!r&&"\\"==n}}const E={name:"scheme",startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,t){if(null==t.indentStack&&e.sol()&&(t.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(t.mode){case"string":w(e,{token:'"',state:t}),n=a;break;case"symbol":w(e,{token:"|",state:t}),n=i;break;case"comment":for(var o,m=!1;null!=(o=e.next());){if("#"==o&&m){t.mode=!1;break}m="|"==o}n=r;break;case"s-expr-comment":if(t.mode=!1,"("!=e.peek()&&"["!=e.peek()){e.eatWhile(/[^\s\(\)\[\]]/),n=r;break}t.sExprComment=0;default:var f=e.next();if('"'==f)t.mode="string",n=a;else if("'"==f)"("==e.peek()||"["==e.peek()?("number"!=typeof t.sExprQuote&&(t.sExprQuote=0),n=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=s);else if("|"==f)t.mode="symbol",n=i;else if("#"==f)if(e.eat("|"))t.mode="comment",n=r;else if(e.eat(/[tf]/i))n=s;else if(e.eat(";"))t.mode="s-expr-comment",n=r;else{var h=null,g=!1,x=!0;e.eat(/[ei]/i)?g=!0:e.backUp(1),e.match(/^#b/i)?h=b:e.match(/^#o/i)?h=k:e.match(/^#x/i)?h=y:e.match(/^#d/i)?h=v:e.match(/^[-+0-9.]/,!1)?(x=!1,h=v):g||e.eat("#"),null!=h&&(x&&!g&&e.match(/^#[ei]/i),h(e)&&(n=c))}else if(/^[-+0-9.]/.test(f)&&v(e,!0))n=c;else if(";"==f)e.skipToEnd(),n=r;else if("("==f||"["==f){for(var E,S="",q=e.column();null!=(E=e.eat(/[^\s\(\[\;\)\]]/));)S+=E;S.length>0&&u.propertyIsEnumerable(S)?p(t,q+2,f):(e.eatSpace(),e.eol()||";"==e.peek()?p(t,q+1,f):p(t,q+e.current().length,f)),e.backUp(e.current().length-1),"number"==typeof t.sExprComment&&t.sExprComment++,"number"==typeof t.sExprQuote&&t.sExprQuote++,n=l}else")"==f||"]"==f?(n=l,null!=t.indentStack&&t.indentStack.type==(")"==f?"(":"[")&&(!function(e){e.indentStack=e.indentStack.prev}(t),"number"==typeof t.sExprComment&&0==--t.sExprComment&&(n=r,t.sExprComment=!1),"number"==typeof t.sExprQuote&&0==--t.sExprQuote&&(n=s,t.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=d&&d.propertyIsEnumerable(e.current())?"builtin":"variable")}return"number"==typeof t.sExprComment?r:"number"==typeof t.sExprQuote?s:n},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5938-b5bac17e4fa31c49.js b/static/web/_next/static/chunks/5938-b5bac17e4fa31c49.js new file mode 100644 index 000000000..019897498 --- /dev/null +++ b/static/web/_next/static/chunks/5938-b5bac17e4fa31c49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5938],{49474:function(t,r,n){n.d(r,{Z:function(){return o}});var e=n(19013),a=n(13882);function o(t,r){(0,a.Z)(2,arguments);var n=(0,e.Z)(t),o=(0,e.Z)(r),u=n.getTime()-o.getTime();return u<0?-1:u>0?1:u}},82161:function(t,r,n){n.d(r,{Z:function(){return u}});var e=n(19013),a=n(13882),o=n(49474);function u(t,r){(0,a.Z)(2,arguments);var n,u=(0,e.Z)(t),i=(0,e.Z)(r),s=(0,o.Z)(u,i),f=Math.abs(function(t,r){(0,a.Z)(2,arguments);var n=(0,e.Z)(t),o=(0,e.Z)(r);return 12*(n.getFullYear()-o.getFullYear())+(n.getMonth()-o.getMonth())}(u,i));if(f<1)n=0;else{1===u.getMonth()&&u.getDate()>27&&u.setDate(30),u.setMonth(u.getMonth()-s*f);var c=(0,o.Z)(u,i)===-s;(function(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t);return(function(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t);return r.setHours(23,59,59,999),r})(r).getTime()===(function(t){(0,a.Z)(1,arguments);var r=(0,e.Z)(t),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r})(r).getTime()})((0,e.Z)(t))&&1===f&&1===(0,o.Z)(t,i)&&(c=!1),n=s*(f-Number(c))}return 0===n?0:n}},45938:function(t,r,n){n.d(r,{Z:function(){return Z}});var e=n(84314),a=n(49474),o=n(82161),u=n(11699),i=n(86559),s=n(19013);function f(t,r){if(null==t)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var c=n(24262),l=n(13882);function Z(t,r){return(0,l.Z)(1,arguments),function(t,r,n){(0,l.Z)(2,arguments);var Z,m,h,D,d,v=(0,e.j)(),M=null!==(Z=null!==(m=null==n?void 0:n.locale)&&void 0!==m?m:v.locale)&&void 0!==Z?Z:i.Z;if(!M.formatDistance)throw RangeError("locale must contain formatDistance property");var g=(0,a.Z)(t,r);if(isNaN(g))throw RangeError("Invalid time value");var p=f(f({},n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:g});g>0?(h=(0,s.Z)(r),D=(0,s.Z)(t)):(h=(0,s.Z)(t),D=(0,s.Z)(r));var X=(0,u.Z)(D,h),b=Math.round((X-((0,c.Z)(D)-(0,c.Z)(h))/1e3)/60);if(b<2){if(null!=n&&n.includeSeconds){if(X<5)return M.formatDistance("lessThanXSeconds",5,p);if(X<10)return M.formatDistance("lessThanXSeconds",10,p);if(X<20)return M.formatDistance("lessThanXSeconds",20,p);if(X<40)return M.formatDistance("halfAMinute",0,p);else if(X<60)return M.formatDistance("lessThanXMinutes",1,p);else return M.formatDistance("xMinutes",1,p)}return 0===b?M.formatDistance("lessThanXMinutes",1,p):M.formatDistance("xMinutes",b,p)}if(b<45)return M.formatDistance("xMinutes",b,p);if(b<90)return M.formatDistance("aboutXHours",1,p);if(b<1440)return M.formatDistance("aboutXHours",Math.round(b/60),p);if(b<2520)return M.formatDistance("xDays",1,p);if(b<43200)return M.formatDistance("xDays",Math.round(b/1440),p);if(b<86400)return d=Math.round(b/43200),M.formatDistance("aboutXMonths",d,p);if((d=(0,o.Z)(D,h))<12)return M.formatDistance("xMonths",Math.round(b/43200),p);var T=d%12,x=Math.floor(d/12);return T<3?M.formatDistance("aboutXYears",x,p):T<9?M.formatDistance("overXYears",x,p):M.formatDistance("almostXYears",x+1,p)}(t,Date.now(),r)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/5938-b8bf626b6df6d168.js b/static/web/_next/static/chunks/5938-b8bf626b6df6d168.js deleted file mode 100644 index a255d7fc2..000000000 --- a/static/web/_next/static/chunks/5938-b8bf626b6df6d168.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5938],{49474:function(t,n,r){r.d(n,{Z:function(){return o}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getTime()-o.getTime();return u<0?-1:u>0?1:u}},82161:function(t,n,r){r.d(n,{Z:function(){return c}});var e=r(19013),a=r(13882);function o(t,n){(0,a.Z)(2,arguments);var r=(0,e.Z)(t),o=(0,e.Z)(n),u=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return 12*u+i}var u=r(49474);function i(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return n.setHours(23,59,59,999),n}function s(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function f(t){(0,a.Z)(1,arguments);var n=(0,e.Z)(t);return i(n).getTime()===s(n).getTime()}function c(t,n){(0,a.Z)(2,arguments);var r,i=(0,e.Z)(t),s=(0,e.Z)(n),c=(0,u.Z)(i,s),l=Math.abs(o(i,s));if(l<1)r=0;else{1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-c*l);var Z=(0,u.Z)(i,s)===-c;f((0,e.Z)(t))&&1===l&&1===(0,u.Z)(t,s)&&(Z=!1),r=c*(l-Number(Z))}return 0===r?0:r}},45938:function(t,n,r){r.d(n,{Z:function(){return d}});var e=r(84314),a=r(49474),o=r(82161),u=r(11699),i=r(86559),s=r(19013);function f(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}function c(t){return f({},t)}var l=r(24262),Z=r(13882),v=1440,m=43200;function h(t,n,r){var h,d;(0,Z.Z)(2,arguments);var D=(0,e.j)(),M=null!==(h=null!==(d=null===r||void 0===r?void 0:r.locale)&&void 0!==d?d:D.locale)&&void 0!==h?h:i.Z;if(!M.formatDistance)throw new RangeError("locale must contain formatDistance property");var g=(0,a.Z)(t,n);if(isNaN(g))throw new RangeError("Invalid time value");var p,X,b=f(c(r),{addSuffix:Boolean(null===r||void 0===r?void 0:r.addSuffix),comparison:g});g>0?(p=(0,s.Z)(n),X=(0,s.Z)(t)):(p=(0,s.Z)(t),X=(0,s.Z)(n));var w,T=(0,u.Z)(X,p),x=((0,l.Z)(X)-(0,l.Z)(p))/1e3,Y=Math.round((T-x)/60);if(Y<2)return null!==r&&void 0!==r&&r.includeSeconds?T<5?M.formatDistance("lessThanXSeconds",5,b):T<10?M.formatDistance("lessThanXSeconds",10,b):T<20?M.formatDistance("lessThanXSeconds",20,b):T<40?M.formatDistance("halfAMinute",0,b):T<60?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",1,b):0===Y?M.formatDistance("lessThanXMinutes",1,b):M.formatDistance("xMinutes",Y,b);if(Y<45)return M.formatDistance("xMinutes",Y,b);if(Y<90)return M.formatDistance("aboutXHours",1,b);if(Y~^?!".indexOf(m)>-1)return e.next(),"operator";if(":;,.(){}[]".indexOf(m)>-1)return e.next(),e.match(".."),"punctuation";if(r=e.match(/("""|"|')/)){var w=v.bind(null,r[0]);return t.tokenize.push(w),w(e,t)}if(e.match(p)){var x=e.current();return u.hasOwnProperty(x)?"type":o.hasOwnProperty(x)?"atom":i.hasOwnProperty(x)?(a.hasOwnProperty(x)&&(t.prev="define"),"keyword"):"define"==n?"def":"variable"}return e.next(),null}function v(e,t,n){for(var r,i=1==e.length,a=!1;r=t.peek();)if(a){if(t.next(),"("==r)return n.tokenize.push(function(){var e=0;return function(t,n,r){var i=m(t,n,r);if("punctuation"==i){if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}}return i}}()),"string";a=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),a="\\"==r}return i&&n.tokenize.pop(),"string"}function k(e,t){for(var n;n=e.next();)if("/"===n&&e.eat("*"))t.tokenize.push(k);else if("*"===n&&e.eat("/")){t.tokenize.pop();break}return"comment"}function w(e,t,n){this.prev=e,this.align=t,this.indented=n}function x(e,t){var n=t.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:t.column()+1;e.context=new w(e.context,n,e.indented)}function y(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}let g={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||m)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?y:x)(t,e)}return r},indent:function(e,t,n){var r=e.context;if(!r)return 0;var i=/^[\]\}\)]/.test(t);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6062.bd2a1ddaa5ab4bc3.js b/static/web/_next/static/chunks/6062.bd2a1ddaa5ab4bc3.js deleted file mode 100644 index 580845743..000000000 --- a/static/web/_next/static/chunks/6062.bd2a1ddaa5ab4bc3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6062],{66062:function(e,t,n){function r(e){for(var t={},n=0;n~^?!".indexOf(_)>-1)return e.next(),"operator";if(":;,.(){}[]".indexOf(_)>-1)return e.next(),e.match(".."),"punctuation";if(r=e.match(/("""|"|')/)){var v=k.bind(null,r[0]);return t.tokenize.push(v),v(e,t)}if(e.match(p)){var x=e.current();return u.hasOwnProperty(x)?"type":o.hasOwnProperty(x)?"atom":i.hasOwnProperty(x)?(a.hasOwnProperty(x)&&(t.prev="define"),"keyword"):"define"==n?"def":"variable"}return e.next(),null}function v(){var e=0;return function(t,n,r){var i=_(t,n,r);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return i}}function k(e,t,n){for(var r,i=1==e.length,a=!1;r=t.peek();)if(a){if(t.next(),"("==r)return n.tokenize.push(v()),"string";a=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),a="\\"==r}return i&&n.tokenize.pop(),"string"}function w(e,t){for(var n;n=e.next();)if("/"===n&&e.eat("*"))t.tokenize.push(w);else if("*"===n&&e.eat("/")){t.tokenize.pop();break}return"comment"}function x(e,t,n){this.prev=e,this.align=t,this.indented=n}function y(e,t){var n=t.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:t.column()+1;e.context=new x(e.context,n,e.indented)}function g(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}const z={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||_)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?g:y)(t,e)}return r},indent:function(e,t,n){var r=e.context;if(!r)return 0;var i=/^[\]\}\)]/.test(t);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:n.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6092.0ee9dd0f15a834fa.js b/static/web/_next/static/chunks/6092.0ee9dd0f15a834fa.js deleted file mode 100644 index bc3cce9cf..000000000 --- a/static/web/_next/static/chunks/6092.0ee9dd0f15a834fa.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6092],{76092:function(e,t,n){function r(e,t,n){return"undefined"===typeof n&&(n=""),"undefined"===typeof t&&(t="\\b"),new RegExp("^"+n+"(("+e.join(")|(")+"))"+t)}n.r(t),n.d(t,{julia:function(){return E}});var a=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],i=r(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),u=/^[;,()[\]{}]/,s=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,o=r(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),c=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],l=["true","false","nothing","NaN","Inf"],f=r(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),m=r(["end","else","elseif","catch","finally"]),p=r(c),h=r(l),d=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,F=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,k=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,b=r(a,"","@"),g=r(a,"",":");function v(e){return e.nestedArrays>0}function x(e,t){return"undefined"===typeof t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function y(e,t){if(e.match("#=",!1))return t.tokenize=z,t.tokenize(e,t);var n=t.leavingExpr;if(e.sol()&&(n=!1),t.leavingExpr=!1,n&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var r,a=e.peek();if("#"===a)return e.skipToEnd(),"comment";if("["===a&&(t.scopes.push("["),t.nestedArrays++),"("===a&&(t.scopes.push("("),t.nestedGenerators++),v(t)&&"]"===a){for(;t.scopes.length&&"["!==x(t);)t.scopes.pop();t.scopes.pop(),t.nestedArrays--,t.leavingExpr=!0}if(function(e){return e.nestedGenerators>0}(t)&&")"===a){for(;t.scopes.length&&"("!==x(t);)t.scopes.pop();t.scopes.pop(),t.nestedGenerators--,t.leavingExpr=!0}if(v(t)){if("end"==t.lastToken&&e.match(":"))return"operator";if(e.match("end"))return"number"}if((r=e.match(f,!1))&&t.scopes.push(r[0]),e.match(m,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=A,t.tokenize(e,t);if(!n&&(e.match(F)||e.match(g)))return"builtin";if(e.match(i))return"operator";if(e.match(/^\.?\d/,!1)){var o=RegExp(/^im\b/),c=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),e.match(/^0x[0-9a-f_]+/i)&&(c=!0),e.match(/^0b[01_]+/i)&&(c=!0),e.match(/^0o[0-7_]+/i)&&(c=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return e.match(o),t.leavingExpr=!0,"number"}if(e.match("'"))return t.tokenize=_,t.tokenize(e,t);if(e.match(k))return t.tokenize=function(e){'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"');function t(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=y,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}return t}(e.current()),t.tokenize(e,t);if(e.match(d)||e.match(b))return"meta";if(e.match(u))return null;if(e.match(p))return"keyword";if(e.match(h))return"builtin";var l=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(s)?l?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function A(e,t){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?t.nestedParameters++:e.match("}")&&t.nestedParameters>0&&t.nestedParameters--,t.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedParameters&&(t.tokenize=y),"builtin"}function z(e,t){return e.match("#=")&&t.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match("=#")&&(t.nestedComments--,0==t.nestedComments&&(t.tokenize=y)),"comment"}function _(e,t){var n,r=!1;if(e.match(o))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){((a=parseInt(n[1],16))<=55295||a>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var a;(a=parseInt(n[1],16))<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=y,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match("'")&&(t.tokenize=y),"error")}const E={name:"julia",startState:function(){return{tokenize:y,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(e,t,n){var r=0;return("]"===t||")"===t||/^end\b/.test(t)||/^else/.test(t)||/^catch\b/.test(t)||/^elseif\b/.test(t)||/^finally/.test(t))&&(r=-1),(e.scopes.length+r)*n.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:c.concat(l)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6092.d604d5262c942c63.js b/static/web/_next/static/chunks/6092.d604d5262c942c63.js new file mode 100644 index 000000000..5f1884d56 --- /dev/null +++ b/static/web/_next/static/chunks/6092.d604d5262c942c63.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6092],{76092:function(e,t,n){function r(e,t,n){return void 0===n&&(n=""),void 0===t&&(t="\\b"),RegExp("^"+n+"(("+e.join(")|(")+"))"+t)}n.r(t),n.d(t,{julia:function(){return E}});var a=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],i=r(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),s=/^[;,()[\]{}]/,u=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,o=r(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\uD800-\uDFFF]|[\uD800-\uDFFF][\uDC00-\uDFFF])"],"'"),c=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],l=["true","false","nothing","NaN","Inf"],m=r(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),f=r(["end","else","elseif","catch","finally"]),p=r(c),h=r(l),d=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,F=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,k=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,b=r(a,"","@"),g=r(a,"",":");function v(e){return e.nestedArrays>0}function x(e,t){return(void 0===t&&(t=0),e.scopes.length<=t)?null:e.scopes[e.scopes.length-(t+1)]}function A(e,t){if(e.match("#=",!1))return t.tokenize=_,t.tokenize(e,t);var n,r,a=t.leavingExpr;if(e.sol()&&(a=!1),t.leavingExpr=!1,a&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var o=e.peek();if("#"===o)return e.skipToEnd(),"comment";if("["===o&&(t.scopes.push("["),t.nestedArrays++),"("===o&&(t.scopes.push("("),t.nestedGenerators++),v(t)&&"]"===o){for(;t.scopes.length&&"["!==x(t);)t.scopes.pop();t.scopes.pop(),t.nestedArrays--,t.leavingExpr=!0}if(t.nestedGenerators>0&&")"===o){for(;t.scopes.length&&"("!==x(t);)t.scopes.pop();t.scopes.pop(),t.nestedGenerators--,t.leavingExpr=!0}if(v(t)){if("end"==t.lastToken&&e.match(":"))return"operator";if(e.match("end"))return"number"}if((r=e.match(m,!1))&&t.scopes.push(r[0]),e.match(f,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=z,t.tokenize(e,t);if(!a&&(e.match(F)||e.match(g)))return"builtin";if(e.match(i))return"operator";if(e.match(/^\.?\d/,!1)){var c=RegExp(/^im\b/),l=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(l=!0),e.match(/^0x[0-9a-f_]+/i)&&(l=!0),e.match(/^0b[01_]+/i)&&(l=!0),e.match(/^0o[0-7_]+/i)&&(l=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(l=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(l=!0),l)return e.match(c),t.leavingExpr=!0,"number"}if(e.match("'"))return t.tokenize=y,t.tokenize(e,t);if(e.match(k))return t.tokenize=('"""'===(n=e.current()).substr(-3)?n='"""':'"'===n.substr(-1)&&(n='"'),function(e,t){if(e.eat("\\"))e.next();else{if(e.match(n))return t.tokenize=A,t.leavingExpr=!0,"string";e.eat(/[`"]/)}return e.eatWhile(/[^\\`"]/),"string"}),t.tokenize(e,t);if(e.match(d)||e.match(b))return"meta";if(e.match(s))return null;if(e.match(p))return"keyword";if(e.match(h))return"builtin";var E=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(u)?E?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function z(e,t){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?t.nestedParameters++:e.match("}")&&t.nestedParameters>0&&t.nestedParameters--,t.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedParameters&&(t.tokenize=A),"builtin"}function _(e,t){return e.match("#=")&&t.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match("=#")&&(t.nestedComments--,0==t.nestedComments&&(t.tokenize=A)),"comment"}function y(e,t){var n,r=!1;if(e.match(o))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){var a=parseInt(n[1],16);(a<=55295||a>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var a=parseInt(n[1],16);a<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=A,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match("'")&&(t.tokenize=A),"error")}let E={name:"julia",startState:function(){return{tokenize:A,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(e,t,n){var r=0;return("]"===t||")"===t||/^end\b/.test(t)||/^else/.test(t)||/^catch\b/.test(t)||/^elseif\b/.test(t)||/^finally/.test(t))&&(r=-1),(e.scopes.length+r)*n.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:c.concat(l)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6121.07bf76517bbc2dd2.js b/static/web/_next/static/chunks/6121.07bf76517bbc2dd2.js new file mode 100644 index 000000000..b65a8cc92 --- /dev/null +++ b/static/web/_next/static/chunks/6121.07bf76517bbc2dd2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6121],{96121:function(e,r,o){function t(e){var r={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},o=e.extraWords||{};for(var t in o)o.hasOwnProperty(t)&&(r[t]=e.extraWords[t]);var n=[];for(var i in r)n.push(i);function d(o,t){var n=o.next();if('"'===n)return t.tokenize=k,t.tokenize(o,t);if("{"===n&&o.eat("|"))return t.longString=!0,t.tokenize=y,t.tokenize(o,t);if("("===n&&o.match(/^\*(?!\))/))return t.commentLevel++,t.tokenize=w,t.tokenize(o,t);if("~"===n||"?"===n)return o.eatWhile(/\w/),"variableName.special";if("`"===n)return o.eatWhile(/\w/),"quote";if("/"===n&&e.slashComments&&o.eat("/"))return o.skipToEnd(),"comment";if(/\d/.test(n))return"0"===n&&o.eat(/[bB]/)&&o.eatWhile(/[01]/),"0"===n&&o.eat(/[xX]/)&&o.eatWhile(/[0-9a-fA-F]/),"0"===n&&o.eat(/[oO]/)?o.eatWhile(/[0-7]/):(o.eatWhile(/[\d_]/),o.eat(".")&&o.eatWhile(/[\d]/),o.eat(/[eE]/)&&o.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(n))return"operator";if(/[\w\xa1-\uffff]/.test(n)){o.eatWhile(/[\w\xa1-\uffff]/);var i=o.current();return r.hasOwnProperty(i)?r[i]:"variable"}return null}function k(e,r){for(var o,t=!1,n=!1;null!=(o=e.next());){if('"'===o&&!n){t=!0;break}n=!n&&"\\"===o}return t&&!n&&(r.tokenize=d),"string"}function w(e,r){for(var o,t;r.commentLevel>0&&null!=(t=e.next());)"("===o&&"*"===t&&r.commentLevel++,"*"===o&&")"===t&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=d),"comment"}function y(e,r){for(var o,t;r.longString&&null!=(t=e.next());)"|"===o&&"}"===t&&(r.longString=!1),o=t;return r.longString||(r.tokenize=d),"string"}return{startState:function(){return{tokenize:d,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{autocomplete:n,commentTokens:{line:e.slashComments?"//":void 0,block:{open:"(*",close:"*)"}}}}}o.r(r),o.d(r,{fSharp:function(){return i},oCaml:function(){return n},sml:function(){return d}});let n=t({name:"ocaml",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),i=t({name:"fsharp",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),d=t({name:"sml",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6121.7f54228e46c33520.js b/static/web/_next/static/chunks/6121.7f54228e46c33520.js deleted file mode 100644 index db58350a8..000000000 --- a/static/web/_next/static/chunks/6121.7f54228e46c33520.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6121],{96121:function(e,r,o){function t(e){var r={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},o=e.extraWords||{};for(var t in o)o.hasOwnProperty(t)&&(r[t]=e.extraWords[t]);var n=[];for(var i in r)n.push(i);function d(o,t){var n=o.next();if('"'===n)return t.tokenize=k,t.tokenize(o,t);if("{"===n&&o.eat("|"))return t.longString=!0,t.tokenize=y,t.tokenize(o,t);if("("===n&&o.match(/^\*(?!\))/))return t.commentLevel++,t.tokenize=w,t.tokenize(o,t);if("~"===n||"?"===n)return o.eatWhile(/\w/),"variableName.special";if("`"===n)return o.eatWhile(/\w/),"quote";if("/"===n&&e.slashComments&&o.eat("/"))return o.skipToEnd(),"comment";if(/\d/.test(n))return"0"===n&&o.eat(/[bB]/)&&o.eatWhile(/[01]/),"0"===n&&o.eat(/[xX]/)&&o.eatWhile(/[0-9a-fA-F]/),"0"===n&&o.eat(/[oO]/)?o.eatWhile(/[0-7]/):(o.eatWhile(/[\d_]/),o.eat(".")&&o.eatWhile(/[\d]/),o.eat(/[eE]/)&&o.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(n))return"operator";if(/[\w\xa1-\uffff]/.test(n)){o.eatWhile(/[\w\xa1-\uffff]/);var i=o.current();return r.hasOwnProperty(i)?r[i]:"variable"}return null}function k(e,r){for(var o,t=!1,n=!1;null!=(o=e.next());){if('"'===o&&!n){t=!0;break}n=!n&&"\\"===o}return t&&!n&&(r.tokenize=d),"string"}function w(e,r){for(var o,t;r.commentLevel>0&&null!=(t=e.next());)"("===o&&"*"===t&&r.commentLevel++,"*"===o&&")"===t&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=d),"comment"}function y(e,r){for(var o,t;r.longString&&null!=(t=e.next());)"|"===o&&"}"===t&&(r.longString=!1),o=t;return r.longString||(r.tokenize=d),"string"}return{startState:function(){return{tokenize:d,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{autocomplete:n,commentTokens:{line:e.slashComments?"//":void 0,block:{open:"(*",close:"*)"}}}}}o.r(r),o.d(r,{fSharp:function(){return i},oCaml:function(){return n},sml:function(){return d}});const n=t({name:"ocaml",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),i=t({name:"fsharp",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),d=t({name:"sml",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6160.d07ec01a390aacc4.js b/static/web/_next/static/chunks/6160.d07ec01a390aacc4.js new file mode 100644 index 000000000..013baebc5 --- /dev/null +++ b/static/web/_next/static/chunks/6160.d07ec01a390aacc4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6160],{66160:function(e,i,t){"use strict";t.r(i),t.d(i,{BrowserNotifyModal:function(){return x}});var n=t(85893),s=t(84485),r=t(71577),o=t(11382),a=t(25968),l=t(6226),c=t(67294),d=t(4480),h=t(77466);async function w(e,i,t){let n={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,destination:i})};try{await fetch("".concat("/api/notifications/register","?accessToken=").concat(t),n)}catch(s){console.error(s)}}async function u(e){let i=await navigator.serviceWorker.ready,t=await i.pushManager.getSubscription();return t||(t=await i.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:function(e){let i="=".repeat((4-e.length%4)%4),t=(e+i).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(t),s=new Uint8Array(n.length);for(let r=0;r(0,n.jsx)("div",{children:"Browser notifications are not supported in your browser."}),_=e=>{let{start:i}=e;return(0,n.jsx)("div",{id:"browser-push-preview-box",className:p().pushPreview,children:(0,n.jsxs)("div",{className:p().inner,children:[(0,n.jsxs)("div",{className:p().title,children:[window.location.toString()," wants to"]}),(0,n.jsxs)("div",{className:p().permissionLine,children:[(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M14 12.3333V13H2V12.3333L3.33333 11V7C3.33333 4.93333 4.68667 3.11333 6.66667 2.52667C6.66667 2.46 6.66667 2.4 6.66667 2.33333C6.66667 1.97971 6.80714 1.64057 7.05719 1.39052C7.30724 1.14048 7.64638 1 8 1C8.35362 1 8.69276 1.14048 8.94281 1.39052C9.19286 1.64057 9.33333 1.97971 9.33333 2.33333C9.33333 2.4 9.33333 2.46 9.33333 2.52667C11.3133 3.11333 12.6667 4.93333 12.6667 7V11L14 12.3333ZM9.33333 13.6667C9.33333 14.0203 9.19286 14.3594 8.94281 14.6095C8.69276 14.8595 8.35362 15 8 15C7.64638 15 7.30724 14.8595 7.05719 14.6095C6.80714 14.3594 6.66667 14.0203 6.66667 13.6667",fill:"#676670"})}),"Show notifications"]}),(0,n.jsxs)("div",{className:p().buttonRow,children:[(0,n.jsx)(r.Z,{type:"primary",className:p().allow,onClick(){i()},children:"Allow"}),(0,n.jsx)("button",{type:"button",className:p().disabled,children:"Block"})]})]})})},v=()=>(0,n.jsxs)("div",{children:[(0,n.jsx)(b,{children:"Notifications are enabled"}),"To disable push notifications from ",window.location.hostname.toString()," access your browser permissions for this site and turn off notifications.",(0,n.jsx)("a",{href:"https://owncast.online/docs/notifications",children:" Learn more."})]}),x=()=>{let[e,i]=(0,c.useState)(null),t=(0,d.sJ)(h.FI),s=(0,d.sJ)(h.g1),[r,f]=(0,c.useState)(!1),p=g()&&"default"!==Notification.permission,{notifications:x}=s,{browser:m}=x,{publicKey:N}=m,j=m.enabled&&g();if(p)return(0,n.jsx)(v,{});let C=async()=>{if(!g()||"default"===Notification.permission){f(!0);try{let e=await u(N);w("BROWSER_PUSH_NOTIFICATION",e,t),i(null)}catch(n){i("Error registering for live notifications: ".concat(n.message,". Make sure you're not inside a private browser environment or have previously disabled notifications for this stream."))}f(!1)}};return j?(0,n.jsxs)(o.Z,{spinning:r,children:[(0,n.jsxs)(a.Z,{align:"top",children:[(0,n.jsx)(b,{children:"Browser Notifications"}),"Get notified right in the browser each time this stream goes live. Blah blah blah more description text goes here."]}),(0,n.jsx)(a.Z,{children:e}),(0,n.jsx)(a.Z,{align:"top",children:(0,n.jsx)(l.Z,{span:12,children:(0,n.jsx)(_,{start:()=>C()})})})]}):(0,n.jsx)(y,{})}},38851:function(e){e.exports={pushPreview:"BrowserNotifyModal_pushPreview__4Og4q",inner:"BrowserNotifyModal_inner__uhFDw",title:"BrowserNotifyModal_title__dd_Lh",permissionLine:"BrowserNotifyModal_permissionLine__K8nyJ",buttonRow:"BrowserNotifyModal_buttonRow__oxJUg",disabled:"BrowserNotifyModal_disabled__v88lb",allow:"BrowserNotifyModal_allow__M9AWC"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/617.359b421db498d43e.js b/static/web/_next/static/chunks/617.359b421db498d43e.js new file mode 100644 index 000000000..326e15290 --- /dev/null +++ b/static/web/_next/static/chunks/617.359b421db498d43e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[617],{90617:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?:\/|]/;function l(e,t,n){return t.tokenize=n,n(e,t)}function u(e,t){var n=t.beforeParams;t.beforeParams=!1;var r=e.next();if("'"==r&&!t.inString&&t.inParams)return t.lastTokenWasBuiltin=!1,l(e,t,f(r));if('"'==r){if(t.lastTokenWasBuiltin=!1,t.inString)return t.inString=!1,"string";if(t.inParams)return l(e,t,f(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return"("==r&&n?t.inParams=!0:")"==r&&(t.inParams=!1,t.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(/[\w\.]/),"number";if("#"==r&&e.eat("*"))return t.lastTokenWasBuiltin=!1,l(e,t,c);if("#"==r&&e.match(/ *\[ *\[/))return t.lastTokenWasBuiltin=!1,l(e,t,k);if("#"==r&&e.eat("#"))return t.lastTokenWasBuiltin=!1,e.skipToEnd(),"comment";if("$"==r)return(e.eat("!"),e.eatWhile(/[\w\d\$_\.{}-]/),o&&o.propertyIsEnumerable(e.current()))?"keyword":(t.lastTokenWasBuiltin=!0,t.beforeParams=!0,"builtin");if(s.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(s),"operator";e.eatWhile(/[\w\$_{}@]/);var u=e.current();return a&&a.propertyIsEnumerable(u)?"keyword":i&&i.propertyIsEnumerable(u)||e.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==e.peek()&&!(i&&i.propertyIsEnumerable(u.toLowerCase()))?(t.beforeParams=!0,t.lastTokenWasBuiltin=!1,"keyword"):t.inString?(t.lastTokenWasBuiltin=!1,"string"):e.pos>u.length&&"."==e.string.charAt(e.pos-u.length-1)&&t.lastTokenWasBuiltin?"builtin":(t.lastTokenWasBuiltin=!1,null)}}function f(e){return function(t,n){for(var r,a=!1,i=!1;null!=(r=t.next());){if(r==e&&!a){i=!0;break}if('"'==e&&"$"==t.peek()&&!a){n.inString=!0,i=!0;break}a=!a&&"\\"==r}return i&&(n.tokenize=u),"string"}}function c(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=u;break}r="*"==n}return"comment"}function k(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=u;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}let p={name:"velocity",startState:function(){return{tokenize:u,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/617.c4a3ccacaf7b21d0.js b/static/web/_next/static/chunks/617.c4a3ccacaf7b21d0.js deleted file mode 100644 index 96a58443a..000000000 --- a/static/web/_next/static/chunks/617.c4a3ccacaf7b21d0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[617],{90617:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?:\/|]/;function u(e,t,n){return t.tokenize=n,n(e,t)}function l(e,t){var n=t.beforeParams;t.beforeParams=!1;var r=e.next();if("'"==r&&!t.inString&&t.inParams)return t.lastTokenWasBuiltin=!1,u(e,t,f(r));if('"'!=r){if(/[\[\]{}\(\),;\.]/.test(r))return"("==r&&n?t.inParams=!0:")"==r&&(t.inParams=!1,t.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(/[\w\.]/),"number";if("#"==r&&e.eat("*"))return t.lastTokenWasBuiltin=!1,u(e,t,c);if("#"==r&&e.match(/ *\[ *\[/))return t.lastTokenWasBuiltin=!1,u(e,t,k);if("#"==r&&e.eat("#"))return t.lastTokenWasBuiltin=!1,e.skipToEnd(),"comment";if("$"==r)return e.eat("!"),e.eatWhile(/[\w\d\$_\.{}-]/),o&&o.propertyIsEnumerable(e.current())?"keyword":(t.lastTokenWasBuiltin=!0,t.beforeParams=!0,"builtin");if(s.test(r))return t.lastTokenWasBuiltin=!1,e.eatWhile(s),"operator";e.eatWhile(/[\w\$_{}@]/);var l=e.current();return a&&a.propertyIsEnumerable(l)?"keyword":i&&i.propertyIsEnumerable(l)||e.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==e.peek()&&(!i||!i.propertyIsEnumerable(l.toLowerCase()))?(t.beforeParams=!0,t.lastTokenWasBuiltin=!1,"keyword"):t.inString?(t.lastTokenWasBuiltin=!1,"string"):e.pos>l.length&&"."==e.string.charAt(e.pos-l.length-1)&&t.lastTokenWasBuiltin?"builtin":(t.lastTokenWasBuiltin=!1,null)}return t.lastTokenWasBuiltin=!1,t.inString?(t.inString=!1,"string"):t.inParams?u(e,t,f(r)):void 0}function f(e){return function(t,n){for(var r,a=!1,i=!1;null!=(r=t.next());){if(r==e&&!a){i=!0;break}if('"'==e&&"$"==t.peek()&&!a){n.inString=!0,i=!0;break}a=!a&&"\\"==r}return i&&(n.tokenize=l),"string"}}function c(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=l;break}r="*"==n}return"comment"}function k(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=l;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}const p={name:"velocity",startState:function(){return{tokenize:l,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6395-982bd92523d8632a.js b/static/web/_next/static/chunks/6395-982bd92523d8632a.js new file mode 100644 index 000000000..7fab09d7a --- /dev/null +++ b/static/web/_next/static/chunks/6395-982bd92523d8632a.js @@ -0,0 +1,30 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6395],{23917:function(t,e,n){n.d(e,{e:function(){return N}});var i,r,o=n(67294),a=n(52798),s=n(63056),c=n(59043),u=n(54911),f=n(3884),h=n(30375),l=n(14066),d=n(89823),v={deferEvents:!1},p=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=(0,s.pi)((0,s.pi)({},v),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(0!==this.queue.length)throw Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},t}(),y=n(98933),g=new Map,m=0,x={bookId:function(){return"x:".concat(m++)},register:function(t,e){return g.set(t,e),t},get:function(t){return g.get(t)},free:function(t){g.delete(t)}};function b(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:void(l.M||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}var S=n(10797),w={sync:!1,autoForward:!1};(i=r||(r={}))[i.NotStarted=0]="NotStarted",i[i.Running=1]="Running",i[i.Stopped=2]="Stopped";var _=function(){function t(e,n){void 0===n&&(n=t.defaultOptions);var i=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=r.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,e){if((0,d.kJ)(t))return i.batch(t),i.state;var n=(0,d.g5)((0,d._v)(t,e));if(i.status===r.Stopped)return l.M||(0,d.ZK)(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(i.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),i.state;if(i.status!==r.Running&&!i.options.deferEvents)throw Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(i.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return i.scheduler.schedule(function(){i.forward(n);var t=i._nextState(n);i.update(t,n)}),i._state},this.sendTo=function(t,e,n){var o=i.parent&&(e===c.K.Parent||i.parent.id===e),a=o?i.parent:(0,d.HD)(e)?i.children.get(e)||x.get(e):(0,d.Bc)(e)?e:void 0;if(!a){if(!o)throw Error("Unable to send event to child '".concat(e,"' from service '").concat(i.id,"'."));l.M||(0,d.ZK)(!1,"Service '".concat(i.id,"' has no parent: unable to send event ").concat(t.type));return}if("machine"in a){if(i.status!==r.Stopped||i.parent!==a||i.state.done){var u=(0,s.pi)((0,s.pi)({},t),{name:t.name===f.vU?"".concat((0,h.vU)(i.id)):t.name,origin:i.sessionId});!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([a,u]):a.send(u)}}else!n&&i.machine.config.predictableActionArguments?i._outgoingQueue.push([a,t.data]):a.send(t.data)},this._exec=function(t,e,n,o){void 0===o&&(o=i.machine.options.actions);var a=t.exec||(0,h.o$)(t.type,o),s=(0,d.mf)(a)?a:a?a.exec:t.exec;if(s)try{return s(e,n.data,i.machine.config.predictableActionArguments?{action:t,_event:n}:{action:t,state:i.state,_event:n})}catch(u){throw i.parent&&i.parent.send({type:"xstate.error",data:u}),u}switch(t.type){case f.lW:if("number"==typeof t.delay){i.defer(t);return}t.to?i.sendTo(t._event,t.to,n===h.bf):i.send(t._event);break;case f.al:i.cancel(t.sendId);break;case f.BL:if(i.status!==r.Running)return;var v=t.activity;if(!i.machine.config.predictableActionArguments&&!i.state.activities[v.id||v.type])break;if(v.type===c.M.Invoke){var p=(0,d.j)(v.src),y=i.machine.options.services?i.machine.options.services[p.type]:void 0,g=v.id,m=v.data;l.M||(0,d.ZK)(!("forward"in v),"`forward` property is deprecated (found in invocation of '".concat(v.src,"' in in machine '").concat(i.machine.id,"'). ")+"Please use `autoForward` instead.");var x="autoForward"in v?v.autoForward:!!v.forward;if(!y){l.M||(0,d.ZK)(!1,"No service found for invocation '".concat(v.src,"' in machine '").concat(i.machine.id,"'."));return}var b=m?(0,d.QX)(m,e,n):void 0;if("string"==typeof y)return;var S=(0,d.mf)(y)?y(e,n.data,{data:b,src:p,meta:v.meta}):y;if(!S)return;var w=void 0;(0,d.O4)(S)&&(S=b?S.withContext(b):S,w={autoForward:x}),i.spawn(S,g,w)}else i.spawnActivity(v);break;case f.sT:i.stopChild(t.activity.id);break;case f.cM:var _=t.label,E=t.value;_?i.logger(_,E):i.logger(E);break;default:l.M||(0,d.ZK)(!1,"No implementation found for action type '".concat(t.type,"'"))}};var o=(0,s.pi)((0,s.pi)({},t.defaultOptions),n),a=o.clock,u=o.logger,v=o.parent,y=o.id,g=void 0!==y?y:e.id;this.id=g,this.logger=u,this.clock=a,this.parent=v,this.options=o,this.scheduler=new p({deferEvents:this.options.deferEvents}),this.sessionId=x.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:(0,S.J)(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return l.M||(0,d.ZK)(this.status!==r.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,e){var n,i;try{for(var r=(0,s.XA)(t.actions),o=r.next();!o.done;o=r.next()){var a=o.value;this.exec(a,t,e)}}catch(c){n={error:c}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},t.prototype.update=function(t,e){var n,i,r,o,a,c,u,f,l=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||e===h.bf)&&this.options.execute)this.execute(this.state);else for(var v=void 0;v=this._outgoingQueue.shift();)v[0].send(v[1]);if(this.children.forEach(function(t){l.state.children[t.id]=t}),this.devTools&&this.devTools.send(e.data,t),t.event)try{for(var p=(0,s.XA)(this.eventListeners),y=p.next();!y.done;y=p.next()){var g=y.value;g(t.event)}}catch(m){n={error:m}}finally{try{y&&!y.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}try{for(var x=(0,s.XA)(this.listeners),b=x.next();!b.done;b=x.next()){var g=b.value;g(t,t.event)}}catch(S){r={error:S}}finally{try{b&&!b.done&&(o=x.return)&&o.call(x)}finally{if(r)throw r.error}}try{for(var w=(0,s.XA)(this.contextListeners),_=w.next();!_.done;_=w.next())(0,_.value)(this.state.context,this.state.history?this.state.history.context:void 0)}catch(E){a={error:E}}finally{try{_&&!_.done&&(c=w.return)&&c.call(w)}finally{if(a)throw a.error}}if(this.state.done){var O=t.configuration.find(function(t){return"final"===t.type&&t.parent===l.machine}),A=O&&O.doneData?(0,d.QX)(O.doneData,t.context,e):void 0;try{for(var M=(0,s.XA)(this.doneListeners),k=M.next();!k.done;k=M.next()){var g=k.value;g((0,h.Sl)(this.id,A))}}catch(j){u={error:j}}finally{try{k&&!k.done&&(f=M.return)&&f.call(M)}finally{if(u)throw u.error}}this._stop(),this._stopChildren()}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===r.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,e,n){var i=this,o=(0,d.zM)(t,e,n);this.listeners.add(o.next),this.status!==r.NotStarted&&o.next(this.state);var a=function(){i.doneListeners.delete(a),i.stopListeners.delete(a),o.complete()};return this.status===r.Stopped?o.complete():(this.onDone(a),this.onStop(a)),{unsubscribe:function(){i.listeners.delete(o.next),i.doneListeners.delete(a),i.stopListeners.delete(a)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var e=this;if(this.status===r.Running)return this;this.machine._init(),x.register(this.sessionId,this),this.initialized=!0,this.status=r.Running;var n=void 0===t?this.initialState:(0,S.J)(this,function(){return(0,u.TL)(t)?e.machine.resolveState(t):e.machine.resolveState(u.ZM.from(t,e.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){e.update(n,h.bf)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(t){(0,d.mf)(t.stop)&&t.stop()}),this.children.clear()},t.prototype._stop=function(){var t,e,n,i,o,a,c,u,f,h;try{for(var l=(0,s.XA)(this.listeners),d=l.next();!d.done;d=l.next()){var v=d.value;this.listeners.delete(v)}}catch(y){t={error:y}}finally{try{d&&!d.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}try{for(var g=(0,s.XA)(this.stopListeners),m=g.next();!m.done;m=g.next()){var v=m.value;v(),this.stopListeners.delete(v)}}catch(x){n={error:x}}finally{try{m&&!m.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}try{for(var b=(0,s.XA)(this.contextListeners),S=b.next();!S.done;S=b.next()){var v=S.value;this.contextListeners.delete(v)}}catch(w){o={error:w}}finally{try{S&&!S.done&&(a=b.return)&&a.call(b)}finally{if(o)throw o.error}}try{for(var _=(0,s.XA)(this.doneListeners),E=_.next();!E.done;E=_.next()){var v=E.value;this.doneListeners.delete(v)}}catch(O){c={error:O}}finally{try{E&&!E.done&&(u=_.return)&&u.call(_)}finally{if(c)throw c.error}}if(!this.initialized)return this;this.initialized=!1,this.status=r.Stopped,this._initialState=void 0;try{for(var A=(0,s.XA)(Object.keys(this.delayedEventsMap)),M=A.next();!M.done;M=A.next()){var k=M.value;this.clock.clearTimeout(this.delayedEventsMap[k])}}catch(j){f={error:j}}finally{try{M&&!M.done&&(h=A.return)&&h.call(A)}finally{if(f)throw f.error}}this.scheduler.clear(),this.scheduler=new p({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var t=this,e=this.scheduler;return this._stop(),e.schedule(function(){var e=(0,d.g5)({type:"xstate.stop"}),n=(0,S.J)(t,function(){var n=(0,d.xH)((0,s.ev)([],(0,s.CR)(t.state.configuration),!1).sort(function(t,e){return e.order-t.order}).map(function(e){return(0,h.AE)(e.onExit,t.machine.options.actions)})),i=(0,s.CR)((0,h.yC)(t.machine,t.state,t.state.context,e,[n],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),r=i[0],o=i[1],a=new u.ZM({value:t.state.value,context:o,_event:e,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:r.filter(function(t){return t.type!==f.OU&&(t.type!==f.lW||!!t.to&&t.to!==c.K.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return a.changed=!0,a});t.update(n,e),t._stopChildren(),x.free(t.sessionId)}),this},t.prototype.batch=function(t){var e=this;if(this.status===r.NotStarted&&this.options.deferEvents)l.M||(0,d.ZK)(!1,"".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==r.Running)throw Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(t.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,r,o=e.state,a=!1,c=[];try{for(var f=(0,s.XA)(t),h=f.next();!h.done;h=f.next()){var l=h.value;!function(t){var i=(0,d.g5)(t);e.forward(i),o=(0,S.J)(e,function(){return e.machine.transition(o,i,void 0,n||void 0)}),c.push.apply(c,(0,s.ev)([],(0,s.CR)(e.machine.config.predictableActionArguments?o.actions:o.actions.map(function(t){return(0,u.j1)(t,o)})),!1)),a=a||!!o.changed}(l)}}catch(v){i={error:v}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(i)throw i.error}}o.changed=a,o.actions=c,e.update(o,(0,d.g5)(t[t.length-1]))})}},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype._nextState=function(t,e){var n=this;void 0===e&&(e=!!this.machine.config.predictableActionArguments&&this._exec);var i=(0,d.g5)(t);if(0===i.name.indexOf(f.Mg)&&!this.state.nextEvents.some(function(t){return 0===t.indexOf(f.Mg)}))throw i.data.data;return(0,S.J)(this,function(){return n.machine.transition(n.state,i,void 0,e||void 0)})},t.prototype.nextState=function(t){return this._nextState(t,!1)},t.prototype.forward=function(t){var e,n;try{for(var i=(0,s.XA)(this.forwardTo),r=i.next();!r.done;r=i.next()){var o=r.value,a=this.children.get(o);if(!a)throw Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(o,"'."));a.send(t)}}catch(c){e={error:c}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}},t.prototype.defer=function(t){var e=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?e.sendTo(t._event,t.to,!0):e.send(t._event)},t.delay)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions),this._exec(t,e.context,e._event,n)},t.prototype.removeChild=function(t){var e;this.children.delete(t),this.forwardTo.delete(t),null===(e=this.state)||void 0===e||delete e.children[t]},t.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),(0,d.mf)(e.stop)&&e.stop())},t.prototype.spawn=function(t,e,n){if(this.status!==r.Running)return(0,y.Xg)(t,e);if((0,d.y8)(t))return this.spawnPromise(Promise.resolve(t),e);if((0,d.mf)(t))return this.spawnCallback(t,e);if((0,y.f3)(t))return this.spawnActor(t,e);if((0,d.bi)(t))return this.spawnObservable(t,e);if((0,d.O4)(t))return this.spawnMachine(t,(0,s.pi)((0,s.pi)({},n),{id:e}));if((0,d.HV)(t))return this.spawnBehavior(t,e);throw Error('Unable to spawn entity "'.concat(e,'" of type "').concat(typeof t,'".'))},t.prototype.spawnMachine=function(e,n){var i=this;void 0===n&&(n={});var r=new t(e,(0,s.pi)((0,s.pi)({},this.options),{parent:this,id:n.id||e.id})),o=(0,s.pi)((0,s.pi)({},w),n);return o.sync&&r.onTransition(function(t){i.send(f.Vx,{state:t,id:r.id})}),this.children.set(r.id,r),o.autoForward&&this.forwardTo.add(r.id),r.onDone(function(t){i.removeChild(r.id),i.send((0,d.g5)(t,{origin:r.id}))}).start(),r},t.prototype.spawnBehavior=function(t,e){var n,i,r,o,a,s,c,u,f=(n={id:e,parent:this},i=t.initialState,r=new Set,o=[],a=!1,s=function(){if(!a){for(a=!0;o.length>0;){var e=o.shift();i=t.transition(i,e,u),r.forEach(function(t){return t.next(i)})}a=!1}},c=(0,y.vk)({id:n.id,send:function(t){o.push(t),s()},getSnapshot:function(){return i},subscribe:function(t,e,n){var o=(0,d.zM)(t,e,n);return r.add(o),o.next(i),{unsubscribe:function(){r.delete(o)}}}}),u={parent:n.parent,self:c,id:n.id||"anonymous",observers:r},i=t.start?t.start(u):i,c);return this.children.set(e,f),f},t.prototype.spawnPromise=function(t,e){var n,i,r=this,o=!1;t.then(function(t){o||(i=t,r.removeChild(e),r.send((0,d.g5)((0,h.Sl)(e,t),{origin:e})))},function(t){if(!o){r.removeChild(e);var n=(0,h.vU)(e,t);try{r.send((0,d.g5)(n,{origin:e}))}catch(i){(0,d.v4)(t,i,e),r.devTools&&r.devTools.send(n,r.state),r.machine.strict&&r.stop()}}});var a=((n={id:e,send:function(){},subscribe:function(e,n,i){var r=(0,d.zM)(e,n,i),o=!1;return t.then(function(t){!o&&(r.next(t),o||r.complete())},function(t){o||r.error(t)}),{unsubscribe:function(){return o=!0}}},stop:function(){o=!0},toJSON:function(){return{id:e}},getSnapshot:function(){return i}})[d.L$]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnCallback=function(t,e){var n,i,r,o=this,a=!1,s=new Set,c=new Set,u=function(t){i=t,c.forEach(function(e){return e(t)}),a||o.send((0,d.g5)(t,{origin:e}))};try{r=t(u,function(t){s.add(t)})}catch(f){this.send((0,h.vU)(e,f))}if((0,d.y8)(r))return this.spawnPromise(r,e);var l=((n={id:e,send:function(t){return s.forEach(function(e){return e(t)})},subscribe:function(t){var e=(0,d.zM)(t);return c.add(e.next),{unsubscribe:function(){c.delete(e.next)}}},stop:function(){a=!0,(0,d.mf)(r)&&r()},toJSON:function(){return{id:e}},getSnapshot:function(){return i}})[d.L$]=function(){return this},n);return this.children.set(e,l),l},t.prototype.spawnObservable=function(t,e){var n,i,r=this,o=t.subscribe(function(t){i=t,r.send((0,d.g5)(t,{origin:e}))},function(t){r.removeChild(e),r.send((0,d.g5)((0,h.vU)(e,t),{origin:e}))},function(){r.removeChild(e),r.send((0,d.g5)((0,h.Sl)(e),{origin:e}))}),a=((n={id:e,send:function(){},subscribe:function(e,n,i){return t.subscribe(e,n,i)},stop:function(){return o.unsubscribe()},getSnapshot:function(){return i},toJSON:function(){return{id:e}}})[d.L$]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnActor=function(t,e){return this.children.set(e,t),t},t.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!e){l.M||(0,d.ZK)(!1,"No implementation found for activity '".concat(t.type,"'"));return}var n=e(this.state.context,t);this.spawnEffect(t.id,n)},t.prototype.spawnEffect=function(t,e){var n;this.children.set(t,((n={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[d.L$]=function(){return this},n))},t.prototype.attachDev=function(){var t=b();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var e="object"==typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect((0,s.pi)((0,s.pi)({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},e),{features:(0,s.pi)({jump:!1,skip:!1},e?e.features:void 0)}),this.machine),this.devTools.init(this.state)}!function(t){if(b()){var e=function(){var t=b();if(t&&"__xstate__"in t)return t.__xstate__}();e&&e.register(t)}}(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[d.L$]=function(){return this},t.prototype.getSnapshot=function(){return this.status===r.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,e){return setTimeout(t,e)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},t.interpret=E,t}();function E(t,e){return new _(t,e)}var O=o.useLayoutEffect;function A(t){var e=o.useRef();return e.current||(e.current={v:t()}),e.current.v}var M=function(){return(M=Object.assign||function(t){for(var e,n=1,i=arguments.length;ne.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);re.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n},j=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a};function T(t){return t}function N(t){for(var e,n,i,s,c,f,h,l,d,v=[],p=1;p0||"boolean"==typeof t.changed);return!(e.changed||n)},[m]),S=(0,o.useCallback)(function(t){return m.subscribe(t).unsubscribe},[m]),w=(0,a.useSyncExternalStoreWithSelector)(S,x,x,T,b);return(0,o.useEffect)(function(){var t=g.state;return m.start(t?u.ZM.create(t):void 0),function(){m.stop(),m.status=r.NotStarted}},[]),[w,m.send,m]}},53250:function(t,e,n){/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ var i=n(67294),r="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=i.useState,a=i.useEffect,s=i.useLayoutEffect,c=i.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!r(t,n)}catch(i){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),i=o({inst:{value:n,getSnapshot:e}}),r=i[0].inst,f=i[1];return s(function(){r.value=n,r.getSnapshot=e,u(r)&&f({inst:r})},[t,n,e]),a(function(){return u(r)&&f({inst:r}),t(function(){u(r)&&f({inst:r})})},[t]),c(n),n};e.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:f},50139:function(t,e,n){/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ var i=n(67294),r=n(61688),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=r.useSyncExternalStore,s=i.useRef,c=i.useEffect,u=i.useMemo,f=i.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,i,r){var h=s(null);if(null===h.current){var l={hasValue:!1,value:null};h.current=l}else l=h.current;h=u(function(){function t(t){if(!c){if(c=!0,a=t,t=i(t),void 0!==r&&l.hasValue){var e=l.value;if(r(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var n=i(t);return void 0!==r&&r(e,n)?e:(a=t,s=n)}var a,s,c=!1,u=void 0===n?null:n;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]},[e,n,i,r]);var d=a(t,h[0],h[1]);return c(function(){l.hasValue=!0,l.value=d},[d]),f(d),d}},61688:function(t,e,n){t.exports=n(53250)},52798:function(t,e,n){t.exports=n(50139)},98933:function(t,e,n){n.d(e,{Xg:function(){return c},f3:function(){return u},mu:function(){return s},vk:function(){return f}});var i=n(63056),r=n(89823),o=n(10797);function a(t){var e;return(e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}})[r.L$]=function(){return this},e}function s(t,e,n,i){var o,s=(0,r.j)(t.src),u=null===(o=null==e?void 0:e.options.services)||void 0===o?void 0:o[s.type],f=t.data?(0,r.QX)(t.data,n,i):void 0,h=u?c(u,t.id,f):a(t.id);return h.meta=t,h}function c(t,e,n){var i=a(e);if(i.deferred=!0,(0,r.O4)(t)){var s=i.state=(0,o.J)(void 0,function(){return(n?t.withContext(n):t).initialState});i.getSnapshot=function(){return s}}return i}function u(t){return function(t){try{return"function"==typeof t.send}catch(e){return!1}}(t)&&"id"in t}function f(t){var e;return(0,i.pi)(((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[r.L$]=function(){return this},e),t)}},4723:function(t,e,n){n.d(e,{C:function(){return x}});var i=n(63056),r=n(89823),o=n(59043),a=n(54911),s=n(3884),c=n(30375),u=n(14066),f=n(87353),h=n(56115),l=n(98933);function d(t){return(0,i.pi)((0,i.pi)({type:s.dw},t),{toJSON:function(){t.onDone,t.onError;var e=(0,i._T)(t,["onDone","onError"]);return(0,i.pi)((0,i.pi)({},e),{type:s.dw,src:function(t){if("string"==typeof t){var e={type:t};return e.toString=function(){return t},e}return t}(t.src)})}})}var v={},p=function(t){return"#"===t[0]},y=function(t,e,n){var i=n.slice(0,-1).some(function(t){return!("cond"in t)&&!("in"in t)&&((0,r.HD)(t.target)||(0,r.O4)(t.target))});(0,r.ZK)(!i,"One or more transitions for ".concat(""===e?"the transient event":"event '".concat(e,"'")," on state '").concat(t.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")},g=function(){function t(e,n,o,a){void 0===o&&(o="context"in e?e.context:void 0);var s,l=this;this.config=e,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null==a?void 0:a.parent,this.key=this.config.key||(null==a?void 0:a.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:f.iS),this.id=this.config.id||(0,i.ev)([this.machine.key],(0,i.CR)(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(s=this.config.schema)&&void 0!==s?s:{},this.description=this.config.description,u.M||(0,r.ZK)(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?(0,r.Q8)(this.config.states,function(e,n){var r,o=new t(e,{},void 0,{parent:l,key:n});return Object.assign(l.idMap,(0,i.pi)(((r={})[o.id]=o,r),o.idMap)),o}):v;var p=0;!function t(e){var n,r;e.order=p++;try{for(var o=(0,i.XA)((0,h.nI)(e)),a=o.next();!a.done;a=o.next()){var s=a.value;t(s)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some(function(t){return""===t.event}):""in this.config.on),this.strict=!!this.config.strict,this.onEntry=(0,r.qo)(this.config.entry||this.config.onEntry).map(function(t){return(0,c.Q8)(t)}),this.onExit=(0,r.qo)(this.config.exit||this.config.onExit).map(function(t){return(0,c.Q8)(t)}),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=(0,r.qo)(this.config.invoke).map(function(t,e){if((0,r.O4)(t)){var n,o,a=(0,r.bx)(l.id,e);return l.machine.options.services=(0,i.pi)(((n={})[a]=t,n),l.machine.options.services),d({src:a,id:a})}if((0,r.HD)(t.src)){var a=t.id||(0,r.bx)(l.id,e);return d((0,i.pi)((0,i.pi)({},t),{id:a,src:t.src}))}if((0,r.O4)(t.src)||(0,r.mf)(t.src)){var a=t.id||(0,r.bx)(l.id,e);return l.machine.options.services=(0,i.pi)(((o={})[a]=t.src,o),l.machine.options.services),d((0,i.pi)((0,i.pi)({id:a},t),{src:a}))}var s=t.src;return d((0,i.pi)((0,i.pi)({id:(0,r.bx)(l.id,e)},t),{src:s}))}),this.activities=(0,r.qo)(this.config.activities).concat(this.invoke).map(function(t){return(0,c.XA)(t)}),this.transition=this.transition.bind(this),this.tags=(0,r.qo)(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||(0,h.ac)(this).forEach(function(t){return t.on})},t.prototype.withConfig=function(e,n){var r=this.options,o=r.actions,a=r.activities,s=r.guards,c=r.services,u=r.delays;return new t(this.config,{actions:(0,i.pi)((0,i.pi)({},o),e.actions),activities:(0,i.pi)((0,i.pi)({},a),e.activities),guards:(0,i.pi)((0,i.pi)({},s),e.guards),services:(0,i.pi)((0,i.pi)({},c),e.services),delays:(0,i.pi)((0,i.pi)({},u),e.delays)},null!=n?n:this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return(0,r.mf)(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:(0,r.Q8)(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var e=""===t,n=this.transitions.filter(function(n){var i=n.eventType===t;return e?i:i||"*"===n.eventType});return this.__cache.candidates[t]=n,n},t.prototype.getDelayedTransitions=function(){var t=this,e=this.config.after;if(!e)return[];var n=function(e,n){var i=(0,r.mf)(e)?"".concat(t.id,":delay[").concat(n,"]"):e,o=(0,c.e4)(i,t.id);return t.onEntry.push((0,c.lW)(o,{delay:e})),t.onExit.push((0,c.al)(o)),o};return((0,r.kJ)(e)?e.map(function(t,e){var r=n(t.delay,e);return(0,i.pi)((0,i.pi)({},t),{event:r})}):(0,r.xH)(Object.keys(e).map(function(t,o){var a=e[t],s=(0,r.HD)(a)?{target:a}:a,c=isNaN(+t)?t:+t,u=n(c,o);return(0,r.qo)(s).map(function(t){return(0,i.pi)((0,i.pi)({},t),{event:u,delay:c})})}))).map(function(e){var n=e.delay;return(0,i.pi)((0,i.pi)({},t.formatTransition(e)),{delay:n})})},t.prototype.getStateNodes=function(t){var e,n=this;if(!t)return[];var o=t instanceof a.ZM?t.value:(0,r.WM)(t,this.delimiter);if((0,r.HD)(o)){var s=this.getStateNode(o).initial;return void 0!==s?this.getStateNodes(((e={})[o]=s,e)):[this,this.states[o]]}var c=Object.keys(o),u=[this];return u.push.apply(u,(0,i.ev)([],(0,i.CR)((0,r.xH)(c.map(function(t){return n.getStateNode(t).getStateNodes(o[t])}))),!1)),u},t.prototype.handles=function(t){var e=(0,r.x6)(t);return this.events.includes(e)},t.prototype.resolveState=function(t){var e=t instanceof a.ZM?t:a.ZM.create(t),n=Array.from((0,h.P_)([],this.getStateNodes(e.value)));return new a.ZM((0,i.pi)((0,i.pi)({},e),{value:this.resolve(e.value),configuration:n,done:(0,h.Ij)(n,this),tags:(0,h.Oe)(n),machine:this.machine}))},t.prototype.transitionLeafNode=function(t,e,n){var i=this.getStateNode(t).next(e,n);return i&&i.transitions.length?i:this.next(e,n)},t.prototype.transitionCompoundNode=function(t,e,n){var i=Object.keys(t),r=this.getStateNode(i[0])._transition(t[i[0]],e,n);return r&&r.transitions.length?r:this.next(e,n)},t.prototype.transitionParallelNode=function(t,e,n){var o,a,s={};try{for(var c=(0,i.XA)(Object.keys(t)),u=c.next();!u.done;u=c.next()){var f=u.value,h=t[f];if(h){var l=this.getStateNode(f)._transition(h,e,n);l&&(s[f]=l)}}}catch(d){o={error:d}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}var v=Object.keys(s).map(function(t){return s[t]}),p=(0,r.xH)(v.map(function(t){return t.transitions}));if(!v.some(function(t){return t.transitions.length>0}))return this.next(e,n);var y=(0,r.xH)(v.map(function(t){return t.entrySet})),g=(0,r.xH)(Object.keys(s).map(function(t){return s[t].configuration}));return{transitions:p,entrySet:y,exitSet:(0,r.xH)(v.map(function(t){return t.exitSet})),configuration:g,source:e,actions:(0,r.xH)(Object.keys(s).map(function(t){return s[t].actions}))}},t.prototype._transition=function(t,e,n){return(0,r.HD)(t)?this.transitionLeafNode(t,e,n):1===Object.keys(t).length?this.transitionCompoundNode(t,e,n):this.transitionParallelNode(t,e,n)},t.prototype.getTransitionData=function(t,e){return this._transition(t.value,t,(0,r.g5)(e))},t.prototype.next=function(t,e){var n,o,a,s=this,c=e.name,u=[],f=[];try{for(var h=(0,i.XA)(this.getCandidates(c)),l=h.next();!l.done;l=h.next()){var d=l.value,v=d.cond,y=d.in,g=t.context,m=!y||((0,r.HD)(y)&&p(y)?t.matches((0,r.WM)(this.getStateNodeById(y).path,this.delimiter)):(0,r.W)((0,r.WM)(y,this.delimiter),(0,r.ET)(this.path.slice(0,-2))(t.value))),x=!1;try{x=!v||(0,r.vx)(this.machine,v,g,e,t)}catch(b){throw Error("Unable to evaluate guard '".concat(v.name||v.type,"' in transition for event '").concat(c,"' in state node '").concat(this.id,"':\n").concat(b.message))}if(x&&m){void 0!==d.target&&(f=d.target),u.push.apply(u,(0,i.ev)([],(0,i.CR)(d.actions),!1)),a=d;break}}}catch(S){n={error:S}}finally{try{l&&!l.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}if(a){if(!f.length)return{transitions:[a],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var w=(0,r.xH)(f.map(function(e){return s.getRelativeStateNodes(e,t.historyValue)})),_=!!a.internal,E=[];return _||f.forEach(function(t){E.push.apply(E,(0,i.ev)([],(0,i.CR)(s.getExternalReentryNodes(t)),!1))}),{transitions:[a],entrySet:E,exitSet:_?[]:[this],configuration:w,source:t,actions:u}}},t.prototype.getExternalReentryNodes=function(t){for(var e=[],n=(0,i.CR)(t.order>this.order?[t,this]:[this,t],2),r=n[0],o=n[1];r&&r!==o;)e.push(r),r=r.parent;return r!==o?[]:(e.push(o),e)},t.prototype.getActions=function(t,e,n,a,u,f,l){var d,v,p,y,g=this,m=(0,h.P_)([],f?this.getStateNodes(f.value):[this]);try{for(var x=(0,i.XA)(t),b=x.next();!b.done;b=x.next()){var S=b.value;(!(0,h.e$)(m,S)||(0,h.e$)(n.entrySet,S.parent)&&!(0,h.e$)(n.entrySet,S))&&n.entrySet.push(S)}}catch(w){d={error:w}}finally{try{b&&!b.done&&(v=x.return)&&v.call(x)}finally{if(d)throw d.error}}try{for(var _=(0,i.XA)(m),E=_.next();!E.done;E=_.next()){var S=E.value;(!(0,h.e$)(t,S)||(0,h.e$)(n.exitSet,S.parent))&&n.exitSet.push(S)}}catch(O){p={error:O}}finally{try{E&&!E.done&&(y=_.return)&&y.call(_)}finally{if(p)throw p.error}}var A=(0,r.xH)(n.entrySet.map(function(t){var e=[];if("final"!==t.type)return e;var i=t.parent;if(!i.parent)return e;e.push((0,c.aT)(t.id,t.doneData),(0,c.aT)(i.id,t.doneData?(0,r.QX)(t.doneData,a,u):void 0));var o=i.parent;return"parallel"===o.type&&(0,h.G)(o).every(function(t){return(0,h.Ij)(n.configuration,t)})&&e.push((0,c.aT)(o.id)),e}));n.exitSet.sort(function(t,e){return e.order-t.order}),n.entrySet.sort(function(t,e){return t.order-e.order});var M=new Set(n.entrySet),k=new Set(n.exitSet),j=Array.from(M).map(function(t){var e=t.onEntry,n=t.activities.map(function(t){return(0,c.BL)(t)});return(0,c.AE)(l?(0,i.ev)((0,i.ev)([],(0,i.CR)(e),!1),(0,i.CR)(n),!1):(0,i.ev)((0,i.ev)([],(0,i.CR)(n),!1),(0,i.CR)(e),!1),g.machine.options.actions)}).concat([A.map(c.OU)]),T=Array.from(k).map(function(t){return(0,c.AE)((0,i.ev)((0,i.ev)([],(0,i.CR)(t.onExit),!1),(0,i.CR)(t.activities.map(function(t){return(0,c.sT)(t)})),!1),g.machine.options.actions)}).concat([(0,c.AE)(n.actions,this.machine.options.actions)]).concat(j);if(e){var N=(0,c.AE)((0,r.xH)((0,i.ev)([],(0,i.CR)(t),!1).sort(function(t,e){return e.order-t.order}).map(function(t){return t.onExit})),this.machine.options.actions).filter(function(t){return t.type!==s.OU&&(t.type!==s.lW||!!t.to&&t.to!==o.K.Internal)});return T.concat([N])}return T},t.prototype.transition=function(t,e,n,o){void 0===t&&(t=this.initialState);var s,c=(0,r.g5)(e);if(t instanceof a.ZM)s=void 0===n?t:this.resolveState(a.ZM.from(t,n));else{var f=(0,r.HD)(t)?this.resolve((0,r.on)(this.getResolvedPath(t))):this.resolve(t),l=null!=n?n:this.machine.context;s=this.resolveState(a.ZM.from(f,l))}if(!u.M&&"*"===c.name)throw Error("An event cannot have the wildcard type ('".concat("*","')"));if(this.strict&&!this.events.includes(c.name)&&!(0,r.JQ)(c.name))throw Error("Machine '".concat(this.id,"' does not accept event '").concat(c.name,"'"));var d=this._transition(s.value,s,c)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},v=(0,h.P_)([],this.getStateNodes(s.value)),p=d.configuration.length?(0,h.P_)(v,d.configuration):v;return d.configuration=(0,i.ev)([],(0,i.CR)(p),!1),this.resolveTransition(d,s,s.context,o,c)},t.prototype.resolveRaisedTransition=function(t,e,n,r){var o,a=t.actions;return(t=this.transition(t,e,void 0,r))._event=n,t.event=n.data,(o=t.actions).unshift.apply(o,(0,i.ev)([],(0,i.CR)(a),!1)),t},t.prototype.resolveTransition=function(t,e,n,u,f){var d,v,p,y,g=this;void 0===f&&(f=c.bf);var m=t.configuration,x=!e||t.transitions.length>0,b=x?t.configuration:e?e.configuration:[],S=(0,h.Ij)(b,this),w=x?(0,h.NA)(this.machine,m):void 0,_=e?e.historyValue?e.historyValue:t.source?this.machine.historyValue(e.value):void 0:void 0,E=this.getActions(new Set(b),S,t,n,f,e,u),O=e?(0,i.pi)({},e.activities):{};try{for(var A=(0,i.XA)(E),M=A.next();!M.done;M=A.next()){var k=M.value;try{for(var j=(p=void 0,(0,i.XA)(k)),T=j.next();!T.done;T=j.next()){var N=T.value;N.type===s.BL?O[N.activity.id||N.activity.type]=N:N.type===s.sT&&(O[N.activity.id||N.activity.type]=!1)}}catch(C){p={error:C}}finally{try{T&&!T.done&&(y=j.return)&&y.call(j)}finally{if(p)throw p.error}}}}catch(R){d={error:R}}finally{try{M&&!M.done&&(v=A.return)&&v.call(A)}finally{if(d)throw d.error}}var P=(0,i.CR)((0,c.yC)(this,e,n,f,E,u,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),D=P[0],L=P[1],H=(0,i.CR)((0,r.uK)(D,function(t){return t.type===s.OU||t.type===s.lW&&t.to===o.K.Internal}),2),V=H[0],X=H[1],I=D.filter(function(t){var e;return t.type===s.BL&&(null===(e=t.activity)||void 0===e?void 0:e.type)===s.dw}).reduce(function(t,e){return t[e.activity.id]=(0,l.mu)(e.activity,g.machine,L,f),t},e?(0,i.pi)({},e.children):{}),Z=new a.ZM({value:w||e.value,context:L,_event:f,_sessionid:e?e._sessionid:null,historyValue:w?_?(0,r.yv)(_,w):void 0:e?e.historyValue:void 0,history:!w||t.source?e:void 0,actions:w?X:[],activities:w?O:e?e.activities:{},events:[],configuration:b,transitions:t.transitions,children:I,done:S,tags:(0,h.Oe)(b),machine:this}),J=n!==L;Z.changed=f.name===s.Vx||J;var U=Z.history;U&&delete U.history;var K=!S&&(this._transient||m.some(function(t){return t._transient}));if(!x&&(!K||""===f.name))return Z;var Q=Z;if(!S)for(K&&(Q=this.resolveRaisedTransition(Q,{type:s.IA},f,u));V.length;){var $=V.shift();Q=this.resolveRaisedTransition(Q,$._event,f,u)}var q=Q.changed||(U?!!Q.actions.length||J||typeof U.value!=typeof Q.value||!(0,a.j_)(Q.value,U.value):void 0);return Q.changed=q,Q.history=U,Q},t.prototype.getStateNode=function(t){if(p(t))return this.machine.getStateNodeById(t);if(!this.states)throw Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var e=this.states[t];if(!e)throw Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return e},t.prototype.getStateNodeById=function(t){var e=p(t)?t.slice(1):t;if(e===this.id)return this;var n=this.machine.idMap[e];if(!n)throw Error("Child state node '#".concat(e,"' does not exist on machine '").concat(this.id,"'"));return n},t.prototype.getStateNodeByPath=function(t){if("string"==typeof t&&p(t))try{return this.getStateNodeById(t.slice(1))}catch(e){}for(var n=(0,r.Q9)(t,this.delimiter).slice(),i=this;n.length;){var o=n.shift();if(!o.length)break;i=i.getStateNode(o)}return i},t.prototype.resolve=function(t){var e,n=this;if(!t)return this.initialStateValue||v;switch(this.type){case"parallel":return(0,r.Q8)(this.initialStateValue,function(e,i){return e?n.getStateNode(i).resolve(t[i]||e):v});case"compound":if((0,r.HD)(t)){var i=this.getStateNode(t);if("parallel"===i.type||"compound"===i.type)return(e={})[t]=i.initialStateValue,e;return t}if(!Object.keys(t).length)return this.initialStateValue||{};return(0,r.Q8)(t,function(t,e){return t?n.getStateNode(e).resolve(t):v});default:return t||v}},t.prototype.getResolvedPath=function(t){if(p(t)){var e=this.machine.idMap[t.slice(1)];if(!e)throw Error("Unable to find state node '".concat(t,"'"));return e.path}return(0,r.Q9)(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)e=(0,r.ib)(this.states,function(t){return t.initialStateValue||v},function(t){return"history"!==t.type});else if(void 0!==this.initial){if(!this.states[this.initial])throw Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));e=(0,h.N9)(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else e={};return this.__cache.initialStateValue=e,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,e){this._init();var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,entrySet:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!=e?e:this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var e=this.config;t=(0,r.HD)(e.target)&&p(e.target)?(0,r.on)(this.machine.getStateNodeById(e.target).path.slice(this.path.length-1)):e.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,e,n){return void 0===n&&(n=!0),n?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;if((0,h.N9)(this))return[this];if("compound"===this.type&&!this.initial)return u.M||(0,r.ZK)(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var e=(0,r.SA)(this.initialStateValue);return(0,r.xH)(e.map(function(e){return t.getFromRelativePath(e)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var e=(0,i.CR)(t),n=e[0],r=e.slice(1);if(!this.states)throw Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(r)},t.prototype.historyValue=function(t){if(Object.keys(this.states).length)return{current:t||this.initialStateValue,states:(0,r.ib)(this.states,function(e,n){if(!t)return e.historyValue();var i=(0,r.HD)(t)?void 0:t[n];return e.historyValue(i||e.initialStateValue)},function(t){return!t.history})}},t.prototype.resolveHistory=function(t){var e=this;if("history"!==this.type)return[this];var n=this.parent;if(!t){var i=this.target;return i?(0,r.xH)((0,r.SA)(i).map(function(t){return n.getFromRelativePath(t)})):n.initialStateNodes}var o=(0,r.gk)(n.path,"states")(t).current;return(0,r.HD)(o)?[n.getStateNode(o)]:(0,r.xH)((0,r.SA)(o).map(function(t){return"deep"===e.history?n.getFromRelativePath(t):[n.states[t[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this;return[this.id].concat((0,r.xH)(Object.keys(this.states).map(function(e){return t.states[e].stateIds})))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){if(this.__cache.events)return this.__cache.events;var t,e,n,r,o=this.states,a=new Set(this.ownEvents);if(o)try{for(var s=(0,i.XA)(Object.keys(o)),c=s.next();!c.done;c=s.next()){var u=o[c.value];if(u.states)try{for(var f=(n=void 0,(0,i.XA)(u.events)),h=f.next();!h.done;h=f.next()){var l=h.value;a.add("".concat(l))}}catch(d){n={error:d}}finally{try{h&&!h.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){return Array.from(new Set(this.transitions.filter(function(t){return!(!t.target&&!t.actions.length&&t.internal)}).map(function(t){return t.eventType})))},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var e=this;if(void 0!==t)return t.map(function(t){if(!(0,r.HD)(t))return t;var n=t[0]===e.delimiter;if(n&&!e.parent)return e.getStateNodeByPath(t.slice(1));var i=n?e.key+t:t;if(!e.parent)return e.getStateNodeByPath(i);try{return e.parent.getStateNodeByPath(i)}catch(o){throw Error("Invalid transition definition for state node '".concat(e.id,"':\n").concat(o.message))}})},t.prototype.formatTransition=function(t){var e=this,n=(0,r.rg)(t.target),o="internal"in t?t.internal:!n||n.some(function(t){return(0,r.HD)(t)&&t[0]===e.delimiter}),a=this.machine.options.guards,s=this.resolveTarget(n),u=(0,i.pi)((0,i.pi)({},t),{actions:(0,c.AE)((0,r.qo)(t.actions)),cond:(0,r.Qi)(t.cond,a),target:s,source:this,internal:o,eventType:t.event,toJSON:function(){return(0,i.pi)((0,i.pi)({},u),{target:u.target?u.target.map(function(t){return"#".concat(t.id)}):void 0,source:"#".concat(e.id)})}});return u},t.prototype.formatTransitions=function(){var t,e,n,o=this;if(this.config.on){if(Array.isArray(this.config.on))n=this.config.on;else{var a=this.config.on,s=a["*"],f=(0,i._T)(a,["*"]);n=(0,r.xH)(Object.keys(f).map(function(t){u.M||""!==t||(0,r.ZK)(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(o.id,'".'));var e=(0,r.jh)(t,f[t]);return u.M||y(o,t,e),e}).concat((0,r.jh)("*",void 0===s?[]:s)))}}else n=[];var h=this.config.always?(0,r.jh)("",this.config.always):[],l=this.config.onDone?(0,r.jh)(String((0,c.aT)(this.id)),this.config.onDone):[];u.M||(0,r.ZK)(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var d=(0,r.xH)(this.invoke.map(function(t){var e=[];return t.onDone&&e.push.apply(e,(0,i.ev)([],(0,i.CR)((0,r.jh)(String((0,c.Sl)(t.id)),t.onDone)),!1)),t.onError&&e.push.apply(e,(0,i.ev)([],(0,i.CR)((0,r.jh)(String((0,c.vU)(t.id)),t.onError)),!1)),e})),v=this.after,p=(0,r.xH)((0,i.ev)((0,i.ev)((0,i.ev)((0,i.ev)([],(0,i.CR)(l),!1),(0,i.CR)(d),!1),(0,i.CR)(n),!1),(0,i.CR)(h),!1).map(function(t){return(0,r.qo)(t).map(function(t){return o.formatTransition(t)})}));try{for(var g=(0,i.XA)(v),m=g.next();!m.done;m=g.next()){var x=m.value;p.push(x)}}catch(b){t={error:b}}finally{try{m&&!m.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}return p},t}(),m=!1;function x(t,e){return u.M||t.predictableActionArguments||m||(m=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new g(t,e)}},54911:function(t,e,n){n.d(e,{TL:function(){return u},ZM:function(){return h},j1:function(){return f},j_:function(){return function t(e,n){if(e===n)return!0;if(void 0===e||void 0===n)return!1;if((0,o.HD)(e)||(0,o.HD)(n))return e===n;var i=Object.keys(e),r=Object.keys(n);return i.length===r.length&&i.every(function(i){return t(e[i],n[i])})}}});var i=n(63056),r=n(87353),o=n(89823),a=n(56115),s=n(30375),c=n(14066);function u(t){return"object"==typeof t&&null!==t&&"value"in t&&"_event"in t}function f(t,e){var n=t.exec;return(0,i.pi)((0,i.pi)({},t),{exec:void 0!==n?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}var h=function(){function t(t){var e,n=this;this.actions=[],this.activities=r.qP,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||r.qP,this.meta=(0,a.xZ)(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!==(e=Array.isArray(t.tags)?new Set(t.tags):t.tags)&&void 0!==e?e:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return(0,a.nJ)(n.configuration)}})}return t.from=function(e,n){if(e instanceof t)return e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e;var i=s.bf;return new t({value:e,context:n,_event:i,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var i=s.bf;return new t({value:e.value,context:n,_event:i,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(t,e){var n=this;if(void 0===t&&(t=this.value),void 0===e&&(e="."),(0,o.HD)(t))return[t];var r=Object.keys(t);return r.concat.apply(r,(0,i.ev)([],(0,i.CR)(r.map(function(i){return n.toStrings(t[i],e).map(function(t){return i+e+t})})),!1))},t.prototype.toJSON=function(){this.configuration,this.transitions;var t=this.tags;this.machine;var e=(0,i._T)(this,["configuration","transitions","tags","machine"]);return(0,i.pi)((0,i.pi)({},e),{tags:Array.from(t)})},t.prototype.matches=function(t){return(0,o.W)(t,this.value)},t.prototype.hasTag=function(t){return this.tags.has(t)},t.prototype.can=function(t){c.M&&(0,o.ZK)(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var e,n=null===(e=this.machine)||void 0===e?void 0:e.getTransitionData(this,t);return!!(null==n?void 0:n.transitions.length)&&n.transitions.some(function(t){return void 0!==t.target||t.actions.length})},t}()},63056:function(t,e,n){n.d(e,{CR:function(){return a},XA:function(){return o},_T:function(){return r},ev:function(){return s},pi:function(){return i}});/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ var i=function(){return(i=Object.assign||function(t){for(var e,n=1,i=arguments.length;ne.indexOf(i)&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(t);re.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]]);return n}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function s(t,e,n){if(n||2==arguments.length)for(var i,r=0,o=e.length;r=100&&e<400?"atom":"error"}function o(n,r){return n.skipToEnd(),r.cur=s,null}function i(n,r){return n.eatWhile(/\S/),r.cur=a,"string.special"}function a(n,r){return n.match(/^HTTP\/\d\.\d$/)?(r.cur=s,"keyword"):u(n,r)}function s(n){return n.sol()&&!n.eat(/[ \t]/)?n.match(/^.*?:/)?"atom":(n.skipToEnd(),"error"):(n.skipToEnd(),"string")}function f(n){return n.skipToEnd(),null}t.r(r),t.d(r,{http:function(){return k}});const k={name:"http",token:function(n,r){var t=r.cur;return t!=s&&t!=f&&n.eatSpace()?null:t(n,r)},blankLine:function(n){n.cur=f},startState:function(){return{cur:e}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6443.a1c9257ad6c47d80.js b/static/web/_next/static/chunks/6443.a1c9257ad6c47d80.js new file mode 100644 index 000000000..0417794dd --- /dev/null +++ b/static/web/_next/static/chunks/6443.a1c9257ad6c47d80.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6443],{96443:function(e,n,t){t.r(n),t.d(n,{toml:function(){return r}});let r={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,n){if(n.inString||'"'!=e.peek()&&"'"!=e.peek()||(n.stringType=e.peek(),e.next(),n.inString=!0),e.sol()&&0===n.inArray&&(n.lhs=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property":"string"}if(n.inArray&&"]"===e.peek())return e.next(),n.inArray--,"bracket";if(n.lhs&&"["===e.peek()&&e.skipTo("]"))return e.next(),"]"===e.peek()&&e.next(),"atom";if("#"===e.peek())return e.skipToEnd(),"comment";if(e.eatSpace());else if(n.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e}))return"property";else if(n.lhs&&"="===e.peek())e.next(),n.lhs=!1;else{if(!n.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)||!n.lhs&&(e.match("true")||e.match("false")))return"atom";if(!n.lhs&&"["===e.peek())return n.inArray++,e.next(),"bracket";if(!n.lhs&&e.match(/^\-?\d+(?:\.\d+)?/))return"number";e.eatSpace()||e.next()}return null},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6443.d7b5e36c4afcfcb3.js b/static/web/_next/static/chunks/6443.d7b5e36c4afcfcb3.js deleted file mode 100644 index 03984a38d..000000000 --- a/static/web/_next/static/chunks/6443.d7b5e36c4afcfcb3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6443],{96443:function(e,n,t){t.r(n),t.d(n,{toml:function(){return r}});const r={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,n){if(n.inString||'"'!=e.peek()&&"'"!=e.peek()||(n.stringType=e.peek(),e.next(),n.inString=!0),e.sol()&&0===n.inArray&&(n.lhs=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property":"string"}return n.inArray&&"]"===e.peek()?(e.next(),n.inArray--,"bracket"):n.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:n.lhs&&e.eatWhile((function(e){return"="!=e&&" "!=e}))?"property":n.lhs&&"="===e.peek()?(e.next(),n.lhs=!1,null):!n.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":n.lhs||!e.match("true")&&!e.match("false")?n.lhs||"["!==e.peek()?!n.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(n.inArray++,e.next(),"bracket"):"atom"},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6471.08c73c913c0d33e4.js b/static/web/_next/static/chunks/6471.08c73c913c0d33e4.js deleted file mode 100644 index 10ae6623a..000000000 --- a/static/web/_next/static/chunks/6471.08c73c913c0d33e4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6471],{36471:function(e,t,n){function r(e,t,n){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=u;break}r.next()}return n&&(i.tokenize=n),e}}function i(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=u,e}}function u(e,t){function n(n){return t.tokenize=n,n(e,t)}var a=e.sol(),o=e.next();switch(o){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=s,"tag";case"_":if(e.eat("_"))return n(r("strong","__",u));break;case"'":if(e.eat("'"))return n(r("em","''",u));break;case"(":if(e.eat("("))return n(r("link","))",u));break;case"[":return n(r("url","]",u));case"|":if(e.eat("|"))return n(r("comment","||"));break;case"-":if(e.eat("="))return n(r("header string","=-",u));if(e.eat("-"))return n(r("error tw-deleted","--",u));break;case"=":if(e.match("=="))return n(r("tw-underline","===",u));break;case":":if(e.eat(":"))return n(r("comment","::"));break;case"^":return n(r("tw-box","^"));case"~":if(e.match("np~"))return n(r("meta","~/np~"))}if(a)switch(o){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(i("header string"));case"*":case"#":case"+":return n(i("tw-listitem bracket"))}return null}var a,o,c,f;function s(e,t){var n,r=e.next(),i=e.peek();return"}"==r?(t.tokenize=u,"tag"):"("==r||")"==r?"bracket":"="==r?(o="equals",">"==i&&(e.next(),i=e.peek()),/[\'\"]/.test(i)||(t.tokenize=function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(" "==n||","==n||/[ )}]/.test(r)){t.tokenize=s;break}}return"string"}),"operator"):/[\'\"]/.test(r)?(t.tokenize=(n=r,function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=s;break}return"string"}),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function l(){for(var e=arguments.length-1;e>=0;e--)c.cc.push(arguments[e])}function k(){return l.apply(null,arguments),!0}function d(e,t){var n=c.context&&c.context.noIndent;c.context={prev:c.context,pluginName:e,indent:c.indented,startOfLine:t,noIndent:n}}function p(){c.context&&(c.context=c.context.prev)}function g(e){if("openPlugin"==e)return c.pluginName=a,k(m,(n=c.startOfLine,function(e){return"selfclosePlugin"==e||"endPlugin"==e?k():"endPlugin"==e?(d(c.pluginName,n),k()):k()}));if("closePlugin"==e){var t=!1;return c.context?(t=c.context.pluginName!=a,p()):t=!0,t&&(f="error"),k(function(e){return function(t){return e&&(f="error"),"endPlugin"==t?k():l()}}(t))}return"string"==e?(c.context&&"!cdata"==c.context.name||d("!cdata"),c.tokenize==u&&p(),k()):k();var n}function m(e){return"keyword"==e?(f="attribute",k(m)):"equals"==e?k(x,m):l()}function x(e){return"keyword"==e?(f="string",k()):"string"==e?k(h):l()}function h(e){return"string"==e?k(h):l()}n.r(t),n.d(t,{tiki:function(){return b}});const b={name:"tiki",startState:function(){return{tokenize:u,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;f=o=a=null;var n=t.tokenize(e,t);if((n||o)&&"comment"!=n)for(c=t;;){if((t.cc.pop()||g)(o||n))break}return t.startOfLine=!1,f||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6471.cb795f11f73576f4.js b/static/web/_next/static/chunks/6471.cb795f11f73576f4.js new file mode 100644 index 000000000..9ee4717aa --- /dev/null +++ b/static/web/_next/static/chunks/6471.cb795f11f73576f4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6471],{36471:function(e,t,n){var r,i,a,u;function o(e,t,n){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=f;break}r.next()}return n&&(i.tokenize=n),e}}function c(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=f,e}}function f(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.sol(),i=e.next();switch(i){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=s,"tag";case"_":if(e.eat("_"))return n(o("strong","__",f));break;case"'":if(e.eat("'"))return n(o("em","''",f));break;case"(":if(e.eat("("))return n(o("link","))",f));break;case"[":return n(o("url","]",f));case"|":if(e.eat("|"))return n(o("comment","||"));break;case"-":if(e.eat("="))return n(o("header string","=-",f));if(e.eat("-"))return n(o("error tw-deleted","--",f));break;case"=":if(e.match("=="))return n(o("tw-underline","===",f));break;case":":if(e.eat(":"))return n(o("comment","::"));break;case"^":return n(o("tw-box","^"));case"~":if(e.match("np~"))return n(o("meta","~/np~"))}if(r)switch(i){case"!":if(e.match("!!!!!")||e.match("!!!!"))return n(c("header string"));if(e.match("!!!"))return n(c("header string"));if(e.match("!!"))return n(c("header string"));else return n(c("header string"));case"*":case"#":case"+":return n(c("tw-listitem bracket"))}return null}function s(e,t){var n=e.next(),r=e.peek();return"}"==n?(t.tokenize=f,"tag"):"("==n||")"==n?"bracket":"="==n?(i="equals",">"==r&&(e.next(),r=e.peek()),/[\'\"]/.test(r)||(t.tokenize=function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(" "==n||","==n||/[ )}]/.test(r)){t.tokenize=s;break}}return"string"}),"operator"):/[\'\"]/.test(n)?(t.tokenize=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=s;break}return"string"},t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function l(){for(var e=arguments.length-1;e>=0;e--)a.cc.push(arguments[e])}function k(){return l.apply(null,arguments),!0}function d(e,t){var n=a.context&&a.context.noIndent;a.context={prev:a.context,pluginName:e,indent:a.indented,startOfLine:t,noIndent:n}}function g(){a.context&&(a.context=a.context.prev)}function p(e){if("openPlugin"==e){var t;return a.pluginName=r,k(m,(t=a.startOfLine,function(e){return"selfclosePlugin"==e||"endPlugin"==e||"endPlugin"==e&&d(a.pluginName,t),k()}))}if("closePlugin"==e){var n,i=!1;return a.context?(i=a.context.pluginName!=r,g()):i=!0,i&&(u="error"),k((n=i,function(e){return(n&&(u="error"),"endPlugin"==e)?k():l()}))}return"string"==e&&(a.context&&"!cdata"==a.context.name||d("!cdata"),a.tokenize==f&&g()),k()}function m(e){return"keyword"==e?(u="attribute",k(m)):"equals"==e?k(h,m):l()}function h(e){return"keyword"==e?(u="string",k()):"string"==e?k(x):l()}function x(e){return"string"==e?k(x):l()}n.r(t),n.d(t,{tiki:function(){return b}});let b={name:"tiki",startState:function(){return{tokenize:f,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;u=i=r=null;var n=t.tokenize(e,t);if((n||i)&&"comment"!=n)for(a=t;!(t.cc.pop()||p)(i||n););return t.startOfLine=!1,u||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6665.8350b94f2a309c5f.js b/static/web/_next/static/chunks/6665.8350b94f2a309c5f.js new file mode 100644 index 000000000..f1373453f --- /dev/null +++ b/static/web/_next/static/chunks/6665.8350b94f2a309c5f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{66665:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!\/]/;function I(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){var a=e.peek();a&&("b"==(a=a.toLowerCase())||"h"==a||"o"==a)&&e.next(),o=!0;break}i=!i&&"\\"==r}return(o||!(i||O))&&(t.tokenize=null),"string"},t.tokenize(e,t);if(/[\[\]{}\(\),;\\:\?\.]/.test(n))return o=n,"punctuation";if("#"==n)return e.skipToEnd(),"atom";if("%"==n)return e.eatWhile(/\b/),"atom";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("/"==n){if(e.eat("*"))return t.tokenize=z,z(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(w.test(n))return"@"==n&&(e.match("try")||e.match("catch")||e.match("lazy"))?"keyword":(e.eatWhile(w),"operator");e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return l.propertyIsEnumerable(r)?"keyword":c.propertyIsEnumerable(r)?"builtin":u.propertyIsEnumerable(r)||m.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||p.propertyIsEnumerable(r)||d.propertyIsEnumerable(r)||b.propertyIsEnumerable(r)?"def":h.propertyIsEnumerable(r)||y.propertyIsEnumerable(r)||v.propertyIsEnumerable(r)?"string":g.propertyIsEnumerable(r)?"typeName.standard":x.propertyIsEnumerable(r)?"modifier":k.propertyIsEnumerable(r)?"atom":"variable"}function z(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function C(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function L(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new C(r,t,n,null,e.context)}function S(e){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}let _={name:"ttcn",startState:function(){return{tokenize:null,context:new C(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;o=null;var r=(t.tokenize||I)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),(";"==o||":"==o||","==o)&&"statement"==n.type)S(t);else if("{"==o)L(t,e.column(),"}");else if("["==o)L(t,e.column(),"]");else if("("==o)L(t,e.column(),")");else if("}"==o){for(;"statement"==n.type;)n=S(t);for("}"==n.type&&(n=S(t));"statement"==n.type;)n=S(t)}else o==n.type?S(t):E&&(("}"==n.type||"top"==n.type)&&";"!=o||"statement"==n.type&&"newstatement"==o)&&L(t,e.column(),"statement");return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:a}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6665.9fc811441c5fc66b.js b/static/web/_next/static/chunks/6665.9fc811441c5fc66b.js deleted file mode 100644 index 157a8d332..000000000 --- a/static/web/_next/static/chunks/6665.9fc811441c5fc66b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6665],{66665:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!\/]/;function I(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,i=!1,o=!1;null!=(r=e.next());){if(r==n&&!i){var a=e.peek();a&&("b"!=(a=a.toLowerCase())&&"h"!=a&&"o"!=a||e.next()),o=!0;break}i=!i&&"\\"==r}return(o||!i&&!O)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\\:\?\.]/.test(r))return s=r,"punctuation";if("#"==r)return e.skipToEnd(),"atom";if("%"==r)return e.eatWhile(/\b/),"atom";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("*"))return t.tokenize=z,z(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(w.test(r))return"@"==r&&(e.match("try")||e.match("catch")||e.match("lazy"))?"keyword":(e.eatWhile(w),"operator");e.eatWhile(/[\w\$_\xa1-\uffff]/);var i=e.current();return l.propertyIsEnumerable(i)?"keyword":c.propertyIsEnumerable(i)?"builtin":u.propertyIsEnumerable(i)||m.propertyIsEnumerable(i)||f.propertyIsEnumerable(i)||p.propertyIsEnumerable(i)||d.propertyIsEnumerable(i)||b.propertyIsEnumerable(i)?"def":h.propertyIsEnumerable(i)||y.propertyIsEnumerable(i)||v.propertyIsEnumerable(i)?"string":g.propertyIsEnumerable(i)?"typeName.standard":x.propertyIsEnumerable(i)?"modifier":k.propertyIsEnumerable(i)?"atom":"variable"}function z(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function C(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function L(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new C(r,t,n,null,e.context)}function S(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const _={name:"ttcn",startState:function(){return{tokenize:null,context:new C(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;s=null;var r=(t.tokenize||I)(e,t);if("comment"==r)return r;if(null==n.align&&(n.align=!0),";"!=s&&":"!=s&&","!=s||"statement"!=n.type)if("{"==s)L(t,e.column(),"}");else if("["==s)L(t,e.column(),"]");else if("("==s)L(t,e.column(),")");else if("}"==s){for(;"statement"==n.type;)n=S(t);for("}"==n.type&&(n=S(t));"statement"==n.type;)n=S(t)}else s==n.type?S(t):E&&(("}"==n.type||"top"==n.type)&&";"!=s||"statement"==n.type&&"newstatement"==s)&&L(t,e.column(),"statement");else S(t);return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:o}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6692.03dfdcdd8b0add89.js b/static/web/_next/static/chunks/6692.03dfdcdd8b0add89.js deleted file mode 100644 index 9f50871da..000000000 --- a/static/web/_next/static/chunks/6692.03dfdcdd8b0add89.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6692],{26692:function(e,t,r){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}r.r(t),r.d(t,{webIDL:function(){return C}});var a=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],i=n(a),c=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],o=n(c),l=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],m=n(l),u=["true","false","Infinity","NaN","null"],s=n(u),f=n(["callback","dictionary","enum","interface"]),d=n(["typedef"]),y=/^[:<=>?]/,b=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,p=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,h=/^_?[A-Za-z][0-9A-Z_a-z-]*/,A=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,g=/^"[^"]*"/,k=/^\/\*.*?\*\//,D=/^\/\*.*/,E=/^.*?\*\//;const C={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var r=function(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(E)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(k))return"comment";if(e.match(D))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(b)||e.match(p)))return"number";if(e.match(g))return"string";if(t.startDef&&e.match(h))return"def";if(t.endDef&&e.match(A))return t.endDef=!1,"def";if(e.match(m))return"keyword";if(e.match(o)){var r=t.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===r||"implements"===r||"implements"===n||"="===n?"builtin":"type"}return e.match(i)?"builtin":e.match(s)?"atom":e.match(h)?"variable":e.match(y)?"operator":(e.next(),null)}(e,t);if(r){var n=e.current();t.lastToken=n,"keyword"===r?(t.startDef=f.test(n),t.endDef=t.endDef||d.test(n)):t.startDef=!1}return r},languageData:{autocomplete:a.concat(c).concat(l).concat(u)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6692.dd74b5f83817cb40.js b/static/web/_next/static/chunks/6692.dd74b5f83817cb40.js new file mode 100644 index 000000000..cd2f33ec5 --- /dev/null +++ b/static/web/_next/static/chunks/6692.dd74b5f83817cb40.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6692],{26692:function(e,t,r){function n(e){return RegExp("^(("+e.join(")|(")+"))\\b")}r.r(t),r.d(t,{webIDL:function(){return C}});var a=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],i=n(a),c=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],o=n(c),l=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],m=n(l),u=["true","false","Infinity","NaN","null"],s=n(u),f=n(["callback","dictionary","enum","interface"]),d=n(["typedef"]),y=/^[:<=>?]/,b=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,p=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,h=/^_?[A-Za-z][0-9A-Z_a-z-]*/,A=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,g=/^"[^"]*"/,k=/^\/\*.*?\*\//,D=/^\/\*.*/,E=/^.*?\*\//;let C={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var r=function(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(E)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(k))return"comment";if(e.match(D))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(b)||e.match(p)))return"number";if(e.match(g))return"string";if(t.startDef&&e.match(h))return"def";if(t.endDef&&e.match(A))return t.endDef=!1,"def";if(e.match(m))return"keyword";if(e.match(o)){var r=t.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===r||"implements"===r||"implements"===n||"="===n?"builtin":"type"}return e.match(i)?"builtin":e.match(s)?"atom":e.match(h)?"variable":e.match(y)?"operator":(e.next(),null)}(e,t);if(r){var n=e.current();t.lastToken=n,"keyword"===r?(t.startDef=f.test(n),t.endDef=t.endDef||d.test(n)):t.startDef=!1}return r},languageData:{autocomplete:a.concat(c).concat(l).concat(u)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/673.5310afdb2da5faad.js b/static/web/_next/static/chunks/673.5310afdb2da5faad.js new file mode 100644 index 000000000..e9c7fa69e --- /dev/null +++ b/static/web/_next/static/chunks/673.5310afdb2da5faad.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[673],{20673:function(e,t,n){n.r(t),n.d(t,{cypher:function(){return m}});var r,a=function(e){return RegExp("^(?:"+e.join("|")+")$","i")},i=function(e){r=null;var t=e.next();if('"'===t)return e.match(/^.*?"/),"string";if("'"===t)return e.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(t))return r=t,"punctuation";if("/"===t&&e.eat("/"))return e.skipToEnd(),"comment";if(p.test(t))return e.eatWhile(p),null;if(e.eatWhile(/[_\w\d]/),e.eat(":"))return e.eatWhile(/[\w\d_\-]/),"atom";var n=e.current();return l.test(n)?"builtin":c.test(n)?"def":u.test(n)||d.test(n)?"keyword":"variable"},o=function(e,t,n){return e.context={prev:e.context,indent:e.indent,col:n,type:t}},s=function(e){return e.indent=e.context.indent,e.context=e.context.prev},l=a(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),c=a(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),u=a(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),d=a(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),p=/[*+\-<>=&|~%^]/;let m={name:"cypher",startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!==n&&t.context&&null==t.context.align&&"pattern"!==t.context.type&&(t.context.align=!0),"("===r)o(t,")",e.column());else if("["===r)o(t,"]",e.column());else if("{"===r)o(t,"}",e.column());else if(/[\]\}\)]/.test(r)){for(;t.context&&"pattern"===t.context.type;)s(t);t.context&&r===t.context.type&&s(t)}else"."===r&&t.context&&"pattern"===t.context.type?s(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?o(t,"pattern",e.column()):"pattern"!==t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),a=e.context;if(/[\]\}]/.test(r))for(;a&&"pattern"===a.type;)a=a.prev;var i=a&&r===a.type;return a?"keywords"===a.type?null:a.align?a.col+(i?0:1):a.indent+(i?0:n.unit):0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/673.7f955b234d85263a.js b/static/web/_next/static/chunks/673.7f955b234d85263a.js deleted file mode 100644 index fe60fc607..000000000 --- a/static/web/_next/static/chunks/673.7f955b234d85263a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[673],{20673:function(e,t,n){n.r(t),n.d(t,{cypher:function(){return m}});var r,a=function(e){return new RegExp("^(?:"+e.join("|")+")$","i")},o=function(e){r=null;var t=e.next();if('"'===t)return e.match(/^.*?"/),"string";if("'"===t)return e.match(/^.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(t))return r=t,"punctuation";if("/"===t&&e.eat("/"))return e.skipToEnd(),"comment";if(p.test(t))return e.eatWhile(p),null;if(e.eatWhile(/[_\w\d]/),e.eat(":"))return e.eatWhile(/[\w\d_\-]/),"atom";var n=e.current();return l.test(n)?"builtin":c.test(n)?"def":u.test(n)||d.test(n)?"keyword":"variable"},i=function(e,t,n){return e.context={prev:e.context,indent:e.indent,col:n,type:t}},s=function(e){return e.indent=e.context.indent,e.context=e.context.prev},l=a(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),c=a(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),u=a(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),d=a(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),p=/[*+\-<>=&|~%^]/;const m={name:"cypher",startState:function(){return{tokenize:o,context:null,indent:0,col:0}},token:function(e,t){if(e.sol()&&(t.context&&null==t.context.align&&(t.context.align=!1),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);if("comment"!==n&&t.context&&null==t.context.align&&"pattern"!==t.context.type&&(t.context.align=!0),"("===r)i(t,")",e.column());else if("["===r)i(t,"]",e.column());else if("{"===r)i(t,"}",e.column());else if(/[\]\}\)]/.test(r)){for(;t.context&&"pattern"===t.context.type;)s(t);t.context&&r===t.context.type&&s(t)}else"."===r&&t.context&&"pattern"===t.context.type?s(t):/atom|string|variable/.test(n)&&t.context&&(/[\}\]]/.test(t.context.type)?i(t,"pattern",e.column()):"pattern"!==t.context.type||t.context.align||(t.context.align=!0,t.context.col=e.column()));return n},indent:function(e,t,n){var r=t&&t.charAt(0),a=e.context;if(/[\]\}]/.test(r))for(;a&&"pattern"===a.type;)a=a.prev;var o=a&&r===a.type;return a?"keywords"===a.type?null:a.align?a.col+(o?0:1):a.indent+(o?0:n.unit):0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6732.8e86babf72b6abc4.js b/static/web/_next/static/chunks/6732.8e86babf72b6abc4.js deleted file mode 100644 index c9d51cd02..000000000 --- a/static/web/_next/static/chunks/6732.8e86babf72b6abc4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6732],{86732:function(t,e,n){function r(t){function e(t,e){t.cmdState.push(e)}function n(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function r(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var a={};function i(t,e){t.f=e}function c(t,r){var c;if(t.match(/^\\[a-zA-Z@]+/)){var m=t.current().slice(1);return e(r,c=new(c=a.hasOwnProperty(m)?a[m]:a.DEFAULT)),i(r,o),c.style}if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return i(r,(function(t,e){return u(t,e,"\\]")})),"keyword";if(t.match("\\("))return i(r,(function(t,e){return u(t,e,"\\)")})),"keyword";if(t.match("$$"))return i(r,(function(t,e){return u(t,e,"$$")})),"keyword";if(t.match("$"))return i(r,(function(t,e){return u(t,e,"$")})),"keyword";var f=t.next();return"%"==f?(t.skipToEnd(),"comment"):"}"==f||"]"==f?(c=n(r))?(c.closeBracket(f),i(r,o),"bracket"):"error":"{"==f||"["==f?(e(r,c=new(c=a.DEFAULT)),"bracket"):/\d/.test(f)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),c=function(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var r=e[n];if("DEFAULT"!=r.name)return r}return{styleIdentifier:function(){return null}}}(r),"begin"==c.name&&(c.argument=t.current()),c.styleIdentifier())}function u(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return i(e,c),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variableName.special";if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/]/))return"tag";if(t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var r=t.next();return"{"==r||"}"==r||"["==r||"]"==r||"("==r||")"==r?"bracket":"%"==r?(t.skipToEnd(),"comment"):"error"}function o(t,e){var r=t.peek();return"{"==r||"["==r?(n(e).openBracket(r),t.eat(r),i(e,c),"bracket"):/[ \t\r]/.test(r)?(t.eat(r),null):(i(e,c),function(t){var e=t.cmdState.pop();e&&e.closeBracket()}(e),c(t,e))}return a.importmodule=r("importmodule","tag",["string","builtin"]),a.documentclass=r("documentclass","tag",["","atom"]),a.usepackage=r("usepackage","tag",["atom"]),a.begin=r("begin","tag",["atom"]),a.end=r("end","tag",["atom"]),a.label=r("label","tag",["atom"]),a.ref=r("ref","tag",["atom"]),a.eqref=r("eqref","tag",["atom"]),a.cite=r("cite","tag",["atom"]),a.bibitem=r("bibitem","tag",["atom"]),a.Bibitem=r("Bibitem","tag",["atom"]),a.RBibitem=r("RBibitem","tag",["atom"]),a.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{name:"stex",startState:function(){return{cmdState:[],f:t?function(t,e){return u(t,e)}:c}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=c,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}n.r(e),n.d(e,{stex:function(){return a},stexMath:function(){return i}});const a=r(!1),i=r(!0)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6732.d5b414d4ecc2d85b.js b/static/web/_next/static/chunks/6732.d5b414d4ecc2d85b.js new file mode 100644 index 000000000..19b652a2b --- /dev/null +++ b/static/web/_next/static/chunks/6732.d5b414d4ecc2d85b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6732],{86732:function(t,e,n){function r(t){function e(t,e){t.cmdState.push(e)}function n(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function r(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var a={};function i(t,r){if(t.match(/^\\[a-zA-Z@]+/)){var i,o,f,m,s,l,h,d,k,g=t.current().slice(1);return k=new(k=a.hasOwnProperty(g)?a[g]:a.DEFAULT),e(r,k),r.f=u,k.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return i=r,o=function(t,e){return c(t,e,"\\]")},i.f=o,"keyword";if(t.match("\\("))return f=r,m=function(t,e){return c(t,e,"\\)")},f.f=m,"keyword";if(t.match("$$"))return s=r,l=function(t,e){return c(t,e,"$$")},s.f=l,"keyword";if(t.match("$"))return h=r,d=function(t,e){return c(t,e,"$")},h.f=d,"keyword";var b=t.next();return"%"==b?(t.skipToEnd(),"comment"):"}"==b||"]"==b?(k=n(r))?(k.closeBracket(b),r.f=u,"bracket"):"error":"{"==b||"["==b?(k=new(k=a.DEFAULT),e(r,k),"bracket"):/\d/.test(b)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),"begin"==(k=function(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var r=e[n];if("DEFAULT"!=r.name)return r}return{styleIdentifier:function(){return null}}}(r)).name&&(k.argument=t.current()),k.styleIdentifier())}function c(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return e.f=i,"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variableName.special";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var r=t.next();return"{"==r||"}"==r||"["==r||"]"==r||"("==r||")"==r?"bracket":"%"==r?(t.skipToEnd(),"comment"):"error"}function u(t,e){var r,a=t.peek();return"{"==a||"["==a?(n(e).openBracket(a),t.eat(a),e.f=i,"bracket"):/[ \t\r]/.test(a)?(t.eat(a),null):(e.f=i,(r=e.cmdState.pop())&&r.closeBracket(),i(t,e))}return a.importmodule=r("importmodule","tag",["string","builtin"]),a.documentclass=r("documentclass","tag",["","atom"]),a.usepackage=r("usepackage","tag",["atom"]),a.begin=r("begin","tag",["atom"]),a.end=r("end","tag",["atom"]),a.label=r("label","tag",["atom"]),a.ref=r("ref","tag",["atom"]),a.eqref=r("eqref","tag",["atom"]),a.cite=r("cite","tag",["atom"]),a.bibitem=r("bibitem","tag",["atom"]),a.Bibitem=r("Bibitem","tag",["atom"]),a.RBibitem=r("RBibitem","tag",["atom"]),a.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{name:"stex",startState:function(){return{cmdState:[],f:t?function(t,e){return c(t,e)}:i}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=i,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}n.r(e),n.d(e,{stex:function(){return a},stexMath:function(){return i}});let a=r(!1),i=r(!0)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6967-1dc59a4c5e0e4914.js b/static/web/_next/static/chunks/6967-1dc59a4c5e0e4914.js deleted file mode 100644 index e4053f1d2..000000000 --- a/static/web/_next/static/chunks/6967-1dc59a4c5e0e4914.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6967],{60562:function(t,e,r){"use strict";r.d(e,{Au:function(){return i},G3:function(){return h},Ki:function(){return a},d3:function(){return f},hL:function(){return c},lx:function(){return p},qX:function(){return l},tm:function(){return u}});var n=r(58908),i=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},a=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||i(t)||t instanceof ArrayBuffer||(t="number"!==typeof t||"number"===typeof t&&t!==t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},o=r.n(n)().BigInt||Number,s=[o("0x1"),o("0x100"),o("0x10000"),o("0x1000000"),o("0x100000000"),o("0x10000000000"),o("0x1000000000000"),o("0x100000000000000"),o("0x10000000000000000")],u=(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||e[0]}(),function(t,e){var r=void 0===e?{}:e,n=r.signed,i=void 0!==n&&n,u=r.le,c=void 0!==u&&u;t=a(t);var f=c?"reduce":"reduceRight",l=(t[f]?t[f]:Array.prototype[f]).call(t,(function(e,r,n){var i=c?n:Math.abs(n+1-t.length);return e+o(r)*s[i]}),o(0));if(i){var p=s[t.length]/o(2)-o(1);(l=o(l))>p&&(l-=p,l-=p,l-=o(2))}return Number(l)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!==typeof t&&"number"!==typeof t||"number"===typeof t&&t!==t)&&(t=0),t=o(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),u=new Uint8Array(new ArrayBuffer(a)),c=0;c=e.length&&c.call(e,(function(e,r){return e===(u[r]?u[r]&t[o+r]:t[o+r])}))}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return d},Jg:function(){return f},KL:function(){return l},_5:function(){return p},kS:function(){return c},lA:function(){return g},p7:function(){return h},ws:function(){return u},xz:function(){return m}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)})):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}})),e||r.push({type:t,details:"",mediaType:"unknown"})})),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"===typeof t){var e,r=t.toLowerCase().split(",").map((function(t){return u(t.trim())})),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every((function(t){return a.mp4.test(t)}))?i="mp4":r.every((function(t){return a.webm.test(t)}))?i="webm":r.every((function(t){return a.ogg.test(t)}))&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},h=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||!1},d=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,c=e.subarray(s+4,s+8);if(0===u)break;var f=s+u;if(f>e.length){if(n)break;f=e.length}var l=e.subarray(s+8,f);(0,i.G3)(c,r[0])&&(1===r.length?o.push(l):o.push.apply(o,t(l,r.slice(1),n))),s=f}return o},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=f(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=f(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},h=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return l(t)})):[l(t)]}(r),e=(0,i.Ki)(e);var n=[];if(!r.length)return n;for(var a=0;ae.length?e.length:u+s.value,h=e.subarray(u,c);(0,i.G3)(r[0],o.bytes)&&(1===r.length?n.push(h):n=n.concat(t(h,r.slice(1)))),a+=o.length+s.length+h.length}return n},d=r(68925),g=(0,i.Ki)([0,0,0,1]),m=(0,i.Ki)([0,0,1]),y=(0,i.Ki)([0,0,3]),v=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}else o++}return t.subarray(0,0)},E={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},w={aac:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,E.webm)},mkv:function(t){var e=h(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,E.matroska)},mp4:function(t){return!w["3gp"](t)&&!w.mov(t)&&(!(!(0,i.G3)(t,E.mp4,{offset:4})&&!(0,i.G3)(t,E.fmp4,{offset:4}))||(!(!(0,i.G3)(t,E.moof,{offset:4})&&!(0,i.G3)(t,E.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.G3)(t,E.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,E["3gp"],{offset:4})},ac3:function(t){var e=(0,d.c)(t);return(0,i.G3)(t,E.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).lW;function o(t){for(var e,r=(e=t,i().atob?i().atob(e):a.from(e,"base64").toString("binary")),n=new Uint8Array(r.length),o=0;o>4?i+20:i+10}(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com";e.Z=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"===typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o().URL)(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},13490:function(t,e,r){"use strict";var n=r(58908);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.toLowerCase().split(";").reduce((function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t}),"utf-8")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(u){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},9603:function(t,e,r){"use strict";var n=r(58908),i=r(10434),a=r(27376);s.httpHandler=r(13490);function o(t,e,r){var n=t;return a(e)?(r=e,"string"===typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function s(t,e,r){return u(e=o(t,e,r))}function u(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(c),m)try{t=JSON.parse(t)}catch(e){}return t}function i(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,y)}function a(){if(!u){var e;clearTimeout(f),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=y,a=null;return 0!==e?(i={body:n(),statusCode:e,method:p,headers:{},url:l,rawRequest:c},c.getAllResponseHeaders&&(i.headers=function(t){var e={};return t?(t.trim().split("\n").forEach((function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();"undefined"===typeof e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}(c.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var o,u,c=t.xhr||null;c||(c=t.cors||t.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var f,l=c.url=t.uri||t.url,p=c.method=t.method||"GET",h=t.body||t.data,d=c.headers=t.headers||{},g=!!t.sync,m=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:l,rawRequest:c};if("json"in t&&!1!==t.json&&(m=!0,d.accept||d.Accept||(d.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),h=JSON.stringify(!0===t.json?h:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(a,0)},c.onload=a,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(p,l,!g,t.username,t.password),g||(c.withCredentials=!!t.withCredentials),!g&&t.timeout>0&&(f=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),c.setRequestHeader)for(o in d)d.hasOwnProperty(o)&&c.setRequestHeader(o,d[o]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(c),c.send(h||null),c}t.exports=s,t.exports.default=s,s.XMLHttpRequest=n.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function m(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new p,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),h=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof p)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"]\t"+t+d(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"===typeof t?n.parse(t,c,h):n.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;m(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s=0))throw new O(A,new Error(t.tagName+"@"+r));for(var i=e.length-1;n"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function k(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(k(t,e))return!0}while(t=t.nextSibling)}function X(){}function G(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function H(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function F(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,H(t.ownerDocument,t),e}function V(t){return t&&t.nodeType===B.DOCUMENT_TYPE_NODE}function q(t){return t&&t.nodeType===B.ELEMENT_NODE}function j(t){return t&&t.nodeType===B.TEXT_NODE}function z(t,e){var r=t.childNodes||[];if(r.find(q)||V(e))return!1;var n=r.find(V);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function K(t,e,r){if(!function(t){return t&&(t.nodeType===B.DOCUMENT_NODE||t.nodeType===B.DOCUMENT_FRAGMENT_NODE||t.nodeType===B.ELEMENT_NODE)}(t))throw new O(S,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new O(A,"child not in parent");if(!function(t){return t&&(q(t)||j(t)||V(t)||t.nodeType===B.DOCUMENT_FRAGMENT_NODE||t.nodeType===B.COMMENT_NODE||t.nodeType===B.PROCESSING_INSTRUCTION_NODE)}(e)||V(e)&&t.nodeType!==B.DOCUMENT_NODE)throw new O(S,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType);var n=t.childNodes||[],i=e.childNodes||[];if(t.nodeType===B.DOCUMENT_NODE){if(e.nodeType===B.DOCUMENT_FRAGMENT_NODE){let e=i.filter(q);if(e.length>1||i.find(j))throw new O(S,"More than one element or text in fragment");if(1===e.length&&!z(t,r))throw new O(S,"Element in fragment can not be inserted before doctype")}if(q(e)&&(n.find(q)||!z(t,r)))throw new O(S,"Only one element can be added and only after doctype");if(V(e)){if(n.find(V))throw new O(S,"Only one doctype is allowed");let t=n.find(q);if(r&&n.indexOf(t)=0;N--){if(""===(S=a[N]).prefix&&S.namespace===t.namespaceURI){w=S.namespace;break}}if(w!==t.namespaceURI)for(N=a.length-1;N>=0;N--){var S;if((S=a[N]).namespace===t.namespaceURI){S.prefix&&(g=S.prefix+":"+c);break}}}e.push("<",g);for(var A=0;A"),r&&/^script$/i.test(c))for(;u;)u.data?e.push(u.data):ft(u,e,r,i,a.slice()),u=u.nextSibling;else for(;u;)ft(u,e,r,i,a.slice()),u=u.nextSibling;e.push("")}else e.push("/>");return;case v:case E:for(u=t.firstChild;u;)ft(u,e,r,i,a.slice()),u=u.nextSibling;return;case l:return ct(e,t.name,t.value);case p:return e.push(t.data.replace(/[<&]/g,_).replace(/]]>/g,"]]>"));case h:return e.push("");case y:return e.push("\x3c!--",t.data,"--\x3e");case b:var D=t.publicId,x=t.systemId;if(e.push("");else if(x&&"."!=x)e.push(" SYSTEM ",x,">");else{var C=t.internalSubset;C&&e.push(" [",C,"]"),e.push(">")}return;case m:return e.push("");case d:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function lt(t,e,r){var n;switch(e.nodeType){case f:(n=e.cloneNode(!1)).ownerDocument=t;case E:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(lt(t,i,r)),i=i.nextSibling;return n}function pt(t,e,r){var n=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new R),n.ownerDocument=t,n.nodeType){case f:var o=e.attributes,s=n.attributes=new C,u=o.length;s._ownerElement=n;for(var c=0;c0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n;e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,B),s(c,B.prototype),X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==E){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return K(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===f&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),F(this,t)},importNode:function(t,e){return lt(this,t,e)},getElementById:function(t){var e=null;return k(this.documentElement,(function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=o(t);return new D(this,(function(r){var n=[];return e.length>0&&k(r.documentElement,(function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every((c=u,function(t){return c&&-1!==c.indexOf(t)}))}s&&n.push(i)}}var c})),n}))},createElement:function(t){var e=new Y;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new R,(e.attributes=new C)._ownerElement=e,e},createDocumentFragment:function(){var t=new it;return t.ownerDocument=this,t.childNodes=new R,t},createTextNode:function(t){var e=new Z;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new Q;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new J;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new at;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new $;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new nt;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new Y,n=e.split(":"),i=r.attributes=new C;return r.childNodes=new R,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new $,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,B),Y.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===E?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e),n=t.lastChild}return n=t.lastChild,e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,H(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new D(this,(function(e){var r=[];return k(e,(function(n){n===e||n.nodeType!=f||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new D(this,(function(r){var n=[];return k(r,(function(i){i===r||i.nodeType!==f||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},X.prototype.getElementsByTagName=Y.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=Y.prototype.getElementsByTagNameNS,u(Y,B),$.prototype.nodeType=l,u($,B),W.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(N[S])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(W,B),Z.prototype={nodeName:"#text",nodeType:p,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(Z,W),Q.prototype={nodeName:"#comment",nodeType:y},u(Q,W),J.prototype={nodeName:"#cdata-section",nodeType:h},u(J,W),tt.prototype.nodeType=b,u(tt,B),et.prototype.nodeType=w,u(et,B),rt.prototype.nodeType=g,u(rt,B),nt.prototype.nodeType=d,u(nt,B),it.prototype.nodeName="#document-fragment",it.prototype.nodeType=E,u(it,B),at.prototype.nodeType=m,u(at,B),ot.prototype.serializeToString=function(t,e,r){return st.call(t,e,r)},B.prototype.toString=st;try{if(Object.defineProperty){function dt(t){switch(t.nodeType){case f:case E:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(dt(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(D.prototype,"length",{get:function(){return x(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return dt(this)},set:function(t){switch(this.nodeType){case f:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ht=function(t,e,r){t["$$"+e]=r}}}catch(gt){}e.DocumentType=tt,e.DOMException=O,e.DOMImplementation=P,e.Element=Y,e.Node=B,e.NodeList=R,e.XMLSerializer=ot},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",euro:"\u20ac",trade:"\u2122",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c=++e,f=0;;){var l=t.charAt(c);switch(l){case"=":if(1===f)u=t.slice(e,c),f=3;else{if(2!==f)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(3===f||1===f){if(1===f&&(o.warning('attribute value must after "="'),u=t.slice(e,c)),e=c+1,!((c=t.indexOf(l,e))>0))throw new Error("attribute value no end '"+l+"' match");s(u,p=t.slice(e,c).replace(/&#?\w+;/g,a),e-1),f=5}else{if(4!=f)throw new Error('attribute value must after "="');s(u,p=t.slice(e,c).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+l+")!!"),e=c+1,f=5}break;case"/":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:f=7,r.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==f&&r.setTagName(t.slice(e,c)),c;case">":switch(f){case 0:r.setTagName(t.slice(e,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=t.slice(e,c)).slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case 2:2===f&&(p=u),4==f?(o.warning('attribute "'+p+'" missed quot(")!'),s(u,p.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,e));break;case 3:throw new Error("attribute value missed!!")}return c;case"\x80":l=" ";default:if(l<=" ")switch(f){case 0:r.setTagName(t.slice(e,c)),f=6;break;case 1:u=t.slice(e,c),f=2;break;case 4:var p=t.slice(e,c).replace(/&#?\w+;/g,a);o.warning('attribute "'+p+'" missed quot(")!!'),s(u,p,e);case 5:f=6}else switch(f){case 2:r.tagName;n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=c,f=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:f=1,e=c;break;case 3:f=4,e=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function l(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value;if((h=u.indexOf(":"))>0)var f=s.prefix=u.slice(0,h),l=u.slice(h+1),p="xmlns"===f&&l;else l=u,f=null,p="xmlns"===u&&"";s.localName=l,!1!==p&&(null==a&&(a={},d(r,r={})),r[p]=a[p]=c,s.uri=n.XMLNS,e.startPrefixMapping(p,c))}for(o=t.length;o--;){(f=(s=t[o]).prefix)&&("xml"===f&&(s.uri=n.XML),"xmlns"!==f&&(s.uri=r[f||""]))}var h;(h=i.indexOf(":"))>0?(f=t.prefix=i.slice(0,h),l=t.localName=i.slice(h+1)):(f=null,l=t.localName=i);var g=t.uri=r[f||""];if(e.startElement(g,l,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(g,l,i),a)for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&e.endPrefixMapping(f)}function p(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function h(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}return-1}function m(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function y(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),d(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function u(t){var e=t.slice(1,-1);return e in r?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function d(e){if(e>A){var r=t.substring(A,e).replace(/&#?\w+;/g,u);T&&v(A),i.characters(r,0,e-A),A=e}}function v(e,r){for(;e>=E&&(r=w.exec(t));)b=r.index,E=b+r[0].length,T.lineNumber++;T.columnNumber=e-b+1}var b=0,E=0,w=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,N=[{currentNSMap:e}],S={},A=0;for(;;){try{var I=t.indexOf("<",A);if(I<0){if(!t.substr(A).match(/^\s*$/)){var O=i.doc,R=O.createTextNode(t.substr(A));O.appendChild(R),i.currentElement=R}return}switch(I>A&&d(I),t.charAt(I+1)){case"/":var D=t.indexOf(">",I+3),x=t.substring(I+2,D).replace(/[ \t\n\r]+$/g,""),C=N.pop();D<0?(x=t.substring(I+2).replace(/[\s<].*/,""),a.error("end tag name: "+x+" is not complete:"+C.tagName),D=I+1+x.length):x.match(/\sA?A=D:d(Math.max(I,A)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},y.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,o,s)),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e);return c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=16383,s=0,u=n-i;su?u:s+o));1===i?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return a.join("")};for(var r=[],n=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,a,o=[],s=e;s>18&63]+r[a>>12&63]+r[a>>6&63]+r[63&a]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";var n=r(79742),i=r(80645),a="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.lW=u,e.h2=50;var o=2147483647;function s(t){if(t>o)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,u.prototype),e}function u(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return l(t)}return c(t,e,r)}function c(t,e,r){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!u.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|g(t,e),n=s(r),i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(H(t,Uint8Array)){var e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return p(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(H(t,ArrayBuffer)||t&&H(t.buffer,ArrayBuffer))return h(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(H(t,SharedArrayBuffer)||t&&H(t.buffer,SharedArrayBuffer)))return h(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return u.from(n,e,r);var i=function(t){if(u.isBuffer(t)){var e=0|d(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!==typeof t.length||F(t.length)?s(0):p(t);if("Buffer"===t.type&&Array.isArray(t.data))return p(t.data)}(t);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return u.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function l(t){return f(t),s(t<0?0:0|d(t))}function p(t){for(var e=t.length<0?0:0|d(t.length),r=s(e),n=0;n=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function g(t,e){if(u.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||H(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(t).length;default:if(i)return n?-1:k(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,e,r);case"utf8":case"utf-8":return I(this,e,r);case"ascii":return R(this,e,r);case"latin1":case"binary":return D(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:b(t,e,r,n,i);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):b(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,p=0;pi&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function I(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128===(192&(a=t[i+1]))&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);var r="",n=0;for(;nn.length?u.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else{if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i)}i+=a.length}return n},u.byteLength=g,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;er&&(t+=" ... "),""},a&&(u.prototype[a]=u.prototype.inspect),u.prototype.compare=function(t,e,r,n,i){if(H(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;l>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":case"latin1":case"binary":return T(this,t,e,r);case"base64":return N(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function R(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function L(t,e,r,n,i,a){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function M(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(t,e,r,n,a){return e=+e,r>>>=0,a||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function B(t,e,r,n,a){return e=+e,r>>>=0,a||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||U(t,e,this.length);for(var n=this[t],i=1,a=0;++a>>=0,e>>>=0,r||U(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUint8=u.prototype.readUInt8=function(t,e){return t>>>=0,e||U(t,1,this.length),this[t]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,e){return t>>>=0,e||U(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,e){return t>>>=0,e||U(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,e){return t>>>=0,e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,e){return t>>>=0,e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||U(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},u.prototype.readInt8=function(t,e){return t>>>=0,e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){t>>>=0,e||U(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){t>>>=0,e||U(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return t>>>=0,e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return t>>>=0,e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return t>>>=0,e||U(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return t>>>=0,e||U(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return t>>>=0,e||U(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return t>>>=0,e||U(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a>>=0,r>>>=0,n)||L(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,255,0),this[e]=255&t,e+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);L(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||L(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},u.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function X(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function G(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function H(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function F(t){return t!==t}var V=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},89144:function(t,e,r){var n,i="undefined"!==typeof r.g?r.g:"undefined"!==typeof window?window:{},a=r(25893);"undefined"!==typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{},t.exports=n},80645:function(t,e){e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,p=r?-1:1,h=t[e+l];for(l+=p,a=h&(1<<-f)-1,h>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=p,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=p,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=c}return(h?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<0;t[r+h]=255&o,h+=d,o/=256,c-=8);t[r+h-d]|=128*g}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"===typeof t&&"[object RegExp]"!==r||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"===typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"===typeof t)return o[t];var r,a=String(t);return(r=n[a.toLowerCase()])?r:(r=i[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"===typeof t){var r=t.which||t.keyCode||t.charCode;if(null===r||void 0===r)return!1;if("string"===typeof e){var a;if(a=n[e.toLowerCase()])return a===r;if(a=i[e.toLowerCase()])return a===r}else if("number"===typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return g}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2===arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=String.fromCharCode(9),f=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},l=function(t){for(var e,r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},p=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;0!==(t=t.trim()).length&&("#"===t[0]?this.tagMappers.reduce((function(e,r){var n=r(t);return n===t?e:e.concat([n])}),[t]).forEach((function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},"undefined"!==typeof t.attributes.IV&&(n.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else n=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,y=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||m,t.attributes?(f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||m,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME){var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){y+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){"undefined"===typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,d.call(this,this.manifest))},start:function(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;l=!0;var r=this.manifest.segments.length,n=h(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var e=this.manifest.serverControl=h(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),d.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=h(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length)));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1}));var e,r},R=function(t){var e,r,n=[];return e=t,r=function(t,e,r,i){n=n.concat(t.playlists||[])},I.forEach((function(t){for(var n in e.mediaGroups[t])for(var i in e.mediaGroups[t][n]){var a=e.mediaGroups[t][n][i];r(a,t,n,i)}})),n},D=function(t){var e=t.playlist,r=t.mediaSequence;e.mediaSequence=r,e.segments.forEach((function(t,r){t.number=e.mediaSequence+r}))},x=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(R(e)),i=r.playlists.concat(R(r));return r.timelineStarts=O([e.timelineStarts,r.timelineStarts]),function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach((function(t){t.discontinuitySequence=h(n,(function(e){return e.timeline===t.timeline}));var r=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--);r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),D({playlist:t,mediaSequence:r.segments[a].number})}}))}({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},C=function(t){return t&&t.uri+"-"+function(t){var e;return e="bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e}(t.byterange)},U=function(t){return f(t.reduce((function(t,e){var r=e.attributes.id+(e.attributes.lang||"");if(t[r]){var n;if(e.segments)e.segments[0]&&(e.segments[0].discontinuity=!0),(n=t[r].segments).push.apply(n,e.segments);e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)}else t[r]=e,t[r].attributes.timelineStarts=[];return t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t}),{})).map((function(t){var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce((function(t,e,n){return e[r]&&t.push(n),t}),[])),t}))},L=function(t,e){var r=C(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&A(t,n,t.sidx.resolvedUri),t},M=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=L(t[r],e);return t},P=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:(e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth},e["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},B=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},_=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},k=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},X=function(t){return t?Object.keys(t).reduce((function(e,r){var n=t[r];return e.concat(n.playlists)}),[]):[]},G=function(t){var e,r=t.dashPlaylists,n=t.locations,i=t.sidxMapping,a=void 0===i?{}:i,o=t.previousManifest;if(!r.length)return{};var s=r[0].attributes,u=s.sourceDuration,c=s.type,f=s.suggestedPresentationDelay,l=s.minimumUpdatePeriod,p=U(r.filter(B)).map(P),d=U(r.filter(_)),g=U(r.filter(k)),m=r.map((function(t){return t.attributes.captionServices})).filter(Boolean),y={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(e={AUDIO:{},VIDEO:{}},e["CLOSED-CAPTIONS"]={},e.SUBTITLES={},e),uri:"",duration:u,playlists:M(p,a)};l>=0&&(y.minimumUpdatePeriod=1e3*l),n&&(y.locations=n),"dynamic"===c&&(y.suggestedPresentationDelay=f);var v,b,E=0===y.playlists.length,w=d.length?function(t,e,r){var n;void 0===e&&(e={}),void 0===r&&(r=!1);var i=t.reduce((function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";if(o&&!i.attributes.label){var u=a?" ("+a+")":"";s=""+i.attributes.lang+u}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var c=L(function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:(r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},r["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c}(i,r),e);return t[s].playlists.push(c),"undefined"===typeof n&&"main"===a&&((n=i).default=!0),t}),{});return n||(i[Object.keys(i)[0]].default=!0),i}(d,a,E):null,T=g.length?function(t,e){return void 0===e&&(e={}),t.reduce((function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(L(function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;"undefined"===typeof n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}}(r),e)),t}),{})}(g,a):null,N=p.concat(X(w),X(T)),S=N.map((function(t){return t.timelineStarts}));return y.timelineStarts=O(S),v=N,b=y.timelineStarts,v.forEach((function(t){t.mediaSequence=0,t.discontinuitySequence=h(b,(function(e){return e.timeline===t.timeline})),t.segments&&t.segments.forEach((function(t,e){t.number=e}))})),w&&(y.mediaGroups.AUDIO.audio=w),T&&(y.mediaGroups.SUBTITLES.subs=T),m.length&&(y.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(t,e){return e?(e.forEach((function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])})),t):t}),{})),o?x({oldManifest:o,newManifest:y}):y},H=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=void 0===o?1:o,u=t.periodStart,c=void 0===u?0:u,f=t.minimumUpdatePeriod,l=(n+i)/1e3+(void 0===f?0:f)-(a+c);return Math.ceil((l*s-e)/r)},F=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,p=t.periodStart,h=[],d=-1,g=0;gd&&(d=b);var E=void 0;if(v<0){var w=g+1;E=w===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?H(t,d,y):(s*c-d)/y:(e[w].t-d)/y}else E=v+1;for(var T=l+h.length+E,N=l+h.length;N=i?a:""+new Array(i-a.length+1).join("0")+a)}}(e))},j=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=E({baseUrl:t.baseUrl,source:q(a.sourceURL,r),range:a.range}),s=function(t,e){return t.duration||e?t.duration?N(t):F(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]}(t,e);return s.map((function(e){r.Number=e.number,r.Time=e.time;var i=q(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}}))},z=function(t,e){var r=t.duration,n=t.segmentUrls,i=void 0===n?[]:n,a=t.periodStart;if(!r&&!e||r&&e)throw new Error(v);var o,s=i.map((function(e){return function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=E({baseUrl:r,source:i.sourceURL,range:i.range}),o=E({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o}(t,e)}));return r&&(o=N(t)),e&&(o=F(t,e)),o.map((function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}})).filter((function(t){return t}))},K=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=j,e=c(n,i.template)):i.base?(r=S,e=c(n,i.base)):i.list&&(r=z,e=c(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,f=s.timescale,l=void 0===f?1:f;e.duration=u/l}else o.length?e.duration=o.reduce((function(t,e){return Math.max(t,Math.ceil(e.duration))}),0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},Y=function(t,e){return p(t.childNodes).filter((function(t){return t.tagName===e}))},$=function(t){return t.textContent.trim()},W=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},Z={mediaPresentationDuration:function(t){return W(t)},availabilityStartTime:function(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod:function(t){return W(t)},suggestedPresentationDelay:function(t){return W(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return W(t)},start:function(t){return W(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?W(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},Q=function(t){return t&&t.attributes?p(t.attributes).reduce((function(t,e){var r=Z[e.name]||Z.DEFAULT;return t[e.name]=r(e.value),t}),{}):{}},J={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},tt=function(t,e){return e.length?l(t.map((function(t){return e.map((function(e){return(0,n.Z)(t,$(e))}))}))):t},et=function(t){var e=Y(t,"SegmentTemplate")[0],r=Y(t,"SegmentList")[0],n=r&&Y(r,"SegmentURL").map((function(t){return c({tag:"SegmentURL"},Q(t))})),i=Y(t,"SegmentBase")[0],a=r||e,o=a&&Y(a,"SegmentTimeline")[0],s=r||i||e,u=s&&Y(s,"Initialization")[0],f=e&&Q(e);f&&u?f.initialization=u&&Q(u):f&&f.initialization&&(f.initialization={sourceURL:f.initialization});var l={template:f,segmentTimeline:o&&Y(o,"S").map((function(t){return Q(t)})),list:r&&c(Q(r),{segmentUrls:n,initialization:Q(u)}),base:i&&c(Q(i),{initialization:Q(u)})};return Object.keys(l).forEach((function(t){l[t]||delete l[t]})),l},rt=function(t,e,r){return function(n){var i,a=Q(n),s=tt(e,Y(n,"BaseURL")),u=Y(n,"Role")[0],f={role:Q(u)},p=c(t,a,f),h=Y(n,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(i=Q(h)).schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e,r;if(r=t,/^CC\d=/.test(t)){var n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!==typeof i.value?[]:i.value.split(";")).map((function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1],a=void 0===i?"":i;e.channel=n,e.language=t,a.split(",").forEach((function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))}))}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e})):void 0;d&&(p=c(p,{captionServices:d}));var g=Y(n,"Label")[0];if(g&&g.childNodes.length){var m=g.childNodes[0].nodeValue.trim();p=c(p,{label:m})}var y=Y(n,"ContentProtection").reduce((function(t,e){var r=Q(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=J[r.schemeIdUri];if(n){t[n]={attributes:r};var i=Y(e,"cenc:pssh")[0];if(i){var a=$(i);t[n].pssh=a&&(0,o.Z)(a)}}return t}),{});Object.keys(y).length&&(p=c(p,{contentProtection:y}));var v=et(n),b=Y(n,"Representation"),E=c(r,v);return l(b.map(function(t,e,r){return function(n){var i=Y(n,"BaseURL"),a=tt(e,i),o=c(t,Q(n)),s=et(n);return a.map((function(t){return{segmentInfo:c(r,s),attributes:c(o,{baseUrl:t})}}))}}(p,s,E)))}},nt=function(t,e){return function(r,n){var i=tt(e,Y(r.node,"BaseURL")),a=c(t,{periodStart:r.attributes.start});"number"===typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);var o=Y(r.node,"AdaptationSet"),s=et(r.node);return l(o.map(rt(a,i,s)))}},it=function(t){if(""===t)throw new Error(g);var e,r,n=new s.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw new Error(m);return r},at=function(t,e){void 0===e&&(e={});var r=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=void 0===n?"":n,a=r.NOW,o=void 0===a?Date.now():a,s=r.clientOffset,u=void 0===s?0:s,c=Y(t,"Period");if(!c.length)throw new Error(d);var f=Y(t,"Location"),p=Q(t),h=tt([i],Y(t,"BaseURL"));p.type=p.type||"static",p.sourceDuration=p.mediaPresentationDuration||0,p.NOW=o,p.clientOffset=u,f.length&&(p.locations=f.map($));var g=[];return c.forEach((function(t,e){var r=Q(t),n=g[e-1];r.start=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"===typeof e.start?e.start:r&&"number"===typeof r.start&&"number"===typeof r.duration?r.start+r.duration:r||"static"!==n?null:0}({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:p.type}),g.push({node:t,attributes:r})})),{locations:p.locations,representationInfo:l(g.map(nt(p,h)))}}(it(t),e),n=r.representationInfo.map(K);return G({dashPlaylists:n,locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},ot=function(t){return function(t){var e=Y(t,"UTCTiming")[0];if(!e)return null;var r=Q(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw new Error(b)}return r}(it(t))}},84221:function(t,e,r){var n=r(46894).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},51489:function(t){var e,r,n,i,a,o,s,u=9e4;e=function(t){return t*u},r=function(t,e){return t*e},n=function(t){return t/u},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"===typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0].trim(),o[1].trim())}}function c(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var f=n.createElement&&n.createElement("textarea"),l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},p={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},h={v:"title",lang:"lang"},d={rt:"ruby"};function g(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!d[e.localName]||d[e.localName]===t.localName}function i(e,r){var n=l[e];if(!n)return null;var i=t.document.createElement(n),a=h[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,u=t.document.createElement("div"),c=u,g=[];null!==(a=r());)if("<"!==a[0])c.appendChild(t.document.createTextNode((s=a,f.innerHTML=s,s=f.textContent,f.textContent="",s)));else{if("/"===a[1]){g.length&&g[g.length-1]===a.substr(2).replace(">","")&&(g.pop(),c=c.parentNode);continue}var m,y=o(a.substr(1,a.length-2));if(y){m=t.document.createProcessingInstruction("timestamp",y),c.appendChild(m);continue}var v=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!v)continue;if(!(m=i(v[1],v[3])))continue;if(!n(c,m))continue;if(v[2]){var b=v[2].split(".");b.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(p.hasOwnProperty(r)){var n=e?"background-color":"color",i=p[r];m.style[n]=i}})),m.className=b.join(" ")}g.push(v[1]),c.appendChild(m),c=m}return u}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function y(t){for(var e=0;e=r[0]&&t<=r[1])return!0}return!1}function v(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(p,f)}else{var h=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=h/2;break;case"end":o-=h}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new w(e)}var d=function(t,e){for(var i,a=new w(t),o=1,s=0;su&&(i=new w(t),o=u),t=new w(a)}return i||a}(i,s);e.move(d.toCSSCompatValues(r))}function N(){}b.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},b.prototype.formatStyle=function(t,e){return 0===t?0:t+e},E.prototype=i(b.prototype),E.prototype.constructor=E,w.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},w.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},w.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},w.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},w.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},N.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},N.convertCueToDOMTree=function(t,e){return t&&e?g(t,e):null};N.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e100)throw new Error("Position must be between 0 and 100.");g=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(t){var e=n(t);e?(m=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(t){var e=n(t);if(!e)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");v=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"===typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r=function(t){return"string"===typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},5647:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(89611),i=r(78814);function a(t,e,r){return a=(0,i.Z)()?Reflect.construct.bind():function(t,e,r){var i=[null];i.push.apply(i,e);var a=new(Function.bind.apply(t,i));return r&&(0,n.Z)(a,r.prototype),a},a.apply(null,arguments)}},94578:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(89611);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.Z)(t,e)}},52951:function(t,e,r){"use strict";function n(t,e){for(var r=0;r",function(t,e){for(;!t.eol();){if(t.match(l)){e.tokenize=u;break}t.next()}return r}),a("meta",c);if("#"==c&&t.eatWhile(/[\w]/))return a("atom","tag");if("|"==c)return a("keyword","separator");if(c.match(/[\(\)\[\]\-\.,\+\?>]/))return a(null,c);if(c.match(/[\[\]]/))return a("rule",c);if('"'==c||"'"==c)return e.tokenize=(n=c,function(t,e){for(var r,i=!1;null!=(r=t.next());){if(r==n&&!i){e.tokenize=u;break}i=!i&&"\\"==r}return a("string","tag")}),e.tokenize(t,e);if(t.eatWhile(/[a-zA-Z\?\+\d]/)){var s=t.current();return null!==s.substr(s.length-1,s.length).match(/\?|\+/)&&t.backUp(1),a("tag","tag")}return"%"==c||"*"==c?a("number","number"):(t.eatWhile(/[\w\\\-_%.{,]/),a(null,null))}return t.eatWhile(/[\-]/)?(e.tokenize=i,i(t,e)):t.eatWhile(/[\w]/)?a("keyword","doindent"):void 0}function i(t,e){for(var n,r=0;null!=(n=t.next());){if(r>=2&&">"==n){e.tokenize=u;break}r="-"==n?r+1:0}return a("comment","comment")}n.r(e),n.d(e,{dtd:function(){return l}});const l={name:"dtd",startState:function(){return{tokenize:u,baseIndent:0,stack:[]}},token:function(t,e){if(t.eatSpace())return null;var n=e.tokenize(t,e),a=e.stack[e.stack.length-1];return"["==t.current()||"doindent"===r||"["==r?e.stack.push("rule"):"endtag"===r?e.stack[e.stack.length-1]="endtag":"]"==t.current()||"]"==r||">"==r&&"rule"==a?e.stack.pop():"["==r&&e.stack.push("["),n},indent:function(t,e,n){var a=t.stack.length;return"]"===e.charAt(0)?a--:">"===e.substr(e.length-1,e.length)&&("<"===e.substr(0,1)||"doindent"==r&&e.length>1||("doindent"==r?a--:">"==r&&e.length>1||"tag"==r&&">"!==e||("tag"==r&&"rule"==t.stack[t.stack.length-1]?a--:"tag"==r?a++:">"===e&&"rule"==t.stack[t.stack.length-1]&&">"===r?a--:">"===e&&"rule"==t.stack[t.stack.length-1]||("<"!==e.substr(0,1)&&">"===e.substr(0,1)?a-=1:">"===e||(a-=1)))),null!=r&&"]"!=r||a--),t.baseIndent+a*n.unit},languageData:{indentOnInput:/^\s*[\]>]$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/6991.be0212d2d320173c.js b/static/web/_next/static/chunks/6991.be0212d2d320173c.js new file mode 100644 index 000000000..b699a5ab8 --- /dev/null +++ b/static/web/_next/static/chunks/6991.be0212d2d320173c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6991],{76991:function(t,e,n){var r;function a(t,e){var n=t.next();if("<"==n&&t.eat("!")){if(t.eatWhile(/[\-]/))return e.tokenize=u,u(t,e);if(t.eatWhile(/[\w]/))return r="doindent","keyword"}else{if("<"==n&&t.eat("?"))return e.tokenize=function(t,e){for(;!t.eol();){if(t.match("?>")){e.tokenize=a;break}t.next()}return"meta"},r=n,"meta";if("#"==n&&t.eatWhile(/[\w]/))return r="tag","atom";if("|"==n)return r="separator","keyword";if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return r=n,null;if(n.match(/[\[\]]/))return r=n,"rule";if('"'==n||"'"==n)return e.tokenize=function(t,e){for(var u,i=!1;null!=(u=t.next());){if(u==n&&!i){e.tokenize=a;break}i=!i&&"\\"==u}return r="tag","string"},e.tokenize(t,e);if(!t.eatWhile(/[a-zA-Z\?\+\d]/))return"%"==n||"*"==n?(r="number","number"):(t.eatWhile(/[\w\\\-_%.{,]/),r=null,null);var i=t.current();return null!==i.substr(i.length-1,i.length).match(/\?|\+/)&&t.backUp(1),r="tag","tag"}}function u(t,e){for(var n,u=0;null!=(n=t.next());){if(u>=2&&">"==n){e.tokenize=a;break}u="-"==n?u+1:0}return r="comment","comment"}n.r(e),n.d(e,{dtd:function(){return i}});let i={name:"dtd",startState:function(){return{tokenize:a,baseIndent:0,stack:[]}},token:function(t,e){if(t.eatSpace())return null;var n=e.tokenize(t,e),a=e.stack[e.stack.length-1];return"["==t.current()||"doindent"===r||"["==r?e.stack.push("rule"):"endtag"===r?e.stack[e.stack.length-1]="endtag":"]"==t.current()||"]"==r||">"==r&&"rule"==a?e.stack.pop():"["==r&&e.stack.push("["),n},indent:function(t,e,n){var a=t.stack.length;return"]"===e.charAt(0)?a--:">"===e.substr(e.length-1,e.length)&&("<"===e.substr(0,1)||"doindent"==r&&e.length>1||("doindent"==r?a--:">"==r&&e.length>1||"tag"==r&&">"!==e||("tag"==r&&"rule"==t.stack[t.stack.length-1]?a--:"tag"==r?a++:">"===e&&"rule"==t.stack[t.stack.length-1]&&">"===r?a--:">"===e&&"rule"==t.stack[t.stack.length-1]||("<"!==e.substr(0,1)&&">"===e.substr(0,1)?a-=1:">"===e||(a-=1)))),(null==r||"]"==r)&&a--),t.baseIndent+a*n.unit},languageData:{indentOnInput:/^\s*[\]>]$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7001.93804a006647650b.js b/static/web/_next/static/chunks/7001.93804a006647650b.js deleted file mode 100644 index 3215db6aa..000000000 --- a/static/web/_next/static/chunks/7001.93804a006647650b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7001],{87001:function(e,t,n){n.r(t),n.d(t,{factor:function(){return r}});const r=(0,n(44125).Q)({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}})},44125:function(e,t,n){function r(e){a(e,"start");var t={},n=e.languageData||{},r=!1;for(var g in e)if(g!=n&&e.hasOwnProperty(g))for(var u=t[g]=[],l=e[g],d=0;d2&&s.token&&"string"!=typeof s.token){n.pending=[];for(var u=2;u-1)return null;var a=n.indent.length-1,o=e[n.state];e:for(;;){for(var s=0;s|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}})},44125:function(e,t,n){function r(e){a(e,"start");var t={},n=e.languageData||{},r=!1;for(var s in e)if(s!=n&&e.hasOwnProperty(s))for(var i=t[s]=[],g=e[s],u=0;u2&&s.token&&"string"!=typeof s.token){n.pending=[];for(var u=2;u-1)return null;var a=e.indent.length-1,o=t[e.state];e:for(;;){for(var s=0;s2&&s.token&&"string"!=typeof s.token){t.pending=[];for(var u=2;u-1)return null;var o=t.indent.length-1,a=e[t.state];e:for(;;){for(var s=0;s~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(z,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error")}function Z(e,a){for(var t,n=!1,c=!1;null!=(t=e.next());){if('"'===t&&!c){n=!0;break}c=!c&&"\\"===t}return n&&!c&&(a.tokenize=A),"string"}function $(e,a){for(var t,n;a.commentLevel>0&&null!=(n=e.next());)"("===t&&"*"===n&&a.commentLevel++,"*"===t&&")"===n&&a.commentLevel--,t=n;return a.commentLevel<=0&&(a.tokenize=A),"comment"}let i={name:"mathematica",startState:function(){return{tokenize:A,commentLevel:0}},token:function(e,a){return e.eatSpace()?null:a.tokenize(e,a)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7213.fc29829bebc18bce.js b/static/web/_next/static/chunks/7213.fc29829bebc18bce.js deleted file mode 100644 index 4b6a94619..000000000 --- a/static/web/_next/static/chunks/7213.fc29829bebc18bce.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7213],{37213:function(e,a,t){t.r(a),t.d(a,{mathematica:function(){return i}});var n="[a-zA-Z\\$][a-zA-Z0-9\\$]*",c="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",m="(?:`(?:`?"+c+")?)",o=new RegExp("(?:(?:\\d+)(?:\\^\\^(?:\\.\\w+|\\w+\\.\\w*|\\w+)"+m+"?(?:\\*\\^[+-]?\\d+)?))"),r=new RegExp("(?:"+c+m+"?(?:\\*\\^[+-]?\\d+)?)"),z=new RegExp("(?:`?)(?:"+n+")(?:`(?:"+n+"))*(?:`?)");function A(e,a){var t;return'"'===(t=e.next())?(a.tokenize=Z,a.tokenize(e,a)):"("===t&&e.eat("*")?(a.commentLevel++,a.tokenize=$,a.tokenize(e,a)):(e.backUp(1),e.match(o,!0,!1)||e.match(r,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string.special":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(z,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function Z(e,a){for(var t,n=!1,c=!1;null!=(t=e.next());){if('"'===t&&!c){n=!0;break}c=!c&&"\\"===t}return n&&!c&&(a.tokenize=A),"string"}function $(e,a){for(var t,n;a.commentLevel>0&&null!=(n=e.next());)"("===t&&"*"===n&&a.commentLevel++,"*"===t&&")"===n&&a.commentLevel--,t=n;return a.commentLevel<=0&&(a.tokenize=A),"comment"}const i={name:"mathematica",startState:function(){return{tokenize:A,commentLevel:0}},token:function(e,a){return e.eatSpace()?null:a.tokenize(e,a)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7315.30d6c70cd9a0a932.js b/static/web/_next/static/chunks/7315.30d6c70cd9a0a932.js deleted file mode 100644 index 546ae6d04..000000000 --- a/static/web/_next/static/chunks/7315.30d6c70cd9a0a932.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7315],{37315:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function f(e,t){var n,r=e.next();if(d[r]){var y=d[r](e,t);if(!1!==y)return y}if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){for(var r,a=!1,o=!1;null!=(r=e.next());){if(r==n&&!a){o=!0;break}a=!a&&"\\"==r}return!o&&a||(t.tokenize=f),"string"}),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return a=r,null;if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if("/"==r){if(e.eat("*"))return t.tokenize=h,h(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(m.test(r))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_]/);var g=e.current().toLowerCase();if(o.propertyIsEnumerable(g))return c.propertyIsEnumerable(g)&&(a="newstatement"),"keyword";if(i.propertyIsEnumerable(g))return c.propertyIsEnumerable(g)&&(a="newstatement"),"variable";if(l.propertyIsEnumerable(g))return c.propertyIsEnumerable(g)&&(a="newstatement"),"modifier";if(s.propertyIsEnumerable(g))return c.propertyIsEnumerable(g)&&(a="newstatement"),"type";if(u.propertyIsEnumerable(g))return c.propertyIsEnumerable(g)&&(a="newstatement"),"builtin";for(var b=g.length-1;b>=0&&(!isNaN(g[b])||"_"==g[b]);)--b;if(b>0){var v=g.substr(0,b+1);if(s.propertyIsEnumerable(v))return c.propertyIsEnumerable(v)&&(a="newstatement"),"type"}return p.propertyIsEnumerable(g)?"atom":null}function h(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=f;break}r="*"==n}return"comment"}function y(e,t,n,r,a){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=a}function g(e,t,n){return e.context=new y(e.indented,t,n,null,e.context)}function b(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}const v={name:"ecl",startState:function(e){return{tokenize:null,context:new y(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;a=null;var r=(t.tokenize||f)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=a&&":"!=a||"statement"!=n.type)if("{"==a)g(t,e.column(),"}");else if("["==a)g(t,e.column(),"]");else if("("==a)g(t,e.column(),")");else if("}"==a){for(;"statement"==n.type;)n=b(t);for("}"==n.type&&(n=b(t));"statement"==n.type;)n=b(t)}else a==n.type?b(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==a)&&g(t,e.column(),"statement");else b(t);return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=f&&null!=e.tokenize)return 0;var r=e.context,a=t&&t.charAt(0);"statement"==r.type&&"}"==a&&(r=r.prev);var o=a==r.type;return"statement"==r.type?r.indented+("{"==a?0:n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7315.3ca5dd95b74450ea.js b/static/web/_next/static/chunks/7315.3ca5dd95b74450ea.js new file mode 100644 index 000000000..42f090809 --- /dev/null +++ b/static/web/_next/static/chunks/7315.3ca5dd95b74450ea.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7315],{37315:function(e,t,n){function r(e){for(var t={},n=e.split(" "),r=0;r!?|\/]/;function f(e,t){var n=e.next();if(d[n]){var r=d[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=function(e,t){for(var r,a=!1,o=!1;null!=(r=e.next());){if(r==n&&!a){o=!0;break}a=!a&&"\\"==r}return(o||!a)&&(t.tokenize=f),"string"},t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(n))return a=n,null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if("/"==n){if(e.eat("*"))return t.tokenize=h,h(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(m.test(n))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_]/);var y=e.current().toLowerCase();if(o.propertyIsEnumerable(y))return c.propertyIsEnumerable(y)&&(a="newstatement"),"keyword";if(i.propertyIsEnumerable(y))return c.propertyIsEnumerable(y)&&(a="newstatement"),"variable";if(l.propertyIsEnumerable(y))return c.propertyIsEnumerable(y)&&(a="newstatement"),"modifier";if(s.propertyIsEnumerable(y))return c.propertyIsEnumerable(y)&&(a="newstatement"),"type";if(u.propertyIsEnumerable(y))return c.propertyIsEnumerable(y)&&(a="newstatement"),"builtin";for(var g=y.length-1;g>=0&&(!isNaN(y[g])||"_"==y[g]);)--g;if(g>0){var b=y.substr(0,g+1);if(s.propertyIsEnumerable(b))return c.propertyIsEnumerable(b)&&(a="newstatement"),"type"}return p.propertyIsEnumerable(y)?"atom":null}function h(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=f;break}r="*"==n}return"comment"}function y(e,t,n,r,a){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=a}function g(e,t,n){return e.context=new y(e.indented,t,n,null,e.context)}function b(e){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}let v={name:"ecl",startState:function(e){return{tokenize:null,context:new y(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;a=null;var r=(t.tokenize||f)(e,t);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),(";"==a||":"==a)&&"statement"==n.type)b(t);else if("{"==a)g(t,e.column(),"}");else if("["==a)g(t,e.column(),"]");else if("("==a)g(t,e.column(),")");else if("}"==a){for(;"statement"==n.type;)n=b(t);for("}"==n.type&&(n=b(t));"statement"==n.type;)n=b(t)}else a==n.type?b(t):("}"==n.type||"top"==n.type||"statement"==n.type&&"newstatement"==a)&&g(t,e.column(),"statement");return t.startOfLine=!1,r},indent:function(e,t,n){if(e.tokenize!=f&&null!=e.tokenize)return 0;var r=e.context,a=t&&t.charAt(0);"statement"==r.type&&"}"==a&&(r=r.prev);var o=a==r.type;return"statement"==r.type?r.indented+("{"==a?0:n.unit):r.align?r.column+(o?0:1):r.indented+(o?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7326-7b797100704d818f.js b/static/web/_next/static/chunks/7326-7b797100704d818f.js new file mode 100644 index 000000000..08462d4de --- /dev/null +++ b/static/web/_next/static/chunks/7326-7b797100704d818f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7326],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},c=n(42135),u=function(e,t){return a.createElement(c.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};u.displayName="DeleteOutlined";var l=a.forwardRef(u)},6226:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(4942),a=n(87462),o=n(71002),c=n(94184),u=n.n(c),l=n(67294),i=n(53124),s=n(99134),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},d=["xs","sm","md","lg","xl","xxl"],v=l.forwardRef(function(e,t){var n,c=l.useContext(i.E_),v=c.getPrefixCls,m=c.direction,p=l.useContext(s.Z),h=p.gutter,g=p.wrap,b=p.supportFlexGap,y=e.prefixCls,x=e.span,Z=e.order,C=e.offset,E=e.push,k=e.pull,w=e.className,M=e.children,O=e.flex,S=e.style,N=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),P=v("col",y),R={};d.forEach(function(t){var n,c={},u=e[t];"number"==typeof u?c.span=u:"object"===(0,o.Z)(u)&&(c=u||{}),delete N[t],R=(0,a.Z)((0,a.Z)({},R),(n={},(0,r.Z)(n,"".concat(P,"-").concat(t,"-").concat(c.span),void 0!==c.span),(0,r.Z)(n,"".concat(P,"-").concat(t,"-order-").concat(c.order),c.order||0===c.order),(0,r.Z)(n,"".concat(P,"-").concat(t,"-offset-").concat(c.offset),c.offset||0===c.offset),(0,r.Z)(n,"".concat(P,"-").concat(t,"-push-").concat(c.push),c.push||0===c.push),(0,r.Z)(n,"".concat(P,"-").concat(t,"-pull-").concat(c.pull),c.pull||0===c.pull),(0,r.Z)(n,"".concat(P,"-rtl"),"rtl"===m),n))});var j=u()(P,(n={},(0,r.Z)(n,"".concat(P,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(P,"-order-").concat(Z),Z),(0,r.Z)(n,"".concat(P,"-offset-").concat(C),C),(0,r.Z)(n,"".concat(P,"-push-").concat(E),E),(0,r.Z)(n,"".concat(P,"-pull-").concat(k),k),n),w,R),F={};if(h&&h[0]>0){var I=h[0]/2;F.paddingLeft=I,F.paddingRight=I}if(h&&h[1]>0&&!b){var T=h[1]/2;F.paddingTop=T,F.paddingBottom=T}return O&&(F.flex="number"==typeof O?"".concat(O," ").concat(O," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(O)?"0 0 ".concat(O):O,!1!==g||F.minWidth||(F.minWidth=0)),l.createElement("div",(0,a.Z)({},N,{style:(0,a.Z)((0,a.Z)({},F),S),className:j,ref:t}),M)})},99134:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},25968:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),a=n(4942),o=n(71002),c=n(97685),u=n(94184),l=n.n(u),i=n(67294),s=n(53124),f=n(98082),d=n(24308),v=n(93355),m=n(99134),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};(0,v.b)("top","middle","bottom","stretch"),(0,v.b)("start","end","center","space-around","space-between","space-evenly");var h=i.forwardRef(function(e,t){var n,u,v=e.prefixCls,h=e.justify,g=e.align,b=e.className,y=e.style,x=e.children,Z=e.gutter,C=void 0===Z?0:Z,E=e.wrap,k=p(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),w=i.useContext(s.E_),M=w.getPrefixCls,O=w.direction,S=i.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),N=(0,c.Z)(S,2),P=N[0],R=N[1],j=(0,f.Z)(),F=i.useRef(C);i.useEffect(function(){var e=d.ZP.subscribe(function(e){var t=F.current||0;(!Array.isArray(t)&&"object"===(0,o.Z)(t)||Array.isArray(t)&&("object"===(0,o.Z)(t[0])||"object"===(0,o.Z)(t[1])))&&R(e)});return function(){return d.ZP.unsubscribe(e)}},[]);var I=M("row",v),T=(n=[void 0,void 0],(Array.isArray(C)?C:[C,void 0]).forEach(function(e,t){if("object"===(0,o.Z)(e))for(var r=0;r0?-(T[0]/2):void 0,A=null!=T[1]&&T[1]>0?-(T[1]/2):void 0;if(D&&(H.marginLeft=D,H.marginRight=D),j){var _=(0,c.Z)(T,2);H.rowGap=_[1]}else A&&(H.marginTop=A,H.marginBottom=A);var B=(0,c.Z)(T,2),z=B[0],G=B[1],V=i.useMemo(function(){return{gutter:[z,G],wrap:E,supportFlexGap:j}},[z,G,E,j]);return i.createElement(m.Z.Provider,{value:V},i.createElement("div",(0,r.Z)({},k,{className:L,style:(0,r.Z)((0,r.Z)({},H),y),ref:t}),x))})},22918:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(71002),a=n(4942),o=n(87462),c=n(97685),u=n(94184),l=n.n(u),i=n(74902),s=n(67294),f=n(96774),d=n.n(f),v=n(21770),m=n(45987),p=n(1413),h=n(15105),g=s.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0});function b(e,t,n,r){var a=(t-n)/(r-n),o={};switch(e){case"rtl":o.right="".concat(100*a,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(100*a,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(100*a,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(100*a,"%"),o.transform="translateX(-50%)"}return o}function y(e,t){return Array.isArray(e)?e[t]:e}var x=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],Z=s.forwardRef(function(e,t){var n,r,c=e.prefixCls,u=e.value,i=e.valueIndex,f=e.onStartMove,d=e.style,v=e.render,Z=e.dragging,C=e.onOffsetChange,E=(0,m.Z)(e,x),k=s.useContext(g),w=k.min,M=k.max,O=k.direction,S=k.disabled,N=k.range,P=k.tabIndex,R=k.ariaLabelForHandle,j=k.ariaLabelledByForHandle,F=k.ariaValueTextFormatterForHandle,I="".concat(c,"-handle"),T=function(e){S||f(e,i)},L=function(e){if(!S){var t=null;switch(e.which||e.keyCode){case h.Z.LEFT:t="ltr"===O||"btt"===O?-1:1;break;case h.Z.RIGHT:t="ltr"===O||"btt"===O?1:-1;break;case h.Z.UP:t="ttb"!==O?1:-1;break;case h.Z.DOWN:t="ttb"!==O?-1:1;break;case h.Z.HOME:t="min";break;case h.Z.END:t="max";break;case h.Z.PAGE_UP:t=2;break;case h.Z.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),C(t,i))}},H=b(O,u,w,M),D=s.createElement("div",(0,o.Z)({ref:t,className:l()(I,(n={},(0,a.Z)(n,"".concat(I,"-").concat(i+1),N),(0,a.Z)(n,"".concat(I,"-dragging"),Z),n)),style:(0,p.Z)((0,p.Z)({},H),d),onMouseDown:T,onTouchStart:T,onKeyDown:L,tabIndex:S?null:y(P,i),role:"slider","aria-valuemin":w,"aria-valuemax":M,"aria-valuenow":u,"aria-disabled":S,"aria-label":y(R,i),"aria-labelledby":y(j,i),"aria-valuetext":null===(r=y(F,i))||void 0===r?void 0:r(u)},E));return v&&(D=v(D,{index:i,prefixCls:c,value:u,dragging:Z})),D}),C=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],E=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,c=e.onOffsetChange,u=e.values,l=e.handleRender,i=e.draggingIndex,f=(0,m.Z)(e,C),d=s.useRef({});return s.useImperativeHandle(t,function(){return{focus:function(e){var t;null===(t=d.current[e])||void 0===t||t.focus()}}}),s.createElement(s.Fragment,null,u.map(function(e,t){return s.createElement(Z,(0,o.Z)({ref:function(e){e?d.current[t]=e:delete d.current[t]},dragging:i===t,prefixCls:n,style:y(r,t),key:t,value:e,valueIndex:t,onStartMove:a,onOffsetChange:c,render:l},f))}))});function k(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function w(e){var t=e.prefixCls,n=e.style,r=e.start,a=e.end,o=e.index,c=e.onStartMove,u=s.useContext(g),i=u.direction,f=u.min,d=u.max,v=u.disabled,m=u.range,h="".concat(t,"-track"),b=(r-f)/(d-f),y=(a-f)/(d-f),x=function(e){!v&&c&&c(e,-1)},Z={};switch(i){case"rtl":Z.right="".concat(100*b,"%"),Z.width="".concat(100*y-100*b,"%");break;case"btt":Z.bottom="".concat(100*b,"%"),Z.height="".concat(100*y-100*b,"%");break;case"ttb":Z.top="".concat(100*b,"%"),Z.height="".concat(100*y-100*b,"%");break;default:Z.left="".concat(100*b,"%"),Z.width="".concat(100*y-100*b,"%")}return s.createElement("div",{className:l()(h,m&&"".concat(h,"-").concat(o+1)),style:(0,p.Z)((0,p.Z)({},Z),n),onMouseDown:x,onTouchStart:x})}function M(e){var t=e.prefixCls,n=e.style,r=e.values,a=e.startPoint,o=e.onStartMove,c=s.useContext(g),u=c.included,l=c.range,i=c.min,f=s.useMemo(function(){if(!l){if(0===r.length)return[];var e=null!=a?a:i,t=r[0];return[{start:Math.min(e,t),end:Math.max(e,t)}]}for(var n=[],o=0;o=0&&eg},[eg,ez]),eV=s.useMemo(function(){return Object.keys(eN||{}).map(function(e){var t=eN[e],n={value:Number(e)};return t&&"object"===(0,r.Z)(t)&&!s.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n}).filter(function(e){var t=e.label;return t||"number"==typeof t}).sort(function(e,t){return e.value-t.value})},[eN]),eW=(n=void 0===ep||ep,o=s.useCallback(function(e){return isFinite(e),Math.max(e_,Math.min(eB,e))},[e_,eB]),u=s.useCallback(function(e){if(null!==ez){var t=e_+Math.round((o(e)-e_)/ez)*ez,n=function(e){return(String(e).split(".")[1]||"").length},r=Math.max(n(ez),n(eB),n(e_)),a=Number(t.toFixed(r));return e_<=a&&a<=eB?a:null}return null},[ez,e_,eB,o]),f=s.useCallback(function(e){var t=o(e),n=eV.map(function(e){return e.value});null!==ez&&n.push(u(e)),n.push(e_,eB);var r=n[0],a=eB-e_;return n.forEach(function(e){var n=Math.abs(t-e);n<=a&&(r=e,a=n)}),r},[e_,eB,eV,ez,o,u]),m=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit";if("number"==typeof n){var o,c=t[r],l=c+n,s=[];eV.forEach(function(e){s.push(e.value)}),s.push(e_,eB),s.push(u(c));var f=n>0?1:-1;"unit"===a?s.push(u(c+f*ez)):s.push(u(l)),s=s.filter(function(e){return null!==e}).filter(function(e){return n<0?e<=c:e>=c}),"unit"===a&&(s=s.filter(function(e){return e!==c}));var d="unit"===a?c:l,v=Math.abs((o=s[0])-d);if(s.forEach(function(e){var t=Math.abs(e-d);t1){var m=(0,i.Z)(t);return m[r]=o,e(m,n-f,r,a)}return o}return"min"===n?e_:"max"===n?eB:void 0},p=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"unit",a=e[n],o=m(e,t,n,r);return{value:o,changed:o!==a}},h=function(e){return null===eG&&0===e||"number"==typeof eG&&e3&&void 0!==arguments[3]?arguments[3]:"unit",o=e.map(f),c=o[r],u=m(o,t,r,a);if(o[r]=u,!1===n){var l=eG||0;r>0&&o[r-1]!==c&&(o[r]=Math.max(o[r],o[r-1]+l)),r0;v-=1)for(var g=!0;h(o[v]-o[v-1])&&g;){var b=p(o,-1,v-1);o[v-1]=b.value,g=b.changed}for(var y=o.length-1;y>0;y-=1)for(var x=!0;h(o[y]-o[y-1])&&x;){var Z=p(o,-1,y-1);o[y-1]=Z.value,x=Z.changed}for(var C=0;C=0?ef+1:2;for(n=n.slice(0,a);n.length=0&&eH.current.focus(e)}e9(null)},[e6]);var te=s.useMemo(function(){return(!eb||null!==ez)&&eb},[eb,ez]),tt=function(){null==em||em(e1(e0.current))},tn=(y=s.useState(null),Z=(x=(0,c.Z)(y,2))[0],C=x[1],w=s.useState(-1),N=(O=(0,c.Z)(w,2))[0],R=O[1],j=s.useState(eJ),I=(F=(0,c.Z)(j,2))[0],T=F[1],L=s.useState(eJ),D=(H=(0,c.Z)(L,2))[0],A=H[1],_=s.useRef(null),B=s.useRef(null),s.useEffect(function(){-1===N&&T(eJ)},[eJ,N]),s.useEffect(function(){return function(){document.removeEventListener("mousemove",_.current),document.removeEventListener("mouseup",B.current),document.removeEventListener("touchmove",_.current),document.removeEventListener("touchend",B.current)}},[]),z=function(e,t){I.some(function(t,n){return t!==e[n]})&&(void 0!==t&&C(t),T(e),e2(e))},G=function(e,t){if(-1===e){var n=D[0],r=D[D.length-1],a=t*(eB-e_);a=Math.min(a=Math.max(a,e_-n),eB-r),a=eY(n+a)-n,z(D.map(function(e){return e+a}))}else{var o=(0,i.Z)(I);o[e]=D[e];var c=eK(o,(eB-e_)*t,e,"dist");z(c.values,c.value)}},(V=s.useRef(G)).current=G,W=function(e,t){e.stopPropagation();var n=eJ[t];R(t),C(n),A(eJ);var r=k(e),a=r.pageX,o=r.pageY,c=function(e){e.preventDefault();var n,r=k(e),c=r.pageX,u=r.pageY,l=c-a,i=u-o,s=eD.current.getBoundingClientRect(),f=s.width,d=s.height;switch(eA){case"btt":n=-i/d;break;case"ttb":n=i/d;break;case"rtl":n=-l/f;break;default:n=l/f}V.current(t,n)},u=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",c),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",c),_.current=null,B.current=null,R(-1),tt()};document.addEventListener("mouseup",u),document.addEventListener("mousemove",c),document.addEventListener("touchend",u),document.addEventListener("touchmove",c),_.current=c,B.current=u},[N,Z,s.useMemo(function(){var e=(0,i.Z)(eJ).sort(function(e,t){return e-t}),t=(0,i.Z)(I).sort(function(e,t){return e-t});return e.every(function(e,n){return e===t[n]})?I:eJ},[eJ,I]),W]),tr=(0,c.Z)(tn,4),ta=tr[0],to=tr[1],tc=tr[2],tu=tr[3],tl=function(e,t){tu(e,t),null==ev||ev(e1(e0.current))},ti=-1!==ta;s.useEffect(function(){if(!ti){var e=eJ.lastIndexOf(to);eH.current.focus(e)}},[ti]);var ts=s.useMemo(function(){return(0,i.Z)(tc).sort(function(e,t){return e-t})},[tc]),tf=s.useMemo(function(){return es?[ts[0],ts[ts.length-1]]:[e_,ts[0]]},[ts,es,e_]),td=(0,c.Z)(tf,2),tv=td[0],tm=td[1];s.useImperativeHandle(t,function(){return{focus:function(){eH.current.focus(0)},blur:function(){var e=document.activeElement;eD.current.contains(e)&&(null==e||e.blur())}}}),s.useEffect(function(){J&&eH.current.focus(0)},[]);var tp=s.useMemo(function(){return{min:e_,max:eB,direction:eA,disabled:q,step:ez,included:eC,includedStart:tv,includedEnd:tm,range:es,tabIndex:eF,ariaLabelForHandle:eI,ariaLabelledByForHandle:eT,ariaValueTextFormatterForHandle:eL}},[e_,eB,eA,q,ez,eC,tv,tm,es,eF,eI,eT,eL]);return s.createElement(g.Provider,{value:tp},s.createElement("div",{ref:eD,className:l()(K,$,(X={},(0,a.Z)(X,"".concat(K,"-disabled"),q),(0,a.Z)(X,"".concat(K,"-vertical"),ex),(0,a.Z)(X,"".concat(K,"-horizontal"),!ex),(0,a.Z)(X,"".concat(K,"-with-marks"),eV.length),X)),style:U,onMouseDown:e3},s.createElement("div",{className:"".concat(K,"-rail"),style:eM}),s.createElement(M,{prefixCls:K,style:ek,values:ts,startPoint:eE,onStartMove:te?tl:null}),s.createElement(P,{prefixCls:K,marks:eV,dots:eP,style:eO,activeStyle:eS}),s.createElement(E,{ref:eH,prefixCls:K,style:ew,values:tc,draggingIndex:ta,onStartMove:tl,onOffsetChange:e5,onFocus:ee,onBlur:et,handleRender:eR}),s.createElement(S,{prefixCls:K,marks:eV,onClick:e4})))}),j=n(53124),F=n(75164),I=n(42550),T=n(94199),L=s.forwardRef(function(e,t){var n=e.open,r=(0,s.useRef)(null),a=(0,s.useRef)(null);function c(){F.Z.cancel(a.current),a.current=null}return s.useEffect(function(){return n?a.current=(0,F.Z)(function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign(),a.current=null}):c(),c},[n,e.title]),s.createElement(T.Z,(0,o.Z)({ref:(0,I.sQ)(r,t)},e))}),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},D=s.forwardRef(function(e,t){var n=s.useContext(j.E_),u=n.getPrefixCls,i=n.direction,f=n.getPopupContainer,d=s.useState({}),v=(0,c.Z)(d,2),m=v[0],p=v[1],h=function(e,t){p(function(n){return(0,o.Z)((0,o.Z)({},n),(0,a.Z)({},e,t))})},g=e.prefixCls,b=e.range,y=e.className,x=H(e,["prefixCls","range","className"]),Z=u("slider",g),C=l()(y,(0,a.Z)({},"".concat(Z,"-rtl"),"rtl"===i));"rtl"!==i||x.vertical||(x.reverse=!x.reverse);var E=s.useMemo(function(){return b?"object"===(0,r.Z)(b)?[!0,b.draggableTrack]:[!0,!1]:[!1]},[b]),k=(0,c.Z)(E,2),w=k[0],M=k[1],O=function(t,n){var r,a=n.index,c=n.dragging,l=u(),d=e.tooltip,v=e.vertical,p=(0,o.Z)({formatter:null!==(r=e.tipFormatter)&&void 0!==r?r:function(e){return"number"==typeof e?e.toString():""},open:e.tooltipVisible,placement:e.tooltipPlacement,getPopupContainer:e.getTooltipPopupContainer},void 0===d?{}:d),g=p.open,b=p.placement,y=p.getPopupContainer,x=p.prefixCls,C=p.formatter,E=!!C&&(m[a]||c),k=(0,o.Z)((0,o.Z)({},t.props),{onMouseEnter:function(){return h(a,!0)},onMouseLeave:function(){return h(a,!1)}}),w=u("tooltip",x);return s.createElement(L,{prefixCls:w,title:C?C(n.value):"",open:g||void 0===g&&E,placement:b||(v?"rtl"===i?"left":"right":"top"),transitionName:"".concat(l,"-zoom-down"),key:a,overlayClassName:"".concat(Z,"-tooltip"),getPopupContainer:y||f},s.cloneElement(t,k))};return s.createElement(R,(0,o.Z)({},x,{step:x.step,range:w,draggableTrack:M,className:C,ref:t,prefixCls:Z,handleRender:O}))})},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(87462),a=n(4942),o=n(50888),c=n(94184),u=n.n(c),l=n(97685),i=n(45987),s=n(67294),f=n(21770),d=n(15105),v=s.forwardRef(function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,c=e.className,v=e.checked,m=e.defaultChecked,p=e.disabled,h=e.loadingIcon,g=e.checkedChildren,b=e.unCheckedChildren,y=e.onClick,x=e.onChange,Z=e.onKeyDown,C=(0,i.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),E=(0,f.Z)(!1,{value:v,defaultValue:m}),k=(0,l.Z)(E,2),w=k[0],M=k[1];function O(e,t){var n=w;return p||(M(n=e),null==x||x(n,t)),n}var S=u()(o,c,(n={},(0,a.Z)(n,"".concat(o,"-checked"),w),(0,a.Z)(n,"".concat(o,"-disabled"),p),n));return s.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":w,disabled:p,className:S,ref:t,onKeyDown:function(e){e.which===d.Z.LEFT?O(!1,e):e.which===d.Z.RIGHT&&O(!0,e),null==Z||Z(e)},onClick:function(e){var t=O(!w,e);null==y||y(t,e)}}),h,s.createElement("span",{className:"".concat(o,"-inner")},w?g:b))});v.displayName="Switch";var m=n(53124),p=n(98866),h=n(97647),g=n(68349),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},y=s.forwardRef(function(e,t){var n,c=e.prefixCls,l=e.size,i=e.disabled,f=e.loading,d=e.className,y=b(e,["prefixCls","size","disabled","loading","className"]),x=s.useContext(m.E_),Z=x.getPrefixCls,C=x.direction,E=s.useContext(h.Z),k=s.useContext(p.Z),w=Z("switch",c),M=s.createElement("div",{className:"".concat(w,"-handle")},f&&s.createElement(o.Z,{className:"".concat(w,"-loading-icon")})),O=u()((n={},(0,a.Z)(n,"".concat(w,"-small"),"small"===(l||E)),(0,a.Z)(n,"".concat(w,"-loading"),f),(0,a.Z)(n,"".concat(w,"-rtl"),"rtl"===C),n),void 0===d?"":d);return s.createElement(g.Z,{insertExtraNode:!0},s.createElement(v,(0,r.Z)({},y,{prefixCls:w,className:O,disabled:i||k||f,ref:t,loadingIcon:M})))});y.__ANT_SWITCH=!0;var x=y},27561:function(e,t,n){var r=n(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(a,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),a=n(7771),o=n(14841),c=Math.max,u=Math.min;e.exports=function(e,t,n){var l,i,s,f,d,v,m=0,p=!1,h=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=l,r=i;return l=i=void 0,m=t,f=e.apply(r,n)}function y(e){var n=e-v,r=e-m;return void 0===v||n>=t||n<0||h&&r>=s}function x(){var e,n,r,o=a();if(y(o))return Z(o);d=setTimeout(x,(e=o-v,n=o-m,r=t-e,h?u(r,s-n):r))}function Z(e){return(d=void 0,g&&l)?b(e):(l=i=void 0,f)}function C(){var e,n=a(),r=y(n);if(l=arguments,i=this,v=n,r){if(void 0===d)return m=e=v,d=setTimeout(x,t),p?b(e):f;if(h)return clearTimeout(d),d=setTimeout(x,t),b(v)}return void 0===d&&(d=setTimeout(x,t)),f}return t=o(t)||0,r(n)&&(p=!!n.leading,s=(h="maxWait"in n)?c(o(n.maxWait)||0,t):s,g="trailing"in n?!!n.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),m=0,l=v=i=d=void 0},C.flush=function(){return void 0===d?f:Z(a())},C}},33448:function(e,t,n){var r=n(44239),a=n(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639),a=function(){return r.Date.now()};e.exports=a},14841:function(e,t,n){var r=n(27561),a=n(13218),o=n(33448),c=0/0,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,i=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return c;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||i.test(e)?s(e.slice(2),n?2:8):u.test(e)?c:+e}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7365.72718ce4ca51b05b.js b/static/web/_next/static/chunks/7365.72718ce4ca51b05b.js new file mode 100644 index 000000000..b57a7c037 --- /dev/null +++ b/static/web/_next/static/chunks/7365.72718ce4ca51b05b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7365],{57365:function(e,t,n){function r(e){for(var t={},n=0;n=!&|~$:]/;function m(e,t){a=null;var n=e.next();if("#"==n)return e.skipToEnd(),"comment";if("0"==n&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if("."==n&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(n))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==n||'"'==n)return t.tokenize=function(e,t){if(e.eat("\\")){var r,a=e.next();return"x"==a?e.match(/^[a-f0-9]{2}/i):("u"==a||"U"==a)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==a?e.match(/^[a-f0-9]{4}/i):"U"==a?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(a)&&e.match(/^[0-7]{1,2}/),"string.special"}for(;null!=(r=e.next());){if(r==n){t.tokenize=m;break}if("\\"==r){e.backUp(1);break}}return"string"},"string";if("`"==n)return e.match(/[^`]+`/),"string.special";if("."==n&&e.match(/.(?:[.]|\d+)/))return"keyword";else if(/[a-zA-Z\.]/.test(n)){e.eatWhile(/[\w\.]/);var r=e.current();return u.propertyIsEnumerable(r)?"atom":f.propertyIsEnumerable(r)?(s.propertyIsEnumerable(r)&&!e.match(/\s*if(\s+|$)/,!1)&&(a="block"),"keyword"):o.propertyIsEnumerable(r)?"builtin":"variable"}else if("%"==n)return e.skipTo("%")&&e.next(),"variableName.special";else if("<"==n&&e.eat("-")||"<"==n&&e.match("<-")||"-"==n&&e.match(/>>?/))return"operator";else if("="==n&&t.ctx.argList)return"operator";else if(p.test(n))return"$"==n||e.eatWhile(p),"operator";else if(!/[\(\){}\[\];]/.test(n))return null;else return(a=n,";"==n)?"punctuation":null}function d(e,t,n){e.ctx={type:t,indent:e.indent,flags:0,column:n.column(),prev:e.ctx}}function k(e,t){var n=e.ctx;e.ctx={type:n.type,indent:n.indent,flags:n.flags|t,column:n.column,prev:n.prev}}function x(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}let b={name:"r",startState:function(e){return{tokenize:m,ctx:{type:"top",indent:-e,flags:2},indent:0,afterIdent:!1}},token:function(e,t){if(e.sol()&&((3&t.ctx.flags)==0&&(t.ctx.flags|=2),4&t.ctx.flags&&x(t),t.indent=e.indentation()),e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"!=n&&(2&t.ctx.flags)==0&&k(t,1),(";"==a||"{"==a||"}"==a)&&"block"==t.ctx.type&&x(t),"{"==a?d(t,"}",e):"("==a?(d(t,")",e),t.afterIdent&&(t.ctx.argList=!0)):"["==a?d(t,"]",e):"block"==a?d(t,"block",e):a==t.ctx.type?x(t):"block"==t.ctx.type&&"comment"!=n&&k(t,4),t.afterIdent="variable"==n||"keyword"==n,n},indent:function(e,t,n){if(e.tokenize!=m)return 0;var r=t&&t.charAt(0),a=e.ctx,i=r==a.type;return(4&a.flags&&(a=a.prev),"block"==a.type)?a.indent+("{"==r?0:n.unit):1&a.flags?a.column+(i?0:1):a.indent+(i?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:i.concat(c,l)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7365.ba6ea4dc0635e480.js b/static/web/_next/static/chunks/7365.ba6ea4dc0635e480.js deleted file mode 100644 index cd5cdbf44..000000000 --- a/static/web/_next/static/chunks/7365.ba6ea4dc0635e480.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7365],{57365:function(t,e,n){function r(t){for(var e={},n=0;n=!&|~$:]/;function m(t,e){a=null;var n,r=t.next();if("#"==r)return t.skipToEnd(),"comment";if("0"==r&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if("."==r&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==r||'"'==r)return e.tokenize=(n=r,function(t,e){if(t.eat("\\")){var r=t.next();return"x"==r?t.match(/^[a-f0-9]{2}/i):("u"==r||"U"==r)&&t.eat("{")&&t.skipTo("}")?t.next():"u"==r?t.match(/^[a-f0-9]{4}/i):"U"==r?t.match(/^[a-f0-9]{8}/i):/[0-7]/.test(r)&&t.match(/^[0-7]{1,2}/),"string.special"}for(var a;null!=(a=t.next());){if(a==n){e.tokenize=m;break}if("\\"==a){t.backUp(1);break}}return"string"}),"string";if("`"==r)return t.match(/[^`]+`/),"string.special";if("."==r&&t.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){t.eatWhile(/[\w\.]/);var i=t.current();return u.propertyIsEnumerable(i)?"atom":f.propertyIsEnumerable(i)?(s.propertyIsEnumerable(i)&&!t.match(/\s*if(\s+|$)/,!1)&&(a="block"),"keyword"):l.propertyIsEnumerable(i)?"builtin":"variable"}return"%"==r?(t.skipTo("%")&&t.next(),"variableName.special"):"<"==r&&t.eat("-")||"<"==r&&t.match("<-")||"-"==r&&t.match(/>>?/)||"="==r&&e.ctx.argList?"operator":p.test(r)?("$"==r||t.eatWhile(p),"operator"):/[\(\){}\[\];]/.test(r)?(a=r,";"==r?"punctuation":null):null}function d(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function k(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function x(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}const b={name:"r",startState:function(t){return{tokenize:m,ctx:{type:"top",indent:-t,flags:2},indent:0,afterIdent:!1}},token:function(t,e){if(t.sol()&&(0==(3&e.ctx.flags)&&(e.ctx.flags|=2),4&e.ctx.flags&&x(e),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);return"comment"!=n&&0==(2&e.ctx.flags)&&k(e,1),";"!=a&&"{"!=a&&"}"!=a||"block"!=e.ctx.type||x(e),"{"==a?d(e,"}",t):"("==a?(d(e,")",t),e.afterIdent&&(e.ctx.argList=!0)):"["==a?d(e,"]",t):"block"==a?d(e,"block",t):a==e.ctx.type?x(e):"block"==e.ctx.type&&"comment"!=n&&k(e,4),e.afterIdent="variable"==n||"keyword"==n,n},indent:function(t,e,n){if(t.tokenize!=m)return 0;var r=e&&e.charAt(0),a=t.ctx,i=r==a.type;return 4&a.flags&&(a=a.prev),"block"==a.type?a.indent+("{"==r?0:n.unit):1&a.flags?a.column+(i?0:1):a.indent+(i?0:n.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:i.concat(c,o)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7370.ab056e5d030e94cf.js b/static/web/_next/static/chunks/7370.ab056e5d030e94cf.js new file mode 100644 index 000000000..012f00f42 --- /dev/null +++ b/static/web/_next/static/chunks/7370.ab056e5d030e94cf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7370],{67370:function(e,t,n){n.r(t),n.d(t,{nsis:function(){return r}});var i=n(44125);let r=(0,i.Q)({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}})},44125:function(e,t,n){function i(e){r(e,"start");var t={},n=e.languageData||{},i=!1;for(var a in e)if(a!=n&&e.hasOwnProperty(a))for(var s=t[a]=[],l=e[a],d=0;d2&&a.token&&"string"!=typeof a.token){n.pending=[];for(var d=2;d-1)return null;var r=e.indent.length-1,o=t[e.state];e:for(;;){for(var a=0;a!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}})},44125:function(e,t,n){function i(e){r(e,"start");var t={},n=e.languageData||{},i=!1;for(var l in e)if(l!=n&&e.hasOwnProperty(l))for(var d=t[l]=[],S=e[l],c=0;c2&&a.token&&"string"!=typeof a.token){n.pending=[];for(var d=2;d-1)return null;var r=n.indent.length-1,o=e[n.state];e:for(;;){for(var a=0;a/],{suffix:""}),c=n([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),l=n([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),p={keyword:a,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:u,builtin:n([/[A-Z]:|%|\?/i,c,l],{suffix:o}),punctuation:/[\[\]{},;`\\\.]|@[({]/,variable:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function m(e,t){var r=t.returnStack[t.returnStack.length-1];if(r&&r.shouldReturnFrom(t))return t.tokenize=r.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var n in p)if(e.match(p[n]))return n;var o=e.next();if("'"===o)return function(e,t){var r;for(;null!=(r=e.peek());)if(e.next(),"'"===r&&!e.eat("'"))return t.tokenize=m,"string";return"error"}(e,t);if("$"===o)return b(e,t);if('"'===o)return S(e,t);if("<"===o&&e.eat("#"))return t.tokenize=v,v(e,t);if("#"===o)return e.skipToEnd(),"comment";if("@"===o){var a=e.eat(/["']/);if(a&&e.eol())return t.tokenize=k,t.startQuote=a[0],k(e,t);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(i))return b(e,t)}return"error"}function S(e,t){for(var r;null!=(r=e.peek());){if("$"===r)return t.tokenize=f,"string";if(e.next(),"`"!==r){if('"'===r&&!e.eat('"'))return t.tokenize=m,"string"}else e.next()}return"error"}function f(e,t){return g(e,t,S)}function P(e,t){return t.tokenize=k,t.startQuote='"',k(e,t)}function d(e,t){return g(e,t,P)}function g(e,t,r){if(e.match("$(")){var n=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===n},tokenize:r}),t.tokenize=m,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),t.tokenize=b,t.tokenize(e,t)}function v(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&">"==r){t.tokenize=m;break}n="#"===r}return"comment"}function b(e,t){var r=e.peek();return e.eat("{")?(t.tokenize=C,C(e,t)):void 0!=r&&r.match(i)?(e.eatWhile(i),t.tokenize=m,"variable"):(t.tokenize=m,"error")}function C(e,t){for(var r;null!=(r=e.next());)if("}"===r){t.tokenize=m;break}return"variable"}function k(e,t){var r=t.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))t.tokenize=m;else if('"'===r)for(;!e.eol();){var n=e.peek();if("$"===n)return t.tokenize=d,"string";e.next(),"`"===n&&e.next()}else e.skipToEnd();return"string"}const h={name:"powershell",startState:function(){return{returnStack:[],bracketNesting:0,tokenize:m}},token:function(e,t){return t.tokenize(e,t)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7421.6e55431a3f7b261d.js b/static/web/_next/static/chunks/7421.6e55431a3f7b261d.js new file mode 100644 index 000000000..a74fc3bb2 --- /dev/null +++ b/static/web/_next/static/chunks/7421.6e55431a3f7b261d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7421],{37421:function(e,t,r){function n(e,t){for(var r=void 0!==(t=t||{}).prefix?t.prefix:"^",n=void 0!==t.suffix?t.suffix:"\\b",o=0;o/],{suffix:""}),c=n([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),l=n([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),p={keyword:a,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:u,builtin:n([/[A-Z]:|%|\?/i,c,l],{suffix:o}),punctuation:/[\[\]{},;`\\\.]|@[({]/,variable:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function m(e,t){var r=t.returnStack[t.returnStack.length-1];if(r&&r.shouldReturnFrom(t))return t.tokenize=r.tokenize,t.returnStack.pop(),t.tokenize(e,t);if(e.eatSpace())return null;if(e.eat("("))return t.bracketNesting+=1,"punctuation";if(e.eat(")"))return t.bracketNesting-=1,"punctuation";for(var n in p)if(e.match(p[n]))return n;var o=e.next();if("'"===o)return function(e,t){for(var r;null!=(r=e.peek());)if(e.next(),"'"===r&&!e.eat("'"))return t.tokenize=m,"string";return"error"}(e,t);if("$"===o)return b(e,t);if('"'===o)return S(e,t);if("<"===o&&e.eat("#"))return t.tokenize=v,v(e,t);if("#"===o)return e.skipToEnd(),"comment";if("@"===o){var a=e.eat(/["']/);if(a&&e.eol())return t.tokenize=k,t.startQuote=a[0],k(e,t);if(e.eol());else if(e.peek().match(/[({]/))return"punctuation";else if(e.peek().match(i))return b(e,t)}return"error"}function S(e,t){for(var r;null!=(r=e.peek());){if("$"===r)return t.tokenize=f,"string";if(e.next(),"`"===r){e.next();continue}if('"'===r&&!e.eat('"'))return t.tokenize=m,"string"}return"error"}function f(e,t){return g(e,t,S)}function P(e,t){return t.tokenize=k,t.startQuote='"',k(e,t)}function d(e,t){return g(e,t,P)}function g(e,t,r){if(!e.match("$("))return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),t.tokenize=b,t.tokenize(e,t);var n=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===n},tokenize:r}),t.tokenize=m,t.bracketNesting+=1,"punctuation"}function v(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&">"==r){t.tokenize=m;break}n="#"===r}return"comment"}function b(e,t){var r=e.peek();return e.eat("{")?(t.tokenize=C,C(e,t)):void 0!=r&&r.match(i)?(e.eatWhile(i),t.tokenize=m,"variable"):(t.tokenize=m,"error")}function C(e,t){for(var r;null!=(r=e.next());)if("}"===r){t.tokenize=m;break}return"variable"}function k(e,t){var r=t.startQuote;if(e.sol()&&e.match(RegExp(r+"@")))t.tokenize=m;else if('"'===r)for(;!e.eol();){var n=e.peek();if("$"===n){t.tokenize=d;break}e.next(),"`"===n&&e.next()}else e.skipToEnd();return"string"}let h={name:"powershell",startState:function(){return{returnStack:[],bracketNesting:0,tokenize:m}},token:function(e,t){return t.tokenize(e,t)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7466-7f570b0a03d109b7.js b/static/web/_next/static/chunks/7466-7f570b0a03d109b7.js new file mode 100644 index 000000000..fee8508e8 --- /dev/null +++ b/static/web/_next/static/chunks/7466-7f570b0a03d109b7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7466],{77466:function(e,t,n){let a;n.d(t,{me:function(){return V},FI:function(){return C},Q:function(){return v},L4:function(){return k},j$:function(){return I},ZA:function(){return m},g1:function(){return b},g8:function(){return G},db:function(){return p},ap:function(){return L},di:function(){return U},pT:function(){return F},hz:function(){return _},YW:function(){return P},We:function(){return D},RI:function(){return A},pH:function(){return H},Gt:function(){return T}});var o,i,r=n(67294),s=n(4480),c=n(23917),l=class{static async getConfig(){let e=await fetch("/api/config"),t=await e.json();return t}},u=n(64777),d=class{static async getChatHistory(e){let t=await (0,u.$l)("".concat("/api/chat","?accessToken=").concat(e));return t}static async registerUser(e){let t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({displayName:e})},n=await (0,u.$l)("/api/chat/register",t);return n}},E=n(91951);class h{createAndConnect(e){let t=new URL(e);t.protocol="https:"===window.location.protocol?"wss:":"ws:",t.pathname="/ws",t.port="3000"===window.location.port?"8080":window.location.port,t.searchParams.append("accessToken",this.accessToken),console.debug("connecting to ",t.toString());let n=new WebSocket(t.toString());n.onopen=this.onOpen.bind(this),n.onerror=this.onError.bind(this),n.onmessage=this.onMessage.bind(this),this.websocket=n}onOpen(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer)}onError(e){console.error("Chat has been disconnected and is likely not working for you. It's possible you were removed from chat. If this is a server configuration issue, visit troubleshooting steps to resolve. https://owncast.online/docs/troubleshooting/#chat-is-disabled: ".concat("Socket error: ".concat(e))),this.websocket.close(),this.isShutdown||this.scheduleReconnect()}scheduleReconnect(){this.websocketReconnectTimer&&clearTimeout(this.websocketReconnectTimer),this.backOff*=2,this.websocketReconnectTimer=setTimeout(this.createAndConnect,5e3+Math.min(this.backOff,1e4))}shutdown(){this.isShutdown=!0,this.websocket.close()}onMessage(e){let t;let n=e.data.split("\n");for(let a=0;a!a.includes(e.id))}}),V=()=>{let e;let[,t,n]=(0,c.e)(g),[o,u]=(0,s.FV)(p),f=(0,s.Zl)(k),[_,m]=(0,s.FV)(b),D=(0,s.Zl)(A),F=(0,s.Zl)(G),[U,P]=(0,s.FV)(I),[H,V]=(0,s.FV)(C),Z=(0,s.Zl)(v),Y=(0,s.Zl)(L),J=(0,s.Zl)(T),[j,B]=(0,s.FV)(M),[W,X]=(0,r.useState)(!1),[$,Q]=(0,r.useState)(!1),q=(e,t)=>{Y({title:e,message:t})},x=e=>{t({type:e})},K=async()=>{if(!$)try{let e=await l.getConfig();m(e),Y(null),Q(!0)}catch(t){q("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running."),console.error("ClientConfigService -> getConfig() ERROR: \n".concat(t))}},z=async()=>{if(!W)try{let e=await N.getStatus();D(e),X(!0);let{serverTime:t}=e,n=new Date(t).getTime()-Date.now();F(n),e.online?x(i.Online):e.online||x(i.Offline),Y(null)}catch(a){x(i.Fail),q("Unable to reach Owncast server","Owncast cannot launch. Please make sure the Owncast server is running."),console.error("serverStatusState -> getStatus() ERROR: \n".concat(a))}},ee=async e=>{let t=(0,S.$o)(w);if(t){V(t);return}try{x(i.NeedsRegister);let n=await d.registerUser(e);console.log("ChatService -> registerUser() response: \n".concat(n));let{accessToken:a,displayName:r,displayColor:s}=n;if(!a)return;console.log("setting access token",a),u({...o,displayName:r,displayColor:s}),V(a),(0,S.qQ)(w,a)}catch(c){x(i.Fail),console.error("ChatService -> registerUser() ERROR: \n".concat(c))}},et=()=>{(0,S.qQ)(w,""),V(null),ee()},en=e=>{let{ids:t,visible:n}=e;if(n){let a=j.filter(e=>!t.includes(e));B(a)}else{let o=[...j,...t];B(o)}},ea=e=>{switch(e.type){case E.C.ERROR_NEEDS_REGISTRATION:et();break;case E.C.CONNECTED_USER_INFO:O(e,f,u),P(t=>[...t,e]);break;case E.C.CHAT:P(t=>[...t,e]);break;case E.C.NAME_CHANGE:R(e,U,P);break;case E.C.USER_JOINED:P(t=>[...t,e]);break;case E.C.SYSTEM:P(t=>[...t,e]);break;case E.C.CHAT_ACTION:P(t=>[...t,e]);break;case E.C.VISIBILITY_UPDATE:en(e);break;default:console.error("Unknown socket message type: ",e.type)}},eo=async()=>{try{let e=await d.getChatHistory(H);P(t=>[...t,...e])}catch(t){console.error("ChatService -> getChatHistory() ERROR: \n".concat(t))}},ei=async()=>{try{let{socketHostOverride:t}=_,n=t||window.location.toString();(e=new h(H,"/ws",n)).handleMessage=ea,J(e)}catch(a){console.error("ChatService -> startChat() ERROR: \n".concat(a))}},er=()=>{};return(0,r.useEffect)(()=>{try{if(window.configHydration){x(i.Loaded);let e=JSON.parse(window.configHydration);m(e),Q(!0)}}catch(t){console.error("Error parsing config hydration",t)}try{if(window.statusHydration){let n=JSON.parse(window.statusHydration);D(n),X(!0)}}catch(a){console.error("error parsing status hydration",a)}},[]),(0,r.useEffect)(()=>{W&&$&&x(i.Loaded)},[W,$]),(0,r.useEffect)(()=>{!_.chatDisabled&&H&&$&&ei()},[$,H]),(0,r.useEffect)(()=>{er()},[U]),(0,r.useEffect)(()=>(K(),ee(),z(),clearInterval(a),a=setInterval(()=>{z()},5e3),()=>{clearInterval(a)}),[]),(0,r.useEffect)(()=>{H&&eo()},[H]),(0,r.useEffect)(()=>{n.onTransition(e=>{if(!e.changed)return;let t=(0,y.YR)(e.meta);Z(t)})},[]),null}},91951:function(e,t,n){var a,o;n.d(t,{C:function(){return a}}),(o=a||(a={})).CHAT="CHAT",o.PING="PING",o.NAME_CHANGE="NAME_CHANGE",o.COLOR_CHANGE="COLOR_CHANGE",o.PONG="PONG",o.SYSTEM="SYSTEM",o.USER_JOINED="USER_JOINED",o.CHAT_ACTION="CHAT_ACTION",o.FEDIVERSE_ENGAGEMENT_FOLLOW="FEDIVERSE_ENGAGEMENT_FOLLOW",o.FEDIVERSE_ENGAGEMENT_LIKE="FEDIVERSE_ENGAGEMENT_LIKE",o.FEDIVERSE_ENGAGEMENT_REPOST="FEDIVERSE_ENGAGEMENT_REPOST",o.CONNECTED_USER_INFO="CONNECTED_USER_INFO",o.ERROR_USER_DISABLED="ERROR_USER_DISABLED",o.ERROR_NEEDS_REGISTRATION="ERROR_NEEDS_REGISTRATION",o.ERROR_MAX_CONNECTIONS_EXCEEDED="ERROR_MAX_CONNECTIONS_EXCEEDED",o.VISIBILITY_UPDATE="VISIBILITY-UPDATE"},77278:function(e,t,n){function a(e){let t="string"==typeof e?new Date(e):e;return(new Date-t)/864e5}function o(e){return Object.keys(e).reduce((t,n)=>{let a=e[n];return Object.assign(t,a),t},{})}n.d(t,{Xb:function(){return a},YR:function(){return o}})},72581:function(e,t,n){n.d(t,{$o:function(){return o},dA:function(){return a},qQ:function(){return i}});let a={username:"username",hasDisplayedNotificationModal:"HAS_DISPLAYED_NOTIFICATION_MODAL",userVisitCount:"USER_VISIT_COUNT"};function o(e){try{return localStorage.getItem(e)}catch(t){}return null}function i(e,t){try{return""!==t&&null!==t?localStorage.setItem(e,t):localStorage.removeItem(e),!0}catch(n){}return!1}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7475.0017763814cf5003.js b/static/web/_next/static/chunks/7475.0017763814cf5003.js new file mode 100644 index 000000000..68ded5fb6 --- /dev/null +++ b/static/web/_next/static/chunks/7475.0017763814cf5003.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7475],{87475:function(e,r,n){n.r(r),n.d(r,{diff:function(){return s}});var t={"+":"inserted","-":"deleted","@":"meta"};let s={name:"diff",token:function(e){var r=e.string.search(/[\t ]+?$/);if(!e.sol()||0===r)return e.skipToEnd(),("error "+(t[e.string.charAt(0)]||"")).replace(/ $/,"");var n=t[e.peek()]||e.skipToEnd();return -1===r?e.skipToEnd():e.pos=r,n}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7475.4be62cb9b949979c.js b/static/web/_next/static/chunks/7475.4be62cb9b949979c.js deleted file mode 100644 index 5451461ba..000000000 --- a/static/web/_next/static/chunks/7475.4be62cb9b949979c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7475],{87475:function(e,n,r){r.r(n),r.d(n,{diff:function(){return s}});var t={"+":"inserted","-":"deleted","@":"meta"};const s={name:"diff",token:function(e){var n=e.string.search(/[\t ]+?$/);if(!e.sol()||0===n)return e.skipToEnd(),("error "+(t[e.string.charAt(0)]||"")).replace(/ $/,"");var r=t[e.peek()]||e.skipToEnd();return-1===n?e.skipToEnd():e.pos=n,r}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7525.0fb5d5a80e9df37c.js b/static/web/_next/static/chunks/7525.0fb5d5a80e9df37c.js deleted file mode 100644 index d4c097a60..000000000 --- a/static/web/_next/static/chunks/7525.0fb5d5a80e9df37c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7525],{87525:function(e,t,r){function n(e){for(var t={},r=0,n=e.length;r>"]);function o(e,t){if(e.eatSpace())return null;var r,n,a,i=e.next();return'"'==i||"'"==i?function(e,t,r){return r.tokenize.push(e),e(t,r)}((r=i,n="string",function(e,t){for(var i,o=!1;null!=(i=e.next());){if(i==r&&(a||!o)){t.tokenize.pop();break}o=!o&&"%"==i}return n}),e,t):"-"==i&&e.eat("-")?(e.skipToEnd(),"comment"):":"==i&&e.eat("=")?"operator":/[0-9]/.test(i)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(i)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(i)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}const u={name:"eiffel",startState:function(){return{tokenize:[o]}},token:function(e,t){var r=t.tokenize[t.tokenize.length-1](e,t);if("variable"==r){var n=e.current();r=a.propertyIsEnumerable(e.current())?"keyword":i.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(n)?"tag":/^0[bB][0-1]+$/g.test(n)||/^0[cC][0-7]+$/g.test(n)||/^0[xX][a-fA-F0-9]+$/g.test(n)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(n)||/^[0-9]+$/g.test(n)?"number":"variable"}return r},languageData:{commentTokens:{line:"--"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7525.f7c93eb403c6c9c0.js b/static/web/_next/static/chunks/7525.f7c93eb403c6c9c0.js new file mode 100644 index 000000000..3fc128629 --- /dev/null +++ b/static/web/_next/static/chunks/7525.f7c93eb403c6c9c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7525],{87525:function(e,t,r){function n(e){for(var t={},r=0,n=e.length;r>"]);function o(e,t){if(e.eatSpace())return null;var r,n=e.next();return'"'==n||"'"==n?(r=function(e,t){for(var r,a=!1;null!=(r=e.next());){if(r==n&&!a){t.tokenize.pop();break}a=!a&&"%"==r}return"string"},t.tokenize.push(r),r(e,t)):"-"==n&&e.eat("-")?(e.skipToEnd(),"comment"):":"==n&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}let u={name:"eiffel",startState:function(){return{tokenize:[o]}},token:function(e,t){var r=t.tokenize[t.tokenize.length-1](e,t);if("variable"==r){var n=e.current();r=a.propertyIsEnumerable(e.current())?"keyword":i.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(n)?"tag":/^0[bB][0-1]+$/g.test(n)?"number":/^0[cC][0-7]+$/g.test(n)?"number":/^0[xX][a-fA-F0-9]+$/g.test(n)?"number":/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(n)?"number":/^[0-9]+$/g.test(n)?"number":"variable"}return r},languageData:{commentTokens:{line:"--"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7558.c1439179bc411c81.js b/static/web/_next/static/chunks/7558.c1439179bc411c81.js new file mode 100644 index 000000000..8c23c079d --- /dev/null +++ b/static/web/_next/static/chunks/7558.c1439179bc411c81.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7558],{36395:function(r,n,t){function u(r,n){return r.skipToEnd(),n.cur=f,"error"}function e(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=c,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=i,"keyword"):u(r,n)}function c(r,n){var t=r.match(/^\d+/);if(!t)return u(r,n);n.cur=o;var e=Number(t[0]);return e>=100&&e<400?"atom":"error"}function o(r,n){return r.skipToEnd(),n.cur=f,null}function i(r,n){return r.eatWhile(/\S/),n.cur=a,"string.special"}function a(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=f,"keyword"):u(r,n)}function f(r){return!r.sol()||r.eat(/[ \t]/)?(r.skipToEnd(),"string"):r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error")}function s(r){return r.skipToEnd(),null}t.r(n),t.d(n,{http:function(){return k}});let k={name:"http",token:function(r,n){var t=n.cur;return t!=f&&t!=s&&r.eatSpace()?null:t(r,n)},blankLine:function(r){r.cur=s},startState:function(){return{cur:e}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/758.62bb49093c001300.js b/static/web/_next/static/chunks/758.62bb49093c001300.js new file mode 100644 index 000000000..3e8cf673c --- /dev/null +++ b/static/web/_next/static/chunks/758.62bb49093c001300.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[758],{30758:function(t,r,e){function n(t){var r;return{name:"mscgen",startState:u,copyState:l,token:(r=t,function(t,e){if(t.match(s(r.brackets),!0,!0))return"bracket";if(!e.inComment){if(t.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(t.match(s(r.singlecomment),!0,!0))return t.skipToEnd(),"comment"}if(e.inComment)return t.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:t.skipToEnd(),"comment";if(!e.inString&&t.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return t.match(/[^\"]*\"/,!0,!0)?e.inString=!1:t.skipToEnd(),"string";if(r.keywords&&t.match(a(r.keywords),!0,!0)||t.match(a(r.options),!0,!0)||t.match(a(r.arcsWords),!0,!0)||t.match(s(r.arcsOthers),!0,!0))return"keyword";if(r.operators&&t.match(s(r.operators),!0,!0))return"operator";if(r.constants&&t.match(s(r.constants),!0,!0))return"variable";if(!r.inAttributeList&&r.attributes&&t.match("[",!0,!0))return r.inAttributeList=!0,"bracket";if(r.inAttributeList){if(null!==r.attributes&&t.match(a(r.attributes),!0,!0))return"attribute";if(t.match("]",!0,!0))return r.inAttributeList=!1,"bracket"}return t.next(),null}),languageData:{commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}}}e.r(r),e.d(r,{mscgen:function(){return o},msgenny:function(){return i},xu:function(){return c}});let o=n({keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),i=n({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),c=n({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function a(t){return RegExp("^\\b("+t.join("|")+")\\b","i")}function s(t){return RegExp("^(?:"+t.join("|")+")","i")}function u(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function l(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/758.f5471b27e60008d5.js b/static/web/_next/static/chunks/758.f5471b27e60008d5.js deleted file mode 100644 index e1dc232f0..000000000 --- a/static/web/_next/static/chunks/758.f5471b27e60008d5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[758],{30758:function(t,r,e){function n(t){return{name:"mscgen",startState:u,copyState:l,token:(r=t,function(t,e){if(t.match(s(r.brackets),!0,!0))return"bracket";if(!e.inComment){if(t.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(t.match(s(r.singlecomment),!0,!0))return t.skipToEnd(),"comment"}if(e.inComment)return t.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:t.skipToEnd(),"comment";if(!e.inString&&t.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return t.match(/[^\"]*\"/,!0,!0)?e.inString=!1:t.skipToEnd(),"string";if(r.keywords&&t.match(a(r.keywords),!0,!0))return"keyword";if(t.match(a(r.options),!0,!0))return"keyword";if(t.match(a(r.arcsWords),!0,!0))return"keyword";if(t.match(s(r.arcsOthers),!0,!0))return"keyword";if(r.operators&&t.match(s(r.operators),!0,!0))return"operator";if(r.constants&&t.match(s(r.constants),!0,!0))return"variable";if(!r.inAttributeList&&r.attributes&&t.match("[",!0,!0))return r.inAttributeList=!0,"bracket";if(r.inAttributeList){if(null!==r.attributes&&t.match(a(r.attributes),!0,!0))return"attribute";if(t.match("]",!0,!0))return r.inAttributeList=!1,"bracket"}return t.next(),null}),languageData:{commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}};var r}e.r(r),e.d(r,{mscgen:function(){return o},msgenny:function(){return i},xu:function(){return c}});const o=n({keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),i=n({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),c=n({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function a(t){return new RegExp("^\\b("+t.join("|")+")\\b","i")}function s(t){return new RegExp("^(?:"+t.join("|")+")","i")}function u(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function l(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7590.91daad5661348db3.js b/static/web/_next/static/chunks/7590.91daad5661348db3.js deleted file mode 100644 index 47220a2e0..000000000 --- a/static/web/_next/static/chunks/7590.91daad5661348db3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7590],{53482:function(e,t,n){n.r(t),n.d(t,{erlang:function(){return q}});var r=["-type","-spec","-export_type","-opaque"],i=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],o=/[\->,;]/,a=["->",";",","],c=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],u=/[\+\-\*\/<>=\|:!]/,s=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],l=/[<\(\[\{]/,_=["<<","(","[","{"],f=/[>\)\]\}]/,p=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],d=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],b=/[\w@\xd8-\xde\xc0-\xd6\xdf-\xf6\xf8-\xff]/,k=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function g(e,t,n){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),x(e.current(),n))return!0;e.backUp(e.current().length-1)}return!1}function h(e,t,n){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;01&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return U(e,{g:["{"]});case"]":return U(e,{i:["["]});case")":return U(e,{i:["("]});case">>":return U(e,{i:["<<"]});case"end":return U(e,{i:["begin","case","fun","if","receive","try"]});case",":return U(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return U(e,{r:["when"],m:["try","if","case","receive"]});case";":return U(e,{E:["case","fun","if","receive","try","when"]});case"catch":return U(e,{e:["try"]});case"of":return U(e,{e:["case"]});case"after":return U(e,{e:["receive","try"]});default:return e}}(e.tokenStack))}(e,function(e,t){return z(t.current(),t.column(),t.indentation(),e)}(n,t)),n){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:return null;case"comment":return"comment";case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"operator":return"operator";case"record":return"bracket";case"string":return"string";case"type":return"def";case"variable":return"variable"}}function z(e,t,n,r){return{token:e,column:t,indent:n,type:r}}function W(e){return z(e,0,0,e)}function E(e,t){var n=e.tokenStack.length,r=t||1;return!(n({tokenStack:[],in_string:!1,in_atom:!1}),token:function(e,t){if(t.in_string)return t.in_string=!y(e),S(t,e,"string");if(t.in_atom)return t.in_atom=!v(e),S(t,e,"atom");if(e.eatSpace())return S(t,e,"whitespace");if(!E(t)&&e.match(/-\s*[a-z\xdf-\xf6\xf8-\xff][\w\xd8-\xde\xc0-\xd6\xdf-\xf6\xf8-\xff]*/))return x(e.current(),r)?S(t,e,"type"):S(t,e,"attribute");var n=e.next();if("%"==n)return e.skipToEnd(),S(t,e,"comment");if(":"==n)return S(t,e,"colon");if("?"==n)return e.eatSpace(),e.eatWhile(b),S(t,e,"macro");if("#"==n)return e.eatSpace(),e.eatWhile(b),S(t,e,"record");if("$"==n)return"\\"!=e.next()||e.match(k)?S(t,e,"number"):S(t,e,"error");if("."==n)return S(t,e,"dot");if("'"==n){if(!(t.in_atom=!v(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),S(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return S(t,e,"function")}return S(t,e,"atom")}if('"'==n)return t.in_string=!y(e),S(t,e,"string");if(/[A-Z_\xd8-\xde\xc0-\xd6]/.test(n))return e.eatWhile(b),S(t,e,"variable");if(/[a-z_\xdf-\xf6\xf8-\xff]/.test(n)){if(e.eatWhile(b),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),S(t,e,"fun");var w=e.current();return x(w,i)?S(t,e,"keyword"):x(w,c)?S(t,e,"operator"):e.match(/\s*\(/,!1)?!x(w,d)||":"==E(t).token&&"erlang"!=E(t,2).token?x(w,m)?S(t,e,"guard"):S(t,e,"function"):S(t,e,"builtin"):":"==function(e){var t=e.match(/^\s*([^\s%])/,!1);return t?t[1]:""}(e)?S(t,e,"erlang"==w?"builtin":"function"):x(w,["true","false"])?S(t,e,"boolean"):S(t,e,"atom")}var z=/[0-9]/;return z.test(n)?(e.eatWhile(z),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(z)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(z)||e.backUp(2):e.eatWhile(z)||e.backUp(1)):e.backUp(1)),S(t,e,"number")):g(e,l,_)?S(t,e,"open_paren"):g(e,f,p)?S(t,e,"close_paren"):h(e,o,a)?S(t,e,"separator"):h(e,u,s)?S(t,e,"operator"):S(t,e,null)},indent:function(e,t,n){var r,i=function(e){var t=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return N(t)&&0===t.index?t[0]:""}(t),o=E(e,1),a=E(e,2);return e.in_string||e.in_atom?null:a?"when"==o.token?o.column+n.unit:"when"===i&&"function"===a.type?a.indent+n.unit:"("===i&&"fun"===o.token?o.column+3:"catch"===i&&(r=A(e,["try"]))?r.column:x(i,["end","after","of"])?(r=A(e,["begin","case","fun","if","receive","try"]))?r.column:null:x(i,p)?(r=A(e,_))?r.column:null:x(o.token,[",","|","||"])||x(i,[",","|","||"])?(r=function(e){var t=e.tokenStack.slice(0,-1),n=Z(t,"type",["open_paren"]);return!!N(t[n])&&t[n]}(e),r?r.column+r.token.length:n.unit):"->"==o.token?x(a.token,["receive","case","if","try"])?a.column+n.unit+n.unit:a.column+n.unit:x(o.token,_)?o.column+o.token.length:(r=function(e){var t=e.tokenStack,n=Z(t,"type",["open_paren","separator","keyword"]),r=Z(t,"type",["operator"]);return N(n)&&N(r)&&n,;]/,o=["->",";",","],c=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],s=/[\+\-\*\/<>=\|:!]/,u=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],l=/[<\(\[\{]/,_=["<<","(","[","{"],f=/[>\)\]\}]/,p=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],d=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],b=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,k=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function g(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),x(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function h(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;01&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return E(e,{g:["{"]});case"]":return E(e,{i:["["]});case")":return E(e,{i:["("]});case">>":return E(e,{i:["<<"]});case"end":return E(e,{i:["begin","case","fun","if","receive","try"]});case",":return E(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return E(e,{r:["when"],m:["try","if","case","receive"]});case";":return E(e,{E:["case","fun","if","receive","try","when"]});case"catch":return E(e,{e:["try"]});case"of":return E(e,{e:["case"]});case"after":return E(e,{e:["receive","try"]});default:return e}}(n.tokenStack)),r){case"atom":case"boolean":return"atom";case"attribute":return"attribute";case"builtin":return"builtin";case"close_paren":case"colon":case"dot":case"open_paren":case"separator":default:return null;case"comment":return"comment";case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"macroName";case"number":return"number";case"operator":return"operator";case"record":return"bracket";case"string":return"string";case"type":return"def";case"variable":return"variable"}}function z(e,t,r,n){return{token:e,column:t,indent:r,type:n}}function W(e,t){var r=e.tokenStack.length,n=t||1;return!(r({tokenStack:[],in_string:!1,in_atom:!1}),token:function(e,t){if(t.in_string)return t.in_string=!y(e),S(t,e,"string");if(t.in_atom)return t.in_atom=!v(e),S(t,e,"atom");if(e.eatSpace())return S(t,e,"whitespace");if(!W(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return x(e.current(),n)?S(t,e,"type"):S(t,e,"attribute");var r=e.next();if("%"==r)return e.skipToEnd(),S(t,e,"comment");if(":"==r)return S(t,e,"colon");if("?"==r)return e.eatSpace(),e.eatWhile(b),S(t,e,"macro");if("#"==r)return e.eatSpace(),e.eatWhile(b),S(t,e,"record");if("$"==r)return"\\"!=e.next()||e.match(k)?S(t,e,"number"):S(t,e,"error");if("."==r)return S(t,e,"dot");if("'"==r){if(!(t.in_atom=!v(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),S(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return S(t,e,"function")}return S(t,e,"atom")}if('"'==r)return t.in_string=!y(e),S(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(b),S(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(b),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),S(t,e,"fun");var w,z=e.current();return x(z,i)?S(t,e,"keyword"):x(z,c)?S(t,e,"operator"):e.match(/\s*\(/,!1)?x(z,d)&&(":"!=W(t).token||"erlang"==W(t,2).token)?S(t,e,"builtin"):x(z,m)?S(t,e,"guard"):S(t,e,"function"):":"==((w=e.match(/^\s*([^\s%])/,!1))?w[1]:"")?"erlang"==z?S(t,e,"builtin"):S(t,e,"function"):x(z,["true","false"])?S(t,e,"boolean"):S(t,e,"atom")}var E=/[0-9]/;return E.test(r)?(e.eatWhile(E),e.eat("#")?e.eatWhile(/[0-9a-zA-Z]/)||e.backUp(1):e.eat(".")&&(e.eatWhile(E)?!e.eat(/[eE]/)||(e.eat(/[-+]/)?e.eatWhile(E)||e.backUp(2):e.eatWhile(E)||e.backUp(1)):e.backUp(1)),S(t,e,"number")):g(e,l,_)?S(t,e,"open_paren"):g(e,f,p)?S(t,e,"close_paren"):h(e,a,o)?S(t,e,"separator"):h(e,s,u)?S(t,e,"operator"):S(t,e,null)},indent:function(e,t,r){var n,i,a,o,c,s,u,l=Z(s=t.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/))&&0===s.index?s[0]:"",f=W(e,1),m=W(e,2);if(e.in_string||e.in_atom)return null;if(!m)return 0;if("when"==f.token)return f.column+r.unit;if("when"===l&&"function"===m.type)return m.indent+r.unit;if("("===l&&"fun"===f.token)return f.column+3;if("catch"===l&&(u=U(e,["try"])))return u.column;if(x(l,["end","after","of"]))return(u=U(e,["begin","case","fun","if","receive","try"]))?u.column:null;else if(x(l,p))return(u=U(e,_))?u.column:null;else if(x(f.token,[",","|","||"])||x(l,[",","|","||"]))return(u=!!Z(n[i=A(n=e.tokenStack.slice(0,-1),"type",["open_paren"])])&&n[i])?u.column+u.token.length:r.unit;else return"->"==f.token?x(m.token,["receive","case","if","try"])?m.column+r.unit+r.unit:m.column+r.unit:x(f.token,_)?f.column+f.token.length:Z((o=A(a=e.tokenStack,"type",["open_paren","separator","keyword"]),c=A(a,"type",["operator"]),u=Z(o)&&Z(c)&&o0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return d=!0,t()};h(c,e).then(r,r)}))},window.__NEXT_PRELOADREADY=v.preloadReady;var y=v;t.default=y},5152:function(e,t,r){e.exports=r(90638)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7601.1bdb63794564ce90.js b/static/web/_next/static/chunks/7601.1bdb63794564ce90.js new file mode 100644 index 000000000..fa7b59289 --- /dev/null +++ b/static/web/_next/static/chunks/7601.1bdb63794564ce90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7601],{97601:function(e,t,a){a.r(t),a.d(t,{spreadsheet:function(){return r}});let r={name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'==e.peek()||"'"==e.peek())&&(t.stringType=e.peek(),e.next(),t.stack.unshift("string")),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":if(e.match(/\\[a-z]+/))return"string.special";return e.next(),"atom";case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":-1!=["[","]","(",")","{","}"].indexOf(a)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7601.92d29f527949173a.js b/static/web/_next/static/chunks/7601.92d29f527949173a.js deleted file mode 100644 index dc8fac4b3..000000000 --- a/static/web/_next/static/chunks/7601.92d29f527949173a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7601],{97601:function(e,t,a){a.r(t),a.d(t,{spreadsheet:function(){return s}});const s={name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":-1!=["[","]","(",")","{","}"].indexOf(a)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7635-9dbf2b85bcf59a81.js b/static/web/_next/static/chunks/7635-9dbf2b85bcf59a81.js new file mode 100644 index 000000000..4c2d73131 --- /dev/null +++ b/static/web/_next/static/chunks/7635-9dbf2b85bcf59a81.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7635],{82911:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="QuestionCircleFilled";var l=o.forwardRef(i)},24478:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:function(t,e){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6z",fill:t}},{tag:"path",attrs:{d:"M214 226.7v427.6l298 232.2 298-232.2V226.7L512 125.1 214 226.7zM632.8 328H688c6.5 0 10.3 7.4 6.5 12.7L481.9 633.4a16.1 16.1 0 01-26 0l-126.4-174c-3.8-5.3 0-12.7 6.5-12.7h55.2c5.2 0 10 2.5 13 6.6l64.7 89.1 150.9-207.8c3-4.1 7.9-6.6 13-6.6z",fill:e}},{tag:"path",attrs:{d:"M404.2 453.3c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z",fill:t}}]}},name:"safety-certificate",theme:"twotone"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="SafetyCertificateTwoTone";var l=o.forwardRef(i)},84674:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:function(t,e){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm288.5 682.8L277.7 224C258 240 240 258 224 277.7l522.8 522.8C682.8 852.7 601 884 512 884c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372c0 89-31.3 170.8-83.5 234.8z",fill:t}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372c89 0 170.8-31.3 234.8-83.5L224 277.7c16-19.7 34-37.7 53.7-53.7l522.8 522.8C852.7 682.8 884 601 884 512c0-205.4-166.6-372-372-372z",fill:e}}]}},name:"stop",theme:"twotone"},a=n(42135),i=function(t,e){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},t),{},{ref:e,icon:c}))};i.displayName="StopTwoTone";var l=o.forwardRef(i)},6226:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(4942),o=n(87462),c=n(71002),a=n(94184),i=n.n(a),l=n(67294),s=n(53124),f=n(99134),u=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},p=["xs","sm","md","lg","xl","xxl"],d=l.forwardRef(function(t,e){var n,a=l.useContext(s.E_),d=a.getPrefixCls,v=a.direction,m=l.useContext(f.Z),h=m.gutter,Z=m.wrap,y=m.supportFlexGap,g=t.prefixCls,x=t.span,b=t.order,w=t.offset,O=t.push,C=t.pull,E=t.className,j=t.children,N=t.flex,P=t.style,M=u(t,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),T=d("col",g),z={};p.forEach(function(e){var n,a={},i=t[e];"number"==typeof i?a.span=i:"object"===(0,c.Z)(i)&&(a=i||{}),delete M[e],z=(0,o.Z)((0,o.Z)({},z),(n={},(0,r.Z)(n,"".concat(T,"-").concat(e,"-").concat(a.span),void 0!==a.span),(0,r.Z)(n,"".concat(T,"-").concat(e,"-order-").concat(a.order),a.order||0===a.order),(0,r.Z)(n,"".concat(T,"-").concat(e,"-offset-").concat(a.offset),a.offset||0===a.offset),(0,r.Z)(n,"".concat(T,"-").concat(e,"-push-").concat(a.push),a.push||0===a.push),(0,r.Z)(n,"".concat(T,"-").concat(e,"-pull-").concat(a.pull),a.pull||0===a.pull),(0,r.Z)(n,"".concat(T,"-rtl"),"rtl"===v),n))});var L=i()(T,(n={},(0,r.Z)(n,"".concat(T,"-").concat(x),void 0!==x),(0,r.Z)(n,"".concat(T,"-order-").concat(b),b),(0,r.Z)(n,"".concat(T,"-offset-").concat(w),w),(0,r.Z)(n,"".concat(T,"-push-").concat(O),O),(0,r.Z)(n,"".concat(T,"-pull-").concat(C),C),n),E,z),S={};if(h&&h[0]>0){var R=h[0]/2;S.paddingLeft=R,S.paddingRight=R}if(h&&h[1]>0&&!y){var A=h[1]/2;S.paddingTop=A,S.paddingBottom=A}return N&&(S.flex="number"==typeof N?"".concat(N," ").concat(N," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(N)?"0 0 ".concat(N):N,!1!==Z||S.minWidth||(S.minWidth=0)),l.createElement("div",(0,o.Z)({},M,{style:(0,o.Z)((0,o.Z)({},S),P),className:L,ref:e}),j)})},27049:function(t,e,n){"use strict";var r=n(87462),o=n(4942),c=n(94184),a=n.n(c),i=n(67294),l=n(53124),s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},f=function(t){var e,n=i.useContext(l.E_),c=n.getPrefixCls,f=n.direction,u=t.prefixCls,p=t.type,d=void 0===p?"horizontal":p,v=t.orientation,m=void 0===v?"center":v,h=t.orientationMargin,Z=t.className,y=t.children,g=t.dashed,x=t.plain,b=s(t,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),w=c("divider",u),O=m.length>0?"-".concat(m):m,C=!!y,E="left"===m&&null!=h,j="right"===m&&null!=h,N=a()(w,"".concat(w,"-").concat(d),(e={},(0,o.Z)(e,"".concat(w,"-with-text"),C),(0,o.Z)(e,"".concat(w,"-with-text").concat(O),C),(0,o.Z)(e,"".concat(w,"-dashed"),!!g),(0,o.Z)(e,"".concat(w,"-plain"),!!x),(0,o.Z)(e,"".concat(w,"-rtl"),"rtl"===f),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-left"),E),(0,o.Z)(e,"".concat(w,"-no-default-orientation-margin-right"),j),e),Z),P=(0,r.Z)((0,r.Z)({},E&&{marginLeft:h}),j&&{marginRight:h});return i.createElement("div",(0,r.Z)({className:N},b,{role:"separator"}),y&&"vertical"!==d&&i.createElement("span",{className:"".concat(w,"-inner-text"),style:P},y))};e.Z=f},99134:function(t,e,n){"use strict";var r=(0,n(67294).createContext)({});e.Z=r},25968:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(87462),o=n(4942),c=n(71002),a=n(97685),i=n(94184),l=n.n(i),s=n(67294),f=n(53124),u=n(98082),p=n(24308),d=n(93355),v=n(99134),m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);oe.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n};(0,d.b)("top","middle","bottom","stretch"),(0,d.b)("start","end","center","space-around","space-between","space-evenly");var h=s.forwardRef(function(t,e){var n,i,d=t.prefixCls,h=t.justify,Z=t.align,y=t.className,g=t.style,x=t.children,b=t.gutter,w=void 0===b?0:b,O=t.wrap,C=m(t,["prefixCls","justify","align","className","style","children","gutter","wrap"]),E=s.useContext(f.E_),j=E.getPrefixCls,N=E.direction,P=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),M=(0,a.Z)(P,2),T=M[0],z=M[1],L=(0,u.Z)(),S=s.useRef(w);s.useEffect(function(){var t=p.ZP.subscribe(function(t){var e=S.current||0;(!Array.isArray(e)&&"object"===(0,c.Z)(e)||Array.isArray(e)&&("object"===(0,c.Z)(e[0])||"object"===(0,c.Z)(e[1])))&&z(t)});return function(){return p.ZP.unsubscribe(t)}},[]);var R=j("row",d),A=(n=[void 0,void 0],(Array.isArray(w)?w:[w,void 0]).forEach(function(t,e){if("object"===(0,c.Z)(t))for(var r=0;r0?-(A[0]/2):void 0,V=null!=A[1]&&A[1]>0?-(A[1]/2):void 0;if(B&&(k.marginLeft=B,k.marginRight=B),L){var I=(0,a.Z)(A,2);k.rowGap=I[1]}else V&&(k.marginTop=V,k.marginBottom=V);var W=(0,a.Z)(A,2),$=W[0],F=W[1],G=s.useMemo(function(){return{gutter:[$,F],wrap:O,supportFlexGap:L}},[$,F,O,L]);return s.createElement(v.Z.Provider,{value:G},s.createElement("div",(0,r.Z)({},C,{className:_,style:(0,r.Z)((0,r.Z)({},k),g),ref:e}),x))})},27561:function(t,e,n){var r=n(67990),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},67990:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},23279:function(t,e,n){var r=n(13218),o=n(7771),c=n(14841),a=Math.max,i=Math.min;t.exports=function(t,e,n){var l,s,f,u,p,d,v=0,m=!1,h=!1,Z=!0;if("function"!=typeof t)throw TypeError("Expected a function");function y(e){var n=l,r=s;return l=s=void 0,v=e,u=t.apply(r,n)}function g(t){var n=t-d,r=t-v;return void 0===d||n>=e||n<0||h&&r>=f}function x(){var t,n,r,c=o();if(g(c))return b(c);p=setTimeout(x,(t=c-d,n=c-v,r=e-t,h?i(r,f-n):r))}function b(t){return(p=void 0,Z&&l)?y(t):(l=s=void 0,u)}function w(){var t,n=o(),r=g(n);if(l=arguments,s=this,d=n,r){if(void 0===p)return v=t=d,p=setTimeout(x,e),m?y(t):u;if(h)return clearTimeout(p),p=setTimeout(x,e),y(d)}return void 0===p&&(p=setTimeout(x,e)),u}return e=c(e)||0,r(n)&&(m=!!n.leading,f=(h="maxWait"in n)?a(c(n.maxWait)||0,e):f,Z="trailing"in n?!!n.trailing:Z),w.cancel=function(){void 0!==p&&clearTimeout(p),v=0,l=d=s=p=void 0},w.flush=function(){return void 0===p?u:b(o())},w}},33448:function(t,e,n){var r=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},7771:function(t,e,n){var r=n(55639),o=function(){return r.Date.now()};t.exports=o},14841:function(t,e,n){var r=n(27561),o=n(13218),c=n(33448),a=0/0,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,f=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(c(t))return a;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=l.test(t);return n||s.test(t)?f(t.slice(2),n?2:8):i.test(t)?a:+t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7663.f05c3db04f329750.js b/static/web/_next/static/chunks/7663.f05c3db04f329750.js deleted file mode 100644 index 785b63a63..000000000 --- a/static/web/_next/static/chunks/7663.f05c3db04f329750.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7663],{77663:function(e,n,t){t.r(n),t.d(n,{fcl:function(){return s}});var r={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},o={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},i={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},u={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},a=/[+\-*&^%:=<>!|\/]/;function c(e,n){var t=e.next();if(/[\d\.]/.test(t))return"."==t?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==t?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==t||"("==t){if(e.eat("*"))return n.tokenize=l,l(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(a.test(t))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var c=e.current().toLowerCase();return r.propertyIsEnumerable(c)||o.propertyIsEnumerable(c)||i.propertyIsEnumerable(c)?"keyword":u.propertyIsEnumerable(c)?"atom":"variable"}function l(e,n){for(var t,r=!1;t=e.next();){if(("/"==t||")"==t)&&r){n.tokenize=c;break}r="*"==t}return"comment"}function f(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}const s={name:"fcl",startState:function(e){return{tokenize:null,context:new f(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(null==t.align&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||c)(e,n);if("comment"==r)return r;null==t.align&&(t.align=!0);var u=e.current().toLowerCase();return o.propertyIsEnumerable(u)?function(e,n,t){e.context=new f(e.indented,n,t,null,e.context)}(n,e.column(),"end_block"):i.propertyIsEnumerable(u)&&function(e){if(e.context.prev)"end_block"==e.context.type&&(e.indented=e.context.indented),e.context=e.context.prev}(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=c&&null!=e.tokenize)return 0;var r=e.context,o=i.propertyIsEnumerable(n);return r.align?r.column+(o?0:1):r.indented+(o?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7663.f3bf95d9844fa01d.js b/static/web/_next/static/chunks/7663.f3bf95d9844fa01d.js new file mode 100644 index 000000000..f2ce28e1d --- /dev/null +++ b/static/web/_next/static/chunks/7663.f3bf95d9844fa01d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7663],{77663:function(e,n,t){t.r(n),t.d(n,{fcl:function(){return d}});var r={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},o={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},i={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},a={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},u=/[+\-*&^%:=<>!|\/]/;function l(e,n){var t=e.next();if(/[\d\.]/.test(t))return"."==t?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==t?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==t||"("==t){if(e.eat("*"))return n.tokenize=c,c(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(u.test(t))return e.eatWhile(u),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var l=e.current().toLowerCase();return r.propertyIsEnumerable(l)||o.propertyIsEnumerable(l)||i.propertyIsEnumerable(l)?"keyword":a.propertyIsEnumerable(l)?"atom":"variable"}function c(e,n){for(var t,r=!1;t=e.next();){if(("/"==t||")"==t)&&r){n.tokenize=l;break}r="*"==t}return"comment"}function f(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}let d={name:"fcl",startState:function(e){return{tokenize:null,context:new f(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t,r,a,u=n.context;if(e.sol()&&(null==u.align&&(u.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var c=(n.tokenize||l)(e,n);if("comment"==c)return c;null==u.align&&(u.align=!0);var d=e.current().toLowerCase();return o.propertyIsEnumerable(d)?(r=n,a=e.column(),r.context=new f(r.indented,a,"end_block",null,r.context)):i.propertyIsEnumerable(d)&&(t=n).context.prev&&("end_block"==t.context.type&&(t.indented=t.context.indented),t.context=t.context.prev),n.startOfLine=!1,c},indent:function(e,n,t){if(e.tokenize!=l&&null!=e.tokenize)return 0;var r=e.context,o=i.propertyIsEnumerable(n);return r.align?r.column+(o?0:1):r.indented+(o?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7735.5528314f888ca32d.js b/static/web/_next/static/chunks/7735.5528314f888ca32d.js deleted file mode 100644 index b7ed907b0..000000000 --- a/static/web/_next/static/chunks/7735.5528314f888ca32d.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7735],{57735:function(t,e,n){"use strict";n.r(e),n.d(e,{NotifyReminderPopup:function(){return s}});var o=n(85893),i=n(55241),c=n(97937),r=n(67294),u=n(18668),p=n.n(u),s=function(t){var e=t.children,n=t.open,u=t.notificationClicked,s=t.notificationClosed,a=(0,r.useState)(n),l=a[0],d=a[1],f=(0,r.useState)(!1),m=f[0],_=f[1];(0,r.useEffect)((function(){d(n)}),[n]),(0,r.useEffect)((function(){_(!0)}),[]);var b=(0,o.jsx)("div",{className:p().title,children:"Stay updated!"}),x=function(t){t.stopPropagation(),u()},h=(0,o.jsxs)("div",{onClick:x,onKeyDown:x,role:"menuitem",tabIndex:0,children:[(0,o.jsx)("button",{type:"button",className:p().closebutton,onClick:function(t){t.stopPropagation(),d(!1),s()},children:(0,o.jsx)(c.Z,{})}),(0,o.jsxs)("div",{className:p().contentbutton,children:["Click and never miss",(0,o.jsx)("br",{}),"future streams!"]})]});return m&&(0,o.jsx)(i.Z,{placement:"topLeft",defaultOpen:l,open:l,destroyTooltipOnHide:!0,title:b,content:h,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},color:p().popupBackgroundColor,children:e})}},18668:function(t){t.exports={popupBackgroundColor:"var(--theme-color-palette-7)",contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7741.68c926d118552f30.js b/static/web/_next/static/chunks/7741.68c926d118552f30.js new file mode 100644 index 000000000..dc0609890 --- /dev/null +++ b/static/web/_next/static/chunks/7741.68c926d118552f30.js @@ -0,0 +1,171 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7741],{57741:function(e,t,i){let s;i.d(t,{wU:function(){return tv}});var o,r,a,n,c,l,h,d,m,u,g,p,y,v,w=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},f=(e,t,i)=>(w(e,t,"read from private field"),i?i.call(e):t.get(e)),b=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},C=(e,t,i,s)=>(w(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i),j=(e,t,i)=>(w(e,t,"access private method"),i);async function k(e,t={}){let i;let{local:s=!1,version:o="latest",cdnUrl:r,...a}=t,n=(i=`https://cdn.jsdelivr.net/npm/emojibase-data@${o}/${e}`,"function"==typeof r?i=r(e,o):"string"==typeof r&&(i=`${r}/${e}`),i),c=s?localStorage:sessionStorage,l=`emojibase/${o}/${e}`,h=c.getItem(l);if(h)return Promise.resolve(JSON.parse(h));let d=await fetch(n,{credentials:"omit",mode:"cors",redirect:"error",...a});if(!d.ok)throw Error("Failed to load Emojibase dataset.");let m=await d.json();try{c.setItem(l,JSON.stringify(m))}catch{}return m}let x={discord:"joypixels",slack:"iamcal"};async function E(e,t,i){var s;return k(`${e}/shortcodes/${null!==(s=x[t])&&void 0!==s?s:t}.json`,i)}function S(e,t){if(0===t.length)return e;let i=new Set(e.shortcodes);return t.forEach(t=>{let s=t[e.hexcode];Array.isArray(s)?s.forEach(e=>i.add(e)):s&&i.add(s)}),e.shortcodes=[...i],e.skins&&e.skins.forEach(e=>{S(e,t)}),e}async function z(e,t={}){var i;let{compact:s=!1,flat:o=!1,shortcodes:r=[],...a}=t,n=await k(`${e}/${s?"compact":"data"}.json`,a),c=[];return r.length>0&&(c=await Promise.all(r.map(t=>{let i;if(t.includes("/")){let[s,o]=t.split("/");i=E(s,o,a)}else i=E(e,t,a);return i.catch(()=>({}))}))),o?function(e,t=[]){let i=[];return e.forEach(e=>{if(e.skins){let{skins:s,...o}=e;i.push(S(o,t)),s.forEach(e=>{let s={...e};o.tags&&(s.tags=[...o.tags]),i.push(S(s,t))})}else i.push(S(e,t))}),i}(n,c):(0===(i=c).length||n.forEach(e=>{S(e,i)}),n)}async function L(e,t){return k(`${e}/messages.json`,t)}function P(e,t){let i=e.target.closest("[data-emoji]");if(i){let s=t.find(e=>e.emoji===i.dataset.emoji);if(s)return s}return null}function F(e){var t;let i=null==(t=window.matchMedia)?void 0:t.call(window,"(prefers-reduced-motion: reduce)");return e.animate&&!(null!=i&&i.matches)}function $(e,t){return e.toLowerCase().includes(t.toLowerCase())}function A(e,t,i,s){if(F(s)&&e.animate)return e.animate(t,i).finished;let o="normal"===i.direction?1:0,r=Object.entries(t).reduce((e,[t,i])=>({...e,[t]:i[o]}),{});return Object.assign(e.style,r),Promise.resolve()}function I(e){var t;let i=document.createElement("template");return i.innerHTML=e,null==(t=i.content)?void 0:t.firstElementChild}async function T(e){let t=new TextEncoder().encode(e),i=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(i)).map(e=>e.toString(16).padStart(2,"0")).join("")}function V(...e){return e.reduce((e,t)=>({...e,[t]:`${t}`}),{})}async function R(e){try{return(await fetch(e,{method:"HEAD"})).headers.get("etag")}catch{return null}}async function M(e,t,i){let s;try{s=await e.getEtags()}catch{s={}}let{storedEmojisEtag:o,storedMessagesEtag:r}=s;if(i!==r||t!==o){let[a,n]=await Promise.all([L(e.locale),z(e.locale)]);await e.populate({groups:a.groups,emojis:n,emojisEtag:t,messagesEtag:i})}}async function B(e,t){let i=await e.getHash();return t!==i}async function D(e,t,i){let s=i||t(e);return await s.open(),s}async function H(e,t,i){let s=await D(e,t,i),[o,r]=await function(e){let{emojisUrl:t,messagesUrl:i}=function(e,t){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${e}/${t}`;return{emojisUrl:`${i}/data.json`,messagesUrl:`${i}/messages.json`}}("latest",e);try{return Promise.all([R(t),R(i)])}catch{return Promise.all([null,null])}}(e);if(await s.isPopulated())o&&r&&await M(s,o,r);else{let[a,n]=await Promise.all([L(e),z(e)]);await s.populate({groups:a.groups,emojis:n,emojisEtag:o,messagesEtag:r})}return s}async function N(e,t,i,s,o){let r=await D(e,t,o),a=await T(s);return(!await r.isPopulated()||await B(r,a))&&await r.populate({groups:i.groups,emojis:s,hash:a}),r}async function O(e,t,i,s,o){return i&&s?N(e,t,i,s,o):H(e,t,o)}class U{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;null==(e=this.rootElement)||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,t,i){e.target===t&&(i.focus(),e.preventDefault())}handleKeyDown(e){"Tab"===e.key&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}}let{light:K,dark:q,auto:W}=V("light","dark","auto");class G{constructor({template:e,classes:t,parent:i}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=t,this.parent=i,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...t){this.events.emit(e,...t)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then(e=>{this.emojiData=e})}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.on(e,this.appEvents[e],this)}),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach(e=>{this.events.off(e,this.appEvents[e])}),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){let t=this.keyBindings[e.key];t&&t.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce((e,t)=>({...e,[t]:this.el.querySelector(this.uiElements[t])}),{})}bindUIEvents(){this.uiEvents.forEach(e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)})}unbindUIEvents(){this.uiEvents.forEach(e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)})}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){let e=new MutationObserver(t=>{let[i]=t;"childList"===i.type&&i.addedNodes[0]===this.el&&(F(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)});e.observe(this.parent,{childList:!0})}}static childEvent(e,t,i,s={}){return{target:e,event:t,handler:i,options:s}}static uiEvent(e,t,i={}){return{event:e,handler:t,options:i}}static byClass(e){return`.${e}`}}let J=` + + + + + + + + + + + + +`,_=` + + + + + + + + +`,Y={clock:'',flag:'',frown:'',gamepad:'',lightbulb:'',mug:'',plane:'',robot:'',sad:J,search:'',smiley:'',symbols:'',tree:'',users:'',warning:_,xmark:''},Q={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function X(e,t){if(!(e in Y))return console.warn(`Unknown icon: "${e}"`),document.createElement("div");let i=function(e,t){let i=I(t);return i.dataset.icon=e,i.classList.add("icon"),i}(e,Y[e]);return t&&i.classList.add(`icon-${t}`),i}let Z={mode:"sync"};class ee{constructor(e,t={}){b(this,a),b(this,c),b(this,h),b(this,o,void 0),b(this,r,void 0),C(this,o,e),C(this,r,t.mode||Z.mode)}renderSync(e={}){let t=I(f(this,o).call(this,e));return j(this,h,d).call(this,t,e),j(this,c,l).call(this,t),j(this,a,n).call(this,t,e),t}async renderAsync(e={}){let t=I(f(this,o).call(this,e));return j(this,h,d).call(this,t,e),j(this,c,l).call(this,t),await j(this,a,n).call(this,t,e),t}render(e){return"sync"===f(this,r)?this.renderSync(e):this.renderAsync(e)}}o=new WeakMap,r=new WeakMap,a=new WeakSet,n=async function(e,t){let i=e.querySelectorAll("[data-view]"),s=[];for(let o of i){let r=t[o.dataset.view];r?"sync"!==o.dataset.render?s.push(r.render().then(e=>(o.replaceWith(e),e))):o.replaceWith(r.renderSync()):o.remove()}return Promise.all(s)},c=new WeakSet,l=function(e){e.querySelectorAll("i[data-icon]").forEach(e=>{let{icon:t,size:i}=e.dataset;e.replaceWith(X(t,i))})},h=new WeakSet,d=function(e,t){return e.querySelectorAll("[data-placeholder]").forEach(e=>{let i=e.dataset.placeholder;if(i&&t[i]){let s=t[i];e.replaceWith(...[s].flat())}else console.warn(`Missing placeholder element for key "${i}"`)}),e};let et=V("imagePlaceholder","placeholder"),ei=new ee(({classes:e})=>` +
+`);class es extends G{constructor({classNames:e}={}){super({template:ei,classes:et}),this.classNames=e}load(e){let t=document.createElement("img");this.classNames&&(t.className=this.classNames),t.addEventListener("load",()=>{this.el.replaceWith(t)},{once:!0}),Promise.resolve(e).then(e=>t.src=e)}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach(e=>this.el.classList.add(e)),this.el}}let eo=V("customEmoji");class er{renderElement(e){return{content:e}}renderImage(e="",t){let i=new es({classNames:e});return i.renderSync(),{content:i,resolver:()=>(i.load(t()),i.el)}}doRender(e,t,i){if(e.custom)return this.renderCustom(e,t,i);let{content:s,resolver:o}=this.render(e,i),r=s instanceof Element?s:s.el;return o&&o(),r}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:t,emoji:i,data:s}){return{url:e,label:t,emoji:i,data:s}}renderCustom(e,t,i=""){let s=[eo.customEmoji,i].join(" ").trim(),{content:o,resolver:r}=this.renderImage(s,()=>e.url),a=o instanceof Element?o:o.el;return r&&r(),a}}let ea=new ee(({emoji:e})=>`${e}`);class en extends er{render(e){return this.renderElement(ea.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:t,label:i}){return{emoji:e,hexcode:t,label:i}}}let ec=[(e,t)=>("1F91D"===e.hexcode&&t<14&&(e.skins=[]),e),(e,t)=>(e.skins&&(e.skins=e.skins.filter(e=>!e.version||e.version<=t)),e)];function el(e,t){return e.filter(e=>null!==(ec.some(i=>null===i(e,t))?null:e))}function eh(e){var t;return{emoji:e.emoji,label:e.label,tags:e.tags,skins:null==(t=e.skins)?void 0:t.map(e=>eh(e)),order:e.order,custom:!1,hexcode:e.hexcode,version:e.version}}function ed(e,t,i){var s;return(!i||!!i.some(t=>t.order===e.group))&&($(e.label,t)||(null==(s=e.tags)?void 0:s.some(e=>$(e,t))))}class em{constructor(e="en"){this.locale=e}}let eu="PicMo";function eg(e){return new ep(e)}eg.deleteDatabase=e=>new Promise((t,i)=>{let s=indexedDB.deleteDatabase(`${eu}-${e}`);s.addEventListener("success",t),s.addEventListener("error",i)});class ep extends em{async open(){let e=indexedDB.open(`${eu}-${this.locale}`);return new Promise((t,i)=>{e.addEventListener("success",e=>{var i;this.db=null==(i=e.target)?void 0:i.result,t()}),e.addEventListener("error",i),e.addEventListener("upgradeneeded",async e=>{var t;this.db=null==(t=e.target)?void 0:t.result,this.db.createObjectStore("category",{keyPath:"order"});let i=this.db.createObjectStore("emoji",{keyPath:"emoji"});i.createIndex("category","group"),i.createIndex("version","version"),this.db.createObjectStore("meta")})})}async delete(){this.close();let e=indexedDB.deleteDatabase(`${eu}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){let e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){let e=this.db.transaction("meta","readonly").objectStore("meta"),[t,i]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:t.target.result,storedMessagesEtag:i.target.result}}async setMeta(e){let t=this.db.transaction("meta","readwrite"),i=t.objectStore("meta");return new Promise(s=>{t.oncomplete=s,Object.keys(e).filter(Boolean).forEach(t=>{i.put(e[t],t)})})}async getHash(){let e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){let e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:t,emojisEtag:i,messagesEtag:s,hash:o}){await this.removeAllObjects("category","emoji");let r=[this.addObjects("category",e),this.addObjects("emoji",t),this.setMeta({emojisEtag:i,messagesEtag:s,hash:o})];await Promise.all(r)}async getCategories(e){var t;let i=this.db.transaction("category","readonly").objectStore("category"),s=(await this.waitForRequest(i.getAll())).target.result.filter(e=>"component"!==e.key);if(e.showRecents&&s.unshift({key:"recents",order:-1}),null!=(t=e.custom)&&t.length&&s.push({key:"custom",order:10}),e.categories){let o=e.categories;(s=s.filter(e=>o.includes(e.key))).sort((e,t)=>o.indexOf(e.key)-o.indexOf(t.key))}else s.sort((e,t)=>e.order-t.order);return s}async getEmojis(e,t){let i=this.db.transaction("emoji","readonly").objectStore("emoji").index("category"),s=(await this.waitForRequest(i.getAll(e.order))).target.result.filter(e=>e.version<=t).sort((e,t)=>null!=e.order&&null!=t.order?e.order-t.order:0).map(eh);return el(s,t)}async searchEmojis(e,t,i,s){let o=[];return new Promise((r,a)=>{let n=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();n.addEventListener("success",a=>{var n;let c=null==(n=a.target)?void 0:n.result;if(!c)return r([...el(o,i),...t.filter(t=>ed(t,e))]);let l=c.value;ed(l,e,s)&&l.version<=i&&o.push(eh(l)),c.continue()}),n.addEventListener("error",e=>{a(e)})})}async waitForRequest(e){return new Promise((t,i)=>{e.onsuccess=t,e.onerror=i})}withTransaction(e,t="readwrite",i){return new Promise((s,o)=>{let r=this.db.transaction(e,t);r.oncomplete=s,r.onerror=o,i(r)})}async removeAllObjects(...e){let t=this.db.transaction(e,"readwrite"),i=e.map(e=>t.objectStore(e));await Promise.all(i.map(e=>this.waitForRequest(e.clear())))}async addObjects(e,t){return this.withTransaction(e,"readwrite",i=>{let s=i.objectStore(e);t.forEach(e=>{s.add(e)})})}}class ey{}let ev="PicMo:recents";class ew extends ey{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(ev)}getRecents(e){var t;try{return JSON.parse(null!=(t=this.storage.getItem(ev))?t:"[]").slice(0,e)}catch{return[]}}addOrUpdateRecent(e,t){let i=[e,...this.getRecents(t).filter(t=>t.hexcode!==e.hexcode)].slice(0,t);try{this.storage.setItem(ev,JSON.stringify(i))}catch{console.warn("storage is not available, recent emojis will not be saved")}}}class ef extends ew{constructor(){super(localStorage)}}let eb={dataStore:eg,theme:K,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:{"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},locale:"en",maxRecents:50,custom:[]};class eC{constructor(){b(this,u),b(this,p),b(this,m,new Map)}on(e,t,i){j(this,p,y).call(this,e,t,i)}once(e,t,i){j(this,p,y).call(this,e,t,i,!0)}off(e,t){let i=j(this,u,g).call(this,e);f(this,m).set(e,i.filter(e=>e.handler!==t))}emit(e,...t){j(this,u,g).call(this,e).forEach(i=>{i.handler.apply(i.context,t),i.once&&this.off(e,i.handler)})}removeAll(){f(this,m).clear()}}m=new WeakMap,u=new WeakSet,g=function(e){return f(this,m).has(e)||f(this,m).set(e,[]),f(this,m).get(e)},p=new WeakSet,y=function(e,t,i,s=!1){j(this,u,g).call(this,e).push({context:i,handler:t,once:s})};let ej={injectStyles:!0};class ek extends eC{}class ex extends eC{}let eE=V("emojiCategory","categoryName","noRecents","recentEmojis");class eS extends G{constructor({template:e,category:t,showVariants:i,lazyLoader:s}){super({template:e,classes:eE}),this.baseUIElements={categoryName:G.byClass(eE.categoryName)},this.category=t,this.showVariants=i,this.lazyLoader=s}setActive(e,t,i){this.emojiContainer.setActive(e,t,i)}}let ez=new ee(({classes:e,emoji:t})=>` + +`),eL=V("emojiButton");class eP extends G{constructor({emoji:e,lazyLoader:t,category:i}){super({template:ez,classes:eL}),this.emoji=e,this.lazyLoader=t,this.category=i}initialize(){this.uiEvents=[G.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}}class eF{constructor(e,t,i=0,s=0,o=!1){this.events=new eC,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(t/e),this.columnCount=e,this.focusedRow=i,this.focusedColumn=s,this.emojiCount=t,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,t){this.events.on(e,t)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,t,i=!0){let s=this.getIndex();this.focusedRow=e,void 0!==t&&(this.focusedColumn=Math.min(this.columnCount,t)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:s,to:this.getIndex(),performFocus:i})}setFocusedIndex(e,t=!0){let i=Math.floor(e/this.columnCount),s=e%this.columnCount;this.setCell(i,s,t)}focusNext(){this.focusedColumn0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow` +
+
+
+`),eA=V("emojiContainer");class eI extends G{constructor({emojis:e,showVariants:t,preview:i=!0,lazyLoader:s,category:o,fullHeight:r=!1}){super({template:e$,classes:eA}),this.fullHeight=!1,this.showVariants=t,this.lazyLoader=s,this.preview=i,this.emojis=e,this.category=o,this.fullHeight=r,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new eF(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[G.uiEvent("click",this.selectEmoji),G.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(G.uiEvent("mouseover",this.showPreview),G.uiEvent("mouseout",this.hidePreview),G.uiEvent("focus",this.showPreview,{capture:!0}),G.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,t){if(e){if("string"==typeof e){let i=this.emojis.findIndex(t=>t.emoji===e);this.grid.setFocusedIndex(i,!1),setTimeout(()=>{var e,t,s,o;let r=this.emojiViews[i].el;r.scrollIntoView();let a=null==(e=r.parentElement)?void 0:e.previousElementSibling,n=null==(s=null==(t=r.parentElement)?void 0:t.parentElement)?void 0:s.parentElement;n.scrollTop-=null!=(o=null==a?void 0:a.offsetHeight)?o:0})}else"first"===e.row||0===e.row?this.grid.setCell(0,e.offset,t):"last"===e.row&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,t)}}setActive(e,t,i){var s;e?this.setFocusedView(t,i):null==(s=this.emojiViews[this.grid.getIndex()])||s.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map(e=>this.viewFactory.create(eP,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer})),this.emojiElements=this.emojiViews.map(e=>e.renderSync()),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach(e=>e.destroy()),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:t,performFocus:i}){var s,o;null==(s=this.emojiViews[e])||s.deactivateFocus(),null==(o=this.emojiViews[t])||o.activateFocus(i)}selectEmoji(e){e.stopPropagation();let t=P(e,this.emojis);t&&this.events.emit("emoji:select",{emoji:t,showVariants:this.showVariants})}showPreview(e){let t=e.target.closest("button"),i=null==t?void 0:t.firstElementChild,s=P(e,this.emojis);s&&this.events.emit("preview:show",s,null==i?void 0:i.cloneNode(!0))}hidePreview(e){P(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}}let eT=new ee(({classes:e,category:t,pickerId:i,icon:s,i18n:o})=>` +
+

+ + ${o.get(`categories.${t.key}`,t.message||t.key)} +

+
+
+`);class eV extends eS{constructor({category:e,showVariants:t,lazyLoader:i,emojiVersion:s}){super({category:e,showVariants:t,lazyLoader:i,template:eT}),this.showVariants=t,this.lazyLoader=i,this.emojiVersion=s}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){await this.emojiDataPromise;let e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(eI,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:Q[this.category.key]})}}class eR extends eI{constructor({category:e,emojis:t,preview:i=!0,lazyLoader:s}){super({category:e,emojis:t,showVariants:!1,preview:i,lazyLoader:s})}async addOrUpdate(e){let t=this.el.querySelector(`[data-emoji="${e.emoji}"]`);t&&(this.el.removeChild(t),this.emojis=this.emojis.filter(t=>t!==e));let i=this.viewFactory.create(eP,{emoji:e});if(this.el.insertBefore(i.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter(t=>t!==e)],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);let s=this.el.childElementCount-this.options.maxRecents;for(let o=0;o` +
+

+ + ${r.get(`categories.${i.key}`,i.message||i.key)} +

+
+
+
+
+ ${r.get("recents.none")} +
+
+`,{mode:"async"}),eB=new ee(({classes:e,category:t,pickerId:i,icon:s,i18n:o})=>` +
+

+ + ${o.get(`categories.${t.key}`,t.message||t.key)} +

+
+
+`);class eD{constructor(){this.elements=new Map}lazyLoad(e,t){return this.elements.set(e,t),e}observe(e){if(window.IntersectionObserver){let t=new IntersectionObserver(e=>{e.filter(e=>e.intersectionRatio>0).map(e=>e.target).forEach(e=>{let i=this.elements.get(e);null==i||i(),t.unobserve(e)})},{root:e});this.elements.forEach((e,i)=>{t.observe(i)})}else this.elements.forEach(e=>{e()})}}let eH=V("emojiArea"),eN=new ee(({classes:e})=>` +
+
+
+`,{mode:"async"}),eO={recents:class extends eS{constructor({category:e,lazyLoader:t,provider:i}){super({category:e,showVariants:!1,lazyLoader:t,template:eM}),this.provider=i}initialize(){this.uiElements={...this.baseUIElements,recents:G.byClass(eE.recentEmojis)},this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;let t=null==(e=this.provider)?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(eR,{emojis:t,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:t.length,icon:Q[this.category.key]}),this.el}},custom:class extends eS{constructor({category:e,lazyLoader:t}){super({template:eB,showVariants:!1,lazyLoader:t,category:e})}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(eI,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:Q[this.category.key]})}}};class eU extends G{constructor({categoryTabs:e,categories:t,emojiVersion:i}){var s;let o;super({template:eN,classes:eH}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new eD,this.categoryTabs=e,this.categories=t,this.emojiVersion=i,this.handleScroll=(s=this.handleScroll.bind(this),o=null,()=>{o||(o=window.setTimeout(()=>{s(),o=null},100))})}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:G.byClass(eH.emojiArea)},this.uiEvents=[G.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);let e={};return this.categories.forEach((t,i)=>{e[`emojis-${t.key}`]=this.emojiCategories[i]}),await super.render({emojis:await Promise.all(this.emojiCategories.map(e=>e.render()))}),this.lazyLoader.observe(this.el),window.ResizeObserver&&(this.observer=new ResizeObserver(()=>{let e=this.el.scrollHeight-this.scrollHeight;this.el.scrollTop-this.scrollTop==0&&e>0&&(this.el.scrollTop+=e),this.scrollHeight=this.el.scrollHeight,this.scrollTop=this.el.scrollTop}),this.emojiCategories.forEach(e=>{this.observer.observe(e.el)})),this.el}destroy(){super.destroy(),this.emojiCategories.forEach(e=>{var t;null==(t=this.observer)||t.unobserve(e.el),e.destroy()})}handleCategorySelect(e,t){this.selectCategory(e,t)}createCategory(e){let t=eO[e.key]||eV;return this.viewFactory.create(t,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find(e=>e.key===this.options.initialCategory)?this.options.initialCategory:null==(e=this.categories.find(e=>"recents"!==e.key))?void 0:e.key}determineFocusTarget(e){let t=this.emojiCategories.find(t=>t.category.key===e);return this.options.initialEmoji&&(null==t?void 0:t.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide"),this.scrollHeight=this.el.scrollHeight;let t=this.determineInitialCategory();t&&(this.selectCategory(t,{focus:this.determineFocusTarget(t),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(t))}getCategoryIndex(e){return this.categories.findIndex(t=>t.key===e)}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:null!=e?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory{var s;return e<(null==(s=this.emojiCategories[i+1])?void 0:s.el.offsetTop)}),s={changeFocusable:!1,performFocus:!1,scroll:!1};0===e?this.categoryTabs.setActiveTab(0,s):Math.floor(e)===Math.floor(t)||i<0?this.categoryTabs.setActiveTab(this.categories.length-1,s):this.categoryTabs.setActiveTab(i,s)}}let eK=new ee(({classList:e,classes:t,icon:i,message:s})=>` + +`),eq=V("error","iconContainer","title");class eW extends G{constructor({message:e,icon:t="warning",template:i=eK,className:s}){super({template:i,classes:eq}),this.message=e,this.icon=t,this.className=s}renderSync(){let e=[eq.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}}let eG=new ee(({classList:e,classes:t,icon:i,i18n:s,message:o})=>` + +`),eJ=V("dataError");class e_ extends eW{constructor({message:e}){super({message:e,template:eG,className:eJ.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[G.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");let e=await O(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}}let eY=V("preview","previewEmoji","previewName","tagList","tag"),eQ=new ee(({classes:e,tag:t})=>` +
  • ${t}
  • +`),eX=new ee(({classes:e})=>` +
    +
    +
    +
      +
      +`);class eZ extends G{constructor(){super({template:eX,classes:eY})}initialize(){this.uiElements={emoji:G.byClass(eY.previewEmoji),name:G.byClass(eY.previewName),tagList:G.byClass(eY.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,t){if(this.ui.emoji.replaceChildren(t),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";let i=e.tags.map(e=>eQ.renderSync({tag:e,classes:eY}));this.ui.tagList.replaceChildren(...i)}}hidePreview(){this.ui.emoji.replaceChildren(),this.ui.name.textContent="",this.ui.tagList.replaceChildren()}}let e1=new ee(({classes:e,i18n:t})=>` + +`),e2=new ee(({classes:e,i18n:t})=>` +
      + + +
      +`,{mode:"async"}),e0=V("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound");class e3 extends G{constructor({categories:e,emojiVersion:t}){var i;let s;super({template:e2,classes:e0}),this.categories=e.filter(e=>"recents"!==e.key),this.emojiVersion=t,this.search=(i=this.search.bind(this),s=null,(...e)=>{s&&window.clearTimeout(s),s=window.setTimeout(()=>{i(...e),s=null},100)})}initialize(){this.uiElements={searchField:G.byClass(e0.searchField),searchAccessory:G.byClass(e0.searchAccessory)},this.uiEvents=[G.childEvent("searchField","keydown",this.onKeyDown),G.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=X("search"),this.notFoundMessage=this.viewFactory.create(eW,{message:this.i18n.get("search.notFound"),className:e0.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(eW,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=e1.render({classes:e0,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",e=>this.onClearSearch(e)),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){this.ui.searchAccessory.replaceChildren(e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var t;e.stopPropagation(),this.searchField.value="",null==(t=this.resultsContainer)||t.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&"Escape"===e.key&&this.onClearSearch(e)}onKeyDown(e){var t;"Escape"===e.key&&this.searchField.value?this.onClearSearch(e):("Enter"===e.key||"ArrowDown"===e.key)&&this.resultsContainer&&(e.preventDefault(),null==(t=this.resultsContainer.el.querySelector('[tabindex="0"]'))||t.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{let t=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),t.length){let i=new eD;this.resultsContainer=this.viewFactory.create(eI,{emojis:t,fullHeight:!0,showVariants:!0,lazyLoader:i}),this.resultsContainer.renderSync(),null!=(e=this.resultsContainer)&&e.el&&(i.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",e=>this.handleResultsKeydown(e)),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch{this.events.emit("content:show",this.errorMessage)}}}let e5=new ee(({classes:e})=>` +
      +
      +
      +
      +
      +`),e4=V("variantOverlay","variantPopup"),e6={easing:"ease-in-out",duration:250,fill:"both"},e8={opacity:[0,1]},e7={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]};class e9 extends G{constructor({emoji:e,parent:t}){super({template:e5,classes:e4,parent:t}),this.focusedEmojiIndex=0,this.focusTrap=new U,this.animateShow=()=>Promise.all([A(this.el,e8,e6,this.options),A(this.ui.popup,e7,e6,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:G.byClass(e4.variantPopup)},this.uiEvents=[G.uiEvent("click",this.handleClick),G.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){let e={...e6,direction:"reverse"};return Promise.all([A(this.el,e8,e,this.options),A(this.ui.popup,e7,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){"Escape"===e.key&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){let t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=-1,this.focusedEmojiIndex=e;let i=this.getEmoji(this.focusedEmojiIndex);i.tabIndex=0,i.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){let e={...this.emoji,skins:null},t=(this.emoji.skins||[]).map(e=>({...e,label:this.emoji.label,tags:this.emoji.tags})),i=[e,...t];return this.emojiContainer=this.viewFactory.create(eI,{emojis:i,preview:!1}),super.renderSync({emojis:this.emojiContainer}),i.length` +
    • +
    • +`),tt=V("categoryTab","categoryTabActive","categoryButton");class ti extends G{constructor({category:e,icon:t}){super({template:te,classes:tt}),this.isActive=!1,this.category=e,this.icon=t}initialize(){this.uiElements={button:G.byClass(tt.categoryButton)},this.uiEvents=[G.childEvent("button","click",this.selectCategory),G.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,t={}){let{changeFocusable:i,performFocus:s,scroll:o}={changeFocusable:!0,performFocus:!0,scroll:!0,...t};this.el.classList.toggle(tt.categoryTabActive,e),i&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&s&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}}let ts=new ee(({classes:e})=>` +
      +
        +
        +
      +
      +`),to=V("categoryButtons","categoryButtonsContainer");class tr extends G{constructor({categories:e}){super({template:ts,classes:to}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[G.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){let e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,t=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",t&&e?this.el.classList.add("has-overflow-both"):t?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map(e=>this.viewFactory.create(ti,{category:e,icon:Q[e.key]})),super.renderSync({tabs:this.tabViews.map(e=>e.renderSync())}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,t={}){this.checkOverflow();let i=this.currentTabView,s=this.tabViews[e];i.setActive(!1,t),s.setActive(!0,t),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{let t=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(t),{changeFocusable:!0,performFocus:!0})}}}let ta=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function tn(e,t){return Array.from({length:e},()=>t).join("")}let tc=new ee(e=>e.isLoaded?function(e){let{classes:t,theme:i,className:s=""}=e;return` +
      + ${function({showHeader:e,classes:t}){return e?` +
      +
      +
      +
      + `:""}(e)} +
      +
      +
      +
      +
      + `}(e):function(e){let{emojiCount:t,classes:i,theme:s,className:o,categoryCount:r}=e,a=({showSearch:e,classes:t})=>e?` +
      +
      +
      + `:"",n=({showCategoryTabs:e,classes:t})=>e?` +
      + ${tn(r,`
      `)} +
      + `:"";return` +
      + ${(({showHeader:t,classes:i})=>t?` +
      + ${a(e)} + ${n(e)} +
      + `:"")(e)} +
      +
      +
      + ${tn(t,`
      `)} +
      +
      + ${(({showPreview:e,classes:t})=>e?` +
      +
      +
      +
        + ${tn(3,`
      • `)} +
      +
      + `:"")(e)} +
      + `}(e)),tl=V("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),th={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"};class td extends G{constructor(){super({template:tc,classes:tl}),this.pickerReady=!1,this.externalEvents=new ex,this.updaters={styleProperty:e=>t=>this.el.style.setProperty(th[e],t.toString()),theme:e=>{let t=this.options.theme,i=this.el.closest(`.${t}`);this.el.classList.remove(t),null==i||i.classList.remove(t),this.el.classList.add(e),null==i||i.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:G.byClass(tl.content),header:G.byClass(tl.header)},this.uiEvents=[G.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,t;super.destroy(),null==(e=this.search)||e.destroy(),this.emojiArea.destroy(),null==(t=this.categoryTabs)||t.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,t){this.externalEvents.on(e,t)}removeEventListener(e,t){this.externalEvents.off(e,t)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){let t=e.ctrlKey||e.metaKey;"s"===e.key&&t&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(eZ)),this.options.showSearch&&(this.search=this.viewFactory.create(e3,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(tr,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(eU,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(th).forEach(e=>{this.options[e]&&this.el.style.setProperty(th[e],this.options[e].toString())})}updateStyleProperty(e,t){this.el.style.setProperty(th[e],t.toString())}reinitialize(){this.renderSync()}onError(e){let t=this.viewFactory.create(e_,{message:this.i18n.get("error.load")}),i=this.el.offsetHeight||375;throw this.el.style.height=`${i}px`,this.el.replaceChildren(t.renderSync()),e}async onDataReady(e){let t=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,"auto"===this.options.emojiVersion?this.emojiVersion=function(){var e;let t=ta.find(e=>(function(e){let t=document.createElement("canvas").getContext("2d");if(t)return t.textBaseline="top",t.font="32px Arial",t.fillText(e,0,0),0!==t.getImageData(16,16,1,1).data[0]})(e.emoji));return null!=(e=null==t?void 0:t.version)?e:1}()||parseFloat("14.0"):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);let[i,s,o,r]=this.buildChildViews();await super.render({isLoaded:!0,search:s,categoryTabs:r,emojiArea:o,preview:i,showHeader:Boolean(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,t.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(a){this.events.emit("error",a)}}renderSync(){var e;let t=(null==(e=this.options.categories)?void 0:e.length)||10;if(this.options.showRecents&&(t+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:t}),this.el.style.setProperty("--category-count",t.toString()),!this.options.rootElement)throw Error("Picker must be given a root element via the rootElement option");return this.options.rootElement.replaceChildren(this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if("u">typeof this.options.autoFocus)switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(!0===this.options.autoFocusSearch)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;this.pickerReady&&null!=(e=this.getInitialFocusTarget())&&e.focus()}reset(e=!0){var t;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),null==(t=this.search)||t.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var t,i;e!==this.currentView&&(this.currentView!==this.emojiArea&&(null==(t=this.currentView)||t.destroy()),this.ui.pickerContent.classList.toggle(tl.fullHeight,e!==this.emojiArea),this.ui.pickerContent.replaceChildren(e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):null==(i=this.categoryTabs)||i.el.remove())}hideVariantPopup(){var e;null==(e=this.variantPopup)||e.destroy()}isPickerClick(e){var t,i;let s=e.target,o=this.el.contains(s),r=null==(i=null==(t=this.variantPopup)?void 0:t.el)?void 0:i.contains(s);return o||r}async selectEmoji({emoji:e}){var t,i;(null==(t=e.skins)?void 0:t.length)&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await (null==(i=this.variantPopup)?void 0:i.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){let t=document.activeElement;this.events.once("variantPopup:hide",()=>{null==t||t.focus()}),this.variantPopup=this.viewFactory.create(e9,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach(t=>{this.updaters[t](e[t])}),Object.assign(this.options,e)}}class tm{constructor({events:e,i18n:t,renderer:i,emojiData:s,options:o,customEmojis:r=[],pickerId:a}){this.events=e,this.i18n=t,this.renderer=i,this.emojiData=s,this.options=o,this.customEmojis=r,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}create(e,...t){let i=new e(...t);return i.setPickerId(this.pickerId),i.setEvents(this.events),i.setI18n(this.i18n),i.setRenderer(this.renderer),i.setEmojiData(this.emojiData),i.setOptions(this.options),i.setCustomEmojis(this.customEmojis),i.viewFactory=this,i.initialize(),i}}class tu{constructor(e={}){b(this,v,void 0),C(this,v,new Map(Object.entries(e)))}get(e,t=e){return f(this,v).get(e)||t}}v=new WeakMap;let tg=`.picmo-picker .icon{width:1.25em;height:1em;fill:currentColor}.icon-small{font-size:.8em}.icon-medium{font-size:1em}.icon-large{font-size:1.25em}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-8x{font-size:8em}.icon-10x{font-size:10em}.light,.auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo-picker .categoryButtonsContainer{overflow:auto;padding:2px 0}.picmo-picker .categoryButtonsContainer.has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo-picker .categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo-picker .categoryButtons .categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo-picker .categoryButtons .categoryTab button.categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo-picker .categoryButtons .categoryTab button.categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo-picker .categoryButtons .categoryTab button.categoryButton:hover{background:var(--category-tab-highlight-background-color)}.dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo-picker .error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo-picker .error .iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo-picker .error .title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo-picker .error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo-picker .error button:hover{background:var(--text-color);color:var(--background-color)}.emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.emojiButton:hover{background:var(--hover-background-color)}.emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo-picker .emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative}.picmo-picker .emojiCategory{position:relative}.picmo-picker .emojiCategory .categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo-picker .emojiCategory .categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo-picker .emojiCategory .categoryName button:hover{opacity:1}.picmo-picker .emojiCategory .noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo-picker .emojiCategory .recentEmojis[data-empty=true]{display:none}:is(.picmo-picker .emojiCategory) .recentEmojis[data-empty=false]+div{display:none}.picmo-picker .emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo-picker.picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);--preview-background-color: var(--secondary-background-color);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo-picker.picker>*{font-family:var(--ui-font)}.picmo-picker.skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo-picker.skeleton *{box-sizing:border-box}.picmo-picker.skeleton .placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo-picker.skeleton .placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo-picker.skeleton .headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo-picker.skeleton .searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo-picker.skeleton .searchSkeleton .searchInput{width:100%;height:28px;border-radius:3px}.picmo-picker.skeleton .categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo-picker.skeleton .categoryTabsSkeleton .categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo-picker.skeleton .contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo-picker.skeleton .contentSkeleton .categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo-picker.skeleton .contentSkeleton .emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo-picker.skeleton .contentSkeleton .emojiGrid .emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo-picker.skeleton .previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo-picker.skeleton .previewSkeleton .previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo-picker.skeleton .previewSkeleton .previewName{grid-area:name;height:.8em;width:80%}.picmo-picker.skeleton .previewSkeleton .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo-picker.skeleton .previewSkeleton .tagList .tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.content{position:relative;overflow:hidden;height:var(--content-height)}.content.fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto}.pluginContainer{margin:.5em;display:flex;flex-direction:row}.header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.placeholder:after{display:none}}.picmo-picker .preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo-picker .preview .previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo-picker .preview .previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo-picker .preview .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo-picker .preview .tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo-picker .preview .tag:last-child{margin-right:0}.picmo-picker .searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo-picker .searchContainer .searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo-picker .searchContainer .searchField:focus{background:var(--search-focus-background-color)}.picmo-picker .searchContainer .searchField::placeholder{color:var(--search-placeholder-color)}.picmo-picker .searchContainer .searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo-picker .searchContainer .searchAccessory svg{fill:var(--search-icon-color)}.picmo-picker .searchContainer .clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo-picker .searchContainer .clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo-picker .searchContainer .notFound [data-icon]{fill:#f3e265}.picmo-picker .variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo-picker .variantOverlay .variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo-picker .imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.placeholder{background:#DDDBDD;position:relative}.placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""} +`,tp=0,ty=(s=!1,function(e){ej.injectStyles&&!s&&(function(e,t){void 0===t&&(t={});var i=t.insertAt;if(!(!e||typeof document>"u")){var s=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&s.firstChild?s.insertBefore(o,s.firstChild):s.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(e),s=!0)});function tv(e){ty(tg);let t=function(e={}){return{...eb,...e,renderer:e.renderer||new en,recentsProvider:e.recentsProvider||new ef}}(e),i=((null==t?void 0:t.custom)||[]).map(e=>({...e,custom:!0,tags:["custom",...e.tags||[]]})),s=new ek,o=O(t.locale,t.dataStore,t.messages,t.emojiData),r=new tu(t.i18n);o.then(e=>{s.emit("data:ready",e)}).catch(e=>{s.emit("error",e)});let a=new tm({events:s,i18n:r,customEmojis:i,renderer:t.renderer,options:t,emojiData:o,pickerId:`picmo-${Date.now()}-${tp++}`}).create(td);return a.renderSync(),a}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7741.a2213dab74705161.js b/static/web/_next/static/chunks/7741.a2213dab74705161.js deleted file mode 100644 index fab3774b3..000000000 --- a/static/web/_next/static/chunks/7741.a2213dab74705161.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7741],{57741:function(e,t,s){s.d(t,{wU:function(){return Ct}});var i=(e,t,s)=>{if(!t.has(e))throw TypeError("Cannot "+s)},o=(e,t,s)=>(i(e,t,"read from private field"),s?s.call(e):t.get(e)),r=(e,t,s)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,s)},a=(e,t,s,o)=>(i(e,t,"write to private field"),o?o.call(e,s):t.set(e,s),s),n=(e,t,s)=>(i(e,t,"access private method"),s);async function c(e,t={}){const{local:s=!1,version:i="latest",cdnUrl:o,...r}=t,a=function(e,t,s){let i=`https://cdn.jsdelivr.net/npm/emojibase-data@${t}/${e}`;return"function"==typeof s?i=s(e,t):"string"==typeof s&&(i=`${s}/${e}`),i}(e,i,o),n=s?localStorage:sessionStorage,c=`emojibase/${i}/${e}`,l=n.getItem(c);if(l)return Promise.resolve(JSON.parse(l));const h=await fetch(a,{credentials:"omit",mode:"cors",redirect:"error",...r});if(!h.ok)throw new Error("Failed to load Emojibase dataset.");const d=await h.json();try{n.setItem(c,JSON.stringify(d))}catch{}return d}const l={discord:"joypixels",slack:"iamcal"};async function h(e,t,s){var i;return c(`${e}/shortcodes/${null!==(i=l[t])&&void 0!==i?i:t}.json`,s)}function d(e,t){if(0===t.length)return e;const s=new Set(e.shortcodes);return t.forEach((t=>{const i=t[e.hexcode];Array.isArray(i)?i.forEach((e=>s.add(e))):i&&s.add(i)})),e.shortcodes=[...s],e.skins&&e.skins.forEach((e=>{d(e,t)})),e}async function m(e,t={}){const{compact:s=!1,flat:i=!1,shortcodes:o=[],...r}=t,a=await c(`${e}/${s?"compact":"data"}.json`,r);let n=[];return o.length>0&&(n=await Promise.all(o.map((t=>{let s;if(t.includes("/")){const[e,i]=t.split("/");s=h(e,i,r)}else s=h(e,t,r);return s.catch((()=>({})))})))),i?function(e,t=[]){const s=[];return e.forEach((e=>{if(e.skins){const{skins:i,...o}=e;s.push(d(o,t)),i.forEach((e=>{const i={...e};o.tags&&(i.tags=[...o.tags]),s.push(d(i,t))}))}else s.push(d(e,t))})),s}(a,n):function(e,t){return 0===t.length||e.forEach((e=>{d(e,t)})),e}(a,n)}async function u(e,t){return c(`${e}/messages.json`,t)}function g(e,t){const s=e.target.closest("[data-emoji]");if(s){const e=t.find((e=>e.emoji===s.dataset.emoji));if(e)return e}return null}function p(e){var t;const s=null==(t=window.matchMedia)?void 0:t.call(window,"(prefers-reduced-motion: reduce)");return e.animate&&!(null!=s&&s.matches)}function y(e,t){return e.toLowerCase().includes(t.toLowerCase())}function v(e,t,s,i){if(p(i)&&e.animate)return e.animate(t,s).finished;const o="normal"===s.direction?1:0,r=Object.entries(t).reduce(((e,[t,s])=>({...e,[t]:s[o]})),{});return Object.assign(e.style,r),Promise.resolve()}function w(e){var t;const s=document.createElement("template");return s.innerHTML=e,null==(t=s.content)?void 0:t.firstElementChild}function f(...e){return e.reduce(((e,t)=>({...e,[t]:b(t)})),{})}function b(e){return`${e}`}async function C(e){try{return(await fetch(e,{method:"HEAD"})).headers.get("etag")}catch{return null}}async function j(e,t,s){const i=s||t(e);return await i.open(),i}async function k(e,t,s){const i=await j(e,t,s),[o,r]=await function(e){const{emojisUrl:t,messagesUrl:s}=function(e,t){const s=`https://cdn.jsdelivr.net/npm/emojibase-data@${"latest"}/${t}`;return{emojisUrl:`${s}/data.json`,messagesUrl:`${s}/messages.json`}}(0,e);try{return Promise.all([C(t),C(s)])}catch{return Promise.all([null,null])}}(e);if(await i.isPopulated())o&&r&&await async function(e,t,s){let i;try{i=await e.getEtags()}catch{i={}}const{storedEmojisEtag:o,storedMessagesEtag:r}=i;if(s!==r||t!==o){const[i,o]=await Promise.all([u(e.locale),m(e.locale)]);await e.populate({groups:i.groups,emojis:o,emojisEtag:t,messagesEtag:s})}}(i,o,r);else{const[t,s]=await Promise.all([u(e),m(e)]);await i.populate({groups:t.groups,emojis:s,emojisEtag:o,messagesEtag:r})}return i}async function x(e,t,s,i,o){const r=await j(e,t,o),a=await async function(e){const t=(new TextEncoder).encode(e),s=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(s)).map((e=>e.toString(16).padStart(2,"0"))).join("")}(i);return(!(await r.isPopulated())||await async function(e,t){return t!==await e.getHash()}(r,a))&&await r.populate({groups:s.groups,emojis:i,hash:a}),r}async function E(e,t,s,i,o){return s&&i?x(e,t,s,i,o):k(e,t,o)}class S{constructor(){this.handleKeyDown=this.handleKeyDown.bind(this)}activate(e){this.rootElement=e,this.rootElement.addEventListener("keydown",this.handleKeyDown)}deactivate(){var e;null==(e=this.rootElement)||e.removeEventListener("keydown",this.handleKeyDown)}get focusableElements(){return this.rootElement.querySelectorAll('input, [tabindex="0"]')}get lastFocusableElement(){return this.focusableElements[this.focusableElements.length-1]}get firstFocusableElement(){return this.focusableElements[0]}checkFocus(e,t,s){e.target===t&&(s.focus(),e.preventDefault())}handleKeyDown(e){"Tab"===e.key&&this.checkFocus(e,e.shiftKey?this.firstFocusableElement:this.lastFocusableElement,e.shiftKey?this.lastFocusableElement:this.firstFocusableElement)}}const{light:z,dark:L,auto:P}=f("light","dark","auto");class F{constructor({template:e,classes:t,parent:s}){this.isDestroyed=!1,this.appEvents={},this.uiEvents=[],this.uiElements={},this.ui={},this.template=e,this.classes=t,this.parent=s,this.keyBindingHandler=this.keyBindingHandler.bind(this)}initialize(){this.bindAppEvents()}setCustomEmojis(e){this.customEmojis=e}setEvents(e){this.events=e}setPickerId(e){this.pickerId=e}emit(e,...t){this.events.emit(e,...t)}setI18n(e){this.i18n=e}setRenderer(e){this.renderer=e}setEmojiData(e){this.emojiDataPromise=e,e.then((e=>{this.emojiData=e}))}updateEmojiData(e){this.emojiData=e,this.emojiDataPromise=Promise.resolve(e)}setOptions(e){this.options=e}renderSync(e={}){return this.el=this.template.renderSync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}async render(e={}){return await this.emojiDataPromise,this.el=await this.template.renderAsync({classes:this.classes,i18n:this.i18n,pickerId:this.pickerId,...e}),this.postRender(),this.el}postRender(){this.bindUIElements(),this.bindKeyBindings(),this.bindUIEvents(),this.scheduleShowAnimation()}bindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.on(e,this.appEvents[e],this)})),this.events.on("data:ready",this.updateEmojiData,this)}unbindAppEvents(){Object.keys(this.appEvents).forEach((e=>{this.events.off(e,this.appEvents[e])})),this.events.off("data:ready",this.updateEmojiData)}keyBindingHandler(e){const t=this.keyBindings[e.key];t&&t.call(this,e)}bindKeyBindings(){this.keyBindings&&this.el.addEventListener("keydown",this.keyBindingHandler)}unbindKeyBindings(){this.keyBindings&&this.el.removeEventListener("keydown",this.keyBindingHandler)}bindUIElements(){this.ui=Object.keys(this.uiElements).reduce(((e,t)=>({...e,[t]:this.el.querySelector(this.uiElements[t])})),{})}bindUIEvents(){this.uiEvents.forEach((e=>{e.handler=e.handler.bind(this),(e.target?this.ui[e.target]:this.el).addEventListener(e.event,e.handler,e.options)}))}unbindUIEvents(){this.uiEvents.forEach((e=>{(e.target?this.ui[e.target]:this.el).removeEventListener(e.event,e.handler)}))}destroy(){this.unbindAppEvents(),this.unbindUIEvents(),this.unbindKeyBindings(),this.el.remove(),this.isDestroyed=!0}scheduleShowAnimation(){if(this.parent){const e=new MutationObserver((t=>{const[s]=t;"childList"===s.type&&s.addedNodes[0]===this.el&&(p(this.options)&&this.animateShow&&this.animateShow(),e.disconnect)}));e.observe(this.parent,{childList:!0})}}static childEvent(e,t,s,i={}){return{target:e,event:t,handler:s,options:i}}static uiEvent(e,t,s={}){return{event:e,handler:t,options:s}}static byClass(e){return`.${e}`}}const $={clock:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',flag:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',frown:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',gamepad:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',lightbulb:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',mug:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',plane:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',robot:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',sad:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n \n \n \n \n',search:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',smiley:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',symbols:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',tree:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',users:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e',warning:'\n \n \n \n \n \n \n \x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e\n \n',xmark:'\x3c!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --\x3e'},A={recents:"clock","smileys-emotion":"smiley","people-body":"users","animals-nature":"tree","food-drink":"mug",activities:"gamepad","travel-places":"plane",objects:"lightbulb",symbols:"symbols",flags:"flag",custom:"robot"};function I(e,t){if(!(e in $))return console.warn(`Unknown icon: "${e}"`),document.createElement("div");const s=function(e,t){const s=w(t);return s.dataset.icon=e,s.classList.add(b("icon")),s}(e,$[e]);return t&&s.classList.add(b(`icon-${t}`)),s}const T="sync";var V,R,M,B,D,H,N,O;class U{constructor(e,t={}){r(this,M),r(this,D),r(this,N),r(this,V,void 0),r(this,R,void 0),a(this,V,e),a(this,R,t.mode||T)}renderSync(e={}){const t=w(o(this,V).call(this,e));return n(this,N,O).call(this,t,e),n(this,D,H).call(this,t),n(this,M,B).call(this,t,e),t}async renderAsync(e={}){const t=w(o(this,V).call(this,e));return n(this,N,O).call(this,t,e),n(this,D,H).call(this,t),await n(this,M,B).call(this,t,e),t}render(e){return"sync"===o(this,R)?this.renderSync(e):this.renderAsync(e)}}V=new WeakMap,R=new WeakMap,M=new WeakSet,B=async function(e,t){const s=e.querySelectorAll("[data-view]"),i=[];for(const o of s){const e=t[o.dataset.view];e?"sync"!==o.dataset.render?i.push(e.render().then((e=>(o.replaceWith(e),e)))):o.replaceWith(e.renderSync()):o.remove()}return Promise.all(i)},D=new WeakSet,H=function(e){e.querySelectorAll("i[data-icon]").forEach((e=>{const{icon:t,size:s}=e.dataset;e.replaceWith(I(t,s))}))},N=new WeakSet,O=function(e,t){return e.querySelectorAll("[data-placeholder]").forEach((e=>{const s=e.dataset.placeholder;if(s&&t[s]){const i=t[s];e.replaceWith(...[i].flat())}else console.warn(`Missing placeholder element for key "${s}"`)})),e};const K=f("imagePlaceholder","placeholder"),q=new U((({classes:e})=>`\n
      \n`));class W extends F{constructor({classNames:e}={}){super({template:q,classes:K}),this.classNames=e}load(e){const t=document.createElement("img");this.classNames&&(t.className=this.classNames),t.addEventListener("load",(()=>{this.el.replaceWith(t)}),{once:!0}),Promise.resolve(e).then((e=>t.src=e))}renderSync(){return super.renderSync(),this.classNames&&this.classNames.split(" ").forEach((e=>this.el.classList.add(e))),this.el}}const G=f("customEmoji");const J=new U((({emoji:e})=>`${e}`));class _ extends class{renderElement(e){return{content:e}}renderImage(e="",t){const s=new W({classNames:e});return s.renderSync(),{content:s,resolver:()=>(s.load(t()),s.el)}}doRender(e,t,s){if(e.custom)return this.renderCustom(e,t,s);const{content:i,resolver:o}=this.render(e,s),r=i instanceof Element?i:i.el;return o&&o(),r}doEmit(e){return e.custom?this.emitCustom(e):this.emit(e)}emitCustom({url:e,label:t,emoji:s,data:i}){return{url:e,label:t,emoji:s,data:i}}renderCustom(e,t,s=""){const i=[G.customEmoji,s].join(" ").trim(),{content:o,resolver:r}=this.renderImage(i,(()=>e.url)),a=o instanceof Element?o:o.el;return r&&r(),a}}{render(e){return this.renderElement(J.renderSync({emoji:e.emoji}))}emit({emoji:e,hexcode:t,label:s}){return{emoji:e,hexcode:t,label:s}}}const Y=[(e,t)=>("1F91D"===e.hexcode&&t<14&&(e.skins=[]),e),(e,t)=>(e.skins&&(e.skins=e.skins.filter((e=>!e.version||e.version<=t))),e)];function Q(e,t){return e.filter((e=>null!==function(e,t){return Y.some((s=>null===s(e,t)))?null:e}(e,t)))}function X(e){var t;return{emoji:e.emoji,label:e.label,tags:e.tags,skins:null==(t=e.skins)?void 0:t.map((e=>X(e))),order:e.order,custom:!1,hexcode:e.hexcode,version:e.version}}function Z(e,t,s){var i;return!(s&&!s.some((t=>t.order===e.group)))&&(y(e.label,t)||(null==(i=e.tags)?void 0:i.some((e=>y(e,t)))))}class ee{constructor(e="en"){this.locale=e}}const te="PicMo";function se(e){return new ie(e)}se.deleteDatabase=e=>new Promise(((t,s)=>{const i=indexedDB.deleteDatabase(`${te}-${e}`);i.addEventListener("success",t),i.addEventListener("error",s)}));class ie extends ee{async open(){const e=indexedDB.open(`${te}-${this.locale}`);return new Promise(((t,s)=>{e.addEventListener("success",(e=>{var s;this.db=null==(s=e.target)?void 0:s.result,t()})),e.addEventListener("error",s),e.addEventListener("upgradeneeded",(async e=>{var t;this.db=null==(t=e.target)?void 0:t.result,this.db.createObjectStore("category",{keyPath:"order"});const s=this.db.createObjectStore("emoji",{keyPath:"emoji"});s.createIndex("category","group"),s.createIndex("version","version"),this.db.createObjectStore("meta")}))}))}async delete(){this.close();const e=indexedDB.deleteDatabase(`${te}-${this.locale}`);await this.waitForRequest(e)}close(){this.db.close()}async getEmojiCount(){const e=this.db.transaction("emoji","readonly").objectStore("emoji");return(await this.waitForRequest(e.count())).target.result}async getEtags(){const e=this.db.transaction("meta","readonly").objectStore("meta"),[t,s]=await Promise.all([this.waitForRequest(e.get("emojisEtag")),this.waitForRequest(e.get("messagesEtag"))]);return{storedEmojisEtag:t.target.result,storedMessagesEtag:s.target.result}}async setMeta(e){const t=this.db.transaction("meta","readwrite"),s=t.objectStore("meta");return new Promise((i=>{t.oncomplete=i,Object.keys(e).filter(Boolean).forEach((t=>{s.put(e[t],t)}))}))}async getHash(){const e=this.db.transaction("meta","readonly").objectStore("meta");return(await this.waitForRequest(e.get("hash"))).target.result}async isPopulated(){const e=this.db.transaction("category","readonly").objectStore("category");return(await this.waitForRequest(e.count())).target.result>0}async populate({groups:e,emojis:t,emojisEtag:s,messagesEtag:i,hash:o}){await this.removeAllObjects("category","emoji");const r=[this.addObjects("category",e),this.addObjects("emoji",t),this.setMeta({emojisEtag:s,messagesEtag:i,hash:o})];await Promise.all(r)}async getCategories(e){var t;const s=this.db.transaction("category","readonly").objectStore("category");let i=(await this.waitForRequest(s.getAll())).target.result.filter((e=>"component"!==e.key));if(e.showRecents&&i.unshift({key:"recents",order:-1}),null!=(t=e.custom)&&t.length&&i.push({key:"custom",order:10}),e.categories){const t=e.categories;i=i.filter((e=>t.includes(e.key))),i.sort(((e,s)=>t.indexOf(e.key)-t.indexOf(s.key)))}else i.sort(((e,t)=>e.order-t.order));return i}async getEmojis(e,t){const s=this.db.transaction("emoji","readonly").objectStore("emoji").index("category");return Q((await this.waitForRequest(s.getAll(e.order))).target.result.filter((e=>e.version<=t)).sort(((e,t)=>null!=e.order&&null!=t.order?e.order-t.order:0)).map(X),t)}async searchEmojis(e,t,s,i){const o=[];return new Promise(((r,a)=>{const n=this.db.transaction("emoji","readonly").objectStore("emoji").openCursor();n.addEventListener("success",(a=>{var n;const c=null==(n=a.target)?void 0:n.result;if(!c)return r([...Q(o,s),...t.filter((t=>Z(t,e)))]);const l=c.value;Z(l,e,i)&&l.version<=s&&o.push(X(l)),c.continue()})),n.addEventListener("error",(e=>{a(e)}))}))}async waitForRequest(e){return new Promise(((t,s)=>{e.onsuccess=t,e.onerror=s}))}withTransaction(e,t="readwrite",s){return new Promise(((i,o)=>{const r=this.db.transaction(e,t);r.oncomplete=i,r.onerror=o,s(r)}))}async removeAllObjects(...e){const t=this.db.transaction(e,"readwrite"),s=e.map((e=>t.objectStore(e)));await Promise.all(s.map((e=>this.waitForRequest(e.clear()))))}async addObjects(e,t){return this.withTransaction(e,"readwrite",(s=>{const i=s.objectStore(e);t.forEach((e=>{i.add(e)}))}))}}const oe="PicMo:recents";class re extends class{}{constructor(e){super(),this.storage=e}clear(){this.storage.removeItem(oe)}getRecents(e){var t;try{return JSON.parse(null!=(t=this.storage.getItem(oe))?t:"[]").slice(0,e)}catch{return[]}}addOrUpdateRecent(e,t){const s=[e,...this.getRecents(t).filter((t=>t.hexcode!==e.hexcode))].slice(0,t);try{this.storage.setItem(oe,JSON.stringify(s))}catch{console.warn("storage is not available, recent emojis will not be saved")}}}class ae extends re{constructor(){super(localStorage)}}const ne={dataStore:se,theme:z,animate:!0,showCategoryTabs:!0,showPreview:!0,showRecents:!0,showSearch:!0,showVariants:!0,emojisPerRow:8,visibleRows:6,emojiVersion:"auto",i18n:{"categories.activities":"Activities","categories.animals-nature":"Animals & Nature","categories.custom":"Custom","categories.flags":"Flags","categories.food-drink":"Food & Drink","categories.objects":"Objects","categories.people-body":"People & Body","categories.recents":"Recently Used","categories.smileys-emotion":"Smileys & Emotion","categories.symbols":"Symbols","categories.travel-places":"Travel & Places","error.load":"Failed to load emojis","recents.clear":"Clear recent emojis","recents.none":"You haven't selected any emojis yet.",retry:"Try again","search.clear":"Clear search","search.error":"Failed to search emojis","search.notFound":"No results found",search:"Search emojis..."},locale:"en",maxRecents:50,custom:[]};var ce,le,he,de,me;class ue{constructor(){r(this,le),r(this,de),r(this,ce,new Map)}on(e,t,s){n(this,de,me).call(this,e,t,s)}once(e,t,s){n(this,de,me).call(this,e,t,s,!0)}off(e,t){const s=n(this,le,he).call(this,e);o(this,ce).set(e,s.filter((e=>e.handler!==t)))}emit(e,...t){n(this,le,he).call(this,e).forEach((s=>{s.handler.apply(s.context,t),s.once&&this.off(e,s.handler)}))}removeAll(){o(this,ce).clear()}}ce=new WeakMap,le=new WeakSet,he=function(e){return o(this,ce).has(e)||o(this,ce).set(e,[]),o(this,ce).get(e)},de=new WeakSet,me=function(e,t,s,i=!1){n(this,le,he).call(this,e).push({context:s,handler:t,once:i})};const ge=!0;class pe extends ue{}class ye extends ue{}const ve=f("emojiCategory","categoryName","noRecents","recentEmojis");class we extends F{constructor({template:e,category:t,showVariants:s,lazyLoader:i}){super({template:e,classes:ve}),this.baseUIElements={categoryName:F.byClass(ve.categoryName)},this.category=t,this.showVariants=s,this.lazyLoader=i}setActive(e,t,s){this.emojiContainer.setActive(e,t,s)}}const fe=new U((({classes:e,emoji:t})=>`\n \n
      \n \n`)),be=f("emojiButton");class Ce extends F{constructor({emoji:e,lazyLoader:t,category:s}){super({template:fe,classes:be}),this.emoji=e,this.lazyLoader=t,this.category=s}initialize(){this.uiEvents=[F.uiEvent("focus",this.handleFocus)],super.initialize()}handleFocus(){this.category&&this.events.emit("focus:change",this.category)}activateFocus(e){this.el.tabIndex=0,e&&this.el.focus()}deactivateFocus(){this.el.tabIndex=-1}renderSync(){return super.renderSync({emoji:this.emoji,emojiContent:this.renderer.doRender(this.emoji,this.lazyLoader)})}}class je{constructor(e,t,s=0,i=0,o=!1){this.events=new ue,this.keyHandlers={ArrowLeft:this.focusPrevious.bind(this),ArrowRight:this.focusNext.bind(this),ArrowUp:this.focusUp.bind(this),ArrowDown:this.focusDown.bind(this)},this.rowCount=Math.ceil(t/e),this.columnCount=e,this.focusedRow=s,this.focusedColumn=i,this.emojiCount=t,this.wrap=o,this.handleKeyDown=this.handleKeyDown.bind(this)}destroy(){this.events.removeAll()}on(e,t){this.events.on(e,t)}handleKeyDown(e){e.key in this.keyHandlers&&(e.preventDefault(),this.keyHandlers[e.key]())}setCell(e,t,s=!0){const i=this.getIndex();this.focusedRow=e,void 0!==t&&(this.focusedColumn=Math.min(this.columnCount,t)),(this.focusedRow>=this.rowCount||this.getIndex()>=this.emojiCount)&&(this.focusedRow=this.rowCount-1,this.focusedColumn=this.emojiCount%this.columnCount-1),this.events.emit("focus:change",{from:i,to:this.getIndex(),performFocus:s})}setFocusedIndex(e,t=!0){const s=Math.floor(e/this.columnCount),i=e%this.columnCount;this.setCell(s,i,t)}focusNext(){this.focusedColumn0?this.setCell(this.focusedRow,this.focusedColumn-1):this.focusedRow>0?this.setCell(this.focusedRow-1,this.columnCount-1):this.wrap?this.setCell(this.rowCount-1,this.columnCount-1):this.events.emit("focus:underflow",this.columnCount-1)}focusUp(){this.focusedRow>0?this.setCell(this.focusedRow-1,this.focusedColumn):this.events.emit("focus:underflow",this.focusedColumn)}focusDown(){this.focusedRow`\n
      \n
      \n
      \n`)),xe=f("emojiContainer");class Ee extends F{constructor({emojis:e,showVariants:t,preview:s=!0,lazyLoader:i,category:o,fullHeight:r=!1}){super({template:ke,classes:xe}),this.fullHeight=!1,this.showVariants=t,this.lazyLoader=i,this.preview=s,this.emojis=e,this.category=o,this.fullHeight=r,this.setFocus=this.setFocus.bind(this),this.triggerNextCategory=this.triggerNextCategory.bind(this),this.triggerPreviousCategory=this.triggerPreviousCategory.bind(this)}initialize(){this.grid=new je(this.options.emojisPerRow,this.emojiCount,0,0,!this.category),this.grid.on("focus:change",this.setFocus),this.grid.on("focus:overflow",this.triggerNextCategory),this.grid.on("focus:underflow",this.triggerPreviousCategory),this.uiEvents=[F.uiEvent("click",this.selectEmoji),F.uiEvent("keydown",this.grid.handleKeyDown)],this.preview&&this.uiEvents.push(F.uiEvent("mouseover",this.showPreview),F.uiEvent("mouseout",this.hidePreview),F.uiEvent("focus",this.showPreview,{capture:!0}),F.uiEvent("blur",this.hidePreview,{capture:!0})),super.initialize()}setFocusedView(e,t){if(e)if("string"==typeof e){const t=this.emojis.findIndex((t=>t.emoji===e));this.grid.setFocusedIndex(t,!1),setTimeout((()=>{var e,s,i,o;const r=this.emojiViews[t].el;r.scrollIntoView();const a=null==(e=r.parentElement)?void 0:e.previousElementSibling;(null==(i=null==(s=r.parentElement)?void 0:s.parentElement)?void 0:i.parentElement).scrollTop-=null!=(o=null==a?void 0:a.offsetHeight)?o:0}))}else"first"===e.row||0===e.row?this.grid.setCell(0,e.offset,t):"last"===e.row&&this.grid.setCell(this.grid.getRowCount()-1,e.offset,t)}setActive(e,t,s){var i;e?this.setFocusedView(t,s):null==(i=this.emojiViews[this.grid.getIndex()])||i.deactivateFocus()}renderSync(){return this.emojiViews=this.emojis.map((e=>this.viewFactory.create(Ce,{emoji:e,category:this.category,lazyLoader:this.lazyLoader,renderer:this.renderer}))),this.emojiElements=this.emojiViews.map((e=>e.renderSync())),super.renderSync({emojis:this.emojiElements,i18n:this.i18n})}destroy(){super.destroy(),this.emojiViews.forEach((e=>e.destroy())),this.grid.destroy()}triggerPreviousCategory(e){this.events.emit("category:previous",e)}triggerNextCategory(e){this.category&&this.events.emit("category:next",e)}setFocus({from:e,to:t,performFocus:s}){var i,o;null==(i=this.emojiViews[e])||i.deactivateFocus(),null==(o=this.emojiViews[t])||o.activateFocus(s)}selectEmoji(e){e.stopPropagation();const t=g(e,this.emojis);t&&this.events.emit("emoji:select",{emoji:t,showVariants:this.showVariants})}showPreview(e){const t=e.target.closest("button"),s=null==t?void 0:t.firstElementChild,i=g(e,this.emojis);i&&this.events.emit("preview:show",i,null==s?void 0:s.cloneNode(!0))}hidePreview(e){g(e,this.emojis)&&this.events.emit("preview:hide")}get emojiCount(){return this.emojis.length}}const Se=new U((({classes:e,category:t,pickerId:s,icon:i,i18n:o})=>`\n
      \n

      \n \n ${o.get(`categories.${t.key}`,t.message||t.key)}\n

      \n
      \n
      \n`));class ze extends we{constructor({category:e,showVariants:t,lazyLoader:s,emojiVersion:i}){super({category:e,showVariants:t,lazyLoader:s,template:Se}),this.showVariants=t,this.lazyLoader=s,this.emojiVersion=i}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){await this.emojiDataPromise;const e=await this.emojiData.getEmojis(this.category,this.emojiVersion);return this.emojiContainer=this.viewFactory.create(Ee,{emojis:e,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:e.length,icon:A[this.category.key]})}}class Le extends Ee{constructor({category:e,emojis:t,preview:s=!0,lazyLoader:i}){super({category:e,emojis:t,showVariants:!1,preview:s,lazyLoader:i})}async addOrUpdate(e){const t=this.el.querySelector(`[data-emoji="${e.emoji}"]`);t&&(this.el.removeChild(t),this.emojis=this.emojis.filter((t=>t!==e)));const s=this.viewFactory.create(Ce,{emoji:e});if(this.el.insertBefore(s.renderSync(),this.el.firstChild),this.emojis=[e,...this.emojis.filter((t=>t!==e))],this.emojis.length>this.options.maxRecents){this.emojis=this.emojis.slice(0,this.options.maxRecents);const e=this.el.childElementCount-this.options.maxRecents;for(let t=0;t`\n
      \n

      \n \n ${r.get(`categories.${s.key}`,s.message||s.key)}\n

      \n
      \n
      \n
      \n
      \n ${r.get("recents.none")}\n
      \n
      \n`),{mode:"async"});const Fe=new U((({classes:e,category:t,pickerId:s,icon:i,i18n:o})=>`\n
      \n

      \n \n ${o.get(`categories.${t.key}`,t.message||t.key)}\n

      \n
      \n
      \n`));class $e{constructor(){this.elements=new Map}lazyLoad(e,t){return this.elements.set(e,t),e}observe(e){if(window.IntersectionObserver){const t=new IntersectionObserver((e=>{e.filter((e=>e.intersectionRatio>0)).map((e=>e.target)).forEach((e=>{const s=this.elements.get(e);null==s||s(),t.unobserve(e)}))}),{root:e});this.elements.forEach(((e,s)=>{t.observe(s)}))}else this.elements.forEach((e=>{e()}))}}const Ae=f("emojiArea"),Ie=new U((({classes:e})=>`\n
      \n
      \n
      \n`),{mode:"async"}),Te={recents:class extends we{constructor({category:e,lazyLoader:t,provider:s}){super({category:e,showVariants:!1,lazyLoader:t,template:Pe}),this.provider=s}initialize(){this.uiElements={...this.baseUIElements,recents:F.byClass(ve.recentEmojis)},this.appEvents={"recent:add":this.addRecent},super.initialize()}async addRecent(e){await this.emojiContainer.addOrUpdate(e),this.ui.recents.dataset.empty="false"}async render(){var e;const t=null==(e=this.provider)?void 0:e.getRecents(this.options.maxRecents);return this.emojiContainer=this.viewFactory.create(Le,{emojis:t,showVariants:!1,lazyLoader:this.lazyLoader,category:this.category.key}),await super.render({category:this.category,emojis:this.emojiContainer,emojiCount:t.length,icon:A[this.category.key]}),this.el}},custom:class extends we{constructor({category:e,lazyLoader:t}){super({template:Fe,showVariants:!1,lazyLoader:t,category:e})}initialize(){this.uiElements={...this.baseUIElements},super.initialize()}async render(){return this.emojiContainer=this.viewFactory.create(Ee,{emojis:this.customEmojis,showVariants:this.showVariants,lazyLoader:this.lazyLoader,category:this.category.key}),super.render({category:this.category,emojis:this.emojiContainer,emojiCount:this.customEmojis.length,icon:A[this.category.key]})}}};class Ve extends F{constructor({categoryTabs:e,categories:t,emojiVersion:s}){super({template:Ie,classes:Ae}),this.selectedCategory=0,this.scrollListenerState="active",this.lazyLoader=new $e,this.categoryTabs=e,this.categories=t,this.emojiVersion=s,this.handleScroll=function(e,t){let s=null;return()=>{s||(s=window.setTimeout((()=>{e(),s=null}),t))}}(this.handleScroll.bind(this),100)}initialize(){this.appEvents={"category:select":this.handleCategorySelect,"category:previous":this.focusPreviousCategory,"category:next":this.focusNextCategory,"focus:change":this.updateFocusedCategory},this.uiElements={emojis:F.byClass(Ae.emojiArea)},this.uiEvents=[F.uiEvent("scroll",this.handleScroll)],super.initialize()}get focusableEmoji(){return this.el.querySelector('[tabindex="0"]')}async render(){this.emojiCategories=this.categories.map(this.createCategory,this);const e={};return this.categories.forEach(((t,s)=>{e[`emojis-${t.key}`]=this.emojiCategories[s]})),await super.render({emojis:await Promise.all(this.emojiCategories.map((e=>e.render())))}),this.lazyLoader.observe(this.el),window.ResizeObserver&&(this.observer=new ResizeObserver((()=>{const e=this.el.scrollHeight-this.scrollHeight;this.el.scrollTop-this.scrollTop===0&&e>0&&(this.el.scrollTop+=e),this.scrollHeight=this.el.scrollHeight,this.scrollTop=this.el.scrollTop})),this.emojiCategories.forEach((e=>{this.observer.observe(e.el)}))),this.el}destroy(){super.destroy(),this.emojiCategories.forEach((e=>{var t;null==(t=this.observer)||t.unobserve(e.el),e.destroy()}))}handleCategorySelect(e,t){this.selectCategory(e,t)}createCategory(e){const t=Te[e.key]||ze;return this.viewFactory.create(t,{category:e,showVariants:!0,lazyLoader:this.lazyLoader,emojiVersion:this.emojiVersion,provider:this.options.recentsProvider})}determineInitialCategory(){var e;return this.options.initialCategory&&this.categories.find((e=>e.key===this.options.initialCategory))?this.options.initialCategory:null==(e=this.categories.find((e=>"recents"!==e.key)))?void 0:e.key}determineFocusTarget(e){const t=this.emojiCategories.find((t=>t.category.key===e));return this.options.initialEmoji&&(null==t?void 0:t.el.querySelector(`[data-emoji="${this.options.initialEmoji}"]`))?this.options.initialEmoji:"button"}reset(e=!0){this.events.emit("preview:hide"),this.scrollHeight=this.el.scrollHeight;const t=this.determineInitialCategory();t&&(this.selectCategory(t,{focus:this.determineFocusTarget(t),performFocus:e,scroll:"jump"}),this.selectedCategory=this.getCategoryIndex(t))}getCategoryIndex(e){return this.categories.findIndex((t=>t.key===e))}focusPreviousCategory(e){this.selectedCategory>0&&this.focusCategory(this.selectedCategory-1,{row:"last",offset:null!=e?e:this.options.emojisPerRow})}focusNextCategory(e){this.selectedCategory{var i;return e<(null==(i=this.emojiCategories[s+1])?void 0:i.el.offsetTop)})),i={changeFocusable:!1,performFocus:!1,scroll:!1};0===e?this.categoryTabs.setActiveTab(0,i):Math.floor(e)===Math.floor(t)||s<0?this.categoryTabs.setActiveTab(this.categories.length-1,i):this.categoryTabs.setActiveTab(s,i)}}const Re=new U((({classList:e,classes:t,icon:s,message:i})=>`\n\n`)),Me=f("error","iconContainer","title");class Be extends F{constructor({message:e,icon:t="warning",template:s=Re,className:i}){super({template:s,classes:Me}),this.message=e,this.icon=t,this.className=i}renderSync(){const e=[Me.error,this.className].join(" ").trim();return super.renderSync({message:this.message,icon:this.icon,classList:e})}}const De=new U((({classList:e,classes:t,icon:s,i18n:i,message:o})=>`\n \n`)),He=f("dataError");class Ne extends Be{constructor({message:e}){super({message:e,template:De,className:He.dataError})}initialize(){this.uiElements={retryButton:"button"},this.uiEvents=[F.childEvent("retryButton","click",this.onRetry)],super.initialize()}async onRetry(){this.emojiData?await this.emojiData.delete():await this.options.dataStore.deleteDatabase(this.options.locale),this.events.emit("reinitialize");const e=await E(this.options.locale,this.options.dataStore,this.options.messages,this.options.emojiData,this.emojiData);this.viewFactory.setEmojiData(e),this.events.emit("data:ready",e)}}const Oe=f("preview","previewEmoji","previewName","tagList","tag"),Ue=new U((({classes:e,tag:t})=>`\n
    • ${t}
    • \n`)),Ke=new U((({classes:e})=>`\n
      \n
      \n
      \n
        \n
        \n`));class qe extends F{constructor(){super({template:Ke,classes:Oe})}initialize(){this.uiElements={emoji:F.byClass(Oe.previewEmoji),name:F.byClass(Oe.previewName),tagList:F.byClass(Oe.tagList)},this.appEvents={"preview:show":this.showPreview,"preview:hide":this.hidePreview},super.initialize()}showPreview(e,t){if(this.ui.emoji.replaceChildren(t),this.ui.name.textContent=e.label,e.tags){this.ui.tagList.style.display="flex";const t=e.tags.map((e=>Ue.renderSync({tag:e,classes:Oe})));this.ui.tagList.replaceChildren(...t)}}hidePreview(){this.ui.emoji.replaceChildren(),this.ui.name.textContent="",this.ui.tagList.replaceChildren()}}const We=new U((({classes:e,i18n:t})=>`\n \n`)),Ge=new U((({classes:e,i18n:t})=>`\n
        \n \n \n
        \n`),{mode:"async"}),Je=f("searchContainer","searchField","clearButton","searchAccessory","clearSearchButton","notFound");class _e extends F{constructor({categories:e,emojiVersion:t}){super({template:Ge,classes:Je}),this.categories=e.filter((e=>"recents"!==e.key)),this.emojiVersion=t,this.search=function(e,t){let s=null;return(...i)=>{s&&window.clearTimeout(s),s=window.setTimeout((()=>{e(...i),s=null}),t)}}(this.search.bind(this),100)}initialize(){this.uiElements={searchField:F.byClass(Je.searchField),searchAccessory:F.byClass(Je.searchAccessory)},this.uiEvents=[F.childEvent("searchField","keydown",this.onKeyDown),F.childEvent("searchField","input",this.onSearchInput)],super.initialize()}async render(){return await super.render(),this.searchIcon=I("search"),this.notFoundMessage=this.viewFactory.create(Be,{message:this.i18n.get("search.notFound"),className:Je.notFound,icon:"sad"}),this.notFoundMessage.renderSync(),this.errorMessage=this.viewFactory.create(Be,{message:this.i18n.get("search.error")}),this.errorMessage.renderSync(),this.clearSearchButton=We.render({classes:Je,i18n:this.i18n}),this.clearSearchButton.addEventListener("click",(e=>this.onClearSearch(e))),this.searchField=this.ui.searchField,this.showSearchIcon(),this.el}showSearchIcon(){this.showSearchAccessory(this.searchIcon)}showClearSearchButton(){this.showSearchAccessory(this.clearSearchButton)}showSearchAccessory(e){this.ui.searchAccessory.replaceChildren(e)}clear(){this.searchField.value="",this.showSearchIcon()}focus(){this.searchField.focus()}onClearSearch(e){var t;e.stopPropagation(),this.searchField.value="",null==(t=this.resultsContainer)||t.destroy(),this.resultsContainer=null,this.showSearchIcon(),this.events.emit("content:show"),this.searchField.focus()}handleResultsKeydown(e){this.resultsContainer&&"Escape"===e.key&&this.onClearSearch(e)}onKeyDown(e){var t;"Escape"===e.key&&this.searchField.value?this.onClearSearch(e):("Enter"===e.key||"ArrowDown"===e.key)&&this.resultsContainer&&(e.preventDefault(),null==(t=this.resultsContainer.el.querySelector('[tabindex="0"]'))||t.focus())}onSearchInput(e){this.searchField.value?(this.showClearSearchButton(),this.search()):this.onClearSearch(e)}async search(){var e;if(this.searchField.value)try{const t=await this.emojiData.searchEmojis(this.searchField.value,this.customEmojis,this.emojiVersion,this.categories);if(this.events.emit("preview:hide"),t.length){const s=new $e;this.resultsContainer=this.viewFactory.create(Ee,{emojis:t,fullHeight:!0,showVariants:!0,lazyLoader:s}),this.resultsContainer.renderSync(),null!=(e=this.resultsContainer)&&e.el&&(s.observe(this.resultsContainer.el),this.resultsContainer.setActive(!0,{row:0,offset:0},!1),this.resultsContainer.el.addEventListener("keydown",(e=>this.handleResultsKeydown(e))),this.events.emit("content:show",this.resultsContainer))}else this.events.emit("content:show",this.notFoundMessage)}catch{this.events.emit("content:show",this.errorMessage)}}}const Ye=new U((({classes:e})=>`\n
        \n
        \n
        \n
        \n
        \n`)),Qe=f("variantOverlay","variantPopup"),Xe={easing:"ease-in-out",duration:250,fill:"both"},Ze={opacity:[0,1]},et={opacity:[0,1],transform:["scale3d(0.8, 0.8, 0.8)","scale3d(1, 1, 1)"]};class tt extends F{constructor({emoji:e,parent:t}){super({template:Ye,classes:Qe,parent:t}),this.focusedEmojiIndex=0,this.focusTrap=new S,this.animateShow=()=>Promise.all([v(this.el,Ze,Xe,this.options),v(this.ui.popup,et,Xe,this.options)]),this.emoji=e}initialize(){this.uiElements={popup:F.byClass(Qe.variantPopup)},this.uiEvents=[F.uiEvent("click",this.handleClick),F.uiEvent("keydown",this.handleKeydown)],super.initialize()}animateHide(){const e={...Xe,direction:"reverse"};return Promise.all([v(this.el,Ze,e,this.options),v(this.ui.popup,et,e,this.options)])}async hide(){await this.animateHide(),this.events.emit("variantPopup:hide")}handleKeydown(e){"Escape"===e.key&&(this.hide(),e.stopPropagation())}handleClick(e){this.ui.popup.contains(e.target)||this.hide()}getEmoji(e){return this.renderedEmojis[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}destroy(){this.emojiContainer.destroy(),this.focusTrap.deactivate(),super.destroy()}renderSync(){const e=[{...this.emoji,skins:null},...(this.emoji.skins||[]).map((e=>({...e,label:this.emoji.label,tags:this.emoji.tags})))];return this.emojiContainer=this.viewFactory.create(Ee,{emojis:e,preview:!1}),super.renderSync({emojis:this.emojiContainer}),e.length`\n
      • \n \n \n
      • \n`)),it=f("categoryTab","categoryTabActive","categoryButton");class ot extends F{constructor({category:e,icon:t}){super({template:st,classes:it}),this.isActive=!1,this.category=e,this.icon=t}initialize(){this.uiElements={button:F.byClass(it.categoryButton)},this.uiEvents=[F.childEvent("button","click",this.selectCategory),F.childEvent("button","focus",this.selectCategory)],super.initialize()}renderSync(){return super.renderSync({category:this.category,icon:this.icon}),this.ui.button.ariaSelected="false",this.el}setActive(e,t={}){const{changeFocusable:s,performFocus:i,scroll:o}={changeFocusable:!0,performFocus:!0,scroll:!0,...t};this.el.classList.toggle(it.categoryTabActive,e),s&&(this.ui.button.tabIndex=e?0:-1,this.ui.button.ariaSelected=e.toString()),e&&i&&(this.ui.button.focus(),o&&this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!1})),this.isActive=e}selectCategory(){this.isActive||this.events.emit("category:select",this.category.key,{scroll:"animate",focus:"button",performFocus:!0})}}const rt=new U((({classes:e})=>`\n
        \n
          \n
          \n
        \n
        \n`)),at=f("categoryButtons","categoryButtonsContainer");class nt extends F{constructor({categories:e}){super({template:rt,classes:at}),this.activeCategoryIndex=0,this.categories=e}initialize(){this.keyBindings={ArrowLeft:this.stepSelectedTab(-1),ArrowRight:this.stepSelectedTab(1)},this.uiEvents=[F.uiEvent("scroll",this.checkOverflow)],super.initialize()}checkOverflow(){const e=Math.abs(this.el.scrollLeft-(this.el.scrollWidth-this.el.offsetWidth))>1,t=this.el.scrollLeft>0;this.el.className="categoryButtonsContainer",t&&e?this.el.classList.add("has-overflow-both"):t?this.el.classList.add("has-overflow-left"):e&&this.el.classList.add("has-overflow-right")}renderSync(){return this.tabViews=this.categories.map((e=>this.viewFactory.create(ot,{category:e,icon:A[e.key]}))),super.renderSync({tabs:this.tabViews.map((e=>e.renderSync()))}),this.el}get currentCategory(){return this.categories[this.activeCategoryIndex]}get currentTabView(){return this.tabViews[this.activeCategoryIndex]}setActiveTab(e,t={}){this.checkOverflow();const s=this.currentTabView,i=this.tabViews[e];s.setActive(!1,t),i.setActive(!0,t),this.activeCategoryIndex=e}getTargetCategory(e){return e<0?this.categories.length-1:e>=this.categories.length?0:e}stepSelectedTab(e){return()=>{const t=this.activeCategoryIndex+e;this.setActiveTab(this.getTargetCategory(t),{changeFocusable:!0,performFocus:!0})}}}const ct=[{version:15,emoji:String.fromCodePoint(129768)},{version:14,emoji:String.fromCodePoint(128733)},{version:13,emoji:String.fromCodePoint(129729)},{version:12,emoji:String.fromCodePoint(129449)},{version:11,emoji:String.fromCodePoint(129463)},{version:5,emoji:String.fromCodePoint(129322)},{version:4,emoji:String.fromCodePoint(9877)},{version:3,emoji:String.fromCodePoint(129314)},{version:2,emoji:String.fromCodePoint(128488)},{version:1,emoji:String.fromCodePoint(128512)}];function lt(){var e;const t=ct.find((e=>function(e){const t=document.createElement("canvas").getContext("2d");if(t)return t.textBaseline="top",t.font="32px Arial",t.fillText(e,0,0),0!==t.getImageData(16,16,1,1).data[0]}(e.emoji)));return null!=(e=null==t?void 0:t.version)?e:1}function ht(e,t){return Array.from({length:e},(()=>t)).join("")}function dt(e){const{emojiCount:t,classes:s,theme:i,className:o,categoryCount:r}=e;return`\n
        \n ${(({showHeader:t,classes:s})=>t?`\n
        \n ${(({showSearch:e,classes:t})=>e?`\n
        \n
        \n
        \n `:"")(e)}\n ${(({showCategoryTabs:e,classes:t})=>e?`\n
        \n ${ht(r,`
        `)}\n
        \n `:"")(e)}\n
        \n `:"")(e)}\n
        \n
        \n
        \n ${ht(t,`
        `)}\n
        \n
        \n ${(({showPreview:e,classes:t})=>e?`\n
        \n
        \n
        \n
          \n ${ht(3,`
        • `)}\n
        \n
        \n `:"")(e)}\n
        \n `}const mt=new U((e=>e.isLoaded?function(e){const{classes:t,theme:s,className:i=""}=e;return`\n
        \n ${function({showHeader:e,classes:t}){return e?`\n
        \n
        \n
        \n
        \n `:""}(e)}\n
        \n
        \n
        \n
        \n
        \n `}(e):dt(e))),ut=f("picker","skeleton","placeholder","searchSkeleton","searchInput","categoryTabsSkeleton","headerSkeleton","categoryTab","contentSkeleton","categoryName","emojiGrid","emoji","previewSkeleton","previewEmoji","previewName","tagList","tag","overlay","content","fullHeight","pluginContainer","header"),gt={emojisPerRow:"--emojis-per-row",visibleRows:"--row-count",emojiSize:"--emoji-size"};class pt extends F{constructor(){super({template:mt,classes:ut}),this.pickerReady=!1,this.externalEvents=new ye,this.updaters={styleProperty:e=>t=>this.el.style.setProperty(gt[e],t.toString()),theme:e=>{const t=this.options.theme,s=this.el.closest(`.${t}`);this.el.classList.remove(t),null==s||s.classList.remove(t),this.el.classList.add(e),null==s||s.classList.add(e)},className:e=>{this.options.className&&this.el.classList.remove(this.options.className),this.el.classList.add(e)},emojisPerRow:this.updateStyleProperty.bind(this,"emojisPerRow"),emojiSize:this.updateStyleProperty.bind(this,"emojiSize"),visibleRows:this.updateStyleProperty.bind(this,"visibleRows")}}initialize(){this.uiElements={pickerContent:F.byClass(ut.content),header:F.byClass(ut.header)},this.uiEvents=[F.uiEvent("keydown",this.handleKeyDown)],this.appEvents={error:this.onError,reinitialize:this.reinitialize,"data:ready":this.onDataReady,"content:show":this.showContent,"variantPopup:hide":this.hideVariantPopup,"emoji:select":this.selectEmoji},super.initialize(),this.options.recentsProvider}destroy(){var e,t;super.destroy(),null==(e=this.search)||e.destroy(),this.emojiArea.destroy(),null==(t=this.categoryTabs)||t.destroy(),this.events.removeAll(),this.externalEvents.removeAll()}clearRecents(){this.options.recentsProvider.clear()}addEventListener(e,t){this.externalEvents.on(e,t)}removeEventListener(e,t){this.externalEvents.off(e,t)}initializePickerView(){this.pickerReady&&(this.showContent(),this.emojiArea.reset(!1))}handleKeyDown(e){const t=e.ctrlKey||e.metaKey;"s"===e.key&&t&&this.search&&(e.preventDefault(),this.search.focus())}buildChildViews(){return this.options.showPreview&&(this.preview=this.viewFactory.create(qe)),this.options.showSearch&&(this.search=this.viewFactory.create(_e,{categories:this.categories,emojiVersion:this.emojiVersion})),this.options.showCategoryTabs&&(this.categoryTabs=this.viewFactory.create(nt,{categories:this.categories})),this.currentView=this.emojiArea=this.viewFactory.create(Ve,{categoryTabs:this.categoryTabs,categories:this.categories,emojiVersion:this.emojiVersion}),[this.preview,this.search,this.emojiArea,this.categoryTabs]}setStyleProperties(){this.options.showSearch||this.el.style.setProperty("--search-height-full","0px"),this.options.showCategoryTabs||(this.el.style.setProperty("--category-tabs-height","0px"),this.el.style.setProperty("--category-tabs-offset","0px")),this.options.showPreview||this.el.style.setProperty("--emoji-preview-height-full","0px"),Object.keys(gt).forEach((e=>{this.options[e]&&this.el.style.setProperty(gt[e],this.options[e].toString())}))}updateStyleProperty(e,t){this.el.style.setProperty(gt[e],t.toString())}reinitialize(){this.renderSync()}onError(e){const t=this.viewFactory.create(Ne,{message:this.i18n.get("error.load")}),s=this.el.offsetHeight||375;throw this.el.style.height=`${s}px`,this.el.replaceChildren(t.renderSync()),e}async onDataReady(e){const t=this.el;try{e?this.emojiData=e:await this.emojiDataPromise,"auto"===this.options.emojiVersion?this.emojiVersion=lt()||parseFloat("14.0"):this.emojiVersion=this.options.emojiVersion,this.categories=await this.emojiData.getCategories(this.options);const[s,i,o,r]=this.buildChildViews();await super.render({isLoaded:!0,search:i,categoryTabs:r,emojiArea:o,preview:s,showHeader:Boolean(this.search||this.categoryTabs),theme:this.options.theme,className:this.options.className}),this.el.style.setProperty("--category-count",this.categories.length.toString()),this.pickerReady=!0,t.replaceWith(this.el),this.setStyleProperties(),this.initializePickerView(),this.setInitialFocus(),this.externalEvents.emit("data:ready")}catch(s){this.events.emit("error",s)}}renderSync(){var e;let t=(null==(e=this.options.categories)?void 0:e.length)||10;if(this.options.showRecents&&(t+=1),super.renderSync({isLoaded:!1,theme:this.options.theme,showSearch:this.options.showSearch,showPreview:this.options.showPreview,showCategoryTabs:this.options.showCategoryTabs,showHeader:this.options.showSearch||this.options.showCategoryTabs,emojiCount:this.options.emojisPerRow*this.options.visibleRows,categoryCount:t}),this.el.style.setProperty("--category-count",t.toString()),!this.options.rootElement)throw new Error("Picker must be given a root element via the rootElement option");return this.options.rootElement.replaceChildren(this.el),this.setStyleProperties(),this.pickerReady&&this.initializePickerView(),this.el}getInitialFocusTarget(){if(typeof this.options.autoFocus<"u")switch(this.options.autoFocus){case"emojis":return this.emojiArea.focusableEmoji;case"search":return this.search;case"auto":return this.search||this.emojiArea.focusableEmoji;default:return null}if(!0===this.options.autoFocusSearch)return console.warn("options.autoFocusSearch is deprecated, please use options.focusTarget instead"),this.search}setInitialFocus(){var e;!this.pickerReady||null==(e=this.getInitialFocusTarget())||e.focus()}reset(e=!0){var t;this.pickerReady&&(this.emojiArea.reset(e),this.showContent(this.emojiArea)),null==(t=this.search)||t.clear(),this.hideVariantPopup()}showContent(e=this.emojiArea){var t,s;e!==this.currentView&&(this.currentView!==this.emojiArea&&(null==(t=this.currentView)||t.destroy()),this.ui.pickerContent.classList.toggle(ut.fullHeight,e!==this.emojiArea),this.ui.pickerContent.replaceChildren(e.el),this.currentView=e,e===this.emojiArea?(this.emojiArea.reset(),this.categoryTabs&&this.ui.header.appendChild(this.categoryTabs.el)):null==(s=this.categoryTabs)||s.el.remove())}hideVariantPopup(){var e;null==(e=this.variantPopup)||e.destroy()}isPickerClick(e){var t,s;const i=e.target,o=this.el.contains(i),r=null==(s=null==(t=this.variantPopup)?void 0:t.el)?void 0:s.contains(i);return o||r}async selectEmoji({emoji:e}){var t,s;(null==(t=e.skins)?void 0:t.length)&&this.options.showVariants&&!this.isVariantPopupOpen?this.showVariantPopup(e):(await(null==(s=this.variantPopup)?void 0:s.animateHide()),this.events.emit("variantPopup:hide"),await this.emitEmoji(e))}get isVariantPopupOpen(){return this.variantPopup&&!this.variantPopup.isDestroyed}async showVariantPopup(e){const t=document.activeElement;this.events.once("variantPopup:hide",(()=>{null==t||t.focus()})),this.variantPopup=this.viewFactory.create(tt,{emoji:e,parent:this.el}),this.el.appendChild(this.variantPopup.renderSync()),this.variantPopup.activate()}async emitEmoji(e){this.externalEvents.emit("emoji:select",await this.renderer.doEmit(e)),this.options.recentsProvider.addOrUpdateRecent(e,this.options.maxRecents),this.events.emit("recent:add",e)}updateOptions(e){Object.keys(e).forEach((t=>{this.updaters[t](e[t])})),Object.assign(this.options,e)}}class yt{constructor({events:e,i18n:t,renderer:s,emojiData:i,options:o,customEmojis:r=[],pickerId:a}){this.events=e,this.i18n=t,this.renderer=s,this.emojiData=i,this.options=o,this.customEmojis=r,this.pickerId=a}setEmojiData(e){this.emojiData=Promise.resolve(e)}create(e,...t){const s=new e(...t);return s.setPickerId(this.pickerId),s.setEvents(this.events),s.setI18n(this.i18n),s.setRenderer(this.renderer),s.setEmojiData(this.emojiData),s.setOptions(this.options),s.setCustomEmojis(this.customEmojis),s.viewFactory=this,s.initialize(),s}}var vt;class wt{constructor(e={}){r(this,vt,void 0),a(this,vt,new Map(Object.entries(e)))}get(e,t=e){return o(this,vt).get(e)||t}}vt=new WeakMap;let ft=0;const bt=function(){let e=!1;return function(t){ge&&!e&&(function(e,t){void 0===t&&(t={});var s=t.insertAt;if(e&&!(typeof document>"u")){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===s&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(t),e=!0)}}();function Ct(e){bt('.picmo-picker .icon{width:1.25em;height:1em;fill:currentColor}.icon-small{font-size:.8em}.icon-medium{font-size:1em}.icon-large{font-size:1.25em}.icon-2x{font-size:2em}.icon-3x{font-size:3em}.icon-4x{font-size:4em}.icon-5x{font-size:5em}.icon-8x{font-size:8em}.icon-10x{font-size:10em}.light,.auto{color-scheme:light;--accent-color: #4f46e5;--background-color: #f9fafb;--border-color: #cccccc;--category-name-background-color: #f9fafb;--category-name-button-color: #999999;--category-name-text-color: hsl(214, 30%, 50%);--category-tab-active-background-color: rgba(255, 255, 255, .6);--category-tab-active-color: var(--accent-color);--category-tab-color: #666;--category-tab-highlight-background-color: rgba(0, 0, 0, .15);--error-color-dark: hsl(0, 100%, 45%);--error-color: hsl(0, 100%, 40%);--focus-indicator-background-color: hsl(198, 65%, 85%);--focus-indicator-color: #333333;--hover-background-color: #c7d2fe;--placeholder-background-color: #cccccc;--search-background-color: #f9fafb;--search-focus-background-color: #ffffff;--search-icon-color: #999999;--search-placeholder-color: #71717a;--secondary-background-color: #e2e8f0;--secondary-text-color: #666666;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #000000;--variant-popup-background-color: #ffffff}.dark{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}@media (prefers-color-scheme: dark){.auto{color-scheme:dark;--accent-color: #A580F9;--background-color: #333333;--border-color: #666666;--category-name-background-color: #333333;--category-name-button-color: #eeeeee;--category-name-text-color: #ffffff;--category-tab-active-background-color: #000000;--category-tab-active-color: var(--accent-color);--category-tab-color: #cccccc;--category-tab-highlight-background-color: #4A4A4A;--error-color-dark: hsl(0, 7%, 3%);--error-color: hsl(0, 30%, 60%);--focus-indicator-background-color: hsl(0, 0%, 50%);--focus-indicator-color: #999999;--hover-background-color: hsla(0, 0%, 40%, .85);--image-placeholder-color: #ffffff;--placeholder-background-color: #666666;--search-background-color: #71717a;--search-focus-background-color: #52525b;--search-icon-color: #cccccc;--search-placeholder-color: #d4d4d8;--secondary-background-color: #000000;--secondary-text-color: #999999;--tag-background-color: rgba(162, 190, 245, .3);--text-color: #ffffff;--variant-popup-background-color: #333333}}.picmo-picker .categoryButtonsContainer{overflow:auto;padding:2px 0}.picmo-picker .categoryButtonsContainer.has-overflow-right{mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(270deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-left{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%)}.picmo-picker .categoryButtonsContainer.has-overflow-both{mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);-webkit-mask-image:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%)}.picmo-picker .categoryButtons{display:flex;flex-direction:row;gap:var(--tab-gap);margin:0;padding:0 .5em;align-items:center;height:var(--category-tabs-height);box-sizing:border-box;width:100%;justify-content:space-between;position:relative;list-style-type:none;justify-self:center;max-width:min(23.55rem,calc(var(--category-count, 1) * 2.5rem))}.picmo-picker .categoryButtons .categoryTab{display:flex;align-items:center;transition:all .1s;width:2em}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton{color:var(--category-tab-active-color);background:linear-gradient(rgba(255,255,255,.75) 0%,rgba(255,255,255,.75) 100%),linear-gradient(var(--category-tab-active-color) 0%,var(--category-tab-active-color) 100%);border:2px solid var(--category-tab-active-color)}.picmo-picker .categoryButtons .categoryTab.categoryTabActive .categoryButton:hover{background-color:var(--category-tab-active-background-color)}.picmo-picker .categoryButtons .categoryTab button.categoryButton{border-radius:5px;background:transparent;border:2px solid transparent;color:var(--category-tab-color);cursor:pointer;padding:2px;vertical-align:middle;display:flex;align-items:center;justify-content:center;font-size:1.2rem;width:1.6em;height:1.6em;transition:all .1s}.picmo-picker .categoryButtons .categoryTab button.categoryButton:is(img){width:var(--category-tab-size);height:var(--category-tab-size)}.picmo-picker .categoryButtons .categoryTab button.categoryButton:hover{background:var(--category-tab-highlight-background-color)}.dataError [data-icon]{opacity:.8}@keyframes appear{0%{opacity:0}to{opacity:.8}}@keyframes appear-grow{0%{opacity:0;transform:scale(.8)}to{opacity:.8;transform:scale(1)}}.picmo-picker .error{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--secondary-text-color)}.picmo-picker .error .iconContainer{opacity:.8;animation:appear-grow .25s cubic-bezier(.175,.885,.32,1.275);--color-primary: var(--error-color);--color-secondary: var(--error-color-dark)}.picmo-picker .error .title{animation:appear .25s;animation-delay:50ms;animation-fill-mode:both}.picmo-picker .error button{padding:8px 16px;cursor:pointer;background:var(--background-color);border:1px solid var(--text-color);border-radius:5px;color:var(--text-color)}.picmo-picker .error button:hover{background:var(--text-color);color:var(--background-color)}.emojiButton{background:transparent;border:none;border-radius:15px;cursor:pointer;display:flex;font-family:var(--emoji-font);font-size:var(--emoji-size);height:100%;justify-content:center;align-items:center;margin:0;overflow:hidden;padding:0;width:100%}.emojiButton:hover{background:var(--hover-background-color)}.emojiButton:focus{border-radius:0;background:var(--focus-indicator-background-color);outline:1px solid var(--focus-indicator-color)}.picmo-picker .emojiArea{height:var(--emoji-area-height);overflow-y:auto;position:relative}.picmo-picker .emojiCategory{position:relative}.picmo-picker .emojiCategory .categoryName{font-size:.9em;padding:.5rem;margin:0;background:var(--category-name-background-color);color:var(--category-name-text-color);top:0;z-index:1;display:grid;gap:4px;grid-template-columns:auto 1fr auto;align-items:center;line-height:1;box-sizing:border-box;height:var(--category-name-height);justify-content:flex-start;text-transform:uppercase}.picmo-picker .emojiCategory .categoryName button{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;color:var(--category-name-button-color)}.picmo-picker .emojiCategory .categoryName button:hover{opacity:1}.picmo-picker .emojiCategory .noRecents{color:var(--secondary-text-color);grid-column:1 / span var(--emojis-per-row);font-size:.9em;text-align:center;display:flex;align-items:center;justify-content:center;min-height:calc(var(--emoji-size) * var(--emoji-size-multiplier))}.picmo-picker .emojiCategory .recentEmojis[data-empty=true]{display:none}:is(.picmo-picker .emojiCategory) .recentEmojis[data-empty=false]+div{display:none}.picmo-picker .emojiContainer{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center}.picmo-picker.picker{--border-radius: 5px;--emoji-area-height: calc( (var(--row-count) * var(--emoji-size) * var(--emoji-size-multiplier)) + var(--category-name-height) );--content-height: var(--emoji-area-height);--emojis-per-row: 8;--row-count: 6;--emoji-preview-margin: 4px;--emoji-preview-height: calc(var(--emoji-preview-size) + 1em + 1px);--emoji-preview-height-full: calc(var(--emoji-preview-height) + var(--emoji-preview-margin));--emoji-preview-size: 2.75em;--emoji-size: 2rem;--emoji-size-multiplier: 1.3;--content-margin: 8px;--category-tabs-height:calc(1.5em + 9px);--category-tabs-offset: 8px;--category-tab-size: 1.2rem;--category-name-height: 2rem;--category-name-padding-y: 6px;--search-height: 2em;--search-margin: .5em;--search-margin-bottom: 4px;--search-height-full: calc(var(--search-height) + var(--search-margin) + var(--search-margin-bottom));--overlay-background-color: rgba(0, 0, 0, .8);--emoji-font: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "EmojiOne Color", "Android Emoji";--ui-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;--ui-font-size: 16px;--picker-width: calc(var(--emojis-per-row) * var(--emoji-size) * var(--emoji-size-multiplier) + 2.75rem);--preview-background-color: var(--secondary-background-color);background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);font-size:var(--ui-font-size);overflow:hidden;position:relative;width:var(--picker-width);display:grid;gap:8px}.picmo-picker.picker>*{font-family:var(--ui-font)}.picmo-picker.skeleton{background:var(--background-color);border-radius:var(--border-radius);border:1px solid var(--border-color);font-family:var(--ui-font);width:var(--picker-width);color:var(--secondary-text-color)}.picmo-picker.skeleton *{box-sizing:border-box}.picmo-picker.skeleton .placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.picmo-picker.skeleton .placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}.picmo-picker.skeleton .headerSkeleton{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column;overflow:hidden;gap:8px;border-bottom:1px solid var(--border-color);width:var(--picker-width)}.picmo-picker.skeleton .searchSkeleton{padding:0 8px;height:var(--search-height)}.picmo-picker.skeleton .searchSkeleton .searchInput{width:100%;height:28px;border-radius:3px}.picmo-picker.skeleton .categoryTabsSkeleton{height:var(--category-tabs-height);display:flex;flex-direction:row;align-items:center;justify-self:center;width:calc(2rem * var(--category-count, 1))}.picmo-picker.skeleton .categoryTabsSkeleton .categoryTab{width:25px;height:25px;padding:2px;border-radius:5px;margin:.25em}.picmo-picker.skeleton .contentSkeleton{height:var(--content-height);padding-right:8px;opacity:.7}.picmo-picker.skeleton .contentSkeleton .categoryName{width:50%;height:1rem;margin:.5rem;box-sizing:border-box}.picmo-picker.skeleton .contentSkeleton .emojiGrid{display:grid;justify-content:space-between;gap:1px;padding:0 .5em;grid-template-columns:repeat(var(--emojis-per-row),calc(var(--emoji-size) * var(--emoji-size-multiplier)));grid-auto-rows:calc(var(--emoji-size) * var(--emoji-size-multiplier));align-items:center;justify-items:center;width:var(--picker-width)}.picmo-picker.skeleton .contentSkeleton .emojiGrid .emoji{width:var(--emoji-size);height:var(--emoji-size);border-radius:50%}.picmo-picker.skeleton .previewSkeleton{height:var(--emoji-preview-height);border-top:1px solid var(--border-color);display:grid;align-items:center;padding:.5em;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags"}.picmo-picker.skeleton .previewSkeleton .previewEmoji{grid-area:emoji;border-radius:50%;width:var(--emoji-preview-size);height:var(--emoji-preview-size)}.picmo-picker.skeleton .previewSkeleton .previewName{grid-area:name;height:.8em;width:80%}.picmo-picker.skeleton .previewSkeleton .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0}.picmo-picker.skeleton .previewSkeleton .tagList .tag{border-radius:3px;padding:2px 8px;margin-right:.25em;height:1em;width:20%}.overlay{background:rgba(0,0,0,.75);height:100%;left:0;position:fixed;top:0;width:100%;z-index:1000}.content{position:relative;overflow:hidden;height:var(--content-height)}.content.fullHeight{height:calc(var(--content-height) + var(--category-tabs-height) + var(--category-tabs-offset));overflow-y:auto}.pluginContainer{margin:.5em;display:flex;flex-direction:row}.header{background-color:var(--secondary-background-color);padding-top:8px;padding-bottom:8px;display:grid;gap:8px;border-bottom:1px solid var(--border-color)}@media (prefers-reduced-motion: reduce){.placeholder{background:var(--placeholder-background-color);position:relative;overflow:hidden}.placeholder:after{display:none}}.picmo-picker .preview{border-top:1px solid var(--border-color);display:grid;align-items:center;gap:6px;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;grid-template-areas:"emoji name" "emoji tags";height:var(--emoji-preview-height);box-sizing:border-box;padding:.5em;position:relative;background:var(--preview-background-color)}.picmo-picker .preview .previewEmoji{grid-area:emoji;font-size:var(--emoji-preview-size);font-family:var(--emoji-font);width:1.25em;display:flex;align-items:center;justify-content:center}.picmo-picker .preview .previewName{grid-area:name;color:var(--text-color);font-size:.8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.picmo-picker .preview .tagList{grid-area:tags;list-style-type:none;display:flex;flex-direction:row;padding:0;margin:0;font-size:.75em;overflow:hidden}.picmo-picker .preview .tag{border-radius:3px;background:var(--tag-background-color);color:var(--text-color);padding:2px 8px;margin-right:.25em;white-space:nowrap}.picmo-picker .preview .tag:last-child{margin-right:0}.picmo-picker .searchContainer{display:flex;height:var(--search-height);box-sizing:border-box;padding:0 8px;position:relative}.picmo-picker .searchContainer .searchField{background:var(--search-background-color);border-radius:3px;border:none;box-sizing:border-box;color:var(--text-color);font-size:.9em;outline:none;padding:.5em 2.25em .5em .5em;width:100%}.picmo-picker .searchContainer .searchField:focus{background:var(--search-focus-background-color)}.picmo-picker .searchContainer .searchField::placeholder{color:var(--search-placeholder-color)}.picmo-picker .searchContainer .searchAccessory{color:var(--search-icon-color);height:100%;position:absolute;right:1em;top:0;width:1.25rem;display:flex;align-items:center}.picmo-picker .searchContainer .searchAccessory svg{fill:var(--search-icon-color)}.picmo-picker .searchContainer .clearButton{border:0;color:var(--search-icon-color);background:transparent;cursor:pointer}.picmo-picker .searchContainer .clearSearchButton{cursor:pointer;border:none;background:transparent;color:var(--search-icon-color);font-size:1em;width:100%;height:100%;display:flex;align-items:center;padding:0}.picmo-picker .searchContainer .notFound [data-icon]{fill:#f3e265}.picmo-picker .variantOverlay{background:var(--overlay-background-color);border-radius:5px;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.picmo-picker .variantOverlay .variantPopup{background:var(--variant-popup-background-color);border-radius:5px;margin:.5em;padding:.5em;text-align:center;user-select:none;display:flex;align-items:center;justify-content:center}.customEmoji{width:1em;height:1em}@keyframes shine{to{transform:translate(100%)}}.picmo-picker .imagePlaceholder{width:2rem;height:2rem;border-radius:50%}.placeholder{background:#DDDBDD;position:relative}.placeholder:after{position:absolute;top:0;right:0;bottom:0;left:0;transform:translate(-100%);background-image:linear-gradient(90deg,rgba(255,255,255,0) 0,rgba(255,255,255,.2) 20%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 100%);animation:shine 2s infinite;content:""}\n');const t=function(e={}){return{...ne,...e,renderer:e.renderer||new _,recentsProvider:e.recentsProvider||new ae}}(e),s=((null==t?void 0:t.custom)||[]).map((e=>({...e,custom:!0,tags:["custom",...e.tags||[]]}))),i=new pe,o=function(e){return E(e.locale,e.dataStore,e.messages,e.emojiData)}(t),r=new wt(t.i18n);o.then((e=>{i.emit("data:ready",e)})).catch((e=>{i.emit("error",e)}));const a=new yt({events:i,i18n:r,customEmojis:s,renderer:t.renderer,options:t,emojiData:o,pickerId:`picmo-${Date.now()}-${ft++}`}).create(pt);return a.renderSync(),a}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7762.314ca44fe0c6fbf1.js b/static/web/_next/static/chunks/7762.314ca44fe0c6fbf1.js deleted file mode 100644 index f61386812..000000000 --- a/static/web/_next/static/chunks/7762.314ca44fe0c6fbf1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7762],{17762:function(t,e,n){n.r(e),n.d(e,{solr:function(){return k}});var r=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,o=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function i(t){return function(e,n){for(var o=t;(t=e.peek())&&null!=t.match(r);)o+=e.next();return n.tokenize=a,u.test(o)?"operator":function(t){return parseFloat(t).toString()===t}(o)?"number":":"==e.peek()?"propertyName":"string"}}function a(t,e){var n,u,k=t.next();return'"'==k?e.tokenize=(u=k,function(t,e){for(var n,r=!1;null!=(n=t.next())&&(n!=u||r);)r=!r&&"\\"==n;return r||(e.tokenize=a),"string"}):o.test(k)?e.tokenize=(n=k,function(t,e){return"|"==n?t.eat(/\|/):"&"==n&&t.eat(/\&/),e.tokenize=a,"operator"}):r.test(k)&&(e.tokenize=i(k)),e.tokenize!=a?e.tokenize(t,e):null}const k={name:"solr",startState:function(){return{tokenize:a}},token:function(t,e){return t.eatSpace()?null:e.tokenize(t,e)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7762.b997013a52e9b865.js b/static/web/_next/static/chunks/7762.b997013a52e9b865.js new file mode 100644 index 000000000..73a77815f --- /dev/null +++ b/static/web/_next/static/chunks/7762.b997013a52e9b865.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7762],{17762:function(e,t,n){n.r(t),n.d(t,{solr:function(){return a}});var r=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,o=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function i(e,t){var n,a=e.next();return'"'==a?t.tokenize=function(e,t){for(var n,r=!1;null!=(n=e.next())&&(n!=a||r);)r=!r&&"\\"==n;return r||(t.tokenize=i),"string"}:o.test(a)?t.tokenize=function(e,t){return"|"==a?e.eat(/\|/):"&"==a&&e.eat(/\&/),t.tokenize=i,"operator"}:r.test(a)&&(t.tokenize=(n=a,function(e,t){for(var o,a=n;(n=e.peek())&&null!=n.match(r);)a+=e.next();return(t.tokenize=i,u.test(a))?"operator":parseFloat(o=a).toString()===o?"number":":"==e.peek()?"propertyName":"string"})),t.tokenize!=i?t.tokenize(e,t):null}let a={name:"solr",startState:function(){return{tokenize:i}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7781.1830e606bfa36645.js b/static/web/_next/static/chunks/7781.1830e606bfa36645.js deleted file mode 100644 index 9c7cd5931..000000000 --- a/static/web/_next/static/chunks/7781.1830e606bfa36645.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7781],{87781:function(e,n,t){"use strict";t.r(n),t.d(n,{ChatModerationActionMenu:function(){return H}});var r=t(47568),s=t(70655),o=t(85893),a=t(11475),i=t(90420),c=t(18429),l=t(64942),u=t(85402),d=t(12461),h=t(66516),f=t(38504),p=t(26713),x=t(67294),j=t(32365),g=t(54907),m=t(25968),v=t(6226),y=t(71577),_=t(11382),Z=t(20550),C=t(93626),b=t(58091),k=t(48689),w=t(51438),M=function(){function e(){(0,w.Z)(this,e)}return e.removeMessage=function(e,n){return(0,r.Z)((function(){var t,r,o;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return(t=new URL("/api/chat/messagevisibility",window.location.toString())).searchParams.append("accessToken",n),r=t.toString(),o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({idArray:[e]})},[4,fetch(r,o)];case 1:return s.sent(),[2]}}))}))()},e.banUser=function(e,n){return(0,r.Z)((function(){var t,r,o;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return(t=new URL("/api/chat/users/setenabled",window.location.toString())).searchParams.append("accessToken",n),r=t.toString(),o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:e})},[4,fetch(r,o)];case 1:return s.sent(),[2]}}))}))()},e}(),S=t(62638),A=t.n(S),P=t(2766),N=g.Z.Panel,D=function(){var e=(0,r.Z)((function(e,n){return(0,s.__generator)(this,(function(t){try{M.removeMessage(e,n)}catch(r){console.error(r)}return[2]}))}));return function(n,t){return e.apply(this,arguments)}}(),O=function(e){var n=e.label,t=e.value;return(0,o.jsxs)(m.Z,{justify:"space-around",align:"middle",children:[(0,o.jsx)(v.Z,{span:12,children:n}),(0,o.jsx)(v.Z,{span:12,children:t})]})},T=function(e){var n=e.client,t=n.messageCount,r=n.connectedAt,s=n.geo,a=(0,b.Z)(new Date(r),"PP pp");return(0,o.jsxs)("div",{children:[(0,o.jsx)(O,{label:"Messages Sent",value:"".concat(t)}),"N/A"!==s&&(0,o.jsx)(O,{label:"Geo",value:s}),(0,o.jsx)(O,{label:"Connected At",value:a})]})},I=function(e){var n=e.color,t="var(--theme-color-users-".concat(n,")");return(0,o.jsxs)("div",{className:A().colorBlock,style:{backgroundColor:t},children:["Color ",n]})},B=function(e){var n=e.userId,t=e.accessToken,a=(0,x.useState)(null),i=a[0],c=a[1],l=(0,x.useState)(!0),u=l[0],d=l[1],h=function(){var e=(0,r.Z)((function(){var e,r;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,fetch("/api/moderation/chat/user/".concat(n,"?accessToken=").concat(t))];case 1:return[4,s.sent().json()];case 2:return e=s.sent(),c(e),d(!1),[3,4];case 3:return r=s.sent(),console.error(r),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();if((0,x.useEffect)((function(){h()}),[]),!i)return null;var f=i.user,p=i.connectedClients,j=i.messages,m=f.displayColor,v=f.createdAt,w=f.previousNames,M=f.scopes,S=f.isBot,A=f.authenticated,B=p.reduce((function(e,n){return e+n.messageCount}),0),U=(0,b.Z)(new Date(v),"PP pp"),z=[{title:"Message",dataIndex:"body",key:"body"},{title:"Sent At",dataIndex:"timestamp",key:"timestamp",render:function(e){return(0,b.Z)(new Date(e),"PP pp")}},{title:"Delete",key:"delete",render:function(e,n){return(0,o.jsx)(y.Z,{type:"primary",ghost:!0,icon:(0,o.jsx)(k.Z,{}),onClick:function(){return D(n.id,t)}})}}];return(0,o.jsxs)(_.Z,{spinning:u,children:[(0,o.jsx)(I,{color:m}),M.map((function(e){return(0,o.jsx)(Z.Z,{children:e},e)})),A&&(0,o.jsx)(Z.Z,{children:"Authenticated"}),S&&(0,o.jsx)(Z.Z,{children:"Bot"}),(0,o.jsx)(O,{label:"Messages Sent Across Clients",value:B.toString()}),(0,o.jsx)(O,{label:"User Created",value:U}),(0,o.jsx)(O,{label:"Known As",value:w.join(",")}),(0,o.jsxs)(g.Z,{accordion:!0,children:[(0,o.jsx)(N,{header:"Currently Connected Clients",children:(0,o.jsx)(g.Z,{accordion:!0,children:p.map((function(e){return(0,o.jsx)(N,{header:(0,P.AB)(e.userAgent),children:(0,o.jsx)(T,{client:e})},e.userAgent)}))})},"connected-clients"),(0,o.jsx)(g.Z,{accordion:!0,children:(0,o.jsx)(N,{header:"Recent Chat Messages",children:(0,o.jsx)(C.Z,{size:"small",pagination:null,columns:z,dataSource:j})},"chat-messages")})]})]})},U=t(31833),z=t.n(U),F=u.Z.confirm,H=function(e){var n=e.messageID,t=e.userID,u=e.userDisplayName,g=e.accessToken,m=(0,x.useState)(!1),v=m[0],y=m[1],_=function(){var e=(0,r.Z)((function(){var e;return(0,s.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,M.banUser(t,g)];case 1:return n.sent(),[3,3];case 2:return e=n.sent(),console.error(e),d.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),Z=function(){var e=(0,r.Z)((function(){var e;return(0,s.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,M.removeMessage(n,g)];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.error(e),d.ZP.error(e),[3,3];case 3:return[2]}}))}));return function(){return e.apply(this,arguments)}}(),C=function(){var e=(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){return F({icon:(0,o.jsx)(a.Z,{}),content:"Are you sure you want to remove this message from ".concat(u,"?"),onOk:function(){Z()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),b=function(){var e=(0,r.Z)((function(){return(0,s.__generator)(this,(function(e){return F({icon:(0,o.jsx)(a.Z,{}),content:"Are you sure you want to ban ".concat(u," from chat?"),onOk:function(){_()}}),[2]}))}));return function(){return e.apply(this,arguments)}}(),k=(0,o.jsx)(h.Z,{onClick:function(e){var n=e.key;"hide-message"===n?C():"ban-user"===n?b():"more-info"===n&&y(!0)},items:[{label:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:z().icon,children:(0,o.jsx)(i.Z,{})}),"Hide Message"]}),key:"hide-message"},{label:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:z().icon,children:(0,o.jsx)(c.Z,{})}),"Ban User"]}),key:"ban-user"},{label:(0,o.jsx)("div",{children:"More Info..."}),key:"more-info"}]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(f.Z,{overlay:k,trigger:["click"],children:(0,o.jsx)("button",{type:"button",onClick:function(e){return e.preventDefault()},children:(0,o.jsx)(p.Z,{children:(0,o.jsx)(l.Z,{})})})}),(0,o.jsx)(j.Modal,{title:u,open:v,handleCancel:function(){y(!1)},children:(0,o.jsx)(B,{userId:t,accessToken:g})})]})}},32365:function(e,n,t){"use strict";t.r(n),t.d(n,{Modal:function(){return u}});var r=t(85893),s=t(85402),o=t(26303),a=t(11382),i=t(67294),c=t(78890),l=t.n(c),u=function(e){var n=e.title,t=e.url,c=e.open,u=e.handleOk,d=e.handleCancel,h=e.afterClose,f=e.height,p=e.width,x=e.children,j=(0,i.useState)(!!t),g=j[0],m=j[1],v={padding:"0px",minHeight:f,height:null!==f&&void 0!==f?f:"100%"},y=t&&(0,r.jsx)("iframe",{title:n,src:t,width:"100%",height:"100%",sandbox:"allow-same-origin allow-scripts allow-popups allow-forms",frameBorder:"0",allowFullScreen:!0,onLoad:function(){return m(!1)}}),_=g?"none":"inline";return(0,r.jsx)(s.Z,{title:n,open:c,onOk:u,onCancel:d,afterClose:h,bodyStyle:v,width:p,zIndex:9999,footer:null,centered:!0,destroyOnClose:!0,children:(0,r.jsxs)(r.Fragment,{children:[g&&(0,r.jsx)(o.Z,{active:g,style:{padding:"10px"},paragraph:{rows:10}}),y&&(0,r.jsx)("div",{style:{display:_},children:y}),x&&(0,r.jsx)("div",{className:l().content,children:x}),g&&(0,r.jsx)(a.Z,{className:l().spinner,spinning:g,size:"large"})]})})};n.default=u,u.defaultProps={url:void 0,children:void 0,handleOk:void 0,handleCancel:void 0,afterClose:void 0}},31833:function(e){e.exports={icon:"ChatModerationActionMenu_icon__9j6DF"}},62638:function(e){e.exports={modalContainer:"ChatModerationDetailsModal_modalContainer__czndV",chatHistory:"ChatModerationDetailsModal_chatHistory__PunRk",colorBlock:"ChatModerationDetailsModal_colorBlock___rAlw",displayName:"ChatModerationDetailsModal_displayName__p7pLI"}},78890:function(e){e.exports={spinner:"Modal_spinner__GiSS0",content:"Modal_content__h9my9"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7815.42f1d1755fc9414d.js b/static/web/_next/static/chunks/7815.42f1d1755fc9414d.js new file mode 100644 index 000000000..56b724f00 --- /dev/null +++ b/static/web/_next/static/chunks/7815.42f1d1755fc9414d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7815],{17815:function(t,e,o){"use strict";o.r(e),o.d(e,{NotifyReminderPopup:function(){return l}});var n=o(85893),i=o(55241),p=o(97937),r=o(67294),s=o(93162),u=o.n(s);let l=t=>{let{children:e,open:o,notificationClicked:s,notificationClosed:l}=t,[c,a]=(0,r.useState)(o),[d,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{a(o)},[o]),(0,r.useEffect)(()=>{f(!0)},[]);let m=(0,n.jsx)("div",{className:u().title,children:"Stay updated!"}),_=t=>{t.stopPropagation(),s()},b=t=>{t.stopPropagation(),a(!1),l()},x=(0,n.jsxs)("div",{onClick:_,onKeyDown:_,role:"menuitem",tabIndex:0,children:[(0,n.jsx)("button",{type:"button",className:u().closebutton,onClick:b,children:(0,n.jsx)(p.Z,{})}),(0,n.jsxs)("div",{className:u().contentbutton,children:["Click and never miss",(0,n.jsx)("br",{}),"future streams!"]})]});return d&&(0,n.jsx)(i.Z,{placement:"topLeft",defaultOpen:c,open:c,destroyTooltipOnHide:!0,title:m,content:x,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},color:u().popupBackgroundColor,children:e})}},93162:function(t){t.exports={popupBackgroundColor:"var(--theme-color-palette-7)",contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/786.bda6a234b010d76b.js b/static/web/_next/static/chunks/786.bda6a234b010d76b.js deleted file mode 100644 index 4176179de..000000000 --- a/static/web/_next/static/chunks/786.bda6a234b010d76b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[786],{30786:function(e,n,t){t.r(n),t.d(n,{EmojiPicker:function(){return i}});var r=t(47568),u=t(70655),o=t(85893),c=t(67294),s=t(57741),i=function(e){var n=e.onEmojiSelect,t=e.onCustomEmojiSelect,i=(0,c.useState)([]),a=i[0],f=i[1],l=(0,c.useRef)(),m=function(){var e=(0,r.Z)((function(){var e,n;return(0,u.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),[4,fetch("/api/emoji")];case 1:return[4,t.sent().json()];case 2:return e=t.sent(),f(e),[3,4];case 3:return n=t.sent(),console.error("cannot fetch custom emoji",n),[3,4];case 4:return[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){m()}),[]),(0,c.useEffect)((function(){var e=a.map((function(e){return{emoji:e.name,label:e.name,url:e.url}}));(0,s.wU)({rootElement:l.current,custom:e,initialCategory:"custom",showPreview:!1,showRecents:!0}).addEventListener("emoji:select",(function(e){e.url?t(e.name,e.url):n(e.emoji)}))}),[a]),(0,o.jsx)("div",{ref:l})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7902-45536fa617d228c5.js b/static/web/_next/static/chunks/7902-45536fa617d228c5.js new file mode 100644 index 000000000..ee2faa1a1 --- /dev/null +++ b/static/web/_next/static/chunks/7902-45536fa617d228c5.js @@ -0,0 +1,14 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7902],{60562:function(t,e,r){"use strict";r.d(e,{Au:function(){return s},G3:function(){return g},Ki:function(){return u},d3:function(){return h},hL:function(){return p},lx:function(){return m},qX:function(){return d},tm:function(){return l}});var n,i,a=r(58908),o=r.n(a),s=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},u=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||s(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},c=o().BigInt||Number,f=[c("0x1"),c("0x100"),c("0x10000"),c("0x1000000"),c("0x100000000"),c("0x10000000000"),c("0x1000000000000"),c("0x100000000000000"),c("0x10000000000000000")];n=new Uint16Array([65484]),255===(i=new Uint8Array(n.buffer,n.byteOffset,n.byteLength))[0]||i[0];var l=function(t,e){var r=void 0===e?{}:e,n=r.signed,i=r.le,a=void 0!==i&&i;t=u(t);var o=a?"reduce":"reduceRight",s=(t[o]?t[o]:Array.prototype[o]).call(t,function(e,r,n){var i=a?n:Math.abs(n+1-t.length);return e+c(r)*f[i]},c(0));if(void 0!==n&&n){var l=f[t.length]/c(2)-c(1);(s=c(s))>l&&(s-=l,s-=l,s-=c(2))}return Number(s)},p=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0);for(var i=Math.ceil((t=c(t)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(i)),o=0;o=e.length&&c.call(e,function(e,r){return e===(s[r]?s[r]&t[a+r]:t[a+r])})}},92260:function(t,e,r){"use strict";r.d(e,{Hi:function(){return d},Jg:function(){return f},KL:function(){return l},_5:function(){return p},kS:function(){return c},lA:function(){return m},p7:function(){return h},ws:function(){return u},xz:function(){return g}});var n=r(58908),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},o=["video","audio","text"],s=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)}):t},c=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach(function(t){var e;t=t.trim(),o.forEach(function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,mediaType:n})}}),e||r.push({type:t,details:"",mediaType:"unknown"})}),r},f=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return c(i.playlists[0].attributes.CODECS)}return null},l=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map(function(t){return u(t.trim())}),n="video";1===r.length&&l(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every(function(t){return a.mp4.test(t)})?i="mp4":r.every(function(t){return a.webm.test(t)})?i="webm":r.every(function(t){return a.ogg.test(t)})&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},h=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||!1},d=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){t=t.trim();for(var e=0;er;){var a=t[r],o=0,s=0,u=t[++s];for(s++;128&u;)o=(127&u)<<7,u=t[s],s++;o+=127&u;for(var c=0;c>>0,f=e.subarray(u+4,u+8);if(0===c)break;var l=u+c;if(l>e.length){if(n)break;l=e.length}var p=e.subarray(u+8,l);(0,i.G3)(f,r[0])&&(1===r.length?s.push(p):s.push.apply(s,t(p,r.slice(1),n))),u=l}return s},u={EBML:(0,i.Ki)([26,69,223,163]),DocType:(0,i.Ki)([66,130]),Segment:(0,i.Ki)([24,83,128,103]),SegmentInfo:(0,i.Ki)([21,73,169,102]),Tracks:(0,i.Ki)([22,84,174,107]),Track:(0,i.Ki)([174]),TrackNumber:(0,i.Ki)([215]),DefaultDuration:(0,i.Ki)([35,227,131]),TrackEntry:(0,i.Ki)([174]),TrackType:(0,i.Ki)([131]),FlagDefault:(0,i.Ki)([136]),CodecID:(0,i.Ki)([134]),CodecPrivate:(0,i.Ki)([99,162]),VideoTrack:(0,i.Ki)([224]),AudioTrack:(0,i.Ki)([225]),Cluster:(0,i.Ki)([31,67,182,117]),Timestamp:(0,i.Ki)([231]),TimestampScale:(0,i.Ki)([42,215,177]),BlockGroup:(0,i.Ki)([160]),BlockDuration:(0,i.Ki)([155]),Block:(0,i.Ki)([161]),SimpleBlock:(0,i.Ki)([163])},c=[128,64,32,16,8,4,2,1],f=function(t){for(var e=1,r=0;r=r.length)return r.length;var a=l(r,n,!1);if((0,i.G3)(e.bytes,a.bytes))return n;var o=l(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},d=function t(e,r){r=Array.isArray(n=r)?n.map(function(t){return p(t)}):[p(n)],e=(0,i.Ki)(e);var n,a=[];if(!r.length)return a;for(var o=0;oe.length?e.length:c+u.value,d=e.subarray(c,f);(0,i.G3)(r[0],s.bytes)&&(1===r.length?a.push(d):a=a.concat(t(d,r.slice(1))));var m=s.length+u.length+d.length;o+=m}return a},m=r(68925),g=(0,i.Ki)([0,0,0,1]),y=(0,i.Ki)([0,0,1]),v=(0,i.Ki)([0,0,3]),b=function(t){for(var e=[],r=1;r>1&63),-1!==r.indexOf(c)&&(a=o+u),o+=u+("h264"===e?1:2)}return t.subarray(0,0)},T={webm:(0,i.Ki)([119,101,98,109]),matroska:(0,i.Ki)([109,97,116,114,111,115,107,97]),flac:(0,i.Ki)([102,76,97,67]),ogg:(0,i.Ki)([79,103,103,83]),ac3:(0,i.Ki)([11,119]),riff:(0,i.Ki)([82,73,70,70]),avi:(0,i.Ki)([65,86,73]),wav:(0,i.Ki)([87,65,86,69]),"3gp":(0,i.Ki)([102,116,121,112,51,103]),mp4:(0,i.Ki)([102,116,121,112]),fmp4:(0,i.Ki)([115,116,121,112]),mov:(0,i.Ki)([102,116,121,112,113,116]),moov:(0,i.Ki)([109,111,111,118]),moof:(0,i.Ki)([109,111,111,102])},w={aac:function(t){var e=(0,m.c)(t);return(0,i.G3)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,m.c)(t);return(0,i.G3)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,T.webm)},mkv:function(t){var e=d(t,[u.EBML,u.DocType])[0];return(0,i.G3)(e,T.matroska)},mp4:function(t){return!(w["3gp"](t)||w.mov(t))&&(!!((0,i.G3)(t,T.mp4,{offset:4})||(0,i.G3)(t,T.fmp4,{offset:4})||(0,i.G3)(t,T.moof,{offset:4})||(0,i.G3)(t,T.moov,{offset:4}))||void 0)},mov:function(t){return(0,i.G3)(t,T.mov,{offset:4})},"3gp":function(t){return(0,i.G3)(t,T["3gp"],{offset:4})},ac3:function(t){var e=(0,m.c)(t);return(0,i.G3)(t,T.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+1880}},36722:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(58908),i=r.n(n),a=r(48764).lW;function o(t){for(var e=i().atob?i().atob(t):a.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n>4?i+20:i+10},o=function t(e,r){return(void 0===r&&(r=0),(e=(0,n.Ki)(e)).length-r<10||!(0,n.G3)(e,i,{offset:r}))?r:(r+=a(e,r),t(e,r))}},8485:function(t,e,r){"use strict";r.d(e,{t:function(){return a}});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},80779:function(t,e,r){"use strict";var n=r(49945),i=r.n(n),a=r(58908),o=r.n(a),s="http://example.com",u=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=o().location&&o().location.href||"");var r="function"==typeof o().URL,n=/^\/\//.test(t),a=!o().location&&!/\/\//i.test(t);if(r?t=new(o()).URL(t,o().location||s):/\/\//i.test(t)||(t=i().buildAbsoluteURL(o().location&&o().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(s.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)};e.Z=u},13490:function(t,e,r){"use strict";var n=r(58908),i=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r){t(r);return}if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e){if(n.TextDecoder){var s,u=(void 0===(s=i.headers&&i.headers["content-type"])&&(s=""),s.toLowerCase().split(";").reduce(function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t},"utf-8"));try{o=new TextDecoder(u).decode(a)}catch(c){}}else o=String.fromCharCode.apply(null,new Uint8Array(a))}t({cause:o});return}t(null,a)}};t.exports=i},9603:function(t,e,r){"use strict";var n=r(58908),i=r(10434),a=r(27376);u.httpHandler=r(13490);/** + * @license + * slighly modified parse-headers 2.0.2 + * Copyright (c) 2014 David Björklund + * Available under the MIT license + * + */ var o=function(t){var e={};return t&&t.trim().split("\n").forEach(function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]}),e};function s(t,e,r){var n=t;return a(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function u(t,e,r){return c(e=s(t,e,r))}function c(t){if(void 0===t.callback)throw Error("callback argument missing");var e,r,n,i=!1,a=function(e,r,n){i||(i=!0,t.callback(e,r,n))};function s(t){return clearTimeout(n),t instanceof Error||(t=Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,a(t,y)}function c(){if(!r){clearTimeout(n);var e,i=y,s=null;return 0!==(e=t.useXDR&&void 0===f.status?200:1223===f.status?204:f.status)?(i={body:function(){var t=void 0;if(t=f.response?f.response:f.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(r){}return null}(f),g)try{t=JSON.parse(t)}catch(e){}return t}(),statusCode:e,method:p,headers:{},url:l,rawRequest:f},f.getAllResponseHeaders&&(i.headers=o(f.getAllResponseHeaders()))):s=Error("Internal XMLHttpRequest Error"),a(s,i,i.body)}}var f=t.xhr||null;f||(f=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var l=f.url=t.uri||t.url,p=f.method=t.method||"GET",h=t.body||t.data,d=f.headers=t.headers||{},m=!!t.sync,g=!1,y={body:void 0,headers:{},statusCode:0,method:p,url:l,rawRequest:f};if("json"in t&&!1!==t.json&&(g=!0,d.accept||d.Accept||(d.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),h=JSON.stringify(!0===t.json?h:t.json))),f.onreadystatechange=function(){4===f.readyState&&setTimeout(c,0)},f.onload=c,f.onerror=s,f.onprogress=function(){},f.onabort=function(){r=!0},f.ontimeout=s,f.open(p,l,!m,t.username,t.password),m||(f.withCredentials=!!t.withCredentials),!m&&t.timeout>0&&(n=setTimeout(function(){if(!r){r=!0,f.abort("timeout");var t=Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",s(t)}},t.timeout)),f.setRequestHeader)for(e in d)d.hasOwnProperty(e)&&f.setRequestHeader(e,d[e]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(f.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(f),f.send(h||null),f}t.exports=u,t.exports.default=u,u.XMLHttpRequest=n.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r=e+r||e?new java.lang.String(t,e,r)+"":t}function g(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}l.prototype.parseFromString=function(t,e){var r=this.options,n=new f,i=r.domBuilder||new p,o=r.errorHandler,s=r.locator,c=r.xmlns||{},l=/\/x?html?$/.test(e),h=l?a.HTML_ENTITIES:a.XML_ENTITIES;return s&&i.setDocumentLocator(s),n.errorHandler=function(t,e,r){if(!t){if(e instanceof p)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"] "+t+d(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,l&&(c[""]=u.HTML),c.xml=c.xml||u.XML,t&&"string"==typeof t?n.parse(t,c,h):n.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),o=n.length;g(this,a),this.currentElement=a,this.locator&&h(this.locator,a);for(var s=0;s=0){for(var i=e.length-1;n"==t&&">"||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function k(t,e){if(e(t))return!0;if(t=t.firstChild)do if(k(t,e))return!0;while(t=t.nextSibling)}function X(){}function G(t,e,r,i){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function F(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a}}}function H(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,F(t.ownerDocument,t),e}function V(t){return t&&t.nodeType===B.DOCUMENT_TYPE_NODE}function q(t){return t&&t.nodeType===B.ELEMENT_NODE}function z(t){return t&&t.nodeType===B.TEXT_NODE}function j(t,e){var r=t.childNodes||[];if(r.find(q)||V(e))return!1;var n=r.find(V);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function K(t,e,r){if(!(t&&(t.nodeType===B.DOCUMENT_NODE||t.nodeType===B.DOCUMENT_FRAGMENT_NODE||t.nodeType===B.ELEMENT_NODE)))throw new x(S,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new x(A,"child not in parent");if(!(e&&(q(e)||z(e)||V(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE))||V(e)&&t.nodeType!==B.DOCUMENT_NODE)throw new x(S,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType);var n=t.childNodes||[],i=e.childNodes||[];if(t.nodeType===B.DOCUMENT_NODE){if(e.nodeType===B.DOCUMENT_FRAGMENT_NODE){let a=i.filter(q);if(a.length>1||i.find(z))throw new x(S,"More than one element or text in fragment");if(1===a.length&&!j(t,r))throw new x(S,"Element in fragment can not be inserted before doctype")}if(q(e)&&(n.find(q)||!j(t,r)))throw new x(S,"Only one element can be added and only after doctype");if(V(e)){if(n.find(V))throw new x(S,"Only one doctype is allowed");let o=n.find(q);if(r&&n.indexOf(o)=0;N--){var S=a[N];if(""===S.prefix&&S.namespace===t.namespaceURI){o=S.namespace;break}}if(o!==t.namespaceURI)for(var N=a.length-1;N>=0;N--){var S=a[N];if(S.namespace===t.namespaceURI){S.prefix&&(T=S.prefix+":"+m);break}}}e.push("<",T);for(var A=0;A"),r&&/^script$/i.test(m))for(;c;)c.data?e.push(c.data):tf(c,e,r,i,a.slice()),c=c.nextSibling;else for(;c;)tf(c,e,r,i,a.slice()),c=c.nextSibling;e.push("")}else e.push("/>");return;case v:case E:for(var c=t.firstChild;c;)tf(c,e,r,i,a.slice()),c=c.nextSibling;return;case l:return tc(e,t.name,t.value);case p:return e.push(t.data.replace(/[<&]/g,_).replace(/]]>/g,"]]>"));case h:return e.push("");case y:return e.push("");case b:var R=t.publicId,D=t.systemId;if(e.push("");else if(D&&"."!=D)e.push(" SYSTEM ",D,">");else{var C=t.internalSubset;C&&e.push(" [",C,"]"),e.push(">")}return;case g:return e.push("");case d:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function tl(t,e,r){t[e]=r}w.INVALID_STATE_ERR=(N[11]="Invalid state",11),w.SYNTAX_ERR=(N[12]="Syntax error",12),w.INVALID_MODIFICATION_ERR=(N[13]="Invalid modification",13),w.NAMESPACE_ERR=(N[14]="Invalid namespace",14),w.INVALID_ACCESS_ERR=(N[15]="Invalid access",15),x.prototype=Error.prototype,s(w,x),O.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var r=[],n=0;n0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n}e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&t in r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},s(c,B),s(c,B.prototype),X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==E){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return K(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===f&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),H(this,t)},importNode:function(t,e){return function t(e,r,n){var i;switch(r.nodeType){case f:(i=r.cloneNode(!1)).ownerDocument=e;case E:break;case l:n=!0}if(i||(i=r.cloneNode(!1)),i.ownerDocument=e,i.parentNode=null,n)for(var a=r.firstChild;a;)i.appendChild(t(e,a,n)),a=a.nextSibling;return i}(this,t,e)},getElementById:function(t){var e=null;return k(this.documentElement,function(r){if(r.nodeType==f&&r.getAttribute("id")==t)return e=r,!0}),e},getElementsByClassName:function(t){var e=o(t);return new R(this,function(r){var n=[];return e.length>0&&k(r.documentElement,function(i){if(i!==r&&i.nodeType===f){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var u=o(a);s=e.every(function(t){return u&&-1!==u.indexOf(t)})}s&&n.push(i)}}}),n})},createElement:function(t){var e=new Y;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new O,(e.attributes=new C)._ownerElement=e,e},createDocumentFragment:function(){var t=new ti;return t.ownerDocument=this,t.childNodes=new O,t},createTextNode:function(t){var e=new Z;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new Q;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new J;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new ta;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new $;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new tn;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new Y,n=e.split(":"),i=r.attributes=new C;return r.childNodes=new O,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new $,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},u(X,B),Y.prototype={nodeType:f,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===E?this.insertBefore(t,null):function(t,e){var r=e.parentNode;if(r){var n=t.lastChild;r.removeChild(e);var n=t.lastChild}var n=t.lastChild;return e.parentNode=t,e.previousSibling=n,e.nextSibling=null,n?n.nextSibling=e:t.firstChild=e,t.lastChild=e,F(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new R(this,function(e){var r=[];return k(e,function(n){n!==e&&n.nodeType==f&&("*"===t||n.tagName==t)&&r.push(n)}),r})},getElementsByTagNameNS:function(t,e){return new R(this,function(r){var n=[];return k(r,function(i){i!==r&&i.nodeType===f&&("*"===t||i.namespaceURI===t)&&("*"===e||i.localName==e)&&n.push(i)}),n})}},X.prototype.getElementsByTagName=Y.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=Y.prototype.getElementsByTagNameNS,u(Y,B),$.prototype.nodeType=l,u($,B),W.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw Error(N[S])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},u(W,B),Z.prototype={nodeName:"#text",nodeType:p,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},u(Z,W),Q.prototype={nodeName:"#comment",nodeType:y},u(Q,W),J.prototype={nodeName:"#cdata-section",nodeType:h},u(J,W),tt.prototype.nodeType=b,u(tt,B),te.prototype.nodeType=T,u(te,B),tr.prototype.nodeType=m,u(tr,B),tn.prototype.nodeType=d,u(tn,B),ti.prototype.nodeName="#document-fragment",ti.prototype.nodeType=E,u(ti,B),ta.prototype.nodeType=g,u(ta,B),to.prototype.serializeToString=function(t,e,r){return ts.call(t,e,r)},B.prototype.toString=ts;try{Object.defineProperty&&(Object.defineProperty(R.prototype,"length",{get:function(){return D(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return function t(e){switch(e.nodeType){case f:case E:var r=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&r.push(t(e)),e=e.nextSibling;return r.join("");default:return e.nodeValue}}(this)},set:function(t){switch(this.nodeType){case f:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),tl=function(t,e,r){t["$$"+e]=r})}catch(tp){}e.DocumentType=tt,e.DOMException=x,e.DOMImplementation=P,e.Element=Y,e.Node=B,e.NodeList=O,e.XMLSerializer=to},31045:function(t,e,r){var n=r(72167).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),e.entityMap=e.HTML_ENTITIES},3969:function(t,e,r){var n=r(41146);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(86129).DOMParser},76925:function(t,e,r){var n=r(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function c(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function f(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],u=s.qName,c=s.value,f=u.indexOf(":");if(f>0)var p=s.prefix=u.slice(0,f),h=u.slice(f+1),d="xmlns"===p&&h;else h=u,p=null,d="xmlns"===u&&"";s.localName=h,!1!==d&&(null==a&&(a={},l(r,r={})),r[d]=a[d]=c,s.uri=n.XMLNS,e.startPrefixMapping(d,c))}for(var o=t.length;o--;){var p=(s=t[o]).prefix;p&&("xml"===p&&(s.uri=n.XML),"xmlns"!==p&&(s.uri=r[p||""]))}var f=i.indexOf(":");f>0?(p=t.prefix=i.slice(0,f),h=t.localName=i.slice(f+1)):(p=null,h=t.localName=i);var m=t.uri=r[p||""];if(e.startElement(m,h,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(m,h,i),a)for(p in a)Object.prototype.hasOwnProperty.call(a,p)&&e.endPrefixMapping(p)}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function p(){this.attributeNames={}}s.prototype=Error(),s.prototype.name=s.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),l(e,e={}),function(t,e,r,i,a){function o(t){var e,n=t.slice(1,-1);return n in r?r[n]:"#"!==n.charAt(0)?(a.error("entity not found:"+t),t):(e=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}function u(e){if(e>b){var r=t.substring(b,e).replace(/&#?\w+;/g,o);g&&l(b),i.characters(r,0,e-b),b=e}}function l(e,r){for(;e>=d&&(r=m.exec(t));)d=(h=r.index)+r[0].length,g.lineNumber++;g.columnNumber=e-h+1}for(var h=0,d=0,m=/.*(?:\r\n?|\n)|.*$/g,g=i.locator,y=[{currentNSMap:e}],v={},b=0;;){try{var E=t.indexOf("<",b);if(E<0){if(!t.substr(b).match(/^\s*$/)){var T=i.doc,w=T.createTextNode(t.substr(b));T.appendChild(w),i.currentElement=w}return}switch(E>b&&u(E),t.charAt(E+1)){case"/":var N=t.indexOf(">",E+3),S=t.substring(E+2,N).replace(/[ \t\n\r]+$/g,""),A=y.pop();N<0?(S=t.substring(E+2).replace(/[\s<].*/,""),a.error("end tag name: "+S+" is not complete:"+A.tagName),N=E+1+S.length):S.match(/\s",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2}return -1}(t,E,i);break;case"!":g&&l(E),N=function(t,e,r,n){if("-"===t.charAt(e+2)){if("-"===t.charAt(e+3)){var i=t.indexOf("-->",e+4);if(i>e)return r.comment(t,e+4,i-e-4),i+3;n.error("Unclosed comment")}}else{if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],u=!1,c=!1;o>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],c=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(c=a[3][0]));var f=a[o-1];return r.startDTD(s,u,c),r.endDTD(),f.index+f[0].length}}return -1}(t,E,i,a);break;default:g&&l(E);var R=new p,D=y[y.length-1].currentNSMap,N=function(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e,n)}for(var u,c,f=++e,l=0;;){var p=t.charAt(f);switch(p){case"=":if(1===l)u=t.slice(e,f),l=3;else if(2===l)l=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===l||1===l){if(1===l&&(o.warning('attribute value must after "="'),u=t.slice(e,f)),e=f+1,(f=t.indexOf(p,e))>0)s(u,c=t.slice(e,f).replace(/&#?\w+;/g,a),e-1),l=5;else throw Error("attribute value no end '"+p+"' match")}else if(4==l)s(u,c=t.slice(e,f).replace(/&#?\w+;/g,a),e),o.warning('attribute "'+u+'" missed start quot('+p+")!!"),e=f+1,l=5;else throw Error('attribute value must after "="');break;case"/":switch(l){case 0:r.setTagName(t.slice(e,f));case 5:case 6:case 7:l=7,r.closed=!0;case 4:case 1:case 2:break;default:throw Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==l&&r.setTagName(t.slice(e,f)),f;case">":switch(l){case 0:r.setTagName(t.slice(e,f));case 5:case 6:case 7:break;case 4:case 1:"/"===(c=t.slice(e,f)).slice(-1)&&(r.closed=!0,c=c.slice(0,-1));case 2:2===l&&(c=u),4==l?(o.warning('attribute "'+c+'" missed quot(")!'),s(u,c.replace(/&#?\w+;/g,a),e)):(n.isHTML(i[""])&&c.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!'),s(c,c,e));break;case 3:throw Error("attribute value missed!!")}return f;case"\x80":p=" ";default:if(p<=" ")switch(l){case 0:r.setTagName(t.slice(e,f)),l=6;break;case 1:u=t.slice(e,f),l=2;break;case 4:var c=t.slice(e,f).replace(/&#?\w+;/g,a);o.warning('attribute "'+c+'" missed quot(")!!'),s(u,c,e);case 5:l=6}else switch(l){case 2:r.tagName,n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,e),e=f,l=1;break;case 5:o.warning('attribute space is required"'+u+'"!!');case 6:l=1,e=f;break;case 3:l=4,e=f;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}f++}}(t,E,R,D,o,a),C=R.length;if(!R.closed&&function(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf(""))",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}(t,N,R.tagName,o,i):N++}}catch(P){if(P instanceof s)throw P;a.error("element parse error: "+P),N=-1}N>b?b=N:u(Math.max(E,b)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},p.prototype={setTagName:function(t){if(!o.test(t))throw Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=s},79742:function(t,e){"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,a=u(t),o=a[0],s=a[1],c=new i((o+s)*3/4-s),f=0,l=s>0?o-4:o;for(r=0;r>16&255,c[f++]=e>>8&255,c[f++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[f++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,a=[],o=0,s=n-i;o>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(t,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&a.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:function(t,e,r){"use strict";/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ var n=r(79742),i=r(80645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return f(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!s.isEncoding(e))throw TypeError("Unknown encoding: "+e);var r=0|d(t,e),n=o(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(R(t,Uint8Array)){var e=new Uint8Array(t);return p(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(R(t,ArrayBuffer)||t&&R(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(t,SharedArrayBuffer)||t&&R(t.buffer,SharedArrayBuffer)))return p(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);var i=function(t){if(s.isBuffer(t)){var e,r=0|h(t.length),n=o(r);return 0===n.length||t.copy(n,0,0,r),n}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?o(0):l(t):"Buffer"===t.type&&Array.isArray(t.data)?l(t.data):void 0}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return c(t),o(t<0?0:0|h(t))}function l(t){for(var e=t.length<0?0:0|h(t.length),r=o(e),n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||R(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return x(t).length;default:if(i)return n?-1:I(t).length;e=(""+e).toLowerCase(),i=!0}}function m(t,e,r){var i,a,o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(a=r=+r)!=a&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return -1;r=t.length-1}else if(r<0){if(!i)return -1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;o=2,s/=2,u/=2,r/=2}function c(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;as&&(r=s-u),a=r;a>=0;a--){for(var l=!0,p=0;p239?4:c>223?3:c>191?2:1;if(i+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:(192&(a=t[i+1]))==128&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],(192&a)==128&&(192&o)==128&&(u=(15&c)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(u=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;nr)throw RangeError("Trying to access beyond buffer length")}function T(t,e,r,n,i,a){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw RangeError("Index out of range")}function w(t,e,r,n,i,a){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function N(t,e,r,n,a){return e=+e,r>>>=0,a||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function S(t,e,r,n,a){return e=+e,r>>>=0,a||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}e.lW=s,e.h2=50,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(r){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(c(t),t<=0)?o(t):void 0!==e?"string"==typeof r?o(t).fill(e,r):o(t).fill(e):o(t)},s.allocUnsafe=function(t){return f(t)},s.allocUnsafeSlow=function(t){return f(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(R(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),R(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);in.length?s.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else if(s.isBuffer(a))a.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.length}return n},s.byteLength=d,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;er&&(t+=" ... "),""},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(R(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var a=i-n,o=r-e,u=Math.min(a,o),c=this.slice(n,i),f=t.slice(e,r),l=0;l>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,u,c,f,l,p=this.length-e;if((void 0===r||r>p)&&(r=p),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o>8,i.push(r%256),i.push(n);return i}(t,this.length-f),this,f,l);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||E(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||E(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||E(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},s.prototype.readInt8=function(t,e){return(t>>>=0,e||E(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||E(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||E(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||E(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||E(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;T(this,t,e,r,i,0)}var a=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;T(this,t,e,r,i,0)}var a=r-1,o=1;for(this[e+a]=255&t;--a>=0&&(o*=256);)this[e+a]=t/o&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);T(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);T(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return S(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return S(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&r<57344){if(!i){if(r>56319||o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function x(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function O(t,e,r,n){for(var i=0;i=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function R(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var D=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},89144:function(t,e,r){var n,i=void 0!==r.g?r.g:"undefined"!=typeof window?window:{},a=r(25893);"undefined"!=typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},58908:function(t,e,r){var n;n="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},t.exports=n},80645:function(t,e){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<>1,f=-7,l=r?i-1:0,p=r?-1:1,h=t[e+l];for(l+=p,a=h&(1<<-f)-1,h>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=p,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=p,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:(h?-1:1)*(1/0);o+=Math.pow(2,n),a-=c}return(h?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<>1,p=23===i?5960464477539062e-23:0,h=n?0:a-1,d=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+l>=1?e+=p/u:e+=p*Math.pow(2,1-l),e*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<0;t[r+h]=255&o,h+=d,o/=256,c-=8);t[r+h-d]|=128*m}},27376:function(t){t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"==typeof t&&"[object RegExp]"!==r||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},27537:function(t,e){function r(t){if(t&&"object"==typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"==typeof t)return o[t];var r=String(t),a=n[r.toLowerCase()];if(a)return a;var a=i[r.toLowerCase()];return a||(1===r.length?r.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"==typeof t){var r=t.which||t.keyCode||t.charCode;if(null==r)return!1;if("string"==typeof e){var a=n[e.toLowerCase()];if(a)return a===r;var a=i[e.toLowerCase()];if(a)return a===r}else if("number"==typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*! + * Programatically add the following + */ for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var o=e.names=e.title={};for(a in n)o[n[a]]=a;for(var s in i)n[s]=i[s]},9323:function(t,e,r){"use strict";r.d(e,{_b:function(){return m}});var n=r(94578),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e){if(2==arguments.length)for(var r=e.length,n=0;n-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),c=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},f=function(t){for(var e,r=t.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},l=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.Z)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;if(0!==(t=t.trim()).length){if("#"!==t[0]){this.trigger("data",{type:"uri",uri:t});return}this.tagMappers.reduce(function(e,r){var n=r(t);return n===t?e:e.concat([n])},[t]).forEach(function(t){for(var i=0;i0&&(f.duration=t.duration),0===t.duration&&(f.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key:function(){if(!t.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if("NONE"===t.attributes.METHOD){n=null;return}if(!t.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes};return}if("com.microsoft.playready"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI};return}if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT){if(-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23)){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2))){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,s.Z)(t.attributes.URI.split(",")[1])};return}t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(n.iv=t.attributes.IV)},"media-sequence":function(){if(!isFinite(t.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number});return}this.manifest.mediaSequence=t.number},"discontinuity-sequence":function(){if(!isFinite(t.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number});return}this.manifest.discontinuitySequence=t.number,y=t.number},"playlist-type":function(){if(!/VOD|EVENT/.test(t.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist});return}this.manifest.playlistType=t.playlistType},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){if(this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||g,!t.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}f.attributes||(f.attributes={}),(0,a.Z)(f.attributes,t.attributes)},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(o={default:/yes/i.test(t.attributes.DEFAULT)}).default?o.autoselect=!0:o.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(o.language=t.attributes.LANGUAGE),t.attributes.URI&&(o.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(o.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(o.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(o.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=o},discontinuity:function(){y+=1,f.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),f.dateTimeString=t.dateTimeString,f.dateTimeObject=t.dateTimeObject},targetduration:function(){if(!isFinite(t.duration)||t.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration});return}this.manifest.targetDuration=t.duration,d.call(this,this.manifest)},start:function(){if(!t.attributes||isNaN(t.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}},"cue-out":function(){f.cueOut=t.data},"cue-out-cont":function(){f.cueOutCont=t.data},"cue-in":function(){f.cueIn=t.data},skip:function(){this.manifest.skip=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;p=!0;var r=this.manifest.segments.length,n=h(t.attributes);f.parts=f.parts||[],f.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=b),b=n.byterange.offset+n.byterange.length);var i=f.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})})},"server-control":function(){var e=this.manifest.serverControl=h(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),d.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=h(t.attributes),n=r.type&&"PART"===r.type;f.preloadHints=f.preloadHints||[],f.preloadHints.push(r),r.byterange&&!r.byterange.hasOwnProperty("offset")&&(r.byterange.offset=n?b:0,n&&(b=r.byterange.offset+r.byterange.length));var i=f.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;ae.timeline?1:-1})},x=function(t,e){for(var r=0;rr.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--;return}r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),R({playlist:t,mediaSequence:r.segments[a].number})}})},C=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(O(e)),i=r.playlists.concat(O(r));return r.timelineStarts=I([e.timelineStarts,r.timelineStarts]),D({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},U=function(t){return t&&t.uri+"-"+v(t.byterange)},M=function(t){return l(t.reduce(function(t,e){var r,n=e.attributes.id+(e.attributes.lang||"");return t[n]?(e.segments&&(e.segments[0]&&(e.segments[0].discontinuity=!0),(r=t[n].segments).push.apply(r,e.segments)),e.attributes.contentProtection&&(t[n].attributes.contentProtection=e.attributes.contentProtection)):(t[n]=e,t[n].attributes.timelineStarts=[]),t[n].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t},{})).map(function(t){return t.discontinuityStarts=(t.segments||[]).reduce(function(t,e,r){return e.discontinuity&&t.push(r),t},[]),t})},L=function(t,e){var r=U(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&N(t,n,t.sidx.resolvedUri),t},P=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=L(t[r],e);return t},B=function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,o=t.mediaSequence,s=t.discontinuitySequence,u=t.discontinuityStarts,c={attributes:((r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs})["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:o,segments:i};return n.contentProtection&&(c.contentProtection=n.contentProtection),a&&(c.sidx=a),e&&(c.attributes.AUDIO="audio",c.attributes.SUBTITLES="subs"),c},_=function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,o=t.discontinuitySequence;void 0===n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var s=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(s.CODECS=r.codecs),{attributes:s,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:o,mediaSequence:i,segments:n}},k=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!1);var n,i=t.reduce(function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"",s=i.attributes.label||"main";o&&!i.attributes.label&&(s=""+i.attributes.lang+(a?" ("+a+")":"")),t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});var u=L(B(i,r),e);return t[s].playlists.push(u),void 0===n&&"main"===a&&((n=i).default=!0),t},{});return n||(i[Object.keys(i)[0]].default=!0),i},X=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,o={attributes:((e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.contentProtection&&(o.contentProtection=r.contentProtection),i&&(o.sidx=i),o},G=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},F=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},H=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},V=function(t,e){t.forEach(function(t){t.mediaSequence=0,t.discontinuitySequence=m(e,function(e){return e.timeline===t.timeline}),t.segments&&t.segments.forEach(function(t,e){t.number=e})})},q=function(t){return t?Object.keys(t).reduce(function(e,r){var n=t[r];return e.concat(n.playlists)},[]):[]},z=function(t){var e,r,n=t.dashPlaylists,i=t.locations,a=t.sidxMapping,o=void 0===a?{}:a,s=t.previousManifest;if(!n.length)return{};var u=n[0].attributes,c=u.sourceDuration,f=u.type,l=u.suggestedPresentationDelay,p=u.minimumUpdatePeriod,h=M(n.filter(G)).map(X),d=M(n.filter(F)),m=M(n.filter(H)),g=n.map(function(t){return t.attributes.captionServices}).filter(Boolean),y={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:((r={AUDIO:{},VIDEO:{}})["CLOSED-CAPTIONS"]={},r.SUBTITLES={},r),uri:"",duration:c,playlists:P(h,o)};p>=0&&(y.minimumUpdatePeriod=1e3*p),i&&(y.locations=i),"dynamic"===f&&(y.suggestedPresentationDelay=l);var v=0===y.playlists.length,b=d.length?k(d,o,v):null,E=m.length?(void 0===(e=o)&&(e={}),m.reduce(function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(L(_(r),e)),t},{})):null,T=h.concat(q(b),q(E)),w=T.map(function(t){return t.timelineStarts});return y.timelineStarts=I(w),V(T,y.timelineStarts),b&&(y.mediaGroups.AUDIO.audio=b),E&&(y.mediaGroups.SUBTITLES.subs=E),g.length&&(y.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce(function(t,e){return e&&e.forEach(function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])}),t},{})),s?C({oldManifest:s,newManifest:y}):y},j=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,o=t.timescale,s=t.periodStart,u=t.minimumUpdatePeriod;return Math.ceil((((n+i)/1e3+(void 0===u?0:u)-(a+(void 0===s?0:s)))*(void 0===o?1:o)-e)/r)},K=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,o=void 0===a?"":a,s=t.sourceDuration,u=t.timescale,c=void 0===u?1:u,f=t.startNumber,l=void 0===f?1:f,p=t.periodStart,h=[],d=-1,m=0;md&&(d=b);var E=void 0;if(v<0){var T=m+1;E=T===e.length?"dynamic"===r&&i>0&&o.indexOf("$Number$")>0?j(t,d,y):(s*c-d)/y:(e[T].t-d)/y}else E=v+1;for(var w=l+h.length+E,N=l+h.length;N=i)?a:""+Array(i-a.length+1).join("0")+a})},W=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,o=y({baseUrl:t.baseUrl,source:$(a.sourceURL,r),range:a.range});return(t.duration||e?t.duration?T(t):K(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]).map(function(e){r.Number=e.number,r.Time=e.time;var i=$(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,u=t.periodStart+(e.time-s)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.Z)(t.baseUrl||"",i),map:o,number:e.number,presentationTime:u}})},Z=function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=y({baseUrl:r,source:i.sourceURL,range:i.range}),o=y({baseUrl:r,source:e.media,range:e.mediaRange});return o.map=a,o},Q=function(t,e){var r,n=t.duration,i=t.segmentUrls,a=t.periodStart;if(!n&&!e||n&&e)throw Error(g.SEGMENT_TIME_UNSPECIFIED);var o=(void 0===i?[]:i).map(function(e){return Z(t,e)});return n&&(r=T(t)),e&&(r=K(t,e)),r.map(function(e,r){if(o[r]){var n=o[r],i=t.timescale||1,s=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-s)/i,n}}).filter(function(t){return t})},J=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=W,e=f(n,i.template)):i.base?(r=w,e=f(n,i.base)):i.list&&(r=Q,e=f(n,i.list));var a={attributes:n};if(!r)return a;var o=r(e,i.segmentTimeline);if(e.duration){var s=e,u=s.duration,c=s.timescale;e.duration=u/(void 0===c?1:c)}else o.length?e.duration=o.reduce(function(t,e){return Math.max(t,Math.ceil(e.duration))},0):e.duration=0;return a.attributes=e,a.segments=o,i.base&&e.indexRange&&(a.sidx=o[0],a.segments=[]),a},tt=function(t,e){return d(t.childNodes).filter(function(t){return t.tagName===e})},te=function(t){return t.textContent.trim()},tr=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],u=r[5];return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(o||0)+60*parseFloat(s||0)+parseFloat(u||0)},tn={mediaPresentationDuration:function(t){return tr(t)},availabilityStartTime:function(t){var e;return e=t,/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),Date.parse(e)/1e3},minimumUpdatePeriod:function(t){return tr(t)},suggestedPresentationDelay:function(t){return tr(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return tr(t)},start:function(t){return tr(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?tr(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},ti=function(t){return t&&t.attributes?d(t.attributes).reduce(function(t,e){var r=tn[e.name]||tn.DEFAULT;return t[e.name]=r(e.value),t},{}):{}},ta={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},to=function(t,e){return e.length?h(t.map(function(t){return e.map(function(e){return(0,n.Z)(t,te(e))})})):t},ts=function(t){var e=tt(t,"SegmentTemplate")[0],r=tt(t,"SegmentList")[0],n=r&&tt(r,"SegmentURL").map(function(t){return f({tag:"SegmentURL"},ti(t))}),i=tt(t,"SegmentBase")[0],a=r||e,o=a&&tt(a,"SegmentTimeline")[0],s=r||i||e,u=s&&tt(s,"Initialization")[0],c=e&&ti(e);c&&u?c.initialization=u&&ti(u):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});var l={template:c,segmentTimeline:o&&tt(o,"S").map(function(t){return ti(t)}),list:r&&f(ti(r),{segmentUrls:n,initialization:ti(u)}),base:i&&f(ti(i),{initialization:ti(u)})};return Object.keys(l).forEach(function(t){l[t]||delete l[t]}),l},tu=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"==typeof e.start?e.start:r&&"number"==typeof r.start&&"number"==typeof r.duration?r.start+r.duration:r||"static"!==n?null:0},tc=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=r.NOW,a=void 0===i?Date.now():i,o=r.clientOffset,u=tt(t,"Period");if(!u.length)throw Error(g.INVALID_NUMBER_OF_PERIOD);var c=tt(t,"Location"),l=ti(t),p=to([void 0===n?"":n],tt(t,"BaseURL"));l.type=l.type||"static",l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=a,l.clientOffset=void 0===o?0:o,c.length&&(l.locations=c.map(te));var d=[];return u.forEach(function(t,e){var r=ti(t),n=d[e-1];r.start=tu({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:l.type}),d.push({node:t,attributes:r})}),{locations:l.locations,representationInfo:h(d.map(function(t,e){var r=to(p,tt(t.node,"BaseURL")),n=f(l,{periodStart:t.attributes.start});"number"==typeof t.attributes.duration&&(n.periodDuration=t.attributes.duration);var i=tt(t.node,"AdaptationSet"),a=ts(t.node);return h(i.map(function(t){var e,i,o=ti(t),u=to(r,tt(t,"BaseURL")),c=f(n,o,{role:ti(tt(t,"Role")[0])}),l="urn:scte:dash:cc:cea-608:2015"===(e=ti(tt(t,"Accessibility")[0])).schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(function(t){if(r=t,/^CC\d=/.test(t)){var e,r,n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}}):"urn:scte:dash:cc:cea-708:2015"===e.schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1];e.channel=n,e.language=t,(void 0===i?"":i).split(",").forEach(function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0;l&&(c=f(c,{captionServices:l}));var p=tt(t,"Label")[0];p&&p.childNodes.length&&(c=f(c,{label:p.childNodes[0].nodeValue.trim()}));var d=tt(t,"ContentProtection").reduce(function(t,e){var r=ti(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=ta[r.schemeIdUri];if(n){t[n]={attributes:r};var i=tt(e,"cenc:pssh")[0];if(i){var a=te(i);t[n].pssh=a&&(0,s.Z)(a)}}return t},{});Object.keys(d).length&&(c=f(c,{contentProtection:d}));var m=ts(t),g=tt(t,"Representation"),y=f(a,m);return h(g.map((i=c,function(t){var e=to(u,tt(t,"BaseURL")),r=f(i,ti(t)),n=ts(t);return e.map(function(t){return{segmentInfo:f(y,n),attributes:f(r,{baseUrl:t})}})})))}))}))}},tf=function(t){if(""===t)throw Error(g.DASH_EMPTY_MANIFEST);var e,r,n=new u.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(i){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw Error(g.DASH_INVALID_XML);return r},tl=function(t){var e=tt(t,"UTCTiming")[0];if(!e)return null;var r=ti(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw Error(g.UNSUPPORTED_UTC_TIMING_SCHEME)}return r},tp=function(t,e){void 0===e&&(e={});var r=tc(tf(t),e);return z({dashPlaylists:r.representationInfo.map(J),locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},th=function(t){return tl(tf(t))}},84221:function(t,e,r){var n=r(46894).getUint64,i=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r};t.exports=i},51489:function(t){var e,r,n,i,a,o,s;e=function(t){return 9e4*t},r=function(t,e){return t*e},n=function(t){return t/9e4},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},46894:function(t){var e=function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function s(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"==typeof i[a]){var o=i[a].split(r);2===o.length&&e(o[0].trim(),o[1].trim())}}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n=0&&e<=100)&&(this.set(t,e),!0)}};var c=n.createElement&&n.createElement("textarea"),f={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},l={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function d(t,e){for(var r,n=t.document.createElement("div"),i=n,a=[];null!==(r=function(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}());){if("<"===r[0]){if("/"===r[1]){a.length&&a[a.length-1]===r.substr(2).replace(">","")&&(a.pop(),i=i.parentNode);continue}var s,u,d,m,g=o(r.substr(1,r.length-2));if(g){m=t.document.createProcessingInstruction("timestamp",g),i.appendChild(m);continue}var y=r.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y||!(m=function(e,r){var n=f[e];if(!n)return null;var i=t.document.createElement(n),a=p[e];return a&&r&&(i[a]=r.trim()),i}(y[1],y[3]))||(u=i,h[(d=m).localName]&&h[d.localName]!==u.localName))continue;if(y[2]){var v=y[2].split(".");v.forEach(function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(l.hasOwnProperty(r)){var n=e?"background-color":"color",i=l[r];m.style[n]=i}}),m.className=v.join(" ")}a.push(y[1]),i.appendChild(m),i=m;continue}i.appendChild(t.document.createTextNode((s=r,c.innerHTML=s,s=c.textContent,c.textContent="",s)))}return n}var m=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function g(){}function y(t,e,r){g.call(this),this.cue=e,this.cueDiv=d(t,e.text);var n={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:function(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}for(n(e,t);r=function t(e){if(!e||!e.length)return null;var r=e.pop(),i=r.textContent||r.innerText;if(i){var a=i.match(/^.*(\n|\r)/);return a?(e.length=0,a[0]):i}return"ruby"===r.tagName?t(e):r.childNodes?(n(e,r),t(e)):void 0}(e);)for(var i=0;i=r[0]&&t<=r[1])return!0}return!1}(r.charCodeAt(i)))return"rtl";return"ltr"}(this.cueDiv),writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===e.align?"center":e.align,font:r.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var i=0;switch(e.positionAlign){case"start":i=e.position;break;case"center":i=e.position-e.size/2;break;case"end":i=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function v(t){var e,r,n,i;if(t.div){r=t.div.offsetHeight,n=t.div.offsetWidth,i=t.div.offsetTop;var a=(a=t.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();t=t.div.getBoundingClientRect(),e=a?Math.max(a[0]&&a[0].height||0,t.height/a.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||r,this.bottom=t.bottom||i+(t.height||r),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight}function b(){}g.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},g.prototype.formatStyle=function(t,e){return 0===t?0:t+e},y.prototype=i(g.prototype),y.prototype.constructor=y,v.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},v.prototype.overlaps=function(t){return this.leftt.left&&this.topt.top},v.prototype.overlapsAny=function(t){for(var e=0;e=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},v.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.leftt.right;case"+y":return this.topt.bottom}},v.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},v.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},v.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},b.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},b.convertCueToDOMTree=function(t,e){return t&&e?d(t,e):null},b.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),!function(t){for(var e=0;e=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return -1;for(var e=t.track,r=e.textTrackList,n=0,i=0;il&&(f=f<0?-1:1,f*=Math.ceil(l/c)*c),o<0&&(f+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(p,f)}else{var h=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=h/2;break;case"end":o-=h}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new v(e)}var d=function(t,e){for(var i,a=new v(t),o=1,s=0;su&&(i=new v(t),o=u),t=new v(a)}return i||a}(i,s);e.move(d.toCSSCompatValues(r))}(0,r,o,a),i.displayState=r.div,a.push(v.getSimpleBoxPosition(r))}()},b.Parser=function(t,e,r){r||(r=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=r||new TextDecoder("utf8"),this.regionList=[]},b.Parser.prototype={reportOrThrowError:function(t){if(t instanceof a)this.onparsingerror&&this.onparsingerror(t);else throw t},parse:function(t){var e=this;function r(){for(var t=e.buffer,r=0;r")){e.cue.id=i;continue}case"CUE":try{!function(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=i(),c(),"-->"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+n);t=t.substr(3),c(),e.endTime=i(),c(),function(t,e){var n=new s;u(t,function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}},/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(a){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(o){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}(i,e.cue,e.regionList)}catch(p){e.reportOrThrowError(p),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var h=-1!==i.indexOf("-->");if(!i||h&&(f=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(e.state="ID");continue}}catch(d){e.reportOrThrowError(d),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new a(a.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=b},22230:function(t){var e={"":1,lr:1,rl:1},r={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function n(t){return"string"==typeof t&&!!r[t.toLowerCase()]&&t.toLowerCase()}function i(t,r,i){this.hasBeenReset=!1;var a="",o=!1,s=t,u=r,c=i,f=null,l="",p=!0,h="auto",d="start",m="auto",g="auto",y=100,v="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(t){a=""+t}},pauseOnExit:{enumerable:!0,get:function(){return o},set:function(t){o=!!t}},startTime:{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t)throw TypeError("Start time must be set to a number.");s=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t)throw TypeError("End time must be set to a number.");u=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return c},set:function(t){c=""+t,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return f},set:function(t){f=t,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return l},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();if(!1===r)throw SyntaxError("Vertical: an invalid or illegal direction string was specified.");l=r,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return p},set:function(t){p=!!t,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return h},set:function(t){if("number"!=typeof t&&"auto"!==t)throw SyntaxError("Line: an invalid number or illegal string was specified.");h=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return d},set:function(t){var e=n(t);e?(d=e,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(t){if(t<0||t>100)throw Error("Position must be between 0 and 100.");m=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(t){var e=n(t);e?(g=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return y},set:function(t){if(t<0||t>100)throw Error("Size must be between 0 and 100.");y=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return v},set:function(t){var e=n(t);if(!e)throw SyntaxError("align: an invalid or illegal alignment string was specified.");v=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},13710:function(t){var e={"":!0,up:!0};function r(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,o=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!=typeof t)throw TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},5647:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(89611),i=r(78814);function a(t,e,r){return(a=(0,i.Z)()?Reflect.construct.bind():function(t,e,r){var i=[null];i.push.apply(i,e);var a=new(Function.bind.apply(t,i));return r&&(0,n.Z)(a,r.prototype),a}).apply(null,arguments)}},94578:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(89611);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.Z)(t,e)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7910-aacaa92de060d5f1.js b/static/web/_next/static/chunks/7910-aacaa92de060d5f1.js new file mode 100644 index 000000000..512cc766d --- /dev/null +++ b/static/web/_next/static/chunks/7910-aacaa92de060d5f1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7910],{97910:function(e,t,r){r.d(t,{Z:function(){return F}});var o=r(4942),s=r(87462),n=r(89739),a=r(63606),c=r(4340),i=r(97937),l=r(94184),u=r.n(l),p=r(98423),d=r(67294),f=r(53124),v=r(93355),k=r(92138),y=r(45987),m={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,d.useRef)([]),t=(0,d.useRef)(null);return(0,d.useEffect)(function(){var r=Date.now(),o=!1;e.current.forEach(function(e){if(e){o=!0;var s=e.style;s.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(s.transitionDuration="0s, 0s")}}),o&&(t.current=Date.now())}),e.current},g=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],C=function(e){var t=e.className,r=e.percent,o=e.prefixCls,n=e.strokeColor,a=e.strokeLinecap,c=e.strokeWidth,i=e.style,l=e.trailColor,p=e.trailWidth,f=e.transition,v=(0,y.Z)(e,g);delete v.gapPosition;var k=Array.isArray(r)?r:[r],m=Array.isArray(n)?n:[n],C=h(),b=c/2,E="M ".concat("round"===a?b:0,",").concat(b,"\n L ").concat("round"===a?100-c/2:100,",").concat(b),x=0;return d.createElement("svg",(0,s.Z)({className:u()("".concat(o,"-line"),t),viewBox:"0 0 100 ".concat(c),preserveAspectRatio:"none",style:i},v),d.createElement("path",{className:"".concat(o,"-line-trail"),d:E,strokeLinecap:a,stroke:l,strokeWidth:p||c,fillOpacity:"0"}),k.map(function(e,t){var r=1;switch(a){case"round":r=1-c/100;break;case"square":r=1-c/2/100;break;default:r=1}var s={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(x,"px"),transition:f||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},n=m[t]||m[m.length-1];return x+=e,d.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:E,strokeLinecap:a,stroke:n,strokeWidth:c,fillOpacity:"0",ref:function(e){C[t]=e},style:s})}))};C.defaultProps=m,C.displayName="Line";var b=r(71002),E=r(97685),x=r(98924),O=0,N=(0,x.Z)(),Z=function(e){var t=d.useState(),r=(0,E.Z)(t,2),o=r[0],s=r[1];return d.useEffect(function(){var e;s("rc_progress_".concat((N?(e=O,O+=1):e="TEST_OR_SSR",e)))},[]),e||o},P=["id","prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function w(e){return+e.replace("%","")}function W(e){var t=null!=e?e:[];return Array.isArray(t)?t:[t]}var j=function(e,t,r,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,n=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,i=2*Math.PI*e,l=i*((360-s)/360),u=(100-r)/100*l;return"round"===a&&100!==r&&(u+=c/2)>=l&&(u=l-.01),{stroke:"string"==typeof o?o:void 0,strokeDasharray:"".concat(l,"px ").concat(i),strokeDashoffset:u,transform:"rotate(".concat((s>0?90+s/2:-90)+t/100*360*((360-s)/360)+(0===s?0:({bottom:0,top:180,left:90,right:-90})[n]),"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},D=function(e){var t,r=e.id,o=e.prefixCls,n=e.strokeWidth,a=e.trailWidth,c=e.gapDegree,i=e.gapPosition,l=e.trailColor,p=e.strokeLinecap,f=e.style,v=e.className,k=e.strokeColor,m=e.percent,g=(0,y.Z)(e,P),C=Z(r),E="".concat(C,"-gradient"),x=50-n/2,O=j(x,0,100,l,c,i,p,n),N=W(m),D=W(k),L=D.find(function(e){return e&&"object"===(0,b.Z)(e)}),A=h();return d.createElement("svg",(0,s.Z)({className:u()("".concat(o,"-circle"),v),viewBox:"0 0 ".concat(100," ").concat(100),style:f,id:r},g),L&&d.createElement("defs",null,d.createElement("linearGradient",{id:E,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(L).sort(function(e,t){return w(e)-w(t)}).map(function(e,t){return d.createElement("stop",{key:t,offset:e,stopColor:L[e]})}))),d.createElement("circle",{className:"".concat(o,"-circle-trail"),r:x,cx:50,cy:50,stroke:l,strokeLinecap:p,strokeWidth:a||n,style:O}),(t=0,N.map(function(e,r){var s=D[r]||D[D.length-1],a=s&&"object"===(0,b.Z)(s)?"url(#".concat(E,")"):void 0,l=j(x,t,e,s,c,i,p,n);return t+=e,d.createElement("circle",{key:r,className:"".concat(o,"-circle-path"),r:x,cx:50,cy:50,stroke:a,strokeLinecap:p,strokeWidth:n,opacity:0===e?0:1,style:l,ref:function(e){A[r]=e}})}).reverse()))};function L(e){return!e||e<0?0:e>100?100:e}function A(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}D.defaultProps=m,D.displayName="Circle";var S=function(e){var t,r,s,n,a,c=e.prefixCls,i=e.width,l=e.strokeWidth,p=e.trailColor,f=e.strokeLinecap,v=e.gapPosition,y=e.gapDegree,m=e.type,h=e.children,g=e.success,C=i||120,b=l||6,E="[object Object]"===Object.prototype.toString.call(e.strokeColor),x=(r=(t={success:g,strokeColor:e.strokeColor}).success,s=t.strokeColor,[(void 0===r?{}:r).strokeColor||k.presetPrimaryColors.green,s||null]),O=u()("".concat(c,"-inner"),(0,o.Z)({},"".concat(c,"-circle-gradient"),E));return d.createElement("div",{className:O,style:{width:C,height:C,fontSize:.15*C+6}},d.createElement(D,{percent:(n=e.percent,[a=L(A({success:e.success,successPercent:e.successPercent})),L(L(n)-a)]),strokeWidth:b,trailWidth:b,strokeColor:x,strokeLinecap:void 0===f?"round":f,trailColor:void 0===p?null:p,prefixCls:c,gapDegree:y||0===y?y:"dashboard"===m?75:void 0,gapPosition:v||"dashboard"===m&&"bottom"||void 0}),h)},_=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,o=Object.getOwnPropertySymbols(e);st.indexOf(o[s])&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]]);return r},I=function(e){var t=[];return Object.keys(e).forEach(function(r){var o=parseFloat(r.replace(/%/g,""));isNaN(o)||t.push({key:o,value:e[r]})}),(t=t.sort(function(e,t){return e.key-t.key})).map(function(e){var t=e.key,r=e.value;return"".concat(r," ").concat(t,"%")}).join(", ")},R=function(e,t){var r=e.from,o=void 0===r?k.presetPrimaryColors.blue:r,s=e.to,n=void 0===s?k.presetPrimaryColors.blue:s,a=e.direction,c=void 0===a?"rtl"===t?"to left":"to right":a,i=_(e,["from","to","direction"]);if(0!==Object.keys(i).length){var l=I(i);return{backgroundImage:"linear-gradient(".concat(c,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(c,", ").concat(o,", ").concat(n,")")}},z=function(e){var t=e.prefixCls,r=e.direction,o=e.percent,n=e.strokeWidth,a=e.size,c=e.strokeColor,i=e.strokeLinecap,l=void 0===i?"round":i,u=e.children,p=e.trailColor,f=e.success,v=c&&"string"!=typeof c?R(c,r):{background:c},k="square"===l||"butt"===l?0:void 0,y=(0,s.Z)({width:"".concat(L(o),"%"),height:n||("small"===a?6:8),borderRadius:k},v),m=A(e),h={width:"".concat(L(m),"%"),height:n||("small"===a?6:8),borderRadius:k,backgroundColor:null==f?void 0:f.strokeColor},g=void 0!==m?d.createElement("div",{className:"".concat(t,"-success-bg"),style:h}):null;return d.createElement(d.Fragment,null,d.createElement("div",{className:"".concat(t,"-outer")},d.createElement("div",{className:"".concat(t,"-inner"),style:{backgroundColor:(void 0===p?null:p)||void 0,borderRadius:k}},d.createElement("div",{className:"".concat(t,"-bg"),style:y}),g)),u)},M=function(e){for(var t=e.size,r=e.steps,s=e.percent,n=e.strokeWidth,a=void 0===n?8:n,c=e.strokeColor,i=e.trailColor,l=void 0===i?null:i,p=e.prefixCls,f=e.children,v=Math.round(r*((void 0===s?0:s)/100)),k="small"===t?2:14,y=Array(r),m=0;mt.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,o=Object.getOwnPropertySymbols(e);st.indexOf(o[s])&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]]);return r};(0,v.b)("line","circle","dashboard");var B=(0,v.b)("normal","exception","active","success"),F=function(e){var t,r,l,v,k=e.prefixCls,y=e.className,m=e.steps,h=e.strokeColor,g=e.percent,C=void 0===g?0:g,b=e.size,E=void 0===b?"default":b,x=e.showInfo,O=void 0===x||x,N=e.type,Z=void 0===N?"line":N,P=q(e,["prefixCls","className","steps","strokeColor","percent","size","showInfo","type"]),w=d.useContext(f.E_),W=w.getPrefixCls,j=w.direction,D=W("progress",k),_=(t=e.status,0>B.indexOf(t)&&parseInt(void 0!==(r=A(e))?r.toString():C.toString(),10)>=100?"success":t||"normal"),I=function(t,r){var o,s=e.format,l=A(e);if(!O)return null;var u="line"===Z;return s||"exception"!==r&&"success"!==r?o=(s||function(e){return"".concat(e,"%")})(L(C),L(l)):"exception"===r?o=u?d.createElement(c.Z,null):d.createElement(i.Z,null):"success"===r&&(o=u?d.createElement(n.Z,null):d.createElement(a.Z,null)),d.createElement("span",{className:"".concat(t,"-text"),title:"string"==typeof o?o:void 0},o)}(D,_),R=Array.isArray(h)?h[0]:h,F="string"==typeof h||Array.isArray(h)?h:void 0;"line"===Z?v=m?d.createElement(M,(0,s.Z)({},e,{strokeColor:F,prefixCls:D,steps:m}),I):d.createElement(z,(0,s.Z)({},e,{strokeColor:R,prefixCls:D,direction:j}),I):("circle"===Z||"dashboard"===Z)&&(v=d.createElement(S,(0,s.Z)({},e,{strokeColor:R,prefixCls:D,progressStatus:_}),I));var T=u()(D,(l={},(0,o.Z)(l,"".concat(D,"-").concat("dashboard"===Z&&"circle"||m&&"steps"||Z),!0),(0,o.Z)(l,"".concat(D,"-status-").concat(_),!0),(0,o.Z)(l,"".concat(D,"-show-info"),O),(0,o.Z)(l,"".concat(D,"-").concat(E),E),(0,o.Z)(l,"".concat(D,"-rtl"),"rtl"===j),l),y);return d.createElement("div",(0,s.Z)({},(0,p.Z)(P,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:T}),v)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js b/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js deleted file mode 100644 index 89837aa4d..000000000 --- a/static/web/_next/static/chunks/7910-c80aab5f0058b5c3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7910],{97910:function(e,t,r){r.d(t,{Z:function(){return H}});var o=r(4942),n=r(87462),s=r(89739),a=r(63606),c=r(4340),i=r(97937),l=r(94184),u=r.n(l),d=r(98423),p=r(67294),f=r(53124),v=r(93355),k=r(92138),y=r(45987),m={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},h=function(){var e=(0,p.useRef)([]),t=(0,p.useRef)(null);return(0,p.useEffect)((function(){var r=Date.now(),o=!1;e.current.forEach((function(e){if(e){o=!0;var n=e.style;n.transitionDuration=".3s, .3s, .3s, .06s",t.current&&r-t.current<100&&(n.transitionDuration="0s, 0s")}})),o&&(t.current=Date.now())})),e.current},g=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],C=function(e){var t=e.className,r=e.percent,o=e.prefixCls,s=e.strokeColor,a=e.strokeLinecap,c=e.strokeWidth,i=e.style,l=e.trailColor,d=e.trailWidth,f=e.transition,v=(0,y.Z)(e,g);delete v.gapPosition;var k=Array.isArray(r)?r:[r],m=Array.isArray(s)?s:[s],C=h(),b=c/2,E=100-c/2,x="M ".concat("round"===a?b:0,",").concat(b,"\n L ").concat("round"===a?E:100,",").concat(b),O="0 0 100 ".concat(c),N=0;return p.createElement("svg",(0,n.Z)({className:u()("".concat(o,"-line"),t),viewBox:O,preserveAspectRatio:"none",style:i},v),p.createElement("path",{className:"".concat(o,"-line-trail"),d:x,strokeLinecap:a,stroke:l,strokeWidth:d||c,fillOpacity:"0"}),k.map((function(e,t){var r=1;switch(a){case"round":r=1-c/100;break;case"square":r=1-c/2/100;break;default:r=1}var n={strokeDasharray:"".concat(e*r,"px, 100px"),strokeDashoffset:"-".concat(N,"px"),transition:f||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},s=m[t]||m[m.length-1];return N+=e,p.createElement("path",{key:t,className:"".concat(o,"-line-path"),d:x,strokeLinecap:a,stroke:s,strokeWidth:c,fillOpacity:"0",ref:function(e){C[t]=e},style:n})})))};C.defaultProps=m,C.displayName="Line";var b=r(71002),E=r(97685),x=r(98924),O=0,N=(0,x.Z)();var Z=function(e){var t=p.useState(),r=(0,E.Z)(t,2),o=r[0],n=r[1];return p.useEffect((function(){n("rc_progress_".concat(function(){var e;return N?(e=O,O+=1):e="TEST_OR_SSR",e}()))}),[]),e||o},w=["id","prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function P(e){return+e.replace("%","")}function W(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}var j=100,D=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,s=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,i=n>0?90+n/2:-90,l=2*Math.PI*e,u=l*((360-n)/360),d=t/100*360*((360-n)/360),p=0===n?0:{bottom:0,top:180,left:90,right:-90}[s],f=(100-r)/100*u;return"round"===a&&100!==r&&(f+=c/2)>=u&&(f=u-.01),{stroke:"string"===typeof o?o:void 0,strokeDasharray:"".concat(u,"px ").concat(l),strokeDashoffset:f,transform:"rotate(".concat(i+d+p,"deg)"),transformOrigin:"50% 50%",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},L=function(e){var t=e.id,r=e.prefixCls,o=e.strokeWidth,s=e.trailWidth,a=e.gapDegree,c=e.gapPosition,i=e.trailColor,l=e.strokeLinecap,d=e.style,f=e.className,v=e.strokeColor,k=e.percent,m=(0,y.Z)(e,w),g=Z(t),C="".concat(g,"-gradient"),E=50-o/2,x=D(E,0,100,i,a,c,l,o),O=W(k),N=W(v),L=N.find((function(e){return e&&"object"===(0,b.Z)(e)})),A=h();return p.createElement("svg",(0,n.Z)({className:u()("".concat(r,"-circle"),f),viewBox:"0 0 ".concat(j," ").concat(j),style:d,id:t},m),L&&p.createElement("defs",null,p.createElement("linearGradient",{id:C,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(L).sort((function(e,t){return P(e)-P(t)})).map((function(e,t){return p.createElement("stop",{key:t,offset:e,stopColor:L[e]})})))),p.createElement("circle",{className:"".concat(r,"-circle-trail"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:s||o,style:x}),function(){var e=0;return O.map((function(t,n){var s=N[n]||N[N.length-1],i=s&&"object"===(0,b.Z)(s)?"url(#".concat(C,")"):void 0,u=D(E,e,t,s,a,c,l,o);return e+=t,p.createElement("circle",{key:n,className:"".concat(r,"-circle-path"),r:E,cx:50,cy:50,stroke:i,strokeLinecap:l,strokeWidth:o,opacity:0===t?0:1,style:u,ref:function(e){A[n]=e}})})).reverse()}())};L.defaultProps=m,L.displayName="Circle";var A=L;function S(e){return!e||e<0?0:e>100?100:e}function _(e){var t=e.success,r=e.successPercent;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}function I(e){var t=e.percent,r=S(_({success:e.success,successPercent:e.successPercent}));return[r,S(S(t)-r)]}var R=function(e){var t=e.prefixCls,r=e.width,n=e.strokeWidth,s=e.trailColor,a=void 0===s?null:s,c=e.strokeLinecap,i=void 0===c?"round":c,l=e.gapPosition,d=e.gapDegree,f=e.type,v=e.children,y=e.success,m=r||120,h={width:m,height:m,fontSize:.15*m+6},g=n||6,C=l||"dashboard"===f&&"bottom"||void 0,b="[object Object]"===Object.prototype.toString.call(e.strokeColor),E=function(e){var t=e.success,r=void 0===t?{}:t,o=e.strokeColor;return[r.strokeColor||k.presetPrimaryColors.green,o||null]}({success:y,strokeColor:e.strokeColor}),x=u()("".concat(t,"-inner"),(0,o.Z)({},"".concat(t,"-circle-gradient"),b));return p.createElement("div",{className:x,style:h},p.createElement(A,{percent:I(e),strokeWidth:g,trailWidth:g,strokeColor:E,strokeLinecap:i,trailColor:a,prefixCls:t,gapDegree:d||0===d?d:"dashboard"===f?75:void 0,gapPosition:C}),v)},z=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n=100?"success":t||"normal"}(),D=function(t,r){var o,n=e.format,l=_(e);if(!b)return null;var u="line"===x;return n||"exception"!==r&&"success"!==r?o=(n||function(e){return"".concat(e,"%")})(S(m),S(l)):"exception"===r?o=u?p.createElement(c.Z,null):p.createElement(i.Z,null):"success"===r&&(o=u?p.createElement(s.Z,null):p.createElement(a.Z,null)),p.createElement("span",{className:"".concat(t,"-text"),title:"string"===typeof o?o:void 0},o)}(W,j),L=Array.isArray(k)?k[0]:k,A="string"===typeof k||Array.isArray(k)?k:void 0;"line"===x?N=v?p.createElement(B,(0,n.Z)({},e,{strokeColor:A,prefixCls:W,steps:v}),D):p.createElement(q,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,direction:P}),D):"circle"!==x&&"dashboard"!==x||(N=p.createElement(R,(0,n.Z)({},e,{strokeColor:L,prefixCls:W,progressStatus:j}),D));var I=u()(W,(t={},(0,o.Z)(t,"".concat(W,"-").concat(("dashboard"===x?"circle":v&&"steps")||x),!0),(0,o.Z)(t,"".concat(W,"-status-").concat(j),!0),(0,o.Z)(t,"".concat(W,"-show-info"),b),(0,o.Z)(t,"".concat(W,"-").concat(g),g),(0,o.Z)(t,"".concat(W,"-rtl"),"rtl"===P),t),l);return p.createElement("div",(0,n.Z)({},(0,d.Z)(O,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"]),{className:I}),N)},H=G}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7917.259eef406683121f.js b/static/web/_next/static/chunks/7917.259eef406683121f.js deleted file mode 100644 index 71a283072..000000000 --- a/static/web/_next/static/chunks/7917.259eef406683121f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7917],{67917:function(e,t,n){function r(e,t,n,r,a,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=a,this.prev=o}function a(e,t,n,a){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new r(o,t,n,a,null,e.context)}function o(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function i(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function l(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function s(e){var t,n,s=e.statementIndentUnit,c=e.dontAlignCalls,f=e.keywords||{},d=e.types||{},p=e.builtin||{},m=e.blockKeywords||{},h=e.defKeywords||{},y=e.atoms||{},g=e.hooks||{},k=e.multiLineStrings,b=!1!==e.indentStatements,v=!1!==e.indentSwitch,w=e.namespaceSeparator,_=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=e.numberStart||/[\d\.]/,S=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,T=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,N=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,C=e.isReservedIdentifier||!1;function I(e,r){var a,o=e.next();if(g[o]){var i=g[o](e,r);if(!1!==i)return i}if('"'==o||"'"==o)return r.tokenize=(a=o,function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==a&&!r){o=!0;break}r=!r&&"\\"==n}return(o||!r&&!k)&&(t.tokenize=null),"string"}),r.tokenize(e,r);if(x.test(o)){if(e.backUp(1),e.match(S))return"number";e.next()}if(_.test(o))return t=o,null;if("/"==o){if(e.eat("*"))return r.tokenize=D,D(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(T.test(o)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(T););return"operator"}if(e.eatWhile(N),w)for(;e.match(w);)e.eatWhile(N);var l=e.current();return u(f,l)?(u(m,l)&&(t="newstatement"),u(h,l)&&(n=!0),"keyword"):u(d,l)?"type":u(p,l)||C&&C(l)?(u(m,l)&&(t="newstatement"),"builtin"):u(y,l)?"atom":"variable"}function D(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function z(t,n){e.typeFirstDefinitions&&t.eol()&&l(n.context)&&(n.typeAtEndOfLine=i(t,n,t.pos))}return{name:e.name,startState:function(e){return{tokenize:null,context:new r(-e,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(r,s){var c=s.context;if(r.sol()&&(null==c.align&&(c.align=!1),s.indented=r.indentation(),s.startOfLine=!0),r.eatSpace())return z(r,s),null;t=n=null;var u=(s.tokenize||I)(r,s);if("comment"==u||"meta"==u)return u;if(null==c.align&&(c.align=!0),";"==t||":"==t||","==t&&r.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==s.context.type;)o(s);else if("{"==t)a(s,r.column(),"}");else if("["==t)a(s,r.column(),"]");else if("("==t)a(s,r.column(),")");else if("}"==t){for(;"statement"==c.type;)c=o(s);for("}"==c.type&&(c=o(s));"statement"==c.type;)c=o(s)}else t==c.type?o(s):b&&(("}"==c.type||"top"==c.type)&&";"!=t||"statement"==c.type&&"newstatement"==t)&&a(s,r.column(),"statement",r.current());if("variable"==u&&("def"==s.prevToken||e.typeFirstDefinitions&&i(r,s,r.start)&&l(s.context)&&r.match(/^\s*\(/,!1))&&(u="def"),g.token){var f=g.token(r,s,u);void 0!==f&&(u=f)}return"def"==u&&!1===e.styleDefs&&(u="variable"),s.startOfLine=!1,s.prevToken=n?"def":u||t,z(r,s),u},indent:function(t,n,r){if(t.tokenize!=I&&null!=t.tokenize||t.typeAtEndOfLine)return null;var a=t.context,o=n&&n.charAt(0),i=o==a.type;if("statement"==a.type&&"}"==o&&(a=a.prev),e.dontIndentStatements)for(;"statement"==a.type&&e.dontIndentStatements.test(a.info);)a=a.prev;if(g.indent){var l=g.indent(t,a,n,r.unit);if("number"==typeof l)return l}var u=a.prev&&"switch"==a.prev.info;if(e.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=a.type&&"}"!=a.type;)a=a.prev;return a.indented}return"statement"==a.type?a.indented+("{"==o?0:s||r.unit):!a.align||c&&")"==a.type?")"!=a.type||i?a.indented+(i?0:r.unit)+(i||!u||/^(?:case|default)\b/.test(n)?0:r.unit):a.indented+(s||r.unit):a.column+(i?0:1)},languageData:{indentOnInput:v?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(f).concat(Object.keys(d)).concat(Object.keys(p)).concat(Object.keys(y)),...e.languageData}}}function c(e){for(var t={},n=e.split(" "),r=0;r!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=E,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new r(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});const R=s({name:"kotlin",keywords:c("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:c("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:c("catch class do else finally for if where try while enum"),defKeywords:c("class val var object interface fun"),atoms:c("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){var n;return t.tokenize=(n=e.match('""'),function(e,t){for(var r,a=!1,o=!1;!e.eol();){if(!n&&!a&&e.match('"')){o=!0;break}if(n&&e.match('"""')){o=!0;break}r=e.next(),!a&&"$"==r&&e.match("{")&&e.skipTo("}"),a=!a&&"\\"==r&&!n}return!o&&n||(t.tokenize=null),"string"}),t.tokenize(e,t)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))},indent:function(e,t,n,r){var a=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n&&"}"!=e.context.type||"variable"==e.prevToken&&"."==a||("}"==e.prevToken||")"==e.prevToken)&&"."==a?2*r+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:r):void 0:e.indented}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),O=s({name:"shader",keywords:c("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:c("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:c("for while do if else struct"),builtin:c("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:c("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w}}),j=s({name:"nesc",keywords:c(f+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:g,blockKeywords:c(b),atoms:c("null true false"),hooks:{"#":w}}),A=s({name:"objectivec",keywords:c(f+" "+p),types:k,builtin:c(m),blockKeywords:c(b+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:c(v+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:c("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":w,"*":_}}),U=s({name:"objectivecpp",keywords:c(f+" "+p+" "+d),types:k,builtin:c(m),blockKeywords:c(b+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:c(v+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:c("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":w,"*":_,u:T,U:T,L:T,R:T,0:S,1:S,2:S,3:S,4:S,5:S,6:S,7:S,8:S,9:S,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&N(e.current()))return"def"}},namespaceSeparator:"::"}),$=s({name:"squirrel",keywords:c("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g,blockKeywords:c("case catch class else for foreach if switch try while"),defKeywords:c("function local class"),typeFirstDefinitions:!0,atoms:c("true false null"),hooks:{"#":w}});var B=null;function K(e){return function(t,n){for(var r,a=!1,o=!1;!t.eol();){if(!a&&t.match('"')&&("single"==e||t.match('""'))){o=!0;break}if(!a&&t.match("``")){B=K(e),o=!0;break}r=t.next(),a="single"==e&&!a&&"\\"==r}return o&&(n.tokenize=null),"string"}}const q=s({name:"ceylon",keywords:c("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:c("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:c("class dynamic function interface module object package value"),builtin:c("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:c("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=K(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!B||!e.match("`"))&&(t.tokenize=B,B=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function V(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function W(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function G(e,t,n,r){var a=!1;if(t.eat(e)){if(!t.eat(e))return"string";a=!0}function o(t,n){for(var o=!1;!t.eol();){if(!r&&!o&&"$"==t.peek())return V(n),n.tokenize=Z,"string";var i=t.next();if(i==e&&!o&&(!a||t.match(e+e))){n.tokenize=null;break}o=!r&&!o&&"\\"==i}return"string"}return n.tokenize=o,o(t,n)}function Z(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=Q,null}function Q(e,t){return e.eatWhile(/[\w_]/),t.tokenize=W(t),"variable"}const X=s({name:"dart",keywords:c("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required"),blockKeywords:c("try catch finally do else for if switch while"),builtin:c("void bool num int double dynamic var String Null Never"),atoms:c("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return G("'",e,t,!1)},'"':function(e,t){return G('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&G(e.next(),e,t,!0)},"}":function(e,t){return function(e){return e.interpolationStack?e.interpolationStack.length:0}(t)>0&&(t.tokenize=W(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))},token:function(e,t,n){if("variable"==n&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(e.current()))return"type"}}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7917.fa031b183192deaa.js b/static/web/_next/static/chunks/7917.fa031b183192deaa.js new file mode 100644 index 000000000..ba031bdde --- /dev/null +++ b/static/web/_next/static/chunks/7917.fa031b183192deaa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7917],{63821:function(e,t,n){function r(e,t,n,r,a,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=a,this.prev=o}function a(e,t,n,a){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new r(o,t,n,a,null,e.context)}function o(e){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}function i(e,t,n){if("variable"==t.prevToken||"type"==t.prevToken||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||t.typeAtEndOfLine&&e.column()==e.indentation())return!0}function l(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function s(e){var t,n,s=e.statementIndentUnit,c=e.dontAlignCalls,f=e.keywords||{},d=e.types||{},p=e.builtin||{},m=e.blockKeywords||{},h=e.defKeywords||{},y=e.atoms||{},g=e.hooks||{},k=e.multiLineStrings,b=!1!==e.indentStatements,v=!1!==e.indentSwitch,w=e.namespaceSeparator,_=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=e.numberStart||/[\d\.]/,S=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,T=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,N=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,C=e.isReservedIdentifier||!1;function I(e,r){var a=e.next();if(g[a]){var o=g[a](e,r);if(!1!==o)return o}if('"'==a||"'"==a)return r.tokenize=function(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if(n==a&&!r){o=!0;break}r=!r&&"\\"==n}return(o||!(r||k))&&(t.tokenize=null),"string"},r.tokenize(e,r);if(x.test(a)){if(e.backUp(1),e.match(S))return"number";e.next()}if(_.test(a))return t=a,null;if("/"==a){if(e.eat("*"))return r.tokenize=D,D(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(T.test(a)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(T););return"operator"}if(e.eatWhile(N),w)for(;e.match(w);)e.eatWhile(N);var i=e.current();return u(f,i)?(u(m,i)&&(t="newstatement"),u(h,i)&&(n=!0),"keyword"):u(d,i)?"type":u(p,i)||C&&C(i)?(u(m,i)&&(t="newstatement"),"builtin"):u(y,i)?"atom":"variable"}function D(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function z(t,n){e.typeFirstDefinitions&&t.eol()&&l(n.context)&&(n.typeAtEndOfLine=i(t,n,t.pos))}return{name:e.name,startState:function(e){return{tokenize:null,context:new r(-e,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(r,s){var c=s.context;if(r.sol()&&(null==c.align&&(c.align=!1),s.indented=r.indentation(),s.startOfLine=!0),r.eatSpace())return z(r,s),null;t=n=null;var u=(s.tokenize||I)(r,s);if("comment"==u||"meta"==u)return u;if(null==c.align&&(c.align=!0),";"==t||":"==t||","==t&&r.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==s.context.type;)o(s);else if("{"==t)a(s,r.column(),"}");else if("["==t)a(s,r.column(),"]");else if("("==t)a(s,r.column(),")");else if("}"==t){for(;"statement"==c.type;)c=o(s);for("}"==c.type&&(c=o(s));"statement"==c.type;)c=o(s)}else t==c.type?o(s):b&&(("}"==c.type||"top"==c.type)&&";"!=t||"statement"==c.type&&"newstatement"==t)&&a(s,r.column(),"statement",r.current());if("variable"==u&&("def"==s.prevToken||e.typeFirstDefinitions&&i(r,s,r.start)&&l(s.context)&&r.match(/^\s*\(/,!1))&&(u="def"),g.token){var f=g.token(r,s,u);void 0!==f&&(u=f)}return"def"==u&&!1===e.styleDefs&&(u="variable"),s.startOfLine=!1,s.prevToken=n?"def":u||t,z(r,s),u},indent:function(t,n,r){if(t.tokenize!=I&&null!=t.tokenize||t.typeAtEndOfLine)return null;var a=t.context,o=n&&n.charAt(0),i=o==a.type;if("statement"==a.type&&"}"==o&&(a=a.prev),e.dontIndentStatements)for(;"statement"==a.type&&e.dontIndentStatements.test(a.info);)a=a.prev;if(g.indent){var l=g.indent(t,a,n,r.unit);if("number"==typeof l)return l}var u=a.prev&&"switch"==a.prev.info;if(e.allmanIndentation&&/[{(]/.test(o)){for(;"top"!=a.type&&"}"!=a.type;)a=a.prev;return a.indented}return"statement"==a.type?a.indented+("{"==o?0:s||r.unit):a.align&&(!c||")"!=a.type)?a.column+(i?0:1):")"!=a.type||i?a.indented+(i?0:r.unit)+(i||!u||/^(?:case|default)\b/.test(n)?0:r.unit):a.indented+(s||r.unit)},languageData:{indentOnInput:v?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(f).concat(Object.keys(d)).concat(Object.keys(p)).concat(Object.keys(y)),...e.languageData}}}function c(e){for(var t={},n=e.split(" "),r=0;r!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=E,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!!("}"==n.type&&n.align&&e.eat(">"))&&(t.context=new r(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),R=s({name:"kotlin",keywords:c("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:c("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:c("catch class do else finally for if where try while enum"),defKeywords:c("class val var object interface fun"),atoms:c("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){var n;return t.tokenize=(n=e.match('""'),function(e,t){for(var r,a=!1,o=!1;!e.eol();){if(!n&&!a&&e.match('"')||n&&e.match('"""')){o=!0;break}r=e.next(),!a&&"$"==r&&e.match("{")&&e.skipTo("}"),a=!a&&"\\"==r&&!n}return(o||!n)&&(t.tokenize=null),"string"}),t.tokenize(e,t)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))},indent:function(e,t,n,r){var a=n&&n.charAt(0);return("}"==e.prevToken||")"==e.prevToken)&&""==n?e.indented:"operator"==e.prevToken&&"}"!=n&&"}"!=e.context.type||"variable"==e.prevToken&&"."==a||("}"==e.prevToken||")"==e.prevToken)&&"."==a?2*r+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:r):void 0}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),O=s({name:"shader",keywords:c("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:c("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:c("for while do if else struct"),builtin:c("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:c("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w}}),j=s({name:"nesc",keywords:c(f+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:g,blockKeywords:c(b),atoms:c("null true false"),hooks:{"#":w}}),A=s({name:"objectivec",keywords:c(f+" "+p),types:k,builtin:c(m),blockKeywords:c(b+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:c(v+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:c("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":w,"*":_}}),U=s({name:"objectivecpp",keywords:c(f+" "+p+" "+d),types:k,builtin:c(m),blockKeywords:c(b+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:c(v+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:c("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:x,hooks:{"#":w,"*":_,u:T,U:T,L:T,R:T,0:S,1:S,2:S,3:S,4:S,5:S,6:S,7:S,8:S,9:S,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&N(e.current()))return"def"}},namespaceSeparator:"::"}),$=s({name:"squirrel",keywords:c("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:g,blockKeywords:c("case catch class else for foreach if switch try while"),defKeywords:c("function local class"),typeFirstDefinitions:!0,atoms:c("true false null"),hooks:{"#":w}});var B=null;let K=s({name:"ceylon",keywords:c("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:c("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:c("class dynamic function interface module object package value"),builtin:c("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:c("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=function e(t){return function(n,r){for(var a,o=!1,i=!1;!n.eol();){if(!o&&n.match('"')&&("single"==t||n.match('""'))){i=!0;break}if(!o&&n.match("``")){B=e(t),i=!0;break}a=n.next(),o="single"==t&&!o&&"\\"==a}return i&&(r.tokenize=null),"string"}}(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!!(B&&e.match("`"))&&(t.tokenize=B,B=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function q(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function V(e,t,n,r){var a=!1;if(t.eat(e)){if(!t.eat(e))return"string";a=!0}function o(t,n){for(var o=!1;!t.eol();){if(!r&&!o&&"$"==t.peek()){!function(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}(n),n.tokenize=W;break}var i=t.next();if(i==e&&!o&&(!a||t.match(e+e))){n.tokenize=null;break}o=!r&&!o&&"\\"==i}return"string"}return n.tokenize=o,o(t,n)}function W(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=G,null}function G(e,t){return e.eatWhile(/[\w_]/),t.tokenize=q(t),"variable"}let Z=s({name:"dart",keywords:c("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required"),blockKeywords:c("try catch finally do else for if switch while"),builtin:c("void bool num int double dynamic var String Null Never"),atoms:c("true false null"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return V("'",e,t,!1)},'"':function(e,t){return V('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&V(e.next(),e,t,!0)},"}":function(e,t){return(t.interpolationStack?t.interpolationStack.length:0)>0&&(t.tokenize=q(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=F(1),t.tokenize(e,t))},token:function(e,t,n){if("variable"==n&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(e.current()))return"type"}}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7988.0fe9a294bf19405d.js b/static/web/_next/static/chunks/7988.0fe9a294bf19405d.js new file mode 100644 index 000000000..3762d7ee0 --- /dev/null +++ b/static/web/_next/static/chunks/7988.0fe9a294bf19405d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7988],{17988:function(e,t,$){function n(e){return RegExp("^(("+e.join(")|(")+"))\\b","i")}$.r(t),$.d(t,{mumps:function(){return d}});var o=RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),a=RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),r=RegExp("^[\\.,:]"),c=/[()]/,m=RegExp("^[%A-Za-z][A-Za-z0-9]*"),i=n(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),l=n(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);let d={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,t){var $,n,d=($=t,e.sol()&&($.label=!0,$.commandMode=0),(" "==(n=e.peek())||" "==n?($.label=!1,0==$.commandMode?$.commandMode=1:($.commandMode<0||2==$.commandMode)&&($.commandMode=0)):"."!=n&&$.commandMode>0&&(":"==n?$.commandMode=-1:$.commandMode=2),("("===n||" "===n)&&($.label=!1),";"===n)?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==n?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(a)||e.match(o)?"operator":e.match(r)?null:c.test(n)?(e.next(),"bracket"):$.commandMode>0&&e.match(l)?"controlKeyword":e.match(i)?"builtin":e.match(m)?"variable":"$"===n||"^"===n?(e.next(),"builtin"):"@"===n?(e.next(),"string.special"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error"));return t.label?"tag":d}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/7988.7e60c2136985674b.js b/static/web/_next/static/chunks/7988.7e60c2136985674b.js deleted file mode 100644 index 600cdcd48..000000000 --- a/static/web/_next/static/chunks/7988.7e60c2136985674b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7988],{17988:function(e,t,n){function $(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}n.r(t),n.d(t,{mumps:function(){return l}});var o=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),a=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),r=new RegExp("^[\\.,:]"),c=new RegExp("[()]"),m=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),i=$(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),s=$(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);const l={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,t){var n=function(e,t){e.sol()&&(t.label=!0,t.commandMode=0);var n=e.peek();return" "==n||"\t"==n?(t.label=!1,0==t.commandMode?t.commandMode=1:(t.commandMode<0||2==t.commandMode)&&(t.commandMode=0)):"."!=n&&t.commandMode>0&&(t.commandMode=":"==n?-1:2),"("!==n&&"\t"!==n||(t.label=!1),";"===n?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==n?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(a)||e.match(o)?"operator":e.match(r)?null:c.test(n)?(e.next(),"bracket"):t.commandMode>0&&e.match(s)?"controlKeyword":e.match(i)?"builtin":e.match(m)?"variable":"$"===n||"^"===n?(e.next(),"builtin"):"@"===n?(e.next(),"string.special"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}(e,t);return t.label?"tag":n}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8007.2a8bd98d80e5bcb9.js b/static/web/_next/static/chunks/8007.514d61a4d6029737.js similarity index 61% rename from static/web/_next/static/chunks/8007.2a8bd98d80e5bcb9.js rename to static/web/_next/static/chunks/8007.514d61a4d6029737.js index df19c88b1..c5d5c6002 100644 --- a/static/web/_next/static/chunks/8007.2a8bd98d80e5bcb9.js +++ b/static/web/_next/static/chunks/8007.514d61a4d6029737.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8007],{28007:function(e,t,r){r.r(t),r.d(t,{stylus:function(){return oe}});var i=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],a=["domain","regexp","url-prefix","url"],o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],l=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],s=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],c=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],d=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],u=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],m=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],p=["for","if","else","unless","from","to"],h=["null","true","false","href","title","type","not-allowed","readonly","disabled"],b=i.concat(a,o,n,l,s,d,u,c,m,p,h,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);function g(e){return e=e.sort((function(e,t){return t>e})),new RegExp("^(("+e.join(")|(")+"))\\b")}function f(e){for(var t={},r=0;r]=?|\?:|\~)/,U=g(m),O=f(p),W=new RegExp(/^\-(moz|ms|o|webkit)-/i),A=f(h),R="",S={};function X(e,t){if(R=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=R?R[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),k=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=Y,Y(e,t);if('"'==k||"'"==k)return e.next(),t.tokenize=Z(k),t.tokenize(e,t);if("@"==k)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==k){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(W)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==k?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==k&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(B)?("("==e.peek()&&(t.tokenize=I),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variableName.special","reference"]):e.match(/^&{1}\s*$/)?["variableName.special","reference"]:e.match(U)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!H(e.current())?(e.match("."),["variable","variable-name"]):["variable","word"]:e.match(E)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(k)?(e.next(),[null,k]):(e.next(),[null,null])}function Y(e,t){for(var r,i=!1;null!=(r=e.next());){if(i&&"/"==r){t.tokenize=null;break}i="*"==r}return["comment","comment"]}function Z(e){return function(t,r){for(var i,a=!1;null!=(i=t.next());){if(i==e&&!a){")"==e&&t.backUp(1);break}a=!a&&"\\"==i}return(i==e||!a&&")"!=e)&&(r.tokenize=null),["string","string"]}}function I(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=Z(")"),[null,"("]}function T(e,t,r,i){this.type=e,this.indent=t,this.prev=r,this.line=i||{firstWord:"",indent:0}}function D(e,t,r,i){return i=i>=0?i:t.indentUnit,e.context=new T(r,t.indentation()+i,e.context),r}function F(e,t,r){var i=e.context.indent-t.indentUnit;return r=r||!1,e.context=e.context.prev,r&&(e.context.indent=i),e.context.type}function G(e,t,r,i){for(var a=i||1;a>0;a--)r.context=r.context.prev;return function(e,t,r){return S[r.context.type](e,t,r)}(e,t,r)}function H(e){return e.toLowerCase()in x}function J(e){return(e=e.toLowerCase())in q||e in P}function K(e){return e.toLowerCase()in O}function M(e){return e.toLowerCase().match(W)}function Q(e){var t=e.toLowerCase(),r="variable";return H(e)?r="tag":K(e)?r="block-keyword":J(e)?r="property":t in j||t in A?r="atom":"return"==t||t in N?r="keyword":e.match(/^[A-Z]/)&&(r="string"),r}function V(e,t){return ie(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function ee(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function te(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function re(e){return e.sol()||e.string.match(new RegExp("^\\s*"+e.current().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")))}function ie(e){return e.eol()||e.match(/^\s*$/,!1)}function ae(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r="string"==typeof e?e.match(t):e.string.match(t);return r?r[0].replace(/^\s*/,""):""}S.block=function(e,t,r){if("comment"==e&&re(t)||","==e&&ie(t)||"mixin"==e)return D(r,t,"block",0);if(ee(e,t))return D(r,t,"interpolation");if(ie(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!H(ae(t)))return D(r,t,"block",0);if(V(e,t))return D(r,t,"block");if("}"==e&&ie(t))return D(r,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||K(ae(t))?D(r,t,"variableName"):D(r,t,"variableName",0);if("="==e)return ie(t)||K(ae(t))?D(r,t,"block"):D(r,t,"block",0);if("*"==e&&(ie(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return v="tag",D(r,t,"block");if(te(e,t))return D(r,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return D(r,t,ie(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return D(r,t,"keyframes");if(/@extends?/.test(e))return D(r,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&J(t.current().slice(1))?(v="variable","block"):/(@import|@require|@charset)/.test(e)?D(r,t,"block",0):D(r,t,"block");if("reference"==e&&ie(t))return D(r,t,"block");if("("==e)return D(r,t,"parens");if("vendor-prefixes"==e)return D(r,t,"vendorPrefixes");if("word"==e){var i=t.current();if("property"==(v=Q(i)))return re(t)?D(r,t,"block",0):(v="atom","block");if("tag"==v){if(/embed|menu|pre|progress|sub|table/.test(i)&&J(ae(t)))return v="atom","block";if(t.string.match(new RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return v="atom","block";if(z.test(i)&&(re(t)&&t.string.match(/=/)||!re(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!H(ae(t))))return v="variable",K(ae(t))?"block":D(r,t,"block",0);if(ie(t))return D(r,t,"block")}if("block-keyword"==v)return v="keyword",t.current(/(if|unless)/)&&!re(t)?"block":D(r,t,"block");if("return"==i)return D(r,t,"block",0);if("variable"==v&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return D(r,t,"block")}return r.context.type},S.parens=function(e,t,r){if("("==e)return D(r,t,"parens");if(")"==e)return"parens"==r.context.prev.type?F(r,t):t.string.match(/^[a-z][\w-]*\(/i)&&ie(t)||K(ae(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ae(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&H(ae(t))?D(r,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?D(r,t,"block",0):ie(t)?D(r,t,"block"):D(r,t,"block",0);if(e&&"@"==e.charAt(0)&&J(t.current().slice(1))&&(v="variable"),"word"==e){var i=t.current();"tag"==(v=Q(i))&&z.test(i)&&(v="variable"),"property"!=v&&"to"!=i||(v="atom")}return"variable-name"==e?D(r,t,"variableName"):te(e,t)?D(r,t,"pseudo"):r.context.type},S.vendorPrefixes=function(e,t,r){return"word"==e?(v="property",D(r,t,"block",0)):F(r,t)},S.pseudo=function(e,t,r){return J(ae(t.string))?G(e,t,r):(t.match(/^[a-z-]+/),v="variableName.special",ie(t)?D(r,t,"block"):F(r,t))},S.atBlock=function(e,t,r){if("("==e)return D(r,t,"atBlock_parens");if(V(e,t))return D(r,t,"block");if(ee(e,t))return D(r,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();if("tag"==(v=/^(only|not|and|or)$/.test(i)?"keyword":_.hasOwnProperty(i)?"tag":L.hasOwnProperty(i)?"attribute":C.hasOwnProperty(i)?"property":$.hasOwnProperty(i)?"string.special":Q(t.current()))&&ie(t))return D(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(v="keyword"),r.context.type},S.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return ie(t)?D(r,t,"block"):D(r,t,"atBlock");if("word"==e){var i=t.current().toLowerCase();return v=Q(i),/^(max|min)/.test(i)&&(v="property"),"tag"==v&&(v=z.test(i)?"variable":"atom"),r.context.type}return S.atBlock(e,t,r)},S.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&re(t)||"]"==e||"hash"==e||"qualifier"==e||H(t.current()))?G(e,t,r):"{"==e?D(r,t,"keyframes"):"}"==e?re(t)?F(r,t,!0):D(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?D(r,t,"keyframes"):"word"==e&&"block-keyword"==(v=Q(t.current()))?(v="keyword",D(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?D(r,t,ie(t)?"block":"atBlock"):"mixin"==e?D(r,t,"block",0):r.context.type},S.interpolation=function(e,t,r){return"{"==e&&F(r,t)&&D(r,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&H(ae(t))?D(r,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?D(r,t,"block",0):D(r,t,"block"):"variable-name"==e?D(r,t,"variableName",0):("word"==e&&"tag"==(v=Q(t.current()))&&(v="atom"),r.context.type)},S.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"==e?F(r,t):"word"==e?(v=Q(t.current()),"extend"):F(r,t)},S.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(v="variable"),"variableName"):G(e,t,r)};const oe={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new T("block",0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((w=(t.tokenize||X)(e,t))&&"object"==typeof w&&(y=w[1],w=w[0]),v=w,t.state=S[t.state](y,e,t),v)},indent:function(e,t,r){var i=e.context,a=t&&t.charAt(0),o=i.indent,n=ae(t),l=r.lineIndent(r.pos),s=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:l;return i.prev&&("}"==a&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==a&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==a&&"at"==i.type)?o=i.indent-r.unit:/(\})/.test(a)||(/@|\$|\d/.test(a)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(s)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||K(n)?o=l:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(a)||H(n)?o=/\,\s*$/.test(s)?c:e.sol()||!/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(s)&&!H(s)?l:l<=c?c:c+r.unit:/,\s*$/.test(t)||!M(n)&&!J(n)||(o=K(s)?l<=c?c:c+r.unit:/^\{/.test(s)?l<=c?l:c+r.unit:M(s)||J(s)?l>=c?c:l:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(s)||/=\s*$/.test(s)||H(s)||/^\$[\w-\.\[\]\'\"]/.test(s)?c+r.unit:l)),o},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:b}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8007],{28007:function(e,t,r){r.r(t),r.d(t,{stylus:function(){return eo}});var i=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],a=["domain","regexp","url-prefix","url"],o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],l=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],s=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],c=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],d=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],u=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],m=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],p=["for","if","else","unless","from","to"],h=["null","true","false","href","title","type","not-allowed","readonly","disabled"],b=i.concat(a,o,n,l,s,d,u,c,m,p,h,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);function g(e){return RegExp("^(("+(e=e.sort(function(e,t){return t>e})).join(")|(")+"))\\b")}function f(e){for(var t={},r=0;r]=?|\?:|\~)/,U=g(m),O=f(p),W=RegExp(/^\-(moz|ms|o|webkit)-/i),A=f(h),R="",S={};function X(e,t){if(R=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=R?R[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),k=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=Y,Y(e,t);if('"'==k||"'"==k)return e.next(),t.tokenize=Z(k),t.tokenize(e,t);if("@"==k)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==k){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(W)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==k?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==k&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(B)?("("==e.peek()&&(t.tokenize=I),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variableName.special","reference"]):e.match(/^&{1}\s*$/)?["variableName.special","reference"]:e.match(U)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!H(e.current())?(e.match("."),["variable","variable-name"]):["variable","word"]:e.match(E)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(k)?(e.next(),[null,k]):(e.next(),[null,null])}function Y(e,t){for(var r,i=!1;null!=(r=e.next());){if(i&&"/"==r){t.tokenize=null;break}i="*"==r}return["comment","comment"]}function Z(e){return function(t,r){for(var i,a=!1;null!=(i=t.next());){if(i==e&&!a){")"==e&&t.backUp(1);break}a=!a&&"\\"==i}return i!=e&&(a||")"==e)||(r.tokenize=null),["string","string"]}}function I(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=Z(")"),[null,"("]}function T(e,t,r,i){this.type=e,this.indent=t,this.prev=r,this.line=i||{firstWord:"",indent:0}}function D(e,t,r,i){return i=i>=0?i:t.indentUnit,e.context=new T(r,t.indentation()+i,e.context),r}function F(e,t,r){var i=e.context.indent-t.indentUnit;return r=r||!1,e.context=e.context.prev,r&&(e.context.indent=i),e.context.type}function G(e,t,r,i){for(var a=i||1;a>0;a--)r.context=r.context.prev;return S[r.context.type](e,t,r)}function H(e){return e.toLowerCase() in x}function J(e){return(e=e.toLowerCase())in q||e in P}function K(e){return e.toLowerCase() in O}function M(e){return e.toLowerCase().match(W)}function Q(e){var t=e.toLowerCase(),r="variable";return H(e)?r="tag":K(e)?r="block-keyword":J(e)?r="property":t in j||t in A?r="atom":"return"==t||t in N?r="keyword":e.match(/^[A-Z]/)&&(r="string"),r}function V(e,t){return ei(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function ee(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function et(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function er(e){return e.sol()||e.string.match(RegExp("^\\s*"+e.current().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")))}function ei(e){return e.eol()||e.match(/^\s*$/,!1)}function ea(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r="string"==typeof e?e.match(t):e.string.match(t);return r?r[0].replace(/^\s*/,""):""}S.block=function(e,t,r){if("comment"==e&&er(t)||","==e&&ei(t)||"mixin"==e)return D(r,t,"block",0);if(ee(e,t))return D(r,t,"interpolation");if(ei(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!H(ea(t)))return D(r,t,"block",0);if(V(e,t))return D(r,t,"block");if("}"==e&&ei(t))return D(r,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||K(ea(t))?D(r,t,"variableName"):D(r,t,"variableName",0);if("="==e)return ei(t)||K(ea(t))?D(r,t,"block"):D(r,t,"block",0);if("*"==e&&(ei(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return v="tag",D(r,t,"block");if(et(e,t))return D(r,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return D(r,t,ei(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return D(r,t,"keyframes");if(/@extends?/.test(e))return D(r,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&J(t.current().slice(1))?(v="variable","block"):/(@import|@require|@charset)/.test(e)?D(r,t,"block",0):D(r,t,"block");if("reference"==e&&ei(t))return D(r,t,"block");if("("==e)return D(r,t,"parens");if("vendor-prefixes"==e)return D(r,t,"vendorPrefixes");if("word"==e){var i=t.current();if("property"==(v=Q(i)))return er(t)?D(r,t,"block",0):(v="atom","block");if("tag"==v){if(/embed|menu|pre|progress|sub|table/.test(i)&&J(ea(t))||t.string.match(RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return v="atom","block";if(z.test(i)&&(er(t)&&t.string.match(/=/)||!er(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!H(ea(t))))return(v="variable",K(ea(t)))?"block":D(r,t,"block",0);if(ei(t))return D(r,t,"block")}if("block-keyword"==v)return(v="keyword",t.current(/(if|unless)/)&&!er(t))?"block":D(r,t,"block");if("return"==i)return D(r,t,"block",0);if("variable"==v&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return D(r,t,"block")}return r.context.type},S.parens=function(e,t,r){if("("==e)return D(r,t,"parens");if(")"==e)return"parens"==r.context.prev.type?F(r,t):t.string.match(/^[a-z][\w-]*\(/i)&&ei(t)||K(ea(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(ea(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&H(ea(t))?D(r,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?D(r,t,"block",0):ei(t)?D(r,t,"block"):D(r,t,"block",0);if(e&&"@"==e.charAt(0)&&J(t.current().slice(1))&&(v="variable"),"word"==e){var i=t.current();"tag"==(v=Q(i))&&z.test(i)&&(v="variable"),("property"==v||"to"==i)&&(v="atom")}return"variable-name"==e?D(r,t,"variableName"):et(e,t)?D(r,t,"pseudo"):r.context.type},S.vendorPrefixes=function(e,t,r){return"word"==e?(v="property",D(r,t,"block",0)):F(r,t)},S.pseudo=function(e,t,r){return J(ea(t.string))?G(e,t,r):(t.match(/^[a-z-]+/),v="variableName.special",ei(t))?D(r,t,"block"):F(r,t)},S.atBlock=function(e,t,r){if("("==e)return D(r,t,"atBlock_parens");if(V(e,t))return D(r,t,"block");if(ee(e,t))return D(r,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();if("tag"==(v=/^(only|not|and|or)$/.test(i)?"keyword":_.hasOwnProperty(i)?"tag":L.hasOwnProperty(i)?"attribute":C.hasOwnProperty(i)?"property":$.hasOwnProperty(i)?"string.special":Q(t.current()))&&ei(t))return D(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(v="keyword"),r.context.type},S.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return ei(t)?D(r,t,"block"):D(r,t,"atBlock");if("word"==e){var i=t.current().toLowerCase();return v=Q(i),/^(max|min)/.test(i)&&(v="property"),"tag"==v&&(v=z.test(i)?"variable":"atom"),r.context.type}return S.atBlock(e,t,r)},S.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&er(t)||"]"==e||"hash"==e||"qualifier"==e||H(t.current()))?G(e,t,r):"{"==e?D(r,t,"keyframes"):"}"==e?er(t)?F(r,t,!0):D(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?D(r,t,"keyframes"):"word"==e&&"block-keyword"==(v=Q(t.current()))?(v="keyword",D(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?D(r,t,ei(t)?"block":"atBlock"):"mixin"==e?D(r,t,"block",0):r.context.type},S.interpolation=function(e,t,r){return("{"==e&&F(r,t)&&D(r,t,"block"),"}"==e)?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&H(ea(t))?D(r,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?D(r,t,"block",0):D(r,t,"block"):"variable-name"==e?D(r,t,"variableName",0):("word"==e&&"tag"==(v=Q(t.current()))&&(v="atom"),r.context.type)},S.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"==e?F(r,t):"word"==e?(v=Q(t.current()),"extend"):F(r,t)},S.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(v="variable"),"variableName"):G(e,t,r)};let eo={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new T("block",0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((w=(t.tokenize||X)(e,t))&&"object"==typeof w&&(y=w[1],w=w[0]),v=w,t.state=S[t.state](y,e,t),v)},indent:function(e,t,r){var i=e.context,a=t&&t.charAt(0),o=i.indent,n=ea(t),l=r.lineIndent(r.pos),s=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:l;return i.prev&&("}"==a&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==a&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==a&&"at"==i.type)?o=i.indent-r.unit:!/(\})/.test(a)&&(/@|\$|\d/.test(a)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(s)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||K(n)?o=l:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(a)||H(n)?o=/\,\s*$/.test(s)?c:!e.sol()&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(s)||H(s))?l<=c?c:c+r.unit:l:!/,\s*$/.test(t)&&(M(n)||J(n))&&(o=K(s)?l<=c?c:c+r.unit:/^\{/.test(s)?l<=c?l:c+r.unit:M(s)||J(s)?l>=c?c:l:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(s)||/=\s*$/.test(s)||H(s)||/^\$[\w-\.\[\]\'\"]/.test(s)?c+r.unit:l)),o},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:b}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8029.5cf3c0d93efdf618.js b/static/web/_next/static/chunks/8029.5cf3c0d93efdf618.js deleted file mode 100644 index abf6716fd..000000000 --- a/static/web/_next/static/chunks/8029.5cf3c0d93efdf618.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8029],{58029:function(t,e,a){function r(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}a.r(e),a.d(e,{asciiArmor:function(){return n}});const n={name:"asciiarmor",token:function(t,e){var a;if("top"==e.state)return t.sol()&&(a=t.match(/^-----BEGIN (.*)?-----\s*$/))?(e.state="headers",e.type=a[1],"tag"):r(t);if("headers"==e.state){if(t.sol()&&t.match(/^\w+:/))return e.state="header","atom";var n=r(t);return n&&(e.state="body"),n}return"header"==e.state?(t.skipToEnd(),e.state="headers","string"):"body"==e.state?t.sol()&&(a=t.match(/^-----END (.*)?-----\s*$/))?a[1]!=e.type?"error":(e.state="end","tag"):t.eatWhile(/[A-Za-z0-9+\/=]/)?null:(t.next(),"error"):"end"==e.state?r(t):void 0},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8029.aa6c08cba91dd332.js b/static/web/_next/static/chunks/8029.aa6c08cba91dd332.js new file mode 100644 index 000000000..79bb061cd --- /dev/null +++ b/static/web/_next/static/chunks/8029.aa6c08cba91dd332.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8029],{58029:function(t,e,a){function r(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}a.r(e),a.d(e,{asciiArmor:function(){return n}});let n={name:"asciiarmor",token:function(t,e){var a;if("top"==e.state)return t.sol()&&(a=t.match(/^-----BEGIN (.*)?-----\s*$/))?(e.state="headers",e.type=a[1],"tag"):r(t);if("headers"==e.state){if(t.sol()&&t.match(/^\w+:/))return e.state="header","atom";var n=r(t);return n&&(e.state="body"),n}return"header"==e.state?(t.skipToEnd(),e.state="headers","string"):"body"==e.state?t.sol()&&(a=t.match(/^-----END (.*)?-----\s*$/))?a[1]!=e.type?"error":(e.state="end","tag"):t.eatWhile(/[A-Za-z0-9+\/=]/)?null:(t.next(),"error"):"end"==e.state?r(t):void 0},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8088.3d7a0e0adec8cd25.js b/static/web/_next/static/chunks/8088.3d7a0e0adec8cd25.js new file mode 100644 index 000000000..7abba14a8 --- /dev/null +++ b/static/web/_next/static/chunks/8088.3d7a0e0adec8cd25.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8088],{28088:function(O,$,r){r.r($),r.d($,{python:function(){return Y},pythonLanguage:function(){return S}});var Q=r(53105),P=r(35524);let e=new Set([23,47,48,255,63,121,54,55,230,60,61,58,59,71,142,143,146]),i=new Q.Jq((O,$)=>{if(O.next<0)O.acceptToken(194);else if(10!=O.next&&13!=O.next);else if($.context.depth<0)O.acceptToken(192,1);else{O.advance();let r=0;for(;32==O.next||9==O.next;)O.advance(),r++;let Q=10==O.next||13==O.next||35==O.next;O.acceptToken(Q?193:191,-r)}},{contextual:!0,fallback:!0}),p=new Q.Jq((O,$)=>{let r=$.context.depth;if(r<0)return;let Q=O.peek(-1);if((10==Q||13==Q)&&$.context.depth>=0){let P=0,e=0;for(;;){if(32==O.next)P++;else if(9==O.next)P+=8-P%8;else break;O.advance(),e++}P!=r&&10!=O.next&&13!=O.next&&35!=O.next&&(PO.depth<0&&e.has($)?O.parent:O,shift:(O,$,r,Q)=>189==$?new s(O,function(O){let $=0;for(let r=0;rO.hash}),a=new Q.Jq(O=>{for(let $=0;$<5;$++){if(O.next!="print".charCodeAt($))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let Q=O.peek(r);if(32!=Q&&9!=Q){40!=Q&&46!=Q&&10!=Q&&13!=Q&&35!=Q&&O.acceptToken(1);return}}}),t=(0,P.Gv)({'async "*" "**" FormatConversion FormatSpec':P.pJ.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":P.pJ.controlKeyword,"in not and or is del":P.pJ.operatorKeyword,"from def class global nonlocal lambda":P.pJ.definitionKeyword,import:P.pJ.moduleKeyword,"with as print":P.pJ.keyword,Boolean:P.pJ.bool,None:P.pJ.null,VariableName:P.pJ.variableName,"CallExpression/VariableName":P.pJ.function(P.pJ.variableName),"FunctionDefinition/VariableName":P.pJ.function(P.pJ.definition(P.pJ.variableName)),"ClassDefinition/VariableName":P.pJ.definition(P.pJ.className),PropertyName:P.pJ.propertyName,"CallExpression/MemberExpression/PropertyName":P.pJ.function(P.pJ.propertyName),Comment:P.pJ.lineComment,Number:P.pJ.number,String:P.pJ.string,FormatString:P.pJ.special(P.pJ.string),UpdateOp:P.pJ.updateOperator,ArithOp:P.pJ.arithmeticOperator,BitOp:P.pJ.bitwiseOperator,CompareOp:P.pJ.compareOperator,AssignOp:P.pJ.definitionOperator,Ellipsis:P.pJ.punctuation,At:P.pJ.meta,"( )":P.pJ.paren,"[ ]":P.pJ.squareBracket,"{ }":P.pJ.brace,".":P.pJ.derefOperator,", ;":P.pJ.separator}),x={__proto__:null,await:40,or:50,and:52,in:56,not:58,is:60,if:66,else:68,lambda:72,yield:90,from:92,async:98,for:100,None:152,True:154,False:154,del:168,pass:172,break:176,continue:180,return:184,raise:192,import:196,as:198,global:202,nonlocal:204,assert:208,elif:218,while:222,try:228,except:230,finally:232,with:236,def:240,class:250,match:261,case:267},q=Q.WQ.deserialize({version:14,states:"!L`O`Q$IXOOO%fQ$I[O'#G|OOQ$IS'#Cm'#CmOOQ$IS'#Cn'#CnO'UQ$IWO'#ClO(wQ$I[O'#G{OOQ$IS'#G|'#G|OOQ$IS'#DS'#DSOOQ$IS'#G{'#G{O)eQ$IWO'#CsO)uQ$IWO'#DdO*VQ$IWO'#DhOOQ$IS'#Ds'#DsO*jO`O'#DsO*rOpO'#DsO*zO!bO'#DtO+VO#tO'#DtO+bO&jO'#DtO+mO,UO'#DtO-oQ$I[O'#GmOOQ$IS'#Gm'#GmO'UQ$IWO'#GlO/RQ$I[O'#GlOOQ$IS'#E]'#E]O/jQ$IWO'#E^OOQ$IS'#Gk'#GkO/tQ$IWO'#GjOOQ$IV'#Gj'#GjO0PQ$IWO'#FPOOQ$IS'#GX'#GXO0UQ$IWO'#FOOOQ$IV'#Hx'#HxOOQ$IV'#Gi'#GiOOQ$IT'#Fh'#FhQ`Q$IXOOO'UQ$IWO'#CoO0dQ$IWO'#C{O0kQ$IWO'#DPO0yQ$IWO'#HQO1ZQ$I[O'#EQO'UQ$IWO'#EROOQ$IS'#ET'#ETOOQ$IS'#EV'#EVOOQ$IS'#EX'#EXO1oQ$IWO'#EZO2VQ$IWO'#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*Z*d+Z,V.w/mR%U!lR%z#^Q(g%zR*w(hQ$e!RQ&l$XQ)_'OR+_)`Q#rlQ$^!OQ$a!PR&t$`Q(z&sR+Q(}Q(z&sQ+P(|R+Q(}R$c!QXpOr)c+cQ$j!UR'P$kQ$q!XR'Q$lR)u'^Q)s'^V,r+q,s-]Q-l,wQ.W-fR.X-gU-e,w-f-gQ.]-iQ.h-{Q.m.RU.o.T.p/PQ.t.YQ/S.uQ/U.zU/W.{/Y/bQ/c/[Q/g/aR/h/dR.[-hR.j-{",nodeNames:"⚠ print Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatConversion FormatSpec ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:267,context:W,nodeProps:[["group",-14,4,80,82,83,85,87,89,91,93,94,95,97,100,103,"Statement Statement",-22,6,16,19,23,38,47,48,54,55,58,59,60,61,62,65,68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tOrIqrs)}swIqwx&>Ox#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqFT&>]X&^7[&WW&c,X&ap&f#tOr!!urs?ms#O!!u#O#P!#m#P#o!!u#o#pNc#p#q!!u#q#rMm#r~!!uMg&?_c&^7[&TS&WW&Q&j&Z`&ap&d!b&f#t%m,XOr$}rs&9Ysw$}wx&x!i!t&+n!t!u&5j!u!}&+n!}#O$}#O#P!$R#P#R$}#R#S&+n#S#T$}#T#U&+n#U#V&5j#V#Y&+n#Y#Z&>x#Z#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nG{&CXZ!V,X&^7[&TS&WW&Z`&ap&d!b&f#tOr$}rs&Rsw$}wxHsx#O$}#O#P!$R#P#o$}#o#p!%i#p#q$}#q#r!$g#r~$}x[O]||-1}],tokenPrec:7282});var I=r(59119);function w(O,$){let r=O.lineIndent($.from),Q=O.lineAt(O.pos,-1),P=Q.from+Q.text.length;return!/\S/.test(Q.text)&&O.node.tor?null:r+O.unit}let S=I.qp.define({name:"python",parser:q.configure({props:[I.uj.add({Body(O){var $;return null!==($=w(O,O.node))&&void 0!==$?$:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":(0,I.vw)({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":(0,I.vw)({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":(0,I.vw)({closing:"]"}),"String FormatString":()=>null,Script(O){if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let $=null;for(let r=O.node,Q=r.to;(r=r.lastChild)&&r.to==Q;)"Body"==r.type.name&&($=r);if($){let P=w(O,$);if(null!=P)return P}}return O.continue()}}),I.x0.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":I.Dv,Body:(O,$)=>({from:O.from+1,to:O.to-(O.to==$.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function Y(){return new I.ri(S)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8088.95cd2881059ccd46.js b/static/web/_next/static/chunks/8088.95cd2881059ccd46.js deleted file mode 100644 index e14d6107c..000000000 --- a/static/web/_next/static/chunks/8088.95cd2881059ccd46.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8088],{28088:function(O,$,r){r.r($),r.d($,{python:function(){return Y},pythonLanguage:function(){return S}});var Q=r(53105),P=r(35524);const e=new Set([23,47,48,255,63,121,54,55,230,60,61,58,59,71,142,143,146]),i=new Q.Jq(((O,$)=>{if(O.next<0)O.acceptToken(194);else if(10!=O.next&&13!=O.next);else if($.context.depth<0)O.acceptToken(192,1);else{O.advance();let $=0;for(;32==O.next||9==O.next;)O.advance(),$++;let r=10==O.next||13==O.next||35==O.next;O.acceptToken(r?193:191,-$)}}),{contextual:!0,fallback:!0}),p=new Q.Jq(((O,$)=>{let r=$.context.depth;if(r<0)return;let Q=O.peek(-1);if((10==Q||13==Q)&&$.context.depth>=0){let $=0,Q=0;for(;;){if(32==O.next)$++;else{if(9!=O.next)break;$+=8-$%8}O.advance(),Q++}$!=r&&10!=O.next&&13!=O.next&&35!=O.next&&($O.depth<0&&e.has($)?O.parent:O,shift:(O,$,r,Q)=>189==$?new o(O,function(O){let $=0;for(let r=0;rO.hash}),a=new Q.Jq((O=>{for(let $=0;$<5;$++){if(O.next!="print".charCodeAt($))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let $=0;;$++){let r=O.peek($);if(32!=r&&9!=r)return void(40!=r&&46!=r&&10!=r&&13!=r&&35!=r&&O.acceptToken(1))}})),t=(0,P.Gv)({'async "*" "**" FormatConversion FormatSpec':P.pJ.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":P.pJ.controlKeyword,"in not and or is del":P.pJ.operatorKeyword,"from def class global nonlocal lambda":P.pJ.definitionKeyword,import:P.pJ.moduleKeyword,"with as print":P.pJ.keyword,Boolean:P.pJ.bool,None:P.pJ.null,VariableName:P.pJ.variableName,"CallExpression/VariableName":P.pJ.function(P.pJ.variableName),"FunctionDefinition/VariableName":P.pJ.function(P.pJ.definition(P.pJ.variableName)),"ClassDefinition/VariableName":P.pJ.definition(P.pJ.className),PropertyName:P.pJ.propertyName,"CallExpression/MemberExpression/PropertyName":P.pJ.function(P.pJ.propertyName),Comment:P.pJ.lineComment,Number:P.pJ.number,String:P.pJ.string,FormatString:P.pJ.special(P.pJ.string),UpdateOp:P.pJ.updateOperator,ArithOp:P.pJ.arithmeticOperator,BitOp:P.pJ.bitwiseOperator,CompareOp:P.pJ.compareOperator,AssignOp:P.pJ.definitionOperator,Ellipsis:P.pJ.punctuation,At:P.pJ.meta,"( )":P.pJ.paren,"[ ]":P.pJ.squareBracket,"{ }":P.pJ.brace,".":P.pJ.derefOperator,", ;":P.pJ.separator}),x={__proto__:null,await:40,or:50,and:52,in:56,not:58,is:60,if:66,else:68,lambda:72,yield:90,from:92,async:98,for:100,None:152,True:154,False:154,del:168,pass:172,break:176,continue:180,return:184,raise:192,import:196,as:198,global:202,nonlocal:204,assert:208,elif:218,while:222,try:228,except:230,finally:232,with:236,def:240,class:250,match:261,case:267},q=Q.WQ.deserialize({version:14,states:"!L`O`Q$IXOOO%fQ$I[O'#G|OOQ$IS'#Cm'#CmOOQ$IS'#Cn'#CnO'UQ$IWO'#ClO(wQ$I[O'#G{OOQ$IS'#G|'#G|OOQ$IS'#DS'#DSOOQ$IS'#G{'#G{O)eQ$IWO'#CsO)uQ$IWO'#DdO*VQ$IWO'#DhOOQ$IS'#Ds'#DsO*j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p&w'O'V'Y'g'h'k'm'n'y(R(X(_(b(s)S)V)`)l)v*O*R*S*V*]*`*b*e*f*i*p*q*x*{+S+j+k+n+v+w+x+z+{,O,S,U,W,Y,Z,],o,q,x,{-n-o.b/o/p/qQ#xtW%X!p!t/j/tQ%Y!qQ%Z!rQ%]!uQ%g/iS'q%[/nQ's/kQ't/lQ,P*^Q-Q,QS-q-O.yR/v/xU#|u-s/wR(p&b[gOr#n$n)c+cX!yX#^$U$XQ#WZQ$RvR$[|Q%c!zQ%j!}Q%p#RQ'e$|Q(Q%fQ(U%kQ(^%qQ(a%rQ*h(ZQ-P,PQ-u-QR.d-tQ$ZxQ'|%dR*_'}Q-t-OR/T.yR#QYR#VZR%R!jQ%P!jV)}'h*O+v!]!mP!o#j#w$Y$h$t$v$w$x$y$z${%f%k%q%r&e&}'d(j(u)Y*Z*d+Z,V.w/mR%U!lR%z#^Q(g%zR*w(hQ$e!RQ&l$XQ)_'OR+_)`Q#rlQ$^!OQ$a!PR&t$`Q(z&sR+Q(}Q(z&sQ+P(|R+Q(}R$c!QXpOr)c+cQ$j!UR'P$kQ$q!XR'Q$lR)u'^Q)s'^V,r+q,s-]Q-l,wQ.W-fR.X-gU-e,w-f-gQ.]-iQ.h-{Q.m.RU.o.T.p/PQ.t.YQ/S.uQ/U.zU/W.{/Y/bQ/c/[Q/g/aR/h/dR.[-hR.j-{",nodeNames:"\u26a0 print Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatConversion FormatSpec ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:267,context:W,nodeProps:[["group",-14,4,80,82,83,85,87,89,91,93,94,95,97,100,103,"Statement Statement",-22,6,16,19,23,38,47,48,54,55,58,59,60,61,62,65,68,69,70,74,75,76,77,"Expression",-10,105,107,110,112,113,117,119,124,126,129,"Statement",-9,134,135,138,139,141,142,143,144,145,"Pattern"],["openedBy",21,"(",52,"[",56,"{"],["closedBy",22,")",53,"]",57,"}"]],propSources:[t],skippedNodes:[0,2],repeatNodeCount:38,tokenData:"&JdMgR!^OX$}XY!&]Y[$}[]!&]]p$}pq!&]qr!(grs!,^st!IYtu$}uv$5[vw$7nwx$8zxy%'vyz%(|z{%*S{|%,r|}%.O}!O%/U!O!P%1k!P!Q%UZ&^7[&WW&f#tOr(}rs)}sw(}wx>wx#O(}#O#P2]#P#o(}#o#p:X#p#q(}#q#r2q#r~(}:Y?QX&^7[&WW&f#tOr>wrs?ms#O>w#O#PAP#P#o>w#o#p8Y#p#q>w#q#r6g#r~>w:Y?rX&^7[Or>wrs@_s#O>w#O#PAP#P#o>w#o#p8Y#p#q>w#q#r6g#r~>w:Y@dX&^7[Or>wrs-}s#O>w#O#PAP#P#o>w#o#p8Y#p#q>w#q#r6g#r~>w:YAUT&^7[O#o>w#o#p6g#p#q>w#q#r6g#r~>w`x#O!`x#O!gZ&WW&R,XOY!wZ]!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!u!}&+n!}#O$}#O#P!$R#P#R$}#R#S&+n#S#T$}#T#f&+n#f#g&>x#g#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nGZ&9gZ&^7[&TS&Z`&d!b&`,XOr'Prs&:Ysw'Pwx(Rx#O'P#O#PAe#P#o'P#o#pEu#p#q'P#q#rAy#r~'PGZ&:eZ&^7[&TS&Z`&d!bOr'Prs&;Wsw'Pwx(Rx#O'P#O#PAe#P#o'P#o#pEu#p#q'P#q#rAy#r~'PD]&;eX&^7[&TS&e,X&Z`&d!bOwGgwx,kx#OGg#O#PH_#P#oGg#o#pET#p#qGg#q#rD_#r~GgGk&<_Z&^7[&WW&ap&f#t&Y,XOrIqrs)}swIqwx&=Qx#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqGk&=]Z&^7[&WW&ap&f#tOrIqrs)}swIqwx&>Ox#OIq#O#PJs#P#oIq#o#p! T#p#qIq#q#rKX#r~IqFT&>]X&^7[&WW&c,X&ap&f#tOr!!urs?ms#O!!u#O#P!#m#P#o!!u#o#pNc#p#q!!u#q#rMm#r~!!uMg&?_c&^7[&TS&WW&Q&j&Z`&ap&d!b&f#t%m,XOr$}rs&9Ysw$}wx&x!i!t&+n!t!u&5j!u!}&+n!}#O$}#O#P!$R#P#R$}#R#S&+n#S#T$}#T#U&+n#U#V&5j#V#Y&+n#Y#Z&>x#Z#o&+n#o#p!%i#p#q$}#q#r!$g#r$g$}$g~&+nG{&CXZ!V,X&^7[&TS&WW&Z`&ap&d!b&f#tOr$}rs&Rsw$}wxHsx#O$}#O#P!$R#P#o$}#o#p!%i#p#q$}#q#r!$g#r~$}x[O]||-1}],tokenPrec:7282});var I=r(59119);function w(O,$){let r=O.lineIndent($.from),Q=O.lineAt(O.pos,-1),P=Q.from+Q.text.length;return!/\S/.test(Q.text)&&O.node.tor?null:r+O.unit}const S=I.qp.define({name:"python",parser:q.configure({props:[I.uj.add({Body:O=>{var $;return null!==($=w(O,O.node))&&void 0!==$?$:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":(0,I.vw)({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":(0,I.vw)({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":(0,I.vw)({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let $=null;for(let r=O.node,Q=r.to;r=r.lastChild,r&&r.to==Q;)"Body"==r.type.name&&($=r);if($){let r=w(O,$);if(null!=r)return r}}return O.continue()}}),I.x0.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":I.Dv,Body:(O,$)=>({from:O.from+1,to:O.to-(O.to==$.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function Y(){return new I.ri(S)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8091-a6f276da992f1283.js b/static/web/_next/static/chunks/8091-a6f276da992f1283.js new file mode 100644 index 000000000..32690391c --- /dev/null +++ b/static/web/_next/static/chunks/8091-a6f276da992f1283.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8091],{86559:function(t,e,n){n.d(e,{Z:function(){return c}});var r,a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,n){var r,i=a[t];return(r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function o(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var u={date:o({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:o({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:o({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},d={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,i=null!=n&&n.width?String(n.width):a;r=t.formattingValues[i]||t.formattingValues[a]}else{var o=t.defaultWidth,u=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[u]||t.values[o]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.width,i=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var u=o[0],d=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],s=Array.isArray(d)?function(t,e){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(r.matchPattern);if(!n)return null;var a=n[0],i=t.match(r.parsePattern);if(!i)return null;var o=r.valueCallback?r.valueCallback(i[0]):i[0];return{value:o=e.valueCallback?e.valueCallback(o):o,rest:t.slice(a.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,n){n.d(e,{j:function(){return a}});var r={};function a(){return r}},24262:function(t,e,n){n.d(e,{Z:function(){return r}});function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}},83946:function(t,e,n){n.d(e,{Z:function(){return r}});function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}},58091:function(t,e,n){n.d(e,{Z:function(){return N}});var r=n(13882);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=n(19013),o=n(92234);function u(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getUTCDay();return e.setUTCDate(e.getUTCDate()-((n<1?7:0)+n-1)),e.setUTCHours(0,0,0,0),e}function d(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var o=u(a),d=new Date(0);d.setUTCFullYear(n,0,4),d.setUTCHours(0,0,0,0);var s=u(d);return e.getTime()>=o.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}var s=n(83946),l=n(84314);function c(t,e){(0,r.Z)(1,arguments);var n,a,o,u,d,c,h,f,m=(0,l.j)(),g=(0,s.Z)(null!==(n=null!==(a=null!==(o=null!==(u=null==e?void 0:e.weekStartsOn)&&void 0!==u?u:null==e?void 0:null===(d=e.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==a?a:null===(h=m.locale)||void 0===h?void 0:null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,i.Z)(t),w=v.getUTCDay();return v.setUTCDate(v.getUTCDate()-((w=1&&b<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(v+1,0,b),y.setUTCHours(0,0,0,0);var p=c(y,e),T=new Date(0);T.setUTCFullYear(v,0,b),T.setUTCHours(0,0,0,0);var C=c(T,e);return g.getTime()>=p.getTime()?v+1:g.getTime()>=C.getTime()?v:v-1}function f(t,e){for(var n=Math.abs(t).toString();n.length0?n:1-n;return f("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):f(n+1,2)},d:function(t,e){return f(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return f(t.getUTCHours()%12||12,e.length)},H:function(t,e){return f(t.getUTCHours(),e.length)},m:function(t,e){return f(t.getUTCMinutes(),e.length)},s:function(t,e){return f(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length;return f(Math.floor(t.getUTCMilliseconds()*Math.pow(10,n-3)),e.length)}},g={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function v(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+(e||"")+f(i,2)}function w(t,e){return t%60==0?(t>0?"-":"+")+f(Math.abs(t)/60,2):b(t,e)}function b(t,e){var n=Math.abs(t);return(t>0?"-":"+")+f(Math.floor(n/60),2)+(e||"")+f(n%60,2)}var y={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear();return n.ordinalNumber(r>0?r:1-r,{unit:"year"})}return m.y(t,e)},Y:function(t,e,n,r){var a=h(t,r),i=a>0?a:1-a;return"YY"===e?f(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):f(i,e.length)},R:function(t,e){return f(d(t),e.length)},u:function(t,e){return f(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return f(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return f(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return m.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return f(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,a){var o=function(t,e){(0,r.Z)(1,arguments);var n=(0,i.Z)(t);return Math.round((c(n,e).getTime()-(function(t,e){(0,r.Z)(1,arguments);var n,a,i,o,u,d,f,m,g=(0,l.j)(),v=(0,s.Z)(null!==(n=null!==(a=null!==(i=null!==(o=null==e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null==e?void 0:null===(u=e.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:g.firstWeekContainsDate)&&void 0!==a?a:null===(f=g.locale)||void 0===f?void 0:null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==n?n:1),w=h(t,e),b=new Date(0);return b.setUTCFullYear(w,0,v),b.setUTCHours(0,0,0,0),c(b,e)})(n,e).getTime())/6048e5)+1}(t,a);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):f(o,e.length)},I:function(t,e,n){var a=function(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t);return Math.round((u(e).getTime()-(function(t){(0,r.Z)(1,arguments);var e=d(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),u(n)})(e).getTime())/6048e5)+1}(t);return"Io"===e?n.ordinalNumber(a,{unit:"week"}):f(a,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):m.d(t,e)},D:function(t,e,n){var a=function(t){(0,r.Z)(1,arguments);var e=(0,i.Z)(t),n=e.getTime();return e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0),Math.floor((n-e.getTime())/864e5)+1}(t);return"Do"===e?n.ordinalNumber(a,{unit:"dayOfYear"}):f(a,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return f(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return f(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return f(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?g.noon:0===a?g.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?g.evening:a>=12?g.afternoon:a>=4?g.morning:g.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return m.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):m.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return(0===r&&(r=24),"ko"===e)?n.ordinalNumber(r,{unit:"hour"}):f(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):m.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):m.s(t,e)},S:function(t,e){return m.S(t,e)},X:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return w(a);case"XXXX":case"XX":return b(a);default:return b(a,":")}},x:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return w(a);case"xxxx":case"xx":return b(a);default:return b(a,":")}},O:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+v(a,":");default:return"GMT"+b(a,":")}},z:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+v(a,":");default:return"GMT"+b(a,":")}},t:function(t,e,n,r){return f(Math.floor((r._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,n,r){return f((r._originalDate||t).getTime(),e.length)}},p=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},T=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},C=function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return p(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",p(a,e)).replace("{{time}}",T(i,e))},M={p:T,P:C},k=n(24262),D=["D","DD"],U=["YY","YYYY"];function x(t,e,n){if("YYYY"===t)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var S=n(86559),P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Y=/^'([^]*?)'?$/,Z=/''/g,E=/[a-zA-Z]/;function N(t,e,n){(0,r.Z)(2,arguments);var u,d,c,h,f,m,g,v,w,b,p,T,C,N,O,q,H,F,j=String(e),z=(0,l.j)(),L=null!==(u=null!==(d=null==n?void 0:n.locale)&&void 0!==d?d:z.locale)&&void 0!==u?u:S.Z,Q=(0,s.Z)(null!==(c=null!==(h=null!==(f=null!==(m=null==n?void 0:n.firstWeekContainsDate)&&void 0!==m?m:null==n?void 0:null===(g=n.locale)||void 0===g?void 0:null===(v=g.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==f?f:z.firstWeekContainsDate)&&void 0!==h?h:null===(w=z.locale)||void 0===w?void 0:null===(b=w.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==c?c:1);if(!(Q>=1&&Q<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=(0,s.Z)(null!==(p=null!==(T=null!==(C=null!==(N=null==n?void 0:n.weekStartsOn)&&void 0!==N?N:null==n?void 0:null===(O=n.locale)||void 0===O?void 0:null===(q=O.options)||void 0===q?void 0:q.weekStartsOn)&&void 0!==C?C:z.weekStartsOn)&&void 0!==T?T:null===(H=z.locale)||void 0===H?void 0:null===(F=H.options)||void 0===F?void 0:F.weekStartsOn)&&void 0!==p?p:0);if(!(A>=0&&A<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw RangeError("locale must contain localize property");if(!L.formatLong)throw RangeError("locale must contain formatLong property");var G=(0,i.Z)(t);if(!function(t){return(0,r.Z)(1,arguments),(!!function(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===a(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)||"number"==typeof t)&&!isNaN(Number((0,i.Z)(t)))}(G))throw RangeError("Invalid time value");var X=(0,k.Z)(G),B=(0,o.Z)(G,X),R={firstWeekContainsDate:Q,weekStartsOn:A,locale:L,_originalDate:G};return j.match(W).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,M[e])(t,L.formatLong):t}).join("").match(P).map(function(r){if("''"===r)return"'";var a,i=r[0];if("'"===i)return(a=r.match(Y))?a[1].replace(Z,"'"):r;var o=y[i];if(o)return null!=n&&n.useAdditionalWeekYearTokens||-1===U.indexOf(r)||x(r,e,String(t)),null!=n&&n.useAdditionalDayOfYearTokens||-1===D.indexOf(r)||x(r,e,String(t)),o(B,r,L.localize,R);if(i.match(E))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r}).join("")}},92234:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(83946),a=n(19013),i=n(13882);function o(t,e){return(0,i.Z)(2,arguments),function(t,e){(0,i.Z)(2,arguments);var n=(0,a.Z)(t).getTime(),o=(0,r.Z)(e);return new Date(n+o)}(t,-(0,r.Z)(e))}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8091-d7457a988f3f1d54.js b/static/web/_next/static/chunks/8091-d7457a988f3f1d54.js deleted file mode 100644 index a6fa7a8de..000000000 --- a/static/web/_next/static/chunks/8091-d7457a988f3f1d54.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8091],{86559:function(t,e,n){n.d(e,{Z:function(){return v}});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},a=function(t,e,n){var a,i=r[t];return a="string"===typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function i(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=function(t,e,n,r){return u[t]};function s(t){return function(e,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&t.formattingValues){var a=t.defaultFormattingWidth||t.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):a;r=t.formattingValues[i]||t.formattingValues[a]}else{var o=t.defaultWidth,u=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[u]||t.values[o]}return r[t.argumentCallback?t.argumentCallback(e):e]}}var l={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function c(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(a);if(!i)return null;var o,u=i[0],d=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],s=Array.isArray(d)?f(d,(function(t){return t.test(u)})):h(d,(function(t){return t.test(u)}));o=t.valueCallback?t.valueCallback(s):s,o=n.valueCallback?n.valueCallback(o):o;var l=e.slice(u.length);return{value:o,rest:l}}}function h(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function f(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(m.matchPattern);if(!n)return null;var r=n[0],a=t.match(m.parsePattern);if(!a)return null;var i=m.valueCallback?m.valueCallback(a[0]):a[0];i=e.valueCallback?e.valueCallback(i):i;var o=t.slice(r.length);return{value:i,rest:o}}),era:c({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:c({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:c({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:c({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:c({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},v={code:"en-US",formatDistance:a,formatLong:o,formatRelative:d,localize:l,match:g,options:{weekStartsOn:0,firstWeekContainsDate:1}}},84314:function(t,e,n){n.d(e,{j:function(){return a}});var r={};function a(){return r}},24262:function(t,e,n){function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,{Z:function(){return r}})},83946:function(t,e,n){function r(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}n.d(e,{Z:function(){return r}})},58091:function(t,e,n){n.d(e,{Z:function(){return _}});var r=n(13882);function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(t){return(0,r.Z)(1,arguments),t instanceof Date||"object"===a(t)&&"[object Date]"===Object.prototype.toString.call(t)}var o=n(19013);function u(t){if((0,r.Z)(1,arguments),!i(t)&&"number"!==typeof t)return!1;var e=(0,o.Z)(t);return!isNaN(Number(e))}var d=n(92234),s=864e5;function l(t){(0,r.Z)(1,arguments);var e=1,n=(0,o.Z)(t),a=n.getUTCDay(),i=(a=i.getTime()?n+1:e.getTime()>=d.getTime()?n:n-1}function h(t){(0,r.Z)(1,arguments);var e=c(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var a=l(n);return a}var f=6048e5;var m=n(83946),g=n(84314);function v(t,e){var n,a,i,u,d,s,l,c;(0,r.Z)(1,arguments);var h=(0,g.j)(),f=(0,m.Z)(null!==(n=null!==(a=null!==(i=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(d=e.locale)||void 0===d||null===(s=d.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:h.weekStartsOn)&&void 0!==a?a:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,o.Z)(t),w=v.getUTCDay(),b=(w=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(f+1,0,b),y.setUTCHours(0,0,0,0);var T=v(y,e),p=new Date(0);p.setUTCFullYear(f,0,b),p.setUTCHours(0,0,0,0);var C=v(p,e);return h.getTime()>=T.getTime()?f+1:h.getTime()>=C.getTime()?f:f-1}function b(t,e){var n,a,i,o,u,d,s,l;(0,r.Z)(1,arguments);var c=(0,g.j)(),h=(0,m.Z)(null!==(n=null!==(a=null!==(i=null!==(o=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==o?o:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==i?i:c.firstWeekContainsDate)&&void 0!==a?a:null===(s=c.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==n?n:1),f=w(t,e),b=new Date(0);b.setUTCFullYear(f,0,h),b.setUTCHours(0,0,0,0);var y=v(b,e);return y}var y=6048e5;function T(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length0?n:1-n;return T("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):T(n+1,2)},d:function(t,e){return T(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return T(t.getUTCHours()%12||12,e.length)},H:function(t,e){return T(t.getUTCHours(),e.length)},m:function(t,e){return T(t.getUTCMinutes(),e.length)},s:function(t,e){return T(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length,r=t.getUTCMilliseconds();return T(Math.floor(r*Math.pow(10,n-3)),e.length)}},C="midnight",M="noon",k="morning",D="afternoon",U="evening",x="night",S={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),a=r>0?r:1-r;return n.ordinalNumber(a,{unit:"year"})}return p.y(t,e)},Y:function(t,e,n,r){var a=w(t,r),i=a>0?a:1-a;return"YY"===e?T(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):T(i,e.length)},R:function(t,e){return T(c(t),e.length)},u:function(t,e){return T(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return T(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return T(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return p.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return T(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,a){var i=function(t,e){(0,r.Z)(1,arguments);var n=(0,o.Z)(t),a=v(n,e).getTime()-b(n,e).getTime();return Math.round(a/y)+1}(t,a);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):T(i,e.length)},I:function(t,e,n){var a=function(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=l(e).getTime()-h(e).getTime();return Math.round(n/f)+1}(t);return"Io"===e?n.ordinalNumber(a,{unit:"week"}):T(a,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):p.d(t,e)},D:function(t,e,n){var a=function(t){(0,r.Z)(1,arguments);var e=(0,o.Z)(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var a=e.getTime(),i=n-a;return Math.floor(i/s)+1}(t);return"Do"===e?n.ordinalNumber(a,{unit:"dayOfYear"}):T(a,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return T(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var a=t.getUTCDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return T(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return T(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,a=t.getUTCHours();switch(r=12===a?M:0===a?C:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,a=t.getUTCHours();switch(r=a>=17?U:a>=12?D:a>=4?k:x,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return p.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):p.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):T(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):T(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):p.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):p.s(t,e)},S:function(t,e){return p.S(t,e)},X:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();if(0===a)return"Z";switch(e){case"X":return W(a);case"XXXX":case"XX":return Y(a);default:return Y(a,":")}},x:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return W(a);case"xxxx":case"xx":return Y(a);default:return Y(a,":")}},O:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+P(a,":");default:return"GMT"+Y(a,":")}},z:function(t,e,n,r){var a=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+P(a,":");default:return"GMT"+Y(a,":")}},t:function(t,e,n,r){var a=r._originalDate||t;return T(Math.floor(a.getTime()/1e3),e.length)},T:function(t,e,n,r){return T((r._originalDate||t).getTime(),e.length)}};function P(t,e){var n=t>0?"-":"+",r=Math.abs(t),a=Math.floor(r/60),i=r%60;if(0===i)return n+String(a);var o=e||"";return n+String(a)+o+T(i,2)}function W(t,e){return t%60===0?(t>0?"-":"+")+T(Math.abs(t)/60,2):Y(t,e)}function Y(t,e){var n=e||"",r=t>0?"-":"+",a=Math.abs(t);return r+T(Math.floor(a/60),2)+n+T(a%60,2)}var Z=S,E=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},N=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},O={p:N,P:function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return E(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",E(a,e)).replace("{{time}}",N(i,e))}},q=n(24262),H=["D","DD"],F=["YY","YYYY"];function j(t){return-1!==H.indexOf(t)}function z(t){return-1!==F.indexOf(t)}function L(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Q=n(86559),A=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,G=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X=/^'([^]*?)'?$/,B=/''/g,R=/[a-zA-Z]/;function _(t,e,n){var a,i,s,l,c,h,f,v,w,b,y,T,p,C,M,k,D,U;(0,r.Z)(2,arguments);var x=String(e),S=(0,g.j)(),P=null!==(a=null!==(i=null===n||void 0===n?void 0:n.locale)&&void 0!==i?i:S.locale)&&void 0!==a?a:Q.Z,W=(0,m.Z)(null!==(s=null!==(l=null!==(c=null!==(h=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null===n||void 0===n||null===(f=n.locale)||void 0===f||null===(v=f.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==c?c:S.firstWeekContainsDate)&&void 0!==l?l:null===(w=S.locale)||void 0===w||null===(b=w.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==s?s:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=(0,m.Z)(null!==(y=null!==(T=null!==(p=null!==(C=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==C?C:null===n||void 0===n||null===(M=n.locale)||void 0===M||null===(k=M.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==p?p:S.weekStartsOn)&&void 0!==T?T:null===(D=S.locale)||void 0===D||null===(U=D.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==y?y:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var E=(0,o.Z)(t);if(!u(E))throw new RangeError("Invalid time value");var N=(0,q.Z)(E),H=(0,d.Z)(E,N),F={firstWeekContainsDate:W,weekStartsOn:Y,locale:P,_originalDate:E},X=x.match(G).map((function(t){var e=t[0];return"p"===e||"P"===e?(0,O[e])(t,P.formatLong):t})).join("").match(A).map((function(r){if("''"===r)return"'";var a=r[0];if("'"===a)return J(r);var i=Z[a];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!z(r)||L(r,e,String(t)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!j(r)||L(r,e,String(t)),i(H,r,P.localize,F);if(a.match(R))throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`");return r})).join("");return X}function J(t){var e=t.match(X);return e?e[1].replace(B,"'"):t}},92234:function(t,e,n){n.d(e,{Z:function(){return u}});var r=n(83946),a=n(19013),i=n(13882);function o(t,e){(0,i.Z)(2,arguments);var n=(0,a.Z)(t).getTime(),o=(0,r.Z)(e);return new Date(n+o)}function u(t,e){(0,i.Z)(2,arguments);var n=(0,r.Z)(e);return o(t,-n)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8142.7d4f0b720235e6c5.js b/static/web/_next/static/chunks/8142.7d4f0b720235e6c5.js deleted file mode 100644 index 6b7195b14..000000000 --- a/static/web/_next/static/chunks/8142.7d4f0b720235e6c5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8142],{78142:function(e,t,n){n.r(t),n.d(t,{protobuf:function(){return u}});var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],a=new RegExp("^(("+r.join(")|(")+"))\\b","i"),i=new RegExp("^[_A-Za-z\xa1-\uffff][_A-Za-z0-9\xa1-\uffff]*");const u={name:"protobuf",token:function(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(a)?"keyword":e.match(i)?"variable":(e.next(),null)},languageData:{autocomplete:r}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8142.d8e6c66ac26970a0.js b/static/web/_next/static/chunks/8142.d8e6c66ac26970a0.js new file mode 100644 index 000000000..c95ef75d3 --- /dev/null +++ b/static/web/_next/static/chunks/8142.d8e6c66ac26970a0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8142],{78142:function(e,t,a){a.r(t),a.d(t,{protobuf:function(){return r}});var n=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],i=RegExp("^(("+n.join(")|(")+"))\\b","i"),o=RegExp("^[_A-Za-z\xa1-￿][_A-Za-z0-9\xa1-￿]*");let r={name:"protobuf",token:function(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(i)?"keyword":e.match(o)?"variable":(e.next(),null)},languageData:{autocomplete:n}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8171.be46684e317d40a7.js b/static/web/_next/static/chunks/8171.be46684e317d40a7.js deleted file mode 100644 index 102096698..000000000 --- a/static/web/_next/static/chunks/8171.be46684e317d40a7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8171],{48171:function(r,e,t){t.r(e),t.d(e,{rpmChanges:function(){return o},rpmSpec:function(){return f}});var n=/^-+$/,a=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;const o={name:"rpmchanges",token:function(r){if(r.sol()){if(r.match(n))return"tag";if(r.match(a))return"tag"}return r.match(c)?"string":(r.next(),null)}};var i=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,u=/^[a-zA-Z0-9()]+:/,p=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,s=/^%(ifnarch|ifarch|if)/,l=/^%(else|endif)/,m=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const f={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){if("#"==r.peek())return r.skipToEnd(),"comment";if(r.sol()){if(r.match(u))return"header";if(r.match(p))return"atom"}if(r.match(/^\$\w+/))return"def";if(r.match(/^\$\{\w+\}/))return"def";if(r.match(l))return"keyword";if(r.match(s))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(m))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(i))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8171.da41f4d3690366fc.js b/static/web/_next/static/chunks/8171.da41f4d3690366fc.js new file mode 100644 index 000000000..8cca498b7 --- /dev/null +++ b/static/web/_next/static/chunks/8171.da41f4d3690366fc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8171],{48171:function(r,e,t){t.r(e),t.d(e,{rpmChanges:function(){return o},rpmSpec:function(){return h}});var n=/^-+$/,a=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;let o={name:"rpmchanges",token:function(r){return r.sol()&&(r.match(n)||r.match(a))?"tag":r.match(c)?"string":(r.next(),null)}};var i=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,p=/^[a-zA-Z0-9()]+:/,u=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,l=/^%(ifnarch|ifarch|if)/,m=/^%(else|endif)/,s=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;let h={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){if("#"==r.peek())return r.skipToEnd(),"comment";if(r.sol()){if(r.match(p))return"header";if(r.match(u))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(m))return"keyword";if(r.match(l))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(s))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(i))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8225.b1ad83c90140af1a.js b/static/web/_next/static/chunks/8225.b1ad83c90140af1a.js deleted file mode 100644 index e5320b3e5..000000000 --- a/static/web/_next/static/chunks/8225.b1ad83c90140af1a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8225],{98225:function(e,n,t){t.r(n),t.d(n,{NameChangeModal:function(){return f}});var r=t(29815),a=t(85893),o=t(67294),i=t(4480),u=t(38939),l=t(69677),s=t(71577),c=t(11622),d=t(1899),h=u.Z.Option,C=function(e){var n=e.color,t={textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(n,")"),width:"100%",height:"100%"};return(0,a.jsx)("div",{style:t})},f=function(){var e=(0,i.sJ)(d.db);if(!e)return null;var n=e.displayName,t=e.displayColor,f=(0,i.sJ)(d.Gt),p=(0,o.useState)(n),m=p[0],g=p[1],v=m!==n&&""!==m&&(null===f||void 0===f?void 0:f.isConnected()),x=(0,r.Z)(Array(8)).map((function(e,n){return n}));return(0,a.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages. Other information can go here to mention auth, and stuff.",(0,a.jsx)(l.Z,{value:m,onChange:function(e){return g(e.target.value)},placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:n}),(0,a.jsx)(s.Z,{disabled:!v,onClick:function(){var e={type:c.C.NAME_CHANGE,newName:m};f.send(e)},children:"Change name"}),(0,a.jsxs)("div",{children:["Your Color",(0,a.jsx)(u.Z,{style:{width:120},onChange:function(e){var n={type:c.C.COLOR_CHANGE,newColor:Number(e)};f.send(n)},defaultValue:t.toString(),getPopupContainer:function(e){return e.parentElement},children:x.map((function(e){return(0,a.jsx)(h,{title:e,children:(0,a.jsx)(C,{color:e})},e.toString())}))})]})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8283.f3ad637afdb405a3.js b/static/web/_next/static/chunks/8283.f41216fedc310fb2.js similarity index 85% rename from static/web/_next/static/chunks/8283.f3ad637afdb405a3.js rename to static/web/_next/static/chunks/8283.f41216fedc310fb2.js index b66f52e33..1a6f60d5f 100644 --- a/static/web/_next/static/chunks/8283.f3ad637afdb405a3.js +++ b/static/web/_next/static/chunks/8283.f41216fedc310fb2.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8283],{8283:function(e,t,n){function a(e){for(var t={},n=0;n\/\:]/,s=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function l(e,t){if(e.match(s))return"operator";var n,a=e.next();if("!"==a)return e.skipToEnd(),"comment";if('"'==a||"'"==a)return t.tokenize=(n=a,function(e,t){for(var a,i=!1,r=!1;null!=(a=e.next());){if(a==n&&!i){r=!0;break}i=!i&&"\\"==a}return!r&&i||(t.tokenize=null),"string"}),t.tokenize(e,t);if(/[\[\]\(\),]/.test(a))return null;if(/\d/.test(a))return e.eatWhile(/[\w\.]/),"number";if(o.test(a))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_]/);var l=e.current().toLowerCase();return i.hasOwnProperty(l)?"keyword":r.hasOwnProperty(l)||c.hasOwnProperty(l)?"builtin":"variable"}const _={name:"fortran",startState:function(){return{tokenize:null}},token:function(e,t){if(e.eatSpace())return null;var n=(t.tokenize||l)(e,t);return n}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8283],{8283:function(e,t,n){function a(e){for(var t={},n=0;n\/\:]/,s=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function l(e,t){if(e.match(s))return"operator";var n=e.next();if("!"==n)return e.skipToEnd(),"comment";if('"'==n||"'"==n)return t.tokenize=function(e,t){for(var a,i=!1,r=!1;null!=(a=e.next());){if(a==n&&!i){r=!0;break}i=!i&&"\\"==a}return(r||!i)&&(t.tokenize=null),"string"},t.tokenize(e,t);if(/[\[\]\(\),]/.test(n))return null;if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(o.test(n))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_]/);var a=e.current().toLowerCase();return i.hasOwnProperty(a)?"keyword":r.hasOwnProperty(a)||c.hasOwnProperty(a)?"builtin":"variable"}let _={name:"fortran",startState:function(){return{tokenize:null}},token:function(e,t){return e.eatSpace()?null:(t.tokenize||l)(e,t)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8393.4276c63baa000f93.js b/static/web/_next/static/chunks/8393.4276c63baa000f93.js new file mode 100644 index 000000000..3e58f8e6f --- /dev/null +++ b/static/web/_next/static/chunks/8393.4276c63baa000f93.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8393],{68393:function(E,t,e){function R(E){var t=[];return E.split(" ").forEach(function(E){t.push({name:E})}),t}e.r(t),e.d(t,{forth:function(){return n}});var i=R("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),r=R("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function O(E,t){var e;for(e=E.length-1;e>=0;e--)if(E[e].name===t.toUpperCase())return E[e]}let n={name:"forth",startState:function(){return{state:"",base:10,coreWordList:i,immediateWordList:r,wordList:[]}},token:function(E,t){var e;if(E.eatSpace())return null;if(""===t.state){if(E.match(/^(\]|:NONAME)(\s|$)/i))return t.state=" compilation","builtin";if(e=E.match(/^(\:)\s+(\S+)(\s|$)+/))return t.wordList.push({name:e[2].toUpperCase()}),t.state=" compilation","def";if(e=E.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return t.wordList.push({name:e[2].toUpperCase()}),"def";if(e=E.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"}else{if(E.match(/^(\;|\[)(\s)/))return t.state="",E.backUp(1),"builtin";if(E.match(/^(\;|\[)($)/))return t.state="","builtin";if(E.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(e=E.match(/^(\S+)(\s+|$)/))return void 0!==O(t.wordList,e[1])?"variable":"\\"===e[1]?(E.skipToEnd(),"comment"):void 0!==O(t.coreWordList,e[1])?"builtin":void 0!==O(t.immediateWordList,e[1])?"keyword":"("===e[1]?(E.eatWhile(function(E){return")"!==E}),E.eat(")"),"comment"):".("===e[1]?(E.eatWhile(function(E){return")"!==E}),E.eat(")"),"string"):'S"'===e[1]||'."'===e[1]||'C"'===e[1]?(E.eatWhile(function(E){return'"'!==E}),E.eat('"'),"string"):e[1]-68719476735?"number":"atom"}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8393.6185826d3b4fcf14.js b/static/web/_next/static/chunks/8393.6185826d3b4fcf14.js deleted file mode 100644 index 8ad32e283..000000000 --- a/static/web/_next/static/chunks/8393.6185826d3b4fcf14.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8393],{68393:function(E,t,R){function e(E){var t=[];return E.split(" ").forEach((function(E){t.push({name:E})})),t}R.r(t),R.d(t,{forth:function(){return O}});var i=e("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),n=e("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function r(E,t){var R;for(R=E.length-1;R>=0;R--)if(E[R].name===t.toUpperCase())return E[R]}const O={name:"forth",startState:function(){return{state:"",base:10,coreWordList:i,immediateWordList:n,wordList:[]}},token:function(E,t){var R;if(E.eatSpace())return null;if(""===t.state){if(E.match(/^(\]|:NONAME)(\s|$)/i))return t.state=" compilation","builtin";if(R=E.match(/^(\:)\s+(\S+)(\s|$)+/))return t.wordList.push({name:R[2].toUpperCase()}),t.state=" compilation","def";if(R=E.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return t.wordList.push({name:R[2].toUpperCase()}),"def";if(R=E.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"}else{if(E.match(/^(\;|\[)(\s)/))return t.state="",E.backUp(1),"builtin";if(E.match(/^(\;|\[)($)/))return t.state="","builtin";if(E.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return(R=E.match(/^(\S+)(\s+|$)/))?void 0!==r(t.wordList,R[1])?"variable":"\\"===R[1]?(E.skipToEnd(),"comment"):void 0!==r(t.coreWordList,R[1])?"builtin":void 0!==r(t.immediateWordList,R[1])?"keyword":"("===R[1]?(E.eatWhile((function(E){return")"!==E})),E.eat(")"),"comment"):".("===R[1]?(E.eatWhile((function(E){return")"!==E})),E.eat(")"),"string"):'S"'===R[1]||'."'===R[1]||'C"'===R[1]?(E.eatWhile((function(E){return'"'!==E})),E.eat('"'),"string"):R[1]-68719476735?"number":"atom":void 0}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8561.44e24a01c357106d.js b/static/web/_next/static/chunks/8561.e0ae2c126e26850c.js similarity index 73% rename from static/web/_next/static/chunks/8561.44e24a01c357106d.js rename to static/web/_next/static/chunks/8561.e0ae2c126e26850c.js index 301e5e8a5..7a5765421 100644 --- a/static/web/_next/static/chunks/8561.44e24a01c357106d.js +++ b/static/web/_next/static/chunks/8561.e0ae2c126e26850c.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8561],{78561:function(e,_,t){function r(e){for(var _={},t=e.split(" "),r=0;r*\/]/.test(s)?n(null,"select-op"):/[;{}:\[\]]/.test(s)?n(null,s):(e.eatWhile(/[\w\\\-]/),n("variable","variable")):n(null,"compare"):void n(null,"compare")}function l(e,_){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){_.tokenize=c;break}r="*"==t}return n("comment","comment")}function p(e,_){for(var t,r=0;null!=(t=e.next());){if(r>=2&&">"==t){_.tokenize=c;break}r="-"==t?r+1:0}return n("comment","comment")}const u={name:"nginx",startState:function(){return{tokenize:c,baseIndent:0,stack:[]}},token:function(e,_){if(e.eatSpace())return null;s=null;var t=_.tokenize(e,_),r=_.stack[_.stack.length-1];return"hash"==s&&"rule"==r?t="atom":"variable"==t&&("rule"==r?t="number":r&&"@media{"!=r||(t="tag")),"rule"==r&&/^[\{\};]$/.test(s)&&_.stack.pop(),"{"==s?"@media"==r?_.stack[_.stack.length-1]="@media{":_.stack.push("{"):"}"==s?_.stack.pop():"@media"==s?_.stack.push("@media"):"{"==r&&"comment"!=s&&_.stack.push("rule"),t},indent:function(e,_,t){var r=e.stack.length;return/^\}/.test(_)&&(r-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+r*t.unit},languageData:{indentOnInput:/^\s*\}$/}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8561],{78561:function(e,_,t){function r(e){for(var _={},t=e.split(" "),r=0;r*\/]/.test(r))return s="select-op",null;else return/[;{}:\[\]]/.test(r)?(s=r,null):(e.eatWhile(/[\w\\\-]/),s="variable","variable")}function c(e,_){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){_.tokenize=n;break}r="*"==t}return s="comment","comment"}function l(e,_){for(var t,r=0;null!=(t=e.next());){if(r>=2&&">"==t){_.tokenize=n;break}r="-"==t?r+1:0}return s="comment","comment"}let p={name:"nginx",startState:function(){return{tokenize:n,baseIndent:0,stack:[]}},token:function(e,_){if(e.eatSpace())return null;s=null;var t=_.tokenize(e,_),r=_.stack[_.stack.length-1];return"hash"==s&&"rule"==r?t="atom":"variable"!=t||("rule"==r?t="number":r&&"@media{"!=r||(t="tag")),"rule"==r&&/^[\{\};]$/.test(s)&&_.stack.pop(),"{"==s?"@media"==r?_.stack[_.stack.length-1]="@media{":_.stack.push("{"):"}"==s?_.stack.pop():"@media"==s?_.stack.push("@media"):"{"==r&&"comment"!=s&&_.stack.push("rule"),t},indent:function(e,_,t){var r=e.stack.length;return/^\}/.test(_)&&(r-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+r*t.unit},languageData:{indentOnInput:/^\s*\}$/}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js b/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js deleted file mode 100644 index 075036a9a..000000000 --- a/static/web/_next/static/chunks/8676-58e1723c87a0d4ec.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8676],{66567:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BookTwoTone";var i=r.forwardRef(l)},24019:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ClockCircleOutlined";var i=r.forwardRef(l)},78346:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="MessageTwoTone";var i=r.forwardRef(l)},63179:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PlaySquareTwoTone";var i=r.forwardRef(l)},27482:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ProfileTwoTone";var i=r.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var i=r.forwardRef(l)},54907:function(e,t,n){n.d(t,{Z:function(){return R}});var a=n(87462),r=n(4942),o=n(18073),c=n(94184),l=n.n(c),i=n(74902),s=n(15671),d=n(43144),u=n(60136),v=n(33643),f=n(71002),p=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),g=n(97685),C=p.forwardRef((function(e,t){var n,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,v=p.useState(d||o),f=(0,g.Z)(v,2),m=f[0],h=f[1];return p.useEffect((function(){(o||d)&&h(!0)}),[o,d]),m?p.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),c),style:i,role:u},p.createElement("div",{className:"".concat(a,"-content-box")},s)):null}));C.displayName="PanelContent";var w=C,k=function(e){(0,u.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=new Array(a),o=0;o-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(t),v=e.props,f=v.header,m=v.headerClass,h=v.destroyInactivePanel,Z=v.collapsible,y=null!==Z&&void 0!==Z?Z:d,g={key:u,panelKey:u,header:f,headerClass:m,isActive:l?n[0]===u:n.indexOf(u)>-1,prefixCls:o,destroyInactivePanel:null!==h&&void 0!==h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===y?null:a.onClickItem,expandIcon:s,collapsible:y};return"string"===typeof e.type?e:(Object.keys(g).forEach((function(e){"undefined"===typeof g[e]&&delete g[e]})),p.cloneElement(e,g))},a.getItems=function(){var e=a.props.children;return(0,Z.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:x(o)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,c=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return p.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=x(e.activeKey)),t}}]),n}(p.Component);b.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},b.Panel=z;var N=b,E=(b.Panel,n(98423)),I=n(53124),M=n(33603),P=n(96159),A=function(e){var t,n=p.useContext(I.E_),c=n.getPrefixCls,i=n.direction,s=e.prefixCls,d=e.className,u=void 0===d?"":d,v=e.bordered,f=void 0===v||v,m=e.ghost,h=e.expandIconPosition,y=void 0===h?"start":h,g=c("collapse",s),C=p.useMemo((function(){return"left"===y?"start":"right"===y?"end":y}),[y]),w=l()("".concat(g,"-icon-position-").concat(C),(t={},(0,r.Z)(t,"".concat(g,"-borderless"),!f),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===i),(0,r.Z)(t,"".concat(g,"-ghost"),!!m),t),u),k=(0,a.Z)((0,a.Z)({},M.ZP),{motionAppear:!1,leavedClassName:"".concat(g,"-content-hidden")});return p.createElement(N,(0,a.Z)({openMotion:k},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):p.createElement(o.Z,{rotate:t.isActive?90:void 0});return(0,P.Tm)(a,(function(){return{className:l()(a.props.className,"".concat(g,"-arrow"))}}))},prefixCls:g,className:w}),function(){var t=e.children;return(0,Z.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,E.Z)(e.props,["disabled"])),{key:r,collapsible:null!==l&&void 0!==l?l:c?"disabled":void 0});return(0,P.Tm)(e,i)}return e}))}())};A.Panel=function(e){var t=p.useContext(I.E_).getPrefixCls,n=e.prefixCls,o=e.className,c=void 0===o?"":o,i=e.showArrow,s=void 0===i||i,d=t("collapse",n),u=l()((0,r.Z)({},"".concat(d,"-no-arrow"),!s),c);return p.createElement(N.Panel,(0,a.Z)({},e,{prefixCls:d,className:u}))};var R=A},75401:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(24262),r=n(19013),o=n(13882);function c(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}var l=864e5;function i(e,t){(0,o.Z)(2,arguments);var n=c(e),r=c(t),i=n.getTime()-(0,a.Z)(n),s=r.getTime()-(0,a.Z)(r);return Math.round((i-s)/l)}},19642:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(84314),r=n(75401),o=n(58091),c=n(86559),l=n(92234),i=n(19013),s=n(24262),d=n(13882),u=n(83946);function v(e,t,n){var v,f,p,m,h,Z,y,g,C,w;(0,d.Z)(2,arguments);var k=(0,i.Z)(e),z=(0,i.Z)(t),x=(0,a.j)(),b=null!==(v=null!==(f=null===n||void 0===n?void 0:n.locale)&&void 0!==f?f:x.locale)&&void 0!==v?v:c.Z,N=(0,u.Z)(null!==(p=null!==(m=null!==(h=null!==(Z=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==Z?Z:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(g=y.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(C=x.locale)||void 0===C||null===(w=C.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!b.localize)throw new RangeError("locale must contain localize property");if(!b.formatLong)throw new RangeError("locale must contain formatLong property");if(!b.formatRelative)throw new RangeError("locale must contain formatRelative property");var E,I=(0,r.Z)(k,z);if(isNaN(I))throw new RangeError("Invalid time value");E=I<-6?"other":I<-1?"lastWeek":I<0?"yesterday":I<1?"today":I<2?"tomorrow":I<7?"nextWeek":"other";var M=(0,l.Z)(k,(0,s.Z)(k)),P=(0,l.Z)(z,(0,s.Z)(z)),A=b.formatRelative(E,M,P,{locale:b,weekStartsOn:N});return(0,o.Z)(k,A,{locale:b,weekStartsOn:N})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8676-a91123b73c89e936.js b/static/web/_next/static/chunks/8676-a91123b73c89e936.js new file mode 100644 index 000000000..8c773e6ad --- /dev/null +++ b/static/web/_next/static/chunks/8676-a91123b73c89e936.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8676],{66567:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zM232 888V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752H232z",fill:e}},{tag:"path",attrs:{d:"M668 345.9V136h-96v211.4l49.5-35.4z",fill:t}},{tag:"path",attrs:{d:"M727.9 136v296.5c0 8.8-7.2 16-16 16-3.4 0-6.7-1.1-9.4-3.1L621.1 386l-83.8 59.9a15.9 15.9 0 01-22.3-3.7c-2-2.7-3-6-3-9.3V136H232v752h559.9V136h-64z",fill:t}}]}},name:"book",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BookTwoTone";var i=r.forwardRef(l)},24019:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ClockCircleOutlined";var i=r.forwardRef(l)},78346:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="MessageTwoTone";var i=r.forwardRef(l)},63179:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm240-484.7c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3z",fill:t}},{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.8a11.2 11.2 0 000-17.6L442.3 346.5c-7.4-5.9-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.6 18.3 8.8z",fill:e}}]}},name:"play-square",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PlaySquareTwoTone";var i=r.forwardRef(l)},27482:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z",fill:e}},{tag:"path",attrs:{d:"M184 840h656V184H184v656zm300-496c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zm0 144c0-4.4 3.6-8 8-8h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H492c-4.4 0-8-3.6-8-8v-48zM380 328c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zm0 144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M340 656a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm0-144a40 40 0 1080 0 40 40 0 10-80 0zm152 320h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0-144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z",fill:e}}]}},name:"profile",theme:"twotone"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="ProfileTwoTone";var i=r.forwardRef(l)},87547:function(e,t,n){n.d(t,{Z:function(){return i}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},c=n(42135),l=function(e,t){return r.createElement(c.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var i=r.forwardRef(l)},54907:function(e,t,n){n.d(t,{Z:function(){return P}});var a=n(87462),r=n(4942),o=n(18073),c=n(94184),l=n.n(c),i=n(74902),s=n(15671),d=n(43144),u=n(60136),v=n(33643),f=n(71002),p=n(67294),m=n(96774),h=n.n(m),Z=n(50344),y=n(62874),g=n(97685),C=p.forwardRef(function(e,t){var n,a=e.prefixCls,o=e.forceRender,c=e.className,i=e.style,s=e.children,d=e.isActive,u=e.role,v=p.useState(d||o),f=(0,g.Z)(v,2),m=f[0],h=f[1];return(p.useEffect(function(){(o||d)&&h(!0)},[o,d]),m)?p.createElement("div",{ref:t,className:l()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),d),(0,r.Z)(n,"".concat(a,"-content-inactive"),!d),n),c),style:i,role:u},p.createElement("div",{className:"".concat(a,"-content-box")},s)):null});C.displayName="PanelContent";var w=function(e){(0,u.Z)(n,e);var t=(0,v.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var a=arguments.length,r=Array(a),o=0;o-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,o=r.prefixCls,c=r.openMotion,l=r.accordion,i=r.destroyInactivePanel,s=r.expandIcon,d=r.collapsible,u=e.key||String(t),v=e.props,f=v.header,m=v.headerClass,h=v.destroyInactivePanel,Z=v.collapsible,y=!1;y=l?n[0]===u:n.indexOf(u)>-1;var g=null!=Z?Z:d,C={key:u,panelKey:u,header:f,headerClass:m,isActive:y,prefixCls:o,destroyInactivePanel:null!=h?h:i,openMotion:c,accordion:l,children:e.props.children,onItemClick:"disabled"===g?null:a.onClickItem,expandIcon:s,collapsible:g};return"string"==typeof e.type?e:(Object.keys(C).forEach(function(e){void 0===C[e]&&delete C[e]}),p.cloneElement(e,C))},a.getItems=function(){var e=a.props.children;return(0,Z.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var a,r=e.activeKey,o=e.defaultActiveKey;return"activeKey"in e&&(o=r),a.state={activeKey:k(o)},a}return(0,d.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!h()(this.props,e)||!h()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,c=t.accordion,i=l()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return p.createElement("div",{className:i,style:o,role:c?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=k(e.activeKey)),t}}]),n}(p.Component);z.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},z.Panel=w,z.Panel;var x=n(98423),b=n(53124),N=n(33603),E=n(96159),I=function(e){var t=p.useContext(b.E_).getPrefixCls,n=e.prefixCls,o=e.className,c=e.showArrow,i=t("collapse",n),s=l()((0,r.Z)({},"".concat(i,"-no-arrow"),!(void 0===c||c)),void 0===o?"":o);return p.createElement(z.Panel,(0,a.Z)({},e,{prefixCls:i,className:s}))},M=function(e){var t,n,c=p.useContext(b.E_),i=c.getPrefixCls,s=c.direction,d=e.prefixCls,u=e.className,v=e.bordered,f=e.ghost,m=e.expandIconPosition,h=void 0===m?"start":m,y=i("collapse",d),g=p.useMemo(function(){return"left"===h?"start":"right"===h?"end":h},[h]),C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):p.createElement(o.Z,{rotate:t.isActive?90:void 0});return(0,E.Tm)(a,function(){return{className:l()(a.props.className,"".concat(y,"-arrow"))}})},w=l()("".concat(y,"-icon-position-").concat(g),(n={},(0,r.Z)(n,"".concat(y,"-borderless"),!(void 0===v||v)),(0,r.Z)(n,"".concat(y,"-rtl"),"rtl"===s),(0,r.Z)(n,"".concat(y,"-ghost"),!!f),n),void 0===u?"":u),k=(0,a.Z)((0,a.Z)({},N.ZP),{motionAppear:!1,leavedClassName:"".concat(y,"-content-hidden")});return p.createElement(z,(0,a.Z)({openMotion:k},e,{expandIcon:C,prefixCls:y,className:w}),(t=e.children,(0,Z.Z)(t).map(function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),o=e.props,c=o.disabled,l=o.collapsible,i=(0,a.Z)((0,a.Z)({},(0,x.Z)(e.props,["disabled"])),{key:r,collapsible:null!=l?l:c?"disabled":void 0});return(0,E.Tm)(e,i)}return e})))};M.Panel=I;var P=M},75401:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(24262),r=n(19013),o=n(13882);function c(e){(0,o.Z)(1,arguments);var t=(0,r.Z)(e);return t.setHours(0,0,0,0),t}function l(e,t){(0,o.Z)(2,arguments);var n=c(e),r=c(t);return Math.round((n.getTime()-(0,a.Z)(n)-(r.getTime()-(0,a.Z)(r)))/864e5)}},19642:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(84314),r=n(75401),o=n(58091),c=n(86559),l=n(92234),i=n(19013),s=n(24262),d=n(13882),u=n(83946);function v(e,t,n){(0,d.Z)(2,arguments);var v,f,p,m,h,Z,y,g,C,w,k=(0,i.Z)(e),z=(0,i.Z)(t),x=(0,a.j)(),b=null!==(v=null!==(f=null==n?void 0:n.locale)&&void 0!==f?f:x.locale)&&void 0!==v?v:c.Z,N=(0,u.Z)(null!==(p=null!==(m=null!==(h=null!==(Z=null==n?void 0:n.weekStartsOn)&&void 0!==Z?Z:null==n?void 0:null===(y=n.locale)||void 0===y?void 0:null===(g=y.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==h?h:x.weekStartsOn)&&void 0!==m?m:null===(C=x.locale)||void 0===C?void 0:null===(w=C.options)||void 0===w?void 0:w.weekStartsOn)&&void 0!==p?p:0);if(!b.localize)throw RangeError("locale must contain localize property");if(!b.formatLong)throw RangeError("locale must contain formatLong property");if(!b.formatRelative)throw RangeError("locale must contain formatRelative property");var E=(0,r.Z)(k,z);if(isNaN(E))throw RangeError("Invalid time value");var I=(0,l.Z)(k,(0,s.Z)(k)),M=(0,l.Z)(z,(0,s.Z)(z)),P=b.formatRelative(E<-6?"other":E<-1?"lastWeek":E<0?"yesterday":E<1?"today":E<2?"tomorrow":E<7?"nextWeek":"other",I,M,{locale:b,weekStartsOn:N});return(0,o.Z)(k,P,{locale:b,weekStartsOn:N})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/870.4c51bc28d02fd896.js b/static/web/_next/static/chunks/870.4c51bc28d02fd896.js deleted file mode 100644 index d80d02ef5..000000000 --- a/static/web/_next/static/chunks/870.4c51bc28d02fd896.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[870],{90870:function(e,n,t){t.r(n),t.d(n,{apl:function(){return o}});var l={"+":["conjugate","add"],"\u2212":["negate","subtract"],"\xd7":["signOf","multiply"],"\xf7":["reciprocal","divide"],"\u2308":["ceiling","greaterOf"],"\u230a":["floor","lesserOf"],"\u2223":["absolute","residue"],"\u2373":["indexGenerate","indexOf"],"?":["roll","deal"],"\u22c6":["exponentiate","toThePowerOf"],"\u235f":["naturalLog","logToTheBase"],"\u25cb":["piTimes","circularFuncs"],"!":["factorial","binomial"],"\u2339":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"\u2264":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"\u2265":[null,"greaterThanOrEqual"],"\u2260":[null,"notEqual"],"\u2261":["depth","match"],"\u2262":[null,"notMatch"],"\u2208":["enlist","membership"],"\u2377":[null,"find"],"\u222a":["unique","union"],"\u2229":[null,"intersection"],"\u223c":["not","without"],"\u2228":[null,"or"],"\u2227":[null,"and"],"\u2371":[null,"nor"],"\u2372":[null,"nand"],"\u2374":["shapeOf","reshape"],",":["ravel","catenate"],"\u236a":[null,"firstAxisCatenate"],"\u233d":["reverse","rotate"],"\u2296":["axis1Reverse","axis1Rotate"],"\u2349":["transpose",null],"\u2191":["first","take"],"\u2193":[null,"drop"],"\u2282":["enclose","partitionWithAxis"],"\u2283":["diclose","pick"],"\u2337":[null,"index"],"\u234b":["gradeUp",null],"\u2352":["gradeDown",null],"\u22a4":["encode",null],"\u22a5":["decode",null],"\u2355":["format","formatByExample"],"\u234e":["execute",null],"\u22a3":["stop","left"],"\u22a2":["pass","right"]},a=/[\.\/\u233f\u2340\xa8\u2363]/,r=/\u236c/,u=/[\+\u2212\xd7\xf7\u2308\u230a\u2223\u2373\?\u22c6\u235f\u25cb!\u2339<\u2264=>\u2265\u2260\u2261\u2262\u2208\u2377\u222a\u2229\u223c\u2228\u2227\u2371\u2372\u2374,\u236a\u233d\u2296\u2349\u2191\u2193\u2282\u2283\u2337\u234b\u2352\u22a4\u22a5\u2355\u234e\u22a3\u22a2]/,i=/\u2190/,s=/[\u235d#].*$/;const o={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(e,n){var t;return e.eatSpace()?null:'"'===(t=e.next())||"'"===t?(e.eatWhile(function(e){var n;return n=!1,function(t){return n=t,t!==e||"\\"===n}}(t)),e.next(),n.prev=!0,"string"):/[\[{\(]/.test(t)?(n.prev=!1,null):/[\]}\)]/.test(t)?(n.prev=!0,null):r.test(t)?(n.prev=!1,"atom"):/[\xaf\d]/.test(t)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,e.eatWhile(/[\w\.]/),"number"):a.test(t)||i.test(t)?"operator":u.test(t)?(n.func=!0,n.prev=!1,l[t]?"variableName.function.standard":"variableName.function"):s.test(t)?(e.skipToEnd(),"comment"):"\u2218"===t&&"."===e.peek()?(e.next(),"variableName.function"):(e.eatWhile(/[\w\$_]/),n.prev=!0,"keyword")}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/870.c1277ad0599a1203.js b/static/web/_next/static/chunks/870.c1277ad0599a1203.js new file mode 100644 index 000000000..8ece68b65 --- /dev/null +++ b/static/web/_next/static/chunks/870.c1277ad0599a1203.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[870],{90870:function(e,n,t){t.r(n),t.d(n,{apl:function(){return c}});var l={"+":["conjugate","add"],"−":["negate","subtract"],"\xd7":["signOf","multiply"],"\xf7":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},a=/[\.\/⌿⍀¨⍣]/,r=/⍬/,u=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,i=/←/,s=/[⍝#].*$/,o=function(e){var n;return n=!1,function(t){return n=t,t!==e||"\\"===n}};let c={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(e,n){var t;return e.eatSpace()?null:'"'===(t=e.next())||"'"===t?(e.eatWhile(o(t)),e.next(),n.prev=!0,"string"):/[\[{\(]/.test(t)?(n.prev=!1,null):/[\]}\)]/.test(t)?(n.prev=!0,null):r.test(t)?(n.prev=!1,"atom"):/[¯\d]/.test(t)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,e.eatWhile(/[\w\.]/),"number"):a.test(t)||i.test(t)?"operator":u.test(t)?(n.func=!0,n.prev=!1,l[t]?"variableName.function.standard":"variableName.function"):s.test(t)?(e.skipToEnd(),"comment"):"∘"===t&&"."===e.peek()?(e.next(),"variableName.function"):(e.eatWhile(/[\w\$_]/),n.prev=!0,"keyword")}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8770.44d2f8c73be18acf.js b/static/web/_next/static/chunks/8770.44d2f8c73be18acf.js new file mode 100644 index 000000000..2c91ae3ae --- /dev/null +++ b/static/web/_next/static/chunks/8770.44d2f8c73be18acf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8770],{28770:function(e,t,n){function r(e,t,n){return t(n),n(e,t)}n.r(t),n.d(t,{elm:function(){return g}});var i=/[a-z]/,a=/[A-Z]/,o=/[a-zA-Z0-9_]/,u=/[0-9]/,f=/[0-9A-Fa-f]/,s=/[-&*+.\\/<>=?^|:]/,l=/[(),[\]{}]/,c=/[ \v\f]/;function k(){return function(e,t){if(e.eatWhile(c))return null;var n=e.next();if(l.test(n))return"{"===n&&e.eat("-")?r(e,t,function e(t){return 0==t?k():function(n,r){for(;!n.eol();){var i=n.next();if("{"==i&&n.eat("-"))++t;else if("-"==i&&n.eat("}")&&0==--t)return r(k()),"comment"}return r(e(t)),"comment"}}(1)):"["===n&&e.match("glsl|")?r(e,t,x):"builtin";if("'"===n)return r(e,t,h);if('"'===n)return e.eat('"')?e.eat('"')?r(e,t,p):"string":r(e,t,m);if(a.test(n))return e.eatWhile(o),"type";if(i.test(n)){var d=1===e.pos;return e.eatWhile(o),d?"def":"variable"}if(u.test(n)){if("0"===n){if(e.eat(/[xX]/))return e.eatWhile(f),"number"}else e.eatWhile(u);return e.eat(".")&&e.eatWhile(u),e.eat(/[eE]/)&&(e.eat(/[-+]/),e.eatWhile(u)),"number"}return s.test(n)?"-"===n&&e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(s),"keyword"):"_"===n?"keyword":"error"}}function p(e,t){for(;!e.eol();)if('"'===e.next()&&e.eat('"')&&e.eat('"')){t(k());break}return"string"}function m(e,t){for(;e.skipTo('\\"');)e.next(),e.next();return e.skipTo('"')?(e.next(),t(k()),"string"):(e.skipToEnd(),t(k()),"error")}function h(e,t){for(;e.skipTo("\\'");)e.next(),e.next();return e.skipTo("'")?(e.next(),t(k()),"string"):(e.skipToEnd(),t(k()),"error")}function x(e,t){for(;!e.eol();)if("|"===e.next()&&e.eat("]")){t(k());break}return"string"}var d={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};let g={name:"elm",startState:function(){return{f:k()}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return d.hasOwnProperty(r)?"keyword":n},languageData:{commentTokens:{line:"--"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8770.94d8d4eb54a2bb6e.js b/static/web/_next/static/chunks/8770.94d8d4eb54a2bb6e.js deleted file mode 100644 index 2b4941afa..000000000 --- a/static/web/_next/static/chunks/8770.94d8d4eb54a2bb6e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8770],{28770:function(e,t,n){function r(e,t,n){return t(n),n(e,t)}n.r(t),n.d(t,{elm:function(){return v}});var i=/[a-z]/,o=/[A-Z]/,u=/[a-zA-Z0-9_]/,a=/[0-9]/,f=/[0-9A-Fa-f]/,s=/[-&*+.\\/<>=?^|:]/,l=/[(),[\]{}]/,c=/[ \v\f]/;function p(){return function(e,t){if(e.eatWhile(c))return null;var n=e.next();if(l.test(n))return"{"===n&&e.eat("-")?r(e,t,k(1)):"["===n&&e.match("glsl|")?r(e,t,g):"builtin";if("'"===n)return r(e,t,x);if('"'===n)return e.eat('"')?e.eat('"')?r(e,t,m):"string":r(e,t,h);if(o.test(n))return e.eatWhile(u),"type";if(i.test(n)){var p=1===e.pos;return e.eatWhile(u),p?"def":"variable"}if(a.test(n)){if("0"===n){if(e.eat(/[xX]/))return e.eatWhile(f),"number"}else e.eatWhile(a);return e.eat(".")&&e.eatWhile(a),e.eat(/[eE]/)&&(e.eat(/[-+]/),e.eatWhile(a)),"number"}return s.test(n)?"-"===n&&e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(s),"keyword"):"_"===n?"keyword":"error"}}function k(e){return 0==e?p():function(t,n){for(;!t.eol();){var r=t.next();if("{"==r&&t.eat("-"))++e;else if("-"==r&&t.eat("}")&&0===--e)return n(p()),"comment"}return n(k(e)),"comment"}}function m(e,t){for(;!e.eol();){if('"'===e.next()&&e.eat('"')&&e.eat('"'))return t(p()),"string"}return"string"}function h(e,t){for(;e.skipTo('\\"');)e.next(),e.next();return e.skipTo('"')?(e.next(),t(p()),"string"):(e.skipToEnd(),t(p()),"error")}function x(e,t){for(;e.skipTo("\\'");)e.next(),e.next();return e.skipTo("'")?(e.next(),t(p()),"string"):(e.skipToEnd(),t(p()),"error")}function g(e,t){for(;!e.eol();){if("|"===e.next()&&e.eat("]"))return t(p()),"string"}return"string"}var d={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const v={name:"elm",startState:function(){return{f:p()}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,(function(e){t.f=e})),r=e.current();return d.hasOwnProperty(r)?"keyword":n},languageData:{commentTokens:{line:"--"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/889.4a330cc153172197.js b/static/web/_next/static/chunks/889.4a330cc153172197.js new file mode 100644 index 000000000..50c1bc501 --- /dev/null +++ b/static/web/_next/static/chunks/889.4a330cc153172197.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[889],{70889:function(n,e,t){t.r(e),t.d(e,{cmake:function(){return c}});var i=/({)?[a-zA-Z0-9_]+(})?/;function a(n,e){for(var t,i,a=!1;!n.eol()&&(t=n.next())!=e.pending;){if("$"===t&&"\\"!=i&&'"'==e.pending){a=!0;break}i=t}return a&&n.backUp(1),t==e.pending?e.continueString=!1:e.continueString=!0,"string"}let c={name:"cmake",startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(n,e){var t,c;return n.eatSpace()?null:(t=e,"$"===(c=n.next())?n.match(i)?"variableName.special":"variable":t.continueString?(n.backUp(1),a(n,t)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):"#"==c?(n.skipToEnd(),"comment"):"'"==c||'"'==c?(t.pending=c,a(n,t)):"("==c||")"==c?"bracket":c.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null))}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/889.647d53d5a802a769.js b/static/web/_next/static/chunks/889.647d53d5a802a769.js deleted file mode 100644 index d8f3c19dc..000000000 --- a/static/web/_next/static/chunks/889.647d53d5a802a769.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[889],{70889:function(n,e,t){t.r(e),t.d(e,{cmake:function(){return c}});var i=/({)?[a-zA-Z0-9_]+(})?/;function a(n,e){for(var t,i,a=!1;!n.eol()&&(t=n.next())!=e.pending;){if("$"===t&&"\\"!=i&&'"'==e.pending){a=!0;break}i=t}return a&&n.backUp(1),t==e.pending?e.continueString=!1:e.continueString=!0,"string"}const c={name:"cmake",startState:function(){var n={inDefinition:!1,inInclude:!1,continueString:!1,pending:!1};return n},token:function(n,e){return n.eatSpace()?null:function(n,e){var t=n.next();return"$"===t?n.match(i)?"variableName.special":"variable":e.continueString?(n.backUp(1),a(n,e)):n.match(/(\s+)?\w+\(/)||n.match(/(\s+)?\w+\ \(/)?(n.backUp(1),"def"):"#"==t?(n.skipToEnd(),"comment"):"'"==t||'"'==t?(e.pending=t,a(n,e)):"("==t||")"==t?"bracket":t.match(/[0-9]/)?"number":(n.eatWhile(/[\w-]/),null)}(n,e)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8910.04f0086f3d7d6490.js b/static/web/_next/static/chunks/8910.04f0086f3d7d6490.js deleted file mode 100644 index 8664b5877..000000000 --- a/static/web/_next/static/chunks/8910.04f0086f3d7d6490.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8910],{48910:function(e,t,n){n.r(t),n.d(t,{go:function(){return p}});var r,i={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},a={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},o=/[+\-*&^%:=<>!|\/]/;function u(e,t){var n,l=e.next();if('"'==l||"'"==l||"`"==l)return t.tokenize=(n=l,function(e,t){for(var r,i=!1,a=!1;null!=(r=e.next());){if(r==n&&!i){a=!0;break}i=!i&&"`"!=n&&"\\"==r}return(a||!i&&"`"!=n)&&(t.tokenize=u),"string"}),t.tokenize(e,t);if(/[\d\.]/.test(l))return"."==l?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==l?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(l))return r=l,null;if("/"==l){if(e.eat("*"))return t.tokenize=c,c(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(o.test(l))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var f=e.current();return i.propertyIsEnumerable(f)?("case"!=f&&"default"!=f||(r="case"),"keyword"):a.propertyIsEnumerable(f)?"atom":"variable"}function c(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=u;break}r="*"==n}return"comment"}function l(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function f(e,t,n){return e.context=new l(e.indented,t,n,null,e.context)}function s(e){if(e.context.prev){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}}const p={name:"go",startState:function(e){return{tokenize:null,context:new l(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}")),e.eatSpace())return null;r=null;var i=(t.tokenize||u)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?f(t,e.column(),"}"):"["==r?f(t,e.column(),"]"):"("==r?f(t,e.column(),")"):"case"==r?n.type="case":("}"==r&&"}"==n.type||r==n.type)&&s(t),t.startOfLine=!1),i},indent:function(e,t,n){if(e.tokenize!=u&&null!=e.tokenize)return null;var r=e.context,i=t&&t.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(t))return e.context.type="}",r.indented;var a=i==r.type;return r.align?r.column+(a?0:1):r.indented+(a?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8910.1f360d6b2a989be9.js b/static/web/_next/static/chunks/8910.1f360d6b2a989be9.js new file mode 100644 index 000000000..3694d9dbf --- /dev/null +++ b/static/web/_next/static/chunks/8910.1f360d6b2a989be9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8910],{48910:function(e,t,n){n.r(t),n.d(t,{go:function(){return p}});var r,i={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},a={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},o=/[+\-*&^%:=<>!|\/]/;function u(e,t){var n=e.next();if('"'==n||"'"==n||"`"==n)return t.tokenize=function(e,t){for(var r,i=!1,a=!1;null!=(r=e.next());){if(r==n&&!i){a=!0;break}i=!i&&"`"!=n&&"\\"==r}return(a||!(i||"`"==n))&&(t.tokenize=u),"string"},t.tokenize(e,t);if(/[\d\.]/.test(n))return"."==n?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==n?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(n))return r=n,null;if("/"==n){if(e.eat("*"))return t.tokenize=c,c(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(o.test(n))return e.eatWhile(o),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var l=e.current();return i.propertyIsEnumerable(l)?(("case"==l||"default"==l)&&(r="case"),"keyword"):a.propertyIsEnumerable(l)?"atom":"variable"}function c(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=u;break}r="*"==n}return"comment"}function l(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function f(e,t,n){return e.context=new l(e.indented,t,n,null,e.context)}function s(e){if(e.context.prev){var t=e.context.type;return(")"==t||"]"==t||"}"==t)&&(e.indented=e.context.indented),e.context=e.context.prev}}let p={name:"go",startState:function(e){return{tokenize:null,context:new l(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0,"case"==n.type&&(n.type="}")),e.eatSpace())return null;r=null;var i=(t.tokenize||u)(e,t);return"comment"==i||(null==n.align&&(n.align=!0),"{"==r?f(t,e.column(),"}"):"["==r?f(t,e.column(),"]"):"("==r?f(t,e.column(),")"):"case"==r?n.type="case":"}"==r&&"}"==n.type?s(t):r==n.type&&s(t),t.startOfLine=!1),i},indent:function(e,t,n){if(e.tokenize!=u&&null!=e.tokenize)return null;var r=e.context,i=t&&t.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(t))return e.context.type="}",r.indented;var a=i==r.type;return r.align?r.column+(a?0:1):r.indented+(a?0:n.unit)},languageData:{indentOnInput:/^\s([{}]|case |default\s*:)$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8915.ee9692d53e2be4ac.js b/static/web/_next/static/chunks/8915.056c1402f901ae7d.js similarity index 79% rename from static/web/_next/static/chunks/8915.ee9692d53e2be4ac.js rename to static/web/_next/static/chunks/8915.056c1402f901ae7d.js index 94bb665d8..7ede65df0 100644 --- a/static/web/_next/static/chunks/8915.ee9692d53e2be4ac.js +++ b/static/web/_next/static/chunks/8915.056c1402f901ae7d.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8915],{68915:function(E,T,I){I.r(T),I.d(T,{cobol:function(){return S}});var N="string",R="atom";function A(E){for(var T={},I=E.split(" "),N=0;N >= "),D={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};const S={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(null==T.indentStack&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;if("string"===T.mode){for(var A=!1;null!=(A=E.next());)if(('"'==A||"'"==A)&&!E.match(/['"]/,!1)){T.mode=!1;break}I=N}else{var S=E.next(),U=E.column();if(U>=0&&U<=5)I="def";else if(U>=72&&U<=79)E.skipToEnd(),I="header";else if("*"==S&&6==U)E.skipToEnd(),I="comment";else if('"'==S||"'"==S)T.mode="string",I=N;else if("'"!=S||D.digit_or_colon.test(E.peek()))if("."==S)I="link";else if(function(E,T){return"0"===E&&T.eat(/x/i)?(T.eatWhile(D.hex),!0):("+"!=E&&"-"!=E||!D.digit.test(T.peek())||(T.eat(D.sign),E=T.next()),!!D.digit.test(E)&&(T.eat(E),T.eatWhile(D.digit),"."==T.peek()&&(T.eat("."),T.eatWhile(D.digit)),T.eat(D.exponent)&&(T.eat(D.sign),T.eatWhile(D.digit)),!0))}(S,E))I="number";else{if(E.current().match(D.symbol))for(;U<71&&void 0!==E.eat(D.symbol);)U++;I=C&&C.propertyIsEnumerable(E.current().toUpperCase())?"keyword":L&&L.propertyIsEnumerable(E.current().toUpperCase())?"builtin":O&&O.propertyIsEnumerable(E.current().toUpperCase())?R:null}else I=R}return I},indent:function(E){return null==E.indentStack?E.indentation:E.indentStack.indent}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8915],{68915:function(E,T,I){I.r(T),I.d(T,{cobol:function(){return S}});var N="string",R="atom";function A(E){for(var T={},I=E.split(" "),N=0;N >= "),D={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};let S={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(null==T.indentStack&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;if("string"===T.mode){for(var A=!1;null!=(A=E.next());)if(('"'==A||"'"==A)&&!E.match(/['"]/,!1)){T.mode=!1;break}I=N}else{var S,U=E.next(),P=E.column();if(P>=0&&P<=5)I="def";else if(P>=72&&P<=79)E.skipToEnd(),I="header";else if("*"==U&&6==P)E.skipToEnd(),I="comment";else if('"'==U||"'"==U)T.mode="string",I=N;else if("'"!=U||D.digit_or_colon.test(E.peek())){if("."==U)I="link";else if("0"===(S=U)&&E.eat(/x/i)?(E.eatWhile(D.hex),0):(("+"==S||"-"==S)&&D.digit.test(E.peek())&&(E.eat(D.sign),S=E.next()),D.digit.test(S))?(E.eat(S),E.eatWhile(D.digit),"."==E.peek()&&(E.eat("."),E.eatWhile(D.digit)),E.eat(D.exponent)&&(E.eat(D.sign),E.eatWhile(D.digit)),0):1){if(E.current().match(D.symbol))for(;P<71&&void 0!==E.eat(D.symbol);)P++;I=C&&C.propertyIsEnumerable(E.current().toUpperCase())?"keyword":L&&L.propertyIsEnumerable(E.current().toUpperCase())?"builtin":O&&O.propertyIsEnumerable(E.current().toUpperCase())?R:null}else I="number"}else I=R}return I},indent:function(E){return null==E.indentStack?E.indentation:E.indentStack.indent}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8939-3bdd68dababe9307.js b/static/web/_next/static/chunks/8939-3bdd68dababe9307.js new file mode 100644 index 000000000..3a7cfd6bc --- /dev/null +++ b/static/web/_next/static/chunks/8939-3bdd68dababe9307.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8939],{88258:function(e,t,n){var o=n(67294),r=n(53124),a=n(62986),l=function(e){return o.createElement(r.C,null,function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(a.Z,null)}})};t.Z=l},62986:function(e,t,n){n.d(t,{Z:function(){return h}});var o=n(4942),r=n(87462),a=n(94184),l=n.n(a),i=n(67294),u=n(53124),c=n(23715),s=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-default");return i.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),i.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),i.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),i.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),i.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),i.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-simple");return i.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},p=i.createElement(s,null),v=i.createElement(f,null),m=function(e){var t=e.className,n=e.prefixCls,a=e.image,s=void 0===a?p:a,f=e.description,m=e.children,h=e.imageStyle,g=d(e,["className","prefixCls","image","description","children","imageStyle"]),b=i.useContext(u.E_),E=b.getPrefixCls,Z=b.direction;return i.createElement(c.Z,{componentName:"Empty"},function(e){var a,u=E("empty",n),c=void 0!==f?f:e.description,d=null;return d="string"==typeof s?i.createElement("img",{alt:"string"==typeof c?c:"empty",src:s}):s,i.createElement("div",(0,r.Z)({className:l()(u,(a={},(0,o.Z)(a,"".concat(u,"-normal"),s===v),(0,o.Z)(a,"".concat(u,"-rtl"),"rtl"===Z),a),t)},g),i.createElement("div",{className:"".concat(u,"-image"),style:h},d),c&&i.createElement("div",{className:"".concat(u,"-description")},c),m&&i.createElement("div",{className:"".concat(u,"-footer")},m))})};m.PRESENTED_IMAGE_DEFAULT=p,m.PRESENTED_IMAGE_SIMPLE=v;var h=m},38939:function(e,t,n){n.d(t,{Z:function(){return ek}});var o=n(4942),r=n(87462),a=n(94184),l=n.n(a),i=n(74902),u=n(1413),c=n(97685),s=n(45987),f=n(71002),d=n(21770),p=n(80334),v=n(67294),m=n(15105),h=n(31131),g=n(42550),b=n(8410),E=n(84506);function Z(e,t){var n,o=e.key;return("value"in e&&(n=e.value),null!=o)?o:void 0!==n?n:"rc-index-key-".concat(t)}function w(e,t){var n=e||{};return{label:n.label||(t?"children":"label"),value:n.value||"value",options:n.options||"options"}}function y(e){var t=(0,u.Z)({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return(0,p.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var C=n(51169),S=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],M=function(e){var t=!0===e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},x=function(e,t){var n=e.prefixCls,a=(e.disabled,e.visible),i=e.children,c=e.popupElement,f=e.containerWidth,d=e.animation,p=e.transitionName,m=e.dropdownStyle,h=e.dropdownClassName,g=e.direction,b=e.placement,E=e.dropdownMatchSelectWidth,Z=e.dropdownRender,w=e.dropdownAlign,y=e.getPopupContainer,x=e.empty,I=e.getTriggerDOMNode,N=e.onPopupVisibleChange,R=e.onPopupMouseEnter,D=(0,s.Z)(e,S),T="".concat(n,"-dropdown"),O=c;Z&&(O=Z(c));var P=v.useMemo(function(){return M(E)},[E]),k=d?"".concat(T,"-").concat(d):p,L=v.useRef(null);v.useImperativeHandle(t,function(){return{getPopupElement:function(){return L.current}}});var H=(0,u.Z)({minWidth:f},m);return"number"==typeof E?H.width=E:E&&(H.width=f),v.createElement(C.Z,(0,r.Z)({},D,{showAction:N?["click"]:[],hideAction:N?["click"]:[],popupPlacement:b||("rtl"===(void 0===g?"ltr":g)?"bottomRight":"bottomLeft"),builtinPlacements:P,prefixCls:T,popupTransitionName:k,popup:v.createElement("div",{ref:L,onMouseEnter:R},O),popupAlign:w,popupVisible:a,getPopupContainer:y,popupClassName:l()(h,(0,o.Z)({},"".concat(T,"-empty"),x)),popupStyle:H,getTriggerDOMNode:I,onPopupVisibleChange:N}),i)},I=v.forwardRef(x);I.displayName="SelectTrigger";var N=n(64217),R=n(34243),D=function(e){var t,n=e.className,o=e.customizeIcon,r=e.customizeIconProps,a=e.onMouseDown,i=e.onClick,u=e.children;return t="function"==typeof o?o(r):o,v.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),a&&a(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==t?t:v.createElement("span",{className:l()(n.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},u))},T=function(e,t){var n,o,r=e.prefixCls,a=e.id,i=e.inputElement,c=e.disabled,s=e.tabIndex,f=e.autoFocus,d=e.autoComplete,m=e.editable,h=e.activeDescendantId,b=e.value,E=e.maxLength,Z=e.onKeyDown,w=e.onMouseDown,y=e.onChange,C=e.onPaste,S=e.onCompositionStart,M=e.onCompositionEnd,x=e.open,I=e.attrs,N=i||v.createElement("input",null),R=N,D=R.ref,T=R.props,O=T.onKeyDown,P=T.onChange,k=T.onMouseDown,L=T.onCompositionStart,H=T.onCompositionEnd,V=T.style;return(0,p.Kp)(!("maxLength"in N.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),N=v.cloneElement(N,(0,u.Z)((0,u.Z)((0,u.Z)({type:"search"},T),{},{id:a,ref:(0,g.sQ)(t,D),disabled:c,tabIndex:s,autoComplete:d||"off",autoFocus:f,className:l()("".concat(r,"-selection-search-input"),null===(n=N)||void 0===n?void 0:null===(o=n.props)||void 0===o?void 0:o.className),role:"combobox","aria-expanded":x,"aria-haspopup":"listbox","aria-owns":"".concat(a,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(a,"_list"),"aria-activedescendant":h},I),{},{value:m?b:"",maxLength:E,readOnly:!m,unselectable:m?null:"on",style:(0,u.Z)((0,u.Z)({},V),{},{opacity:m?null:0}),onKeyDown:function(e){Z(e),O&&O(e)},onMouseDown:function(e){w(e),k&&k(e)},onChange:function(e){y(e),P&&P(e)},onCompositionStart:function(e){S(e),L&&L(e)},onCompositionEnd:function(e){M(e),H&&H(e)},onPaste:C}))},O=v.forwardRef(T);function P(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}O.displayName="Input";var k="undefined"!=typeof window&&window.document&&window.document.documentElement;function L(e){return["string","number"].includes((0,f.Z)(e))}function H(e){var t=void 0;return e&&(L(e.title)?t=e.title.toString():L(e.label)&&(t=e.label.toString())),t}function V(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}var _=function(e){e.preventDefault(),e.stopPropagation()},A=function(e){var t,n,r=e.id,a=e.prefixCls,i=e.values,u=e.open,s=e.searchValue,f=e.inputRef,d=e.placeholder,p=e.disabled,m=e.mode,h=e.showSearch,g=e.autoFocus,b=e.autoComplete,E=e.activeDescendantId,Z=e.tabIndex,w=e.removeIcon,y=e.maxTagCount,C=e.maxTagTextLength,S=e.maxTagPlaceholder,M=void 0===S?function(e){return"+ ".concat(e.length," ...")}:S,x=e.tagRender,I=e.onToggleOpen,T=e.onRemove,P=e.onInputChange,L=e.onInputPaste,A=e.onInputKeyDown,F=e.onInputMouseDown,z=e.onInputCompositionStart,K=e.onInputCompositionEnd,W=v.useRef(null),j=(0,v.useState)(0),U=(0,c.Z)(j,2),Y=U[0],B=U[1],G=(0,v.useState)(!1),X=(0,c.Z)(G,2),Q=X[0],q=X[1],J="".concat(a,"-selection"),$=u||"tags"===m?s:"";function ee(e,t,n,r,a){return v.createElement("span",{className:l()("".concat(J,"-item"),(0,o.Z)({},"".concat(J,"-item-disabled"),n)),title:H(e)},v.createElement("span",{className:"".concat(J,"-item-content")},t),r&&v.createElement(D,{className:"".concat(J,"-item-remove"),onMouseDown:_,onClick:a,customizeIcon:w},"\xd7"))}t=function(){B(W.current.scrollWidth)},n=[$],k?v.useLayoutEffect(t,n):v.useEffect(t,n);var et=v.createElement("div",{className:"".concat(J,"-search"),style:{width:Y},onFocus:function(){q(!0)},onBlur:function(){q(!1)}},v.createElement(O,{ref:f,open:u,prefixCls:a,id:r,inputElement:null,disabled:p,autoFocus:g,autoComplete:b,editable:"tags"===m||h&&(u||Q),activeDescendantId:E,value:$,onKeyDown:A,onMouseDown:F,onChange:P,onPaste:L,onCompositionStart:z,onCompositionEnd:K,tabIndex:Z,attrs:(0,N.Z)(e,!0)}),v.createElement("span",{ref:W,className:"".concat(J,"-search-mirror"),"aria-hidden":!0},$,"\xa0")),en=v.createElement(R.Z,{prefixCls:"".concat(J,"-overflow"),data:i,renderItem:function(e){var t,n,o=e.disabled,r=e.label,a=e.value,l=!p&&!o,i=r;if("number"==typeof C&&("string"==typeof r||"number"==typeof r)){var c=String(i);c.length>C&&(i="".concat(c.slice(0,C),"..."))}var s=function(t){t&&t.stopPropagation(),T(e)};return"function"==typeof x?(t=i,n=function(e){_(e),I(!u)},v.createElement("span",{onMouseDown:n},x({label:t,value:a,disabled:o,closable:l,onClose:s}))):ee(e,i,o,l,s)},renderRest:function(e){var t="function"==typeof M?M(e):M;return ee({title:t},t,!1)},suffix:et,itemKey:V,maxCount:y});return v.createElement(v.Fragment,null,en,!i.length&&!$&&v.createElement("span",{className:"".concat(J,"-placeholder")},d))},F=function(e){var t=e.inputElement,n=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,l=e.autoFocus,i=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,p=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,Z=e.onInputKeyDown,w=e.onInputMouseDown,y=e.onInputChange,C=e.onInputPaste,S=e.onInputCompositionStart,M=e.onInputCompositionEnd,x=v.useState(!1),I=(0,c.Z)(x,2),R=I[0],D=I[1],T="combobox"===s,P=d[0],k=g||"";T&&b&&!R&&(k=b),v.useEffect(function(){T&&D(!1)},[T,b]);var L=("combobox"===s||!!f||!!h)&&!!k,V=H(P);return v.createElement(v.Fragment,null,v.createElement("span",{className:"".concat(n,"-selection-search")},v.createElement(O,{ref:r,prefixCls:n,id:o,open:f,inputElement:t,disabled:a,autoFocus:l,autoComplete:i,editable:T||h,activeDescendantId:u,value:k,onKeyDown:Z,onMouseDown:w,onChange:function(e){D(!0),y(e)},onPaste:C,onCompositionStart:S,onCompositionEnd:M,tabIndex:m,attrs:(0,N.Z)(e,!0),maxLength:T?E:void 0})),!T&&P&&!L&&v.createElement("span",{className:"".concat(n,"-selection-item"),title:V},P.label),P?null:v.createElement("span",{className:"".concat(n,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},p))};function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=v.useRef(null),n=v.useRef(null);return v.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]),[function(){return t.current},function(o){(o||null===t.current)&&(t.current=o),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}]}var K=function(e,t){var n=(0,v.useRef)(null),o=(0,v.useRef)(!1),a=e.prefixCls,l=e.open,i=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,d=e.onSearchSubmit,p=e.onToggleOpen,h=e.onInputKeyDown,g=e.domRef;v.useImperativeHandle(t,function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}});var b=z(0),E=(0,c.Z)(b,2),Z=E[0],w=E[1],y=function(e){var t=e.which;(t===m.Z.UP||t===m.Z.DOWN)&&e.preventDefault(),h&&h(e),t!==m.Z.ENTER||"tags"!==i||o.current||l||null==d||d(e.target.value),[m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(t)||p(!0)},C=function(){w(!0)},S=(0,v.useRef)(null),M=function(e){!1!==f(e,!0,o.current)&&p(!0)},x=function(e){e.target!==n.current&&(void 0!==document.body.style.msTouchAction?setTimeout(function(){n.current.focus()}):n.current.focus())},I=function(e){var t=Z();e.target===n.current||t||"combobox"===i||e.preventDefault(),("combobox"===i||u&&t)&&l||(l&&f("",!0,!1),p())},N={inputRef:n,onInputKeyDown:y,onInputMouseDown:C,onInputChange:function(e){var t=e.target.value;if(s&&S.current&&/[\r\n]/.test(S.current)){var n=S.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(n,S.current)}S.current=null,M(t)},onInputPaste:function(e){var t=e.clipboardData.getData("text");S.current=t},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==i&&M(e.target.value)}},R="multiple"===i||"tags"===i?v.createElement(A,(0,r.Z)({},e,N)):v.createElement(F,(0,r.Z)({},e,N));return v.createElement("div",{ref:g,className:"".concat(a,"-selector"),onClick:x,onMouseDown:I},R)},W=v.forwardRef(K);W.displayName="Selector";var j=v.createContext(null),U=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Y=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function B(e){return"tags"===e||"multiple"===e}var G=v.forwardRef(function(e,t){var n,a,p,Z,w,y,C,S,M,x=e.id,N=e.prefixCls,R=e.className,T=e.showSearch,O=e.tagRender,P=e.direction,k=e.omitDomProps,L=e.displayValues,H=e.onDisplayValuesChange,V=e.emptyOptions,_=e.notFoundContent,A=void 0===_?"Not Found":_,F=e.onClear,K=e.mode,G=e.disabled,X=e.loading,Q=e.getInputElement,q=e.getRawInputElement,J=e.open,$=e.defaultOpen,ee=e.onDropdownVisibleChange,et=e.activeValue,en=e.onActiveValueChange,eo=e.activeDescendantId,er=e.searchValue,ea=e.onSearch,el=e.onSearchSplit,ei=e.tokenSeparators,eu=e.allowClear,ec=e.showArrow,es=e.inputIcon,ef=e.clearIcon,ed=e.OptionList,ep=e.animation,ev=e.transitionName,em=e.dropdownStyle,eh=e.dropdownClassName,eg=e.dropdownMatchSelectWidth,eb=e.dropdownRender,eE=e.dropdownAlign,eZ=e.placement,ew=e.getPopupContainer,ey=e.showAction,eC=void 0===ey?[]:ey,eS=e.onFocus,eM=e.onBlur,ex=e.onKeyUp,eI=e.onKeyDown,eN=e.onMouseDown,eR=(0,s.Z)(e,U),eD=B(K),eT=(void 0!==T?T:eD)||"combobox"===K,eO=(0,u.Z)({},eR);Y.forEach(function(e){delete eO[e]}),null==k||k.forEach(function(e){delete eO[e]});var eP=v.useState(!1),ek=(0,c.Z)(eP,2),eL=ek[0],eH=ek[1];v.useEffect(function(){eH((0,h.Z)())},[]);var eV=v.useRef(null),e_=v.useRef(null),eA=v.useRef(null),eF=v.useRef(null),ez=v.useRef(null),eK=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=v.useState(!1),n=(0,c.Z)(t,2),o=n[0],r=n[1],a=v.useRef(null),l=function(){window.clearTimeout(a.current)};return v.useEffect(function(){return l},[]),[o,function(t,n){l(),a.current=window.setTimeout(function(){r(t),n&&n()},e)},l]}(),eW=(0,c.Z)(eK,3),ej=eW[0],eU=eW[1],eY=eW[2];v.useImperativeHandle(t,function(){var e,t;return{focus:null===(e=eF.current)||void 0===e?void 0:e.focus,blur:null===(t=eF.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=ez.current)||void 0===t?void 0:t.scrollTo(e)}}});var eB=v.useMemo(function(){if("combobox"!==K)return er;var e,t=null===(e=L[0])||void 0===e?void 0:e.value;return"string"==typeof t||"number"==typeof t?String(t):""},[er,K,L]),eG="combobox"===K&&"function"==typeof Q&&Q()||null,eX="function"==typeof q&&q(),eQ=(0,g.x1)(e_,null==eX?void 0:null===(Z=eX.props)||void 0===Z?void 0:Z.ref),eq=(0,d.Z)(void 0,{defaultValue:$,value:J}),eJ=(0,c.Z)(eq,2),e$=eJ[0],e0=eJ[1],e1=e$,e2=!A&&V;(G||e2&&e1&&"combobox"===K)&&(e1=!1);var e4=!e2&&e1,e3=v.useCallback(function(e){var t=void 0!==e?e:!e1;e1===t||G||(e0(t),null==ee||ee(t))},[G,e1,e0,ee]),e5=v.useMemo(function(){return(ei||[]).some(function(e){return["\n","\r\n"].includes(e)})},[ei]),e6=function(e,t,n){var o=!0,r=e;null==en||en(null);var a=n?null:function(e,t){if(!t||!t.length)return null;var n=!1,o=function e(t,o){var r=(0,E.Z)(o),a=r[0],l=r.slice(1);if(!a)return[t];var u=t.split(a);return n=n||u.length>1,u.reduce(function(t,n){return[].concat((0,i.Z)(t),(0,i.Z)(e(n,l)))},[]).filter(function(e){return e})}(e,t);return n?o:null}(e,ei);return"combobox"!==K&&a&&(r="",null==el||el(a),e3(!1),o=!1),ea&&eB!==r&&ea(r,{source:t?"typing":"effect"}),o},e7=function(e){e&&e.trim()&&ea(e,{source:"submit"})};v.useEffect(function(){e1||eD||"combobox"===K||e6("",!1,!1)},[e1]),v.useEffect(function(){e$&&G&&e0(!1),G&&eU(!1)},[G]);var e9=z(),e8=(0,c.Z)(e9,2),te=e8[0],tt=e8[1],tn=function(e){var t,n=te(),o=e.which;if(o!==m.Z.ENTER||("combobox"!==K&&e.preventDefault(),e1||e3(!0)),tt(!!eB),o===m.Z.BACKSPACE&&!n&&eD&&!eB&&L.length){for(var r=(0,i.Z)(L),a=null,l=r.length-1;l>=0;l-=1){var u=r[l];if(!u.disabled){r.splice(l,1),a=u;break}}a&&H(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=Array(c>1?c-1:0),f=1;f1?n-1:0),r=1;r1?a-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:1,n=k.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];K(e);var n={source:t?"keyboard":"mouse"},o=k[e];if(!o){y(null,-1,n);return}y(o.value,e,n)};(0,v.useEffect)(function(){W(!1!==C?_(0):-1)},[k.length,h]);var U=v.useCallback(function(e){return x.has(e)&&"combobox"!==p},[p,(0,i.Z)(x).toString()]);(0,v.useEffect)(function(){var e,t=setTimeout(function(){if(!d&&f&&1===x.size){var e=Array.from(x)[0],t=k.findIndex(function(t){return t.data.value===e});-1!==t&&(W(t),V(t))}});return f&&(null===(e=L.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}},[f,h]);var Y=function(e){void 0!==e&&S(e,{selected:!x.has(e)}),d||g(!1)};if(v.useImperativeHandle(t,function(){return{onKeyDown:function(e){var t=e.which,n=e.ctrlKey;switch(t){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:var o=0;if(t===m.Z.UP?o=-1:t===m.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&n&&(t===m.Z.N?o=1:t===m.Z.P&&(o=-1)),0!==o){var r=_(z+o,o);V(r),W(r,!0)}break;case m.Z.ENTER:var a=k[z];a&&!a.data.disabled?Y(a.value):Y(void 0),f&&e.preventDefault();break;case m.Z.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){V(e)}}}),0===k.length)return v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(P,"-empty"),onMouseDown:H},b);var B=Object.keys(I).map(function(e){return I[e]}),G=function(e){return e.label},X=function(e){var t=k[e];if(!t)return null;var n=t.data||{},o=n.value,a=t.group,l=(0,N.Z)(n,!0),i=G(t);return t?v.createElement("div",(0,r.Z)({"aria-label":"string"!=typeof i||a?null:i},l,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":U(o)}),o):null};return v.createElement(v.Fragment,null,v.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(z-1),X(z),X(z+1)),v.createElement(eu.Z,{itemKey:"key",ref:L,data:k,height:T,itemHeight:O,fullHeight:!1,onMouseDown:H,onScroll:E,virtual:R},function(e,t){var n=e.group,a=e.groupOption,i=e.data,u=e.label,c=e.value,f=i.key;if(n){var d,p,m=null!==(p=i.title)&&void 0!==p?p:ef(u)?u.toString():void 0;return v.createElement("div",{className:l()(P,"".concat(P,"-group")),title:m},void 0!==u?u:f)}var h=i.disabled,g=i.title,b=(i.children,i.style),E=i.className,Z=(0,s.Z)(i,es),w=(0,el.Z)(Z,B),y=U(c),C="".concat(P,"-option"),S=l()(P,C,E,(d={},(0,o.Z)(d,"".concat(C,"-grouped"),a),(0,o.Z)(d,"".concat(C,"-active"),z===t&&!h),(0,o.Z)(d,"".concat(C,"-disabled"),h),(0,o.Z)(d,"".concat(C,"-selected"),y),d)),x=G(e),I="number"==typeof x?x:x||c,R=ef(I)?I.toString():void 0;return void 0!==g&&(R=g),v.createElement("div",(0,r.Z)({},(0,N.Z)(w),{"aria-selected":y,className:S,title:R,onMouseMove:function(){z===t||h||W(t)},onClick:function(){h||Y(c)},style:b}),v.createElement("div",{className:"".concat(C,"-content")},I),v.isValidElement(M)||y,(!M||"function"==typeof M||y)&&v.createElement(D,{className:"".concat(P,"-option-state"),customizeIcon:M,customizeIconProps:{isSelected:y}},y?"✓":null))}))},ep=v.forwardRef(ed);ep.displayName="OptionList";var ev=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],em=["inputValue"],eh=v.forwardRef(function(e,t){var n,a,l,p,m,h=e.id,g=e.mode,b=e.prefixCls,E=e.backfill,C=e.fieldNames,S=e.inputValue,M=e.searchValue,x=e.onSearch,I=e.autoClearSearchValue,N=void 0===I||I,R=e.onSelect,D=e.onDeselect,T=e.dropdownMatchSelectWidth,O=void 0===T||T,k=e.filterOption,L=e.filterSort,H=e.optionFilterProp,V=e.optionLabelProp,_=e.options,A=e.children,F=e.defaultActiveFirstOption,z=e.menuItemSelectedIcon,K=e.virtual,W=e.listHeight,j=void 0===W?200:W,U=e.listItemHeight,Y=void 0===U?20:U,q=e.value,er=e.defaultValue,ea=e.labelInValue,el=e.onChange,ei=(0,s.Z)(e,ev),eu=(n=v.useState(),l=(a=(0,c.Z)(n,2))[0],p=a[1],v.useEffect(function(){var e;p("rc_select_".concat(($?(e=J,J+=1):e="TEST_OR_SSR",e)))},[]),h||l),es=B(g),ef=!!(!_&&A),ed=v.useMemo(function(){return(void 0!==k||"combobox"!==g)&&k},[k,g]),eh=v.useMemo(function(){return w(C,ef)},[JSON.stringify(C),ef]),eg=(0,d.Z)("",{value:void 0!==M?M:S,postState:function(e){return e||""}}),eb=(0,c.Z)(eg,2),eE=eb[0],eZ=eb[1],ew=v.useMemo(function(){var e=_;_||(e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ee.Z)(t).map(function(t,o){if(!v.isValidElement(t)||!t.type)return null;var r,a,l,i,c,f=t.type.isSelectOptGroup,d=t.key,p=t.props,m=p.children,h=(0,s.Z)(p,en);return n||!f?(r=t.key,l=(a=t.props).children,i=a.value,c=(0,s.Z)(a,et),(0,u.Z)({key:r,value:void 0!==i?i:r,children:l},c)):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===d?o:d,"__"),label:d},h),{},{options:e(m)})}).filter(function(e){return e})}(A));var t=new Map,n=new Map,o=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)};return function e(r){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=0;l1&&void 0!==arguments[1]?arguments[1]:{},n=t.fieldNames,o=t.childrenAsData,r=[],a=w(n,!1),l=a.label,i=a.value,u=a.options;return!function e(t,n){t.forEach(function(t){var a=t[l];if(!n&&u in t){var c=a;void 0===c&&o&&(c=t.label),r.push({key:Z(t,r.length),group:!0,data:t,label:c}),e(t[u],!0)}else{var s=t[i];r.push({key:Z(t,r.length),groupOption:n,data:t,label:a,value:s})}})}(e,!1),r}(eA,{fieldNames:eh,childrenAsData:ef})},[eA,eh,ef]),ez=function(e){var t=eM(e);if(eR(t),el&&(t.length!==eO.length||t.some(function(e,t){var n;return(null===(n=eO[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)}))){var n=ea?t:t.map(function(e){return e.value}),o=t.map(function(e){return y(eP(e.value))});el(es?n:n[0],es?o:o[0])}},eK=v.useState(null),eW=(0,c.Z)(eK,2),ej=eW[0],eU=eW[1],eY=v.useState(0),eB=(0,c.Z)(eY,2),eG=eB[0],eX=eB[1],eQ=void 0!==F?F:"combobox"!==g,eq=v.useCallback(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.source;eX(t),E&&"combobox"===g&&null!==e&&"keyboard"===(void 0===o?"keyboard":o)&&eU(String(e))},[E,g]),eJ=function(e,t){var n=function(){var t,n=eP(e);return[ea?{label:null==n?void 0:n[eh.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,y(n)]};if(t&&R){var o=n(),r=(0,c.Z)(o,2);R(r[0],r[1])}else if(!t&&D){var a=n(),l=(0,c.Z)(a,2);D(l[0],l[1])}},e$=eo(function(e,t){var n=!es||t.selected;ez(n?es?[].concat((0,i.Z)(eO),[e]):[e]:eO.filter(function(t){return t.value!==e})),eJ(e,n),"combobox"===g?eU(""):(!B||N)&&(eZ(""),eU(""))}),e0=function(e,t){ez(e),("remove"===t.type||"clear"===t.type)&&t.values.forEach(function(e){eJ(e.value,!1)})},e1=function(e,t){if(eZ(e),eU(null),"submit"===t.source){var n=(e||"").trim();n&&(ez(Array.from(new Set([].concat((0,i.Z)(eL),[n])))),eJ(n,!0),eZ(""));return}"blur"!==t.source&&("combobox"===g&&ez(e),null==x||x(e))},e2=function(e){var t=e;"tags"!==g&&(t=e.map(function(e){var t=eC.get(e);return null==t?void 0:t.value}).filter(function(e){return void 0!==e}));var n=Array.from(new Set([].concat((0,i.Z)(eL),(0,i.Z)(t))));ez(n),n.forEach(function(e){eJ(e,!0)})},e4=v.useMemo(function(){return(0,u.Z)((0,u.Z)({},ew),{},{flattenOptions:eF,onActiveValue:eq,defaultActiveFirstOption:eQ,onSelect:e$,menuItemSelectedIcon:z,rawValues:eL,fieldNames:eh,virtual:!1!==K&&!1!==O,listHeight:j,listItemHeight:Y,childrenAsData:ef})},[ew,eF,eq,eQ,e$,z,eL,eh,K,O,j,Y,ef]);return v.createElement(ec.Provider,{value:e4},v.createElement(G,(0,r.Z)({},ei,{id:eu,prefixCls:void 0===b?"rc-select":b,ref:t,omitDomProps:em,mode:g,displayValues:ek,onDisplayValuesChange:e0,searchValue:eE,onSearch:e1,onSearchSplit:e2,dropdownMatchSelectWidth:O,OptionList:ep,emptyOptions:!eF.length,activeValue:ej,activeDescendantId:"".concat(eu,"_list_").concat(eG)})))});eh.Option=ea,eh.OptGroup=er;var eg=n(53124),eb=n(88258),eE=n(98866),eZ=n(97647),ew=n(65223),ey=n(33603),eC=n(9708),eS=n(63606),eM=n(4340),ex=n(97937),eI=n(80882),eN=n(50888),eR=n(68795),eD=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},eT="SECRET_COMBOBOX_MODE_DO_NOT_USE",eO=function(e,t){var n,a,i=e.prefixCls,u=e.bordered,c=e.className,s=e.getPopupContainer,f=e.dropdownClassName,d=e.popupClassName,p=e.listHeight,m=e.placement,h=e.listItemHeight,g=e.size,b=e.disabled,E=e.notFoundContent,Z=e.status,w=e.showArrow,y=eD(e,["prefixCls","bordered","className","getPopupContainer","dropdownClassName","popupClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","showArrow"]),C=v.useContext(eg.E_),S=C.getPopupContainer,M=C.getPrefixCls,x=C.renderEmpty,I=C.direction,N=C.virtual,R=C.dropdownMatchSelectWidth,D=v.useContext(eZ.Z),T=M("select",i),O=M(),P=v.useMemo(function(){var e=y.mode;return"combobox"===e?void 0:e===eT?"combobox":e},[y.mode]),k="multiple"===P||"tags"===P,L=void 0!==w?w:y.loading||!(k||"combobox"===P),H=(0,v.useContext)(ew.aM),V=H.status,_=H.hasFeedback,A=H.isFormItemInput,F=H.feedbackIcon,z=(0,eC.F)(V,Z);a=void 0!==E?E:"combobox"===P?null:(x||eb.Z)("Select");var K=function(e){var t=e.suffixIcon,n=e.clearIcon,o=e.menuItemSelectedIcon,r=e.removeIcon,a=e.loading,l=e.multiple,i=e.hasFeedback,u=e.prefixCls,c=e.showArrow,s=e.feedbackIcon,f=null!=n?n:v.createElement(eM.Z,null),d=function(e){return v.createElement(v.Fragment,null,!1!==c&&e,i&&s)},p=null;if(void 0!==t)p=d(t);else if(a)p=d(v.createElement(eN.Z,{spin:!0}));else{var m="".concat(u,"-suffix");p=function(e){var t=e.open,n=e.showSearch;return t&&n?d(v.createElement(eR.Z,{className:m})):d(v.createElement(eI.Z,{className:m}))}}var h=null;return h=void 0!==o?o:l?v.createElement(eS.Z,null):null,{clearIcon:f,suffixIcon:p,itemIcon:h,removeIcon:void 0!==r?r:v.createElement(ex.Z,null)}}((0,r.Z)((0,r.Z)({},y),{multiple:k,hasFeedback:_,feedbackIcon:F,showArrow:L,prefixCls:T})),W=K.suffixIcon,j=K.itemIcon,U=K.removeIcon,Y=K.clearIcon,B=(0,el.Z)(y,["suffixIcon","itemIcon"]),G=l()(d||f,(0,o.Z)({},"".concat(T,"-dropdown-").concat(I),"rtl"===I)),X=g||D,Q=v.useContext(eE.Z),q=l()((n={},(0,o.Z)(n,"".concat(T,"-lg"),"large"===X),(0,o.Z)(n,"".concat(T,"-sm"),"small"===X),(0,o.Z)(n,"".concat(T,"-rtl"),"rtl"===I),(0,o.Z)(n,"".concat(T,"-borderless"),!(void 0===u||u)),(0,o.Z)(n,"".concat(T,"-in-form-item"),A),n),(0,eC.Z)(T,z,_),c);return v.createElement(eh,(0,r.Z)({ref:t,virtual:N,dropdownMatchSelectWidth:R},B,{transitionName:(0,ey.mL)(O,(0,ey.q0)(m),y.transitionName),listHeight:void 0===p?256:p,listItemHeight:void 0===h?24:h,mode:P,prefixCls:T,placement:void 0!==m?m:"rtl"===I?"bottomRight":"bottomLeft",direction:I,inputIcon:W,menuItemSelectedIcon:j,removeIcon:U,clearIcon:Y,notFoundContent:a,className:q,getPopupContainer:s||S,dropdownClassName:G,showArrow:_||w,disabled:b||Q}))},eP=v.forwardRef(eO);eP.SECRET_COMBOBOX_MODE_DO_NOT_USE=eT,eP.Option=ea,eP.OptGroup=er;var ek=eP},73453:function(e,t,n){n.d(t,{Z:function(){return O}});var o=n(87462),r=n(4942),a=n(1413),l=n(97685),i=n(45987),u=n(67294),c=n(94184),s=n.n(c),f=n(48555),d=u.forwardRef(function(e,t){var n=e.height,o=e.offset,l=e.children,i=e.prefixCls,c=e.onInnerResize,d={},p={display:"flex",flexDirection:"column"};return void 0!==o&&(d={height:n,position:"relative",overflow:"hidden"},p=(0,a.Z)((0,a.Z)({},p),{},{transform:"translateY(".concat(o,"px)"),position:"absolute",left:0,right:0,top:0})),u.createElement("div",{style:d},u.createElement(f.default,{onResize:function(e){e.offsetHeight&&c&&c()}},u.createElement("div",{style:p,className:s()((0,r.Z)({},"".concat(i,"-holder-inner"),i)),ref:t},l)))});d.displayName="Filler";var p=n(15671),v=n(43144),m=n(60136),h=n(33643),g=n(75164);function b(e){return"touches"in e?e.touches[0].pageY:e.pageY}var E=function(e){(0,m.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,p.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;an},e}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,t=e.dragging,n=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),l=this.getTop(),i=this.showScroll();return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),i)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:i&&n?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),t)),style:{width:"100%",height:a,top:l,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),n}(u.Component);function Z(e){var t=e.children,n=e.setRef,o=u.useCallback(function(e){n(e)},[]);return u.cloneElement(t,{ref:o})}var w=n(34203),y=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,v.Z)(e,[{key:"set",value:function(e,t){this.maps[e]=t}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),C=n(71002),S=("undefined"==typeof navigator?"undefined":(0,C.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),M=function(e,t){var n=(0,u.useRef)(!1),o=(0,u.useRef)(null),r=(0,u.useRef)({top:e,bottom:t});return r.current.top=e,r.current.bottom=t,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e<0&&r.current.top||e>0&&r.current.bottom;return t&&a?(clearTimeout(o.current),n.current=!1):(!a||n.current)&&(clearTimeout(o.current),n.current=!0,o.current=setTimeout(function(){n.current=!1},50)),!n.current&&a}},x=n(8410),I=14/15,N=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],R=[],D={overflowY:"auto",overflowAnchor:"none"},T=u.forwardRef(function(e,t){var n,c,f,p,v,m,h,b,T,O,P,k,L,H,V,_,A,F,z,K,W,j,U,Y,B,G,X=e.prefixCls,Q=void 0===X?"rc-virtual-list":X,q=e.className,J=e.height,$=e.itemHeight,ee=e.fullHeight,et=e.style,en=e.data,eo=e.children,er=e.itemKey,ea=e.virtual,el=e.component,ei=e.onScroll,eu=e.onVisibleChange,ec=(0,i.Z)(e,N),es=!!(!1!==ea&&J&&$),ef=es&&en&&$*en.length>J,ed=(0,u.useState)(0),ep=(0,l.Z)(ed,2),ev=ep[0],em=ep[1],eh=(0,u.useState)(!1),eg=(0,l.Z)(eh,2),eb=eg[0],eE=eg[1],eZ=s()(Q,q),ew=en||R,ey=(0,u.useRef)(),eC=(0,u.useRef)(),eS=(0,u.useRef)(),eM=u.useCallback(function(e){return"function"==typeof er?er(e):null==e?void 0:e[er]},[er]);function ex(e){em(function(t){var n,o=(n="function"==typeof e?e(t):e,Number.isNaN(eW.current)||(n=Math.min(n,eW.current)),n=Math.max(n,0));return ey.current.scrollTop=o,o})}var eI=(0,u.useRef)({start:0,end:ew.length}),eN=(0,u.useRef)(),eR=(c=u.useState(ew),p=(f=(0,l.Z)(c,2))[0],v=f[1],m=u.useState(null),b=(h=(0,l.Z)(m,2))[0],T=h[1],u.useEffect(function(){var e=function(e,t,n){var o,r,a=e.length,l=t.length;if(0===a&&0===l)return null;a=ev&&void 0===t&&(t=l,n=r),c>ev+J&&void 0===o&&(o=l),r=c}return void 0===t&&(t=0,n=0,o=Math.ceil(J/$)),void 0===o&&(o=ew.length-1),{scrollHeight:r,start:t,end:o=Math.min(o+1,ew.length),offset:n}},[ef,es,ev,ew,eH,J]),e_=eV.scrollHeight,eA=eV.start,eF=eV.end,ez=eV.offset;eI.current.start=eA,eI.current.end=eF;var eK=e_-J,eW=(0,u.useRef)(eK);eW.current=eK;var ej=ev<=0,eU=ev>=eK,eY=M(ej,eU),eB=(O=function(e){ex(function(t){return t+e})},P=(0,u.useRef)(0),k=(0,u.useRef)(null),L=(0,u.useRef)(null),H=(0,u.useRef)(!1),V=M(ej,eU),[function(e){if(es){g.Z.cancel(k.current);var t=e.deltaY;P.current+=t,L.current=t,V(t)||(S||e.preventDefault(),k.current=(0,g.Z)(function(){var e=H.current?10:1;O(P.current*e),P.current=0}))}},function(e){es&&(H.current=e.detail===L.current)}]),eG=(0,l.Z)(eB,2),eX=eG[0],eQ=eG[1];_=function(e,t){return!eY(e,t)&&(eX({preventDefault:function(){},deltaY:e}),!0)},F=(0,u.useRef)(!1),z=(0,u.useRef)(0),K=(0,u.useRef)(null),W=(0,u.useRef)(null),j=function(e){if(F.current){var t=Math.ceil(e.touches[0].pageY),n=z.current-t;z.current=t,_(n)&&e.preventDefault(),clearInterval(W.current),W.current=setInterval(function(){(!_(n*=I,!0)||.1>=Math.abs(n))&&clearInterval(W.current)},16)}},U=function(){F.current=!1,A()},Y=function(e){A(),1!==e.touches.length||F.current||(F.current=!0,z.current=Math.ceil(e.touches[0].pageY),K.current=e.target,K.current.addEventListener("touchmove",j),K.current.addEventListener("touchend",U))},A=function(){K.current&&(K.current.removeEventListener("touchmove",j),K.current.removeEventListener("touchend",U))},(0,x.Z)(function(){return es&&ey.current.addEventListener("touchstart",Y),function(){var e;null===(e=ey.current)||void 0===e||e.removeEventListener("touchstart",Y),A(),clearInterval(W.current)}},[es]),(0,x.Z)(function(){function e(e){es&&e.preventDefault()}return ey.current.addEventListener("wheel",eX),ey.current.addEventListener("DOMMouseScroll",eQ),ey.current.addEventListener("MozMousePixelScroll",e),function(){ey.current&&(ey.current.removeEventListener("wheel",eX),ey.current.removeEventListener("DOMMouseScroll",eQ),ey.current.removeEventListener("MozMousePixelScroll",e))}},[es]);var eq=(B=function(){var e;null===(e=eS.current)||void 0===e||e.delayHidden()},G=u.useRef(),function(e){if(null==e){B();return}if(g.Z.cancel(G.current),"number"==typeof e)ex(e);else if(e&&"object"===(0,C.Z)(e)){var t,n=e.align;t="index"in e?e.index:ew.findIndex(function(t){return eM(t)===e.key});var o=e.offset,r=void 0===o?0:o;!function e(o,a){if(!(o<0)&&ey.current){var l=ey.current.clientHeight,i=!1,u=a;if(l){for(var c=0,s=0,f=0,d=Math.min(ew.length,t),p=0;p<=d;p+=1){var v=eM(ew[p]);s=c;var m=eL.get(v);c=f=s+(void 0===m?$:m),p===t&&void 0===m&&(i=!0)}var h=null;switch(a||n){case"top":h=s-r;break;case"bottom":h=f-l+r;break;default:var b=ey.current.scrollTop;sb+l&&(u="bottom")}null!==h&&h!==ey.current.scrollTop&&ex(h)}G.current=(0,g.Z)(function(){i&&ek(),e(o-1,u)})}}(3)}});u.useImperativeHandle(t,function(){return{scrollTo:eq}}),(0,x.Z)(function(){eu&&eu(ew.slice(eA,eF+1),ew)},[eA,eF,ew]);var eJ=ew.slice(eA,eF+1).map(function(e,t){var n=eo(e,eA+t,{}),o=eM(e);return u.createElement(Z,{key:o,setRef:function(t){return eP(e,t)}},n)}),e$=null;return J&&(e$=(0,a.Z)((0,r.Z)({},void 0===ee||ee?"height":"maxHeight",J),D),es&&(e$.overflowY="hidden",eb&&(e$.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},et),{},{position:"relative"}),className:eZ},ec),u.createElement(void 0===el?"div":el,{className:"".concat(Q,"-holder"),style:e$,ref:ey,onScroll:function(e){var t=e.currentTarget.scrollTop;t!==ev&&ex(t),null==ei||ei(e)}},u.createElement(d,{prefixCls:Q,height:e_,offset:ez,onInnerResize:ek,ref:eC},eJ)),es&&u.createElement(E,{ref:eS,prefixCls:Q,scrollTop:ev,height:J,scrollHeight:e_,count:ew.length,onScroll:function(e){ex(e)},onStartMove:function(){eE(!0)},onStopMove:function(){eE(!1)}}))});T.displayName="List";var O=T}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8939-f33468a26aa6323b.js b/static/web/_next/static/chunks/8939-f33468a26aa6323b.js deleted file mode 100644 index dedb6a0f5..000000000 --- a/static/web/_next/static/chunks/8939-f33468a26aa6323b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8939],{88258:function(e,n,t){var o=t(67294),r=t(53124),a=t(62986);n.Z=function(e){return o.createElement(r.C,null,(function(n){var t=(0,n.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(a.Z,{image:a.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(t,"-small")});default:return o.createElement(a.Z,null)}}))}},62986:function(e,n,t){t.d(n,{Z:function(){return h}});var o=t(4942),r=t(87462),a=t(94184),i=t.n(a),l=t(67294),u=t(53124),c=t(23715),s=function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-default");return l.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),l.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),l.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),l.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),l.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),l.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,l.useContext(u.E_).getPrefixCls)("empty-img-simple");return l.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},d=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rC&&(a="".concat(i.slice(0,C),"..."))}var l=function(n){n&&n.stopPropagation(),T(e)};return"function"===typeof x?function(e,n,t,o,r){return p.createElement("span",{onMouseDown:function(e){A(e),I(!u)}},x({label:n,value:e,disabled:t,closable:o,onClose:r}))}(o,a,n,r,l):ne(e,a,n,r,l)},renderRest:function(e){var n="function"===typeof M?M(e):M;return ne({title:n},n,!1)},suffix:te,itemKey:_,maxCount:y});return p.createElement(p.Fragment,null,oe,!l.length&&!$&&p.createElement("span",{className:"".concat(J,"-placeholder")},d))},K=function(e){var n=e.inputElement,t=e.prefixCls,o=e.id,r=e.inputRef,a=e.disabled,i=e.autoFocus,l=e.autoComplete,u=e.activeDescendantId,s=e.mode,f=e.open,d=e.values,v=e.placeholder,m=e.tabIndex,h=e.showSearch,g=e.searchValue,b=e.activeValue,E=e.maxLength,w=e.onInputKeyDown,Z=e.onInputMouseDown,y=e.onInputChange,C=e.onInputPaste,S=e.onInputCompositionStart,M=e.onInputCompositionEnd,x=p.useState(!1),I=(0,c.Z)(x,2),R=I[0],D=I[1],T="combobox"===s,O=T||h,k=d[0],L=g||"";T&&b&&!R&&(L=b),p.useEffect((function(){T&&D(!1)}),[T,b]);var H=!("combobox"!==s&&!f&&!h)&&!!L,_=V(k);return p.createElement(p.Fragment,null,p.createElement("span",{className:"".concat(t,"-selection-search")},p.createElement(P,{ref:r,prefixCls:t,id:o,open:f,inputElement:n,disabled:a,autoFocus:i,autoComplete:l,editable:O,activeDescendantId:u,value:L,onKeyDown:w,onMouseDown:Z,onChange:function(e){D(!0),y(e)},onPaste:C,onCompositionStart:S,onCompositionEnd:M,tabIndex:m,attrs:(0,N.Z)(e,!0),maxLength:T?E:void 0})),!T&&k&&!H&&p.createElement("span",{className:"".concat(t,"-selection-item"),title:_},k.label),function(){if(k)return null;var e=H?{visibility:"hidden"}:void 0;return p.createElement("span",{className:"".concat(t,"-selection-placeholder"),style:e},v)}())};function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,n=p.useRef(null),t=p.useRef(null);function o(o){(o||null===n.current)&&(n.current=o),window.clearTimeout(t.current),t.current=window.setTimeout((function(){n.current=null}),e)}return p.useEffect((function(){return function(){window.clearTimeout(t.current)}}),[]),[function(){return n.current},o]}var W=function(e,n){var t=(0,p.useRef)(null),o=(0,p.useRef)(!1),a=e.prefixCls,i=e.open,l=e.mode,u=e.showSearch,s=e.tokenWithEnter,f=e.onSearch,d=e.onSearchSubmit,v=e.onToggleOpen,h=e.onInputKeyDown,g=e.domRef;p.useImperativeHandle(n,(function(){return{focus:function(){t.current.focus()},blur:function(){t.current.blur()}}}));var b=z(0),E=(0,c.Z)(b,2),w=E[0],Z=E[1],y=(0,p.useRef)(null),C=function(e){!1!==f(e,!0,o.current)&&v(!0)},S={inputRef:t,onInputKeyDown:function(e){var n,t=e.which;t!==m.Z.UP&&t!==m.Z.DOWN||e.preventDefault(),h&&h(e),t!==m.Z.ENTER||"tags"!==l||o.current||i||null===d||void 0===d||d(e.target.value),n=t,[m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(n)||v(!0)},onInputMouseDown:function(){Z(!0)},onInputChange:function(e){var n=e.target.value;if(s&&y.current&&/[\r\n]/.test(y.current)){var t=y.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");n=n.replace(t,y.current)}y.current=null,C(n)},onInputPaste:function(e){var n=e.clipboardData.getData("text");y.current=n},onInputCompositionStart:function(){o.current=!0},onInputCompositionEnd:function(e){o.current=!1,"combobox"!==l&&C(e.target.value)}},M="multiple"===l||"tags"===l?p.createElement(F,(0,r.Z)({},e,S)):p.createElement(K,(0,r.Z)({},e,S));return p.createElement("div",{ref:g,className:"".concat(a,"-selector"),onClick:function(e){e.target!==t.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){t.current.focus()})):t.current.focus())},onMouseDown:function(e){var n=w();e.target===t.current||n||"combobox"===l||e.preventDefault(),("combobox"===l||u&&n)&&i||(i&&f("",!0,!1),v())}},M)},j=p.forwardRef(W);j.displayName="Selector";var U=j;var Y=p.createContext(null);var B=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","showArrow","inputIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],G=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function X(e){return"tags"===e||"multiple"===e}var Q=p.forwardRef((function(e,n){var t,a,v=e.id,w=e.prefixCls,Z=e.className,y=e.showSearch,C=e.tagRender,S=e.direction,M=e.omitDomProps,x=e.displayValues,N=e.onDisplayValuesChange,R=e.emptyOptions,T=e.notFoundContent,O=void 0===T?"Not Found":T,P=e.onClear,k=e.mode,L=e.disabled,H=e.loading,V=e.getInputElement,_=e.getRawInputElement,A=e.open,F=e.defaultOpen,K=e.onDropdownVisibleChange,W=e.activeValue,j=e.onActiveValueChange,Q=e.activeDescendantId,q=e.searchValue,J=e.onSearch,$=e.onSearchSplit,ee=e.tokenSeparators,ne=e.allowClear,te=e.showArrow,oe=e.inputIcon,re=e.clearIcon,ae=e.OptionList,ie=e.animation,le=e.transitionName,ue=e.dropdownStyle,ce=e.dropdownClassName,se=e.dropdownMatchSelectWidth,fe=e.dropdownRender,de=e.dropdownAlign,ve=e.placement,pe=e.getPopupContainer,me=e.showAction,he=void 0===me?[]:me,ge=e.onFocus,be=e.onBlur,Ee=e.onKeyUp,we=e.onKeyDown,Ze=e.onMouseDown,ye=(0,s.Z)(e,B),Ce=X(k),Se=(void 0!==y?y:Ce)||"combobox"===k,Me=(0,u.Z)({},ye);G.forEach((function(e){delete Me[e]})),null===M||void 0===M||M.forEach((function(e){delete Me[e]}));var xe=p.useState(!1),Ie=(0,c.Z)(xe,2),Ne=Ie[0],Re=Ie[1];p.useEffect((function(){Re((0,h.Z)())}),[]);var De=p.useRef(null),Te=p.useRef(null),Oe=p.useRef(null),Pe=p.useRef(null),ke=p.useRef(null),Le=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,n=p.useState(!1),t=(0,c.Z)(n,2),o=t[0],r=t[1],a=p.useRef(null),i=function(){window.clearTimeout(a.current)};return p.useEffect((function(){return i}),[]),[o,function(n,t){i(),a.current=window.setTimeout((function(){r(n),t&&t()}),e)},i]}(),He=(0,c.Z)(Le,3),Ve=He[0],_e=He[1],Ae=He[2];p.useImperativeHandle(n,(function(){var e,n;return{focus:null===(e=Pe.current)||void 0===e?void 0:e.focus,blur:null===(n=Pe.current)||void 0===n?void 0:n.blur,scrollTo:function(e){var n;return null===(n=ke.current)||void 0===n?void 0:n.scrollTo(e)}}}));var Fe=p.useMemo((function(){var e;if("combobox"!==k)return q;var n=null===(e=x[0])||void 0===e?void 0:e.value;return"string"===typeof n||"number"===typeof n?String(n):""}),[q,k,x]),Ke="combobox"===k&&"function"===typeof V&&V()||null,ze="function"===typeof _&&_(),We=(0,g.x1)(Te,null===ze||void 0===ze||null===(t=ze.props)||void 0===t?void 0:t.ref),je=(0,d.Z)(void 0,{defaultValue:F,value:A}),Ue=(0,c.Z)(je,2),Ye=Ue[0],Be=Ue[1],Ge=Ye,Xe=!O&&R;(L||Xe&&Ge&&"combobox"===k)&&(Ge=!1);var Qe=!Xe&&Ge,qe=p.useCallback((function(e){var n=void 0!==e?e:!Ge;Ge===n||L||(Be(n),null===K||void 0===K||K(n))}),[L,Ge,Be,K]),Je=p.useMemo((function(){return(ee||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[ee]),$e=function(e,n,t){var o=!0,r=e;null===j||void 0===j||j(null);var a=t?null:function(e,n){if(!n||!n.length)return null;var t=!1,o=function e(n,o){var r=(0,E.Z)(o),a=r[0],i=r.slice(1);if(!a)return[n];var u=n.split(a);return t=t||u.length>1,u.reduce((function(n,t){return[].concat((0,l.Z)(n),(0,l.Z)(e(t,i)))}),[]).filter((function(e){return e}))}(e,n);return t?o:null}(e,ee);return"combobox"!==k&&a&&(r="",null===$||void 0===$||$(a),qe(!1),o=!1),J&&Fe!==r&&J(r,{source:n?"typing":"effect"}),o};p.useEffect((function(){Ge||Ce||"combobox"===k||$e("",!1,!1)}),[Ge]),p.useEffect((function(){Ye&&L&&Be(!1),L&&_e(!1)}),[L]);var en=z(),nn=(0,c.Z)(en,2),tn=nn[0],on=nn[1],rn=p.useRef(!1),an=[];p.useEffect((function(){return function(){an.forEach((function(e){return clearTimeout(e)})),an.splice(0,an.length)}}),[]);var ln,un=p.useState(null),cn=(0,c.Z)(un,2),sn=cn[0],fn=cn[1],dn=p.useState({}),vn=(0,c.Z)(dn,2)[1];(0,b.Z)((function(){if(Qe){var e,n=Math.ceil(null===(e=De.current)||void 0===e?void 0:e.offsetWidth);sn===n||Number.isNaN(n)||fn(n)}}),[Qe]),ze&&(ln=function(e){qe(e)}),function(e,n,t,o){var r=p.useRef(null);r.current={open:n,triggerOpen:t,customizedTrigger:o},p.useEffect((function(){function n(n){var t;if(!(null===(t=r.current)||void 0===t?void 0:t.customizedTrigger)){var o=n.target;o.shadowRoot&&n.composed&&(o=n.composedPath()[0]||o),r.current.open&&e().filter((function(e){return e})).every((function(e){return!e.contains(o)&&e!==o}))&&r.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n),function(){return window.removeEventListener("mousedown",n)}}),[])}((function(){var e;return[De.current,null===(e=Oe.current)||void 0===e?void 0:e.getPopupElement()]}),Qe,qe,!!ze);var pn,mn,hn=p.useMemo((function(){return(0,u.Z)((0,u.Z)({},e),{},{notFoundContent:O,open:Ge,triggerOpen:Qe,id:v,showSearch:Se,multiple:Ce,toggleOpen:qe})}),[e,O,Qe,Ge,v,Se,Ce,qe]),gn=void 0!==te?te:H||!Ce&&"combobox"!==k;gn&&(pn=p.createElement(D,{className:i()("".concat(w,"-arrow"),(0,o.Z)({},"".concat(w,"-arrow-loading"),H)),customizeIcon:oe,customizeIconProps:{loading:H,searchValue:Fe,open:Ge,focused:Ve,showSearch:Se}}));L||!ne||!x.length&&!Fe||"combobox"===k&&""===Fe||(mn=p.createElement(D,{className:"".concat(w,"-clear"),onMouseDown:function(){null===P||void 0===P||P(),N([],{type:"clear",values:x}),$e("",!1,!1)},customizeIcon:re},"\xd7"));var bn,En=p.createElement(ae,{ref:ke}),wn=i()(w,Z,(a={},(0,o.Z)(a,"".concat(w,"-focused"),Ve),(0,o.Z)(a,"".concat(w,"-multiple"),Ce),(0,o.Z)(a,"".concat(w,"-single"),!Ce),(0,o.Z)(a,"".concat(w,"-allow-clear"),ne),(0,o.Z)(a,"".concat(w,"-show-arrow"),gn),(0,o.Z)(a,"".concat(w,"-disabled"),L),(0,o.Z)(a,"".concat(w,"-loading"),H),(0,o.Z)(a,"".concat(w,"-open"),Ge),(0,o.Z)(a,"".concat(w,"-customize-input"),Ke),(0,o.Z)(a,"".concat(w,"-show-search"),Se),a)),Zn=p.createElement(I,{ref:Oe,disabled:L,prefixCls:w,visible:Qe,popupElement:En,containerWidth:sn,animation:ie,transitionName:le,dropdownStyle:ue,dropdownClassName:ce,direction:S,dropdownMatchSelectWidth:se,dropdownRender:fe,dropdownAlign:de,placement:ve,getPopupContainer:pe,empty:R,getTriggerDOMNode:function(){return Te.current},onPopupVisibleChange:ln,onPopupMouseEnter:function(){vn({})}},ze?p.cloneElement(ze,{ref:We}):p.createElement(U,(0,r.Z)({},e,{domRef:Te,prefixCls:w,inputElement:Ke,ref:Pe,id:v,showSearch:Se,mode:k,activeDescendantId:Q,tagRender:C,values:x,open:Ge,onToggleOpen:qe,activeValue:W,searchValue:Fe,onSearch:$e,onSearchSubmit:function(e){e&&e.trim()&&J(e,{source:"submit"})},onRemove:function(e){var n=x.filter((function(n){return n!==e}));N(n,{type:"remove",values:[e]})},tokenWithEnter:Je})));return bn=ze?Zn:p.createElement("div",(0,r.Z)({className:wn},Me,{ref:De,onMouseDown:function(e){var n,t=e.target,o=null===(n=Oe.current)||void 0===n?void 0:n.getPopupElement();if(o&&o.contains(t)){var r=setTimeout((function(){var e,n=an.indexOf(r);-1!==n&&an.splice(n,1),Ae(),Ne||o.contains(document.activeElement)||null===(e=Pe.current)||void 0===e||e.focus()}));an.push(r)}for(var a=arguments.length,i=new Array(a>1?a-1:0),l=1;l=0;i-=1){var u=r[i];if(!u.disabled){r.splice(i,1),a=u;break}}a&&N(r,{type:"remove",values:[a]})}for(var c=arguments.length,s=new Array(c>1?c-1:0),f=1;f1?n-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];return(0,oe.Z)(e).map((function(e,t){if(!p.isValidElement(e)||!e.type)return null;var o=e.type.isSelectOptGroup,r=e.key,a=e.props,i=a.children,l=(0,s.Z)(a,ae);return n||!o?ie(e):(0,u.Z)((0,u.Z)({key:"__RC_SELECT_GRP__".concat(null===r?t:r,"__"),label:r},l),{},{options:le(i)})})).filter((function(e){return e}))}function ue(e,n,t,o,r){return p.useMemo((function(){var a=e;!e&&(a=le(n));var i=new Map,l=new Map,u=function(e,n,t){t&&"string"===typeof t&&e.set(n[t],n)};return function e(n){for(var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=0;c1&&void 0!==arguments[1]?arguments[1]:1,t=k.length,o=0;o1&&void 0!==arguments[1]&&arguments[1];z(e);var t={source:n?"keyboard":"mouse"},o=k[e];o?y(o.value,e,t):y(null,-1,t)};(0,p.useEffect)((function(){W(!1!==C?_(0):-1)}),[k.length,h]);var j=p.useCallback((function(e){return x.has(e)&&"combobox"!==v}),[v,(0,l.Z)(x).toString()]);(0,p.useEffect)((function(){var e,n=setTimeout((function(){if(!d&&f&&1===x.size){var e=Array.from(x)[0],n=k.findIndex((function(n){return n.data.value===e}));-1!==n&&(W(n),V(n))}}));f&&(null===(e=L.current)||void 0===e||e.scrollTo(void 0));return function(){return clearTimeout(n)}}),[f,h]);var U=function(e){void 0!==e&&S(e,{selected:!x.has(e)}),d||g(!1)};if(p.useImperativeHandle(n,(function(){return{onKeyDown:function(e){var n=e.which,t=e.ctrlKey;switch(n){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:var o=0;if(n===m.Z.UP?o=-1:n===m.Z.DOWN?o=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&t&&(n===m.Z.N?o=1:n===m.Z.P&&(o=-1)),0!==o){var r=_(K+o,o);V(r),W(r,!0)}break;case m.Z.ENTER:var a=k[K];a&&!a.data.disabled?U(a.value):U(void 0),f&&e.preventDefault();break;case m.Z.ESC:g(!1),f&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){V(e)}}})),0===k.length)return p.createElement("div",{role:"listbox",id:"".concat(u,"_list"),className:"".concat(P,"-empty"),onMouseDown:H},b);var B=Object.keys(I).map((function(e){return I[e]})),G=function(e){return e.label},X=function(e){var n=k[e];if(!n)return null;var t=n.data||{},o=t.value,a=n.group,i=(0,N.Z)(t,!0),l=G(n);return n?p.createElement("div",(0,r.Z)({"aria-label":"string"!==typeof l||a?null:l},i,{key:e,role:a?"presentation":"option",id:"".concat(u,"_list_").concat(e),"aria-selected":j(o)}),o):null};return p.createElement(p.Fragment,null,p.createElement("div",{role:"listbox",id:"".concat(u,"_list"),style:{height:0,width:0,overflow:"hidden"}},X(K-1),X(K),X(K+1)),p.createElement(he.Z,{itemKey:"key",ref:L,data:k,height:T,itemHeight:O,fullHeight:!1,onMouseDown:H,onScroll:E,virtual:R},(function(e,n){var t,a=e.group,l=e.groupOption,u=e.data,c=e.label,f=e.value,d=u.key;if(a){var v,m=null!==(v=u.title)&&void 0!==v?v:Ee(c)?c.toString():void 0;return p.createElement("div",{className:i()(P,"".concat(P,"-group")),title:m},void 0!==c?c:d)}var h=u.disabled,g=u.title,b=(u.children,u.style),E=u.className,w=(0,s.Z)(u,be),Z=(0,pe.Z)(w,B),y=j(f),C="".concat(P,"-option"),S=i()(P,C,E,(t={},(0,o.Z)(t,"".concat(C,"-grouped"),l),(0,o.Z)(t,"".concat(C,"-active"),K===n&&!h),(0,o.Z)(t,"".concat(C,"-disabled"),h),(0,o.Z)(t,"".concat(C,"-selected"),y),t)),x=G(e),I=!M||"function"===typeof M||y,R="number"===typeof x?x:x||f,T=Ee(R)?R.toString():void 0;return void 0!==g&&(T=g),p.createElement("div",(0,r.Z)({},(0,N.Z)(Z),{"aria-selected":y,className:S,title:T,onMouseMove:function(){K===n||h||W(n)},onClick:function(){h||U(f)},style:b}),p.createElement("div",{className:"".concat(C,"-content")},R),p.isValidElement(M)||y,I&&p.createElement(D,{className:"".concat(P,"-option-state"),customizeIcon:M,customizeIconProps:{isSelected:y}},y?"\u2713":null))})))},Ze=p.forwardRef(we);Ze.displayName="OptionList";var ye=Ze;var Ce=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Se=["inputValue"];var Me=p.forwardRef((function(e,n){var t=e.id,a=e.mode,i=e.prefixCls,v=void 0===i?"rc-select":i,m=e.backfill,h=e.fieldNames,g=e.inputValue,b=e.searchValue,E=e.onSearch,C=e.autoClearSearchValue,S=void 0===C||C,M=e.onSelect,x=e.onDeselect,I=e.dropdownMatchSelectWidth,N=void 0===I||I,R=e.filterOption,D=e.filterSort,T=e.optionFilterProp,O=e.optionLabelProp,P=e.options,L=e.children,H=e.defaultActiveFirstOption,V=e.menuItemSelectedIcon,_=e.virtual,A=e.listHeight,F=void 0===A?200:A,K=e.listItemHeight,z=void 0===K?20:K,W=e.value,j=e.defaultValue,U=e.labelInValue,Y=e.onChange,B=(0,s.Z)(e,Ce),G=te(t),Q=X(a),$=!(P||!L),ee=p.useMemo((function(){return(void 0!==R||"combobox"!==a)&&R}),[R,a]),ne=p.useMemo((function(){return Z(h,$)}),[JSON.stringify(h),$]),oe=(0,d.Z)("",{value:void 0!==b?b:g,postState:function(e){return e||""}}),re=(0,c.Z)(oe,2),ae=re[0],ie=re[1],le=ue(P,L,ne,T,O),se=le.valueOptions,fe=le.labelOptions,de=le.options,ve=p.useCallback((function(e){return k(e).map((function(e){var n,t,o,r,a,i;(function(e){return!e||"object"!==(0,f.Z)(e)})(e)?n=e:(o=e.key,t=e.label,n=null!==(i=e.value)&&void 0!==i?i:o);var l,u=se.get(n);u&&(void 0===t&&(t=null===u||void 0===u?void 0:u[O||ne.label]),void 0===o&&(o=null!==(l=null===u||void 0===u?void 0:u.key)&&void 0!==l?l:n),r=null===u||void 0===u?void 0:u.disabled,a=null===u||void 0===u?void 0:u.title);return{label:t,value:n,key:o,disabled:r,title:a}}))}),[ne,O,se]),pe=(0,d.Z)(j,{value:W}),me=(0,c.Z)(pe,2),he=me[0],be=me[1],Ee=function(e,n){var t=p.useRef({values:new Map,options:new Map});return[p.useMemo((function(){var o=t.current,r=o.values,a=o.options,i=e.map((function(e){var n;return void 0===e.label?(0,u.Z)((0,u.Z)({},e),{},{label:null===(n=r.get(e.value))||void 0===n?void 0:n.label}):e})),l=new Map,c=new Map;return i.forEach((function(e){l.set(e.value,e),c.set(e.value,n.get(e.value)||a.get(e.value))})),t.current.values=l,t.current.options=c,i}),[e,n]),p.useCallback((function(e){return n.get(e)||t.current.options.get(e)}),[n])]}(p.useMemo((function(){var e,n=ve(he);return"combobox"!==a||(null===(e=n[0])||void 0===e?void 0:e.value)?n:[]}),[he,ve,a]),se),we=(0,c.Z)(Ee,2),Ze=we[0],Me=we[1],xe=p.useMemo((function(){if(!a&&1===Ze.length){var e=Ze[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return Ze.map((function(e){var n;return(0,u.Z)((0,u.Z)({},e),{},{label:null!==(n=e.label)&&void 0!==n?n:e.value})}))}),[a,Ze]),Ie=p.useMemo((function(){return new Set(Ze.map((function(e){return e.value})))}),[Ze]);p.useEffect((function(){if("combobox"===a){var e,n=null===(e=Ze[0])||void 0===e?void 0:e.value;ie(function(e){return void 0!==e&&null!==e}(n)?String(n):"")}}),[Ze]);var Ne=ce((function(e,n){var t,r=null!==n&&void 0!==n?n:e;return t={},(0,o.Z)(t,ne.value,e),(0,o.Z)(t,ne.label,r),t})),Re=function(e,n,t,r,a){return p.useMemo((function(){if(!t||!1===r)return e;var i=n.options,l=n.label,c=n.value,s=[],f="function"===typeof r,d=t.toUpperCase(),v=f?r:function(e,n){return a?J(n[a],d):n[i]?J(n["children"!==l?l:"label"],d):J(n[c],d)},p=f?function(e){return y(e)}:function(e){return e};return e.forEach((function(e){if(e[i])if(v(t,p(e)))s.push(e);else{var n=e[i].filter((function(e){return v(t,p(e))}));n.length&&s.push((0,u.Z)((0,u.Z)({},e),{},(0,o.Z)({},i,n)))}else v(t,p(e))&&s.push(e)})),s}),[e,r,a,t,n])}(p.useMemo((function(){if("tags"!==a)return de;var e=(0,l.Z)(de);return(0,l.Z)(Ze).sort((function(e,n){return e.value1&&void 0!==arguments[1]?arguments[1]:{},t=n.fieldNames,o=n.childrenAsData,r=[],a=Z(t,!1),i=a.label,l=a.value,u=a.options;function c(e,n){e.forEach((function(e){var t=e[i];if(n||!(u in e)){var a=e[l];r.push({key:w(e,r.length),groupOption:n,data:e,label:t,value:a})}else{var s=t;void 0===s&&o&&(s=e.label),r.push({key:w(e,r.length),group:!0,data:e,label:s}),c(e[u],!0)}}))}return c(e,!1),r}(Te,{fieldNames:ne,childrenAsData:$})}),[Te,ne,$]),Pe=function(e){var n=ve(e);if(be(n),Y&&(n.length!==Ze.length||n.some((function(e,n){var t;return(null===(t=Ze[n])||void 0===t?void 0:t.value)!==(null===e||void 0===e?void 0:e.value)})))){var t=U?n:n.map((function(e){return e.value})),o=n.map((function(e){return y(Me(e.value))}));Y(Q?t:t[0],Q?o:o[0])}},ke=p.useState(null),Le=(0,c.Z)(ke,2),He=Le[0],Ve=Le[1],_e=p.useState(0),Ae=(0,c.Z)(_e,2),Fe=Ae[0],Ke=Ae[1],ze=void 0!==H?H:"combobox"!==a,We=p.useCallback((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.source,r=void 0===o?"keyboard":o;Ke(n),m&&"combobox"===a&&null!==e&&"keyboard"===r&&Ve(String(e))}),[m,a]),je=function(e,n){var t=function(){var n,t=Me(e);return[U?{label:null===t||void 0===t?void 0:t[ne.label],value:e,key:null!==(n=null===t||void 0===t?void 0:t.key)&&void 0!==n?n:e}:e,y(t)]};if(n&&M){var o=t(),r=(0,c.Z)(o,2),a=r[0],i=r[1];M(a,i)}else if(!n&&x){var l=t(),u=(0,c.Z)(l,2),s=u[0],f=u[1];x(s,f)}},Ue=ce((function(e,n){var t,o=!Q||n.selected;t=o?Q?[].concat((0,l.Z)(Ze),[e]):[e]:Ze.filter((function(n){return n.value!==e})),Pe(t),je(e,o),"combobox"===a?Ve(""):X&&!S||(ie(""),Ve(""))})),Ye=p.useMemo((function(){var e=!1!==_&&!1!==N;return(0,u.Z)((0,u.Z)({},le),{},{flattenOptions:Oe,onActiveValue:We,defaultActiveFirstOption:ze,onSelect:Ue,menuItemSelectedIcon:V,rawValues:Ie,fieldNames:ne,virtual:e,listHeight:F,listItemHeight:z,childrenAsData:$})}),[le,Oe,We,ze,Ue,V,Ie,ne,_,N,F,z,$]);return p.createElement(ge.Provider,{value:Ye},p.createElement(q,(0,r.Z)({},B,{id:G,prefixCls:v,ref:n,omitDomProps:Se,mode:a,displayValues:xe,onDisplayValuesChange:function(e,n){Pe(e),"remove"!==n.type&&"clear"!==n.type||n.values.forEach((function(e){je(e.value,!1)}))},searchValue:ae,onSearch:function(e,n){if(ie(e),Ve(null),"submit"!==n.source)"blur"!==n.source&&("combobox"===a&&Pe(e),null===E||void 0===E||E(e));else{var t=(e||"").trim();if(t){var o=Array.from(new Set([].concat((0,l.Z)(Ie),[t])));Pe(o),je(t,!0),ie("")}}},onSearchSplit:function(e){var n=e;"tags"!==a&&(n=e.map((function(e){var n=fe.get(e);return null===n||void 0===n?void 0:n.value})).filter((function(e){return void 0!==e})));var t=Array.from(new Set([].concat((0,l.Z)(Ie),(0,l.Z)(n))));Pe(t),t.forEach((function(e){je(e,!0)}))},dropdownMatchSelectWidth:N,OptionList:ye,emptyOptions:!Oe.length,activeValue:He,activeDescendantId:"".concat(G,"_list_").concat(Fe)})))}));var xe=Me;xe.Option=ve,xe.OptGroup=fe;var Ie=xe,Ne=t(53124),Re=t(88258),De=t(98866),Te=t(97647),Oe=t(65223),Pe=t(33603),ke=t(9708),Le=t(63606),He=t(4340),Ve=t(97937),_e=t(80882),Ae=t(50888),Fe=t(68795);var Ke=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rt},e}return(0,m.Z)(t,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(e){e.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var e=this.state,n=e.dragging,t=e.visible,o=this.props.prefixCls,a=this.getSpinHeight(),i=this.getTop(),l=this.showScroll(),c=l&&t;return u.createElement("div",{ref:this.scrollbarRef,className:s()("".concat(o,"-scrollbar"),(0,r.Z)({},"".concat(o,"-scrollbar-show"),l)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:c?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},u.createElement("div",{ref:this.thumbRef,className:s()("".concat(o,"-scrollbar-thumb"),(0,r.Z)({},"".concat(o,"-scrollbar-thumb-moving"),n)),style:{width:"100%",height:a,top:i,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),t}(u.Component);function Z(e){var n=e.children,t=e.setRef,o=u.useCallback((function(e){t(e)}),[]);return u.cloneElement(n,{ref:o})}var y=t(34203),C=function(){function e(){(0,p.Z)(this,e),this.maps=void 0,this.maps=Object.create(null)}return(0,m.Z)(e,[{key:"set",value:function(e,n){this.maps[e]=n}},{key:"get",value:function(e){return this.maps[e]}}]),e}();var S=t(71002);function M(e,n,t){var o=u.useState(e),r=(0,i.Z)(o,2),a=r[0],l=r[1],c=u.useState(null),s=(0,i.Z)(c,2),f=s[0],d=s[1];return u.useEffect((function(){var o=function(e,n,t){var o,r,a=e.length,i=n.length;if(0===a&&0===i)return null;a1&&void 0!==arguments[1]&&arguments[1],i=e<0&&a.current.top||e>0&&a.current.bottom;return n&&i?(clearTimeout(o.current),t.current=!1):i&&!t.current||r(),!t.current&&i}};var N=t(8410);var R=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"],D=[],T={overflowY:"auto",overflowAnchor:"none"};function O(e,n){var t=e.prefixCls,c=void 0===t?"rc-virtual-list":t,f=e.className,d=e.height,p=e.itemHeight,m=e.fullHeight,h=void 0===m||m,g=e.style,E=e.data,O=e.children,P=e.itemKey,k=e.virtual,L=e.component,H=void 0===L?"div":L,V=e.onScroll,_=e.onVisibleChange,A=(0,l.Z)(e,R),F=!(!1===k||!d||!p),K=F&&E&&p*E.length>d,z=(0,u.useState)(0),W=(0,i.Z)(z,2),j=W[0],U=W[1],Y=(0,u.useState)(!1),B=(0,i.Z)(Y,2),G=B[0],X=B[1],Q=s()(c,f),q=E||D,J=(0,u.useRef)(),$=(0,u.useRef)(),ee=(0,u.useRef)(),ne=u.useCallback((function(e){return"function"===typeof P?P(e):null===e||void 0===e?void 0:e[P]}),[P]),te={getKey:ne};function oe(e){U((function(n){var t=function(e){var n=e;Number.isNaN(we.current)||(n=Math.min(n,we.current));return n=Math.max(n,0)}("function"===typeof e?e(n):e);return J.current.scrollTop=t,t}))}var re=(0,u.useRef)({start:0,end:q.length}),ae=(0,u.useRef)(),ie=M(q,ne),le=(0,i.Z)(ie,1)[0];ae.current=le;var ue=function(e,n,t){var o=u.useState(0),r=(0,i.Z)(o,2),a=r[0],l=r[1],c=(0,u.useRef)(new Map),s=(0,u.useRef)(new C),f=(0,u.useRef)();function d(){b.Z.cancel(f.current)}function v(){d(),f.current=(0,b.Z)((function(){c.current.forEach((function(e,n){if(e&&e.offsetParent){var t=(0,y.Z)(e),o=t.offsetHeight;s.current.get(n)!==o&&s.current.set(n,t.offsetHeight)}})),l((function(e){return e+1}))}))}return(0,u.useEffect)((function(){return d}),[]),[function(o,r){var a=e(o),i=c.current.get(a);r?(c.current.set(a,r),v()):c.current.delete(a),!i!==!r&&(r?null===n||void 0===n||n(o):null===t||void 0===t||t(o))},v,s.current,a]}(ne,null,null),ce=(0,i.Z)(ue,4),se=ce[0],fe=ce[1],de=ce[2],ve=ce[3],pe=u.useMemo((function(){if(!F)return{scrollHeight:void 0,start:0,end:q.length-1,offset:void 0};var e;if(!K)return{scrollHeight:(null===(e=$.current)||void 0===e?void 0:e.offsetHeight)||0,start:0,end:q.length-1,offset:void 0};for(var n,t,o,r=0,a=q.length,i=0;i=j&&void 0===n&&(n=i,t=r),s>j+d&&void 0===o&&(o=i),r=s}return void 0===n&&(n=0,t=0,o=Math.ceil(d/p)),void 0===o&&(o=q.length-1),{scrollHeight:r,start:n,end:o=Math.min(o+1,q.length),offset:t}}),[K,F,j,q,ve,d]),me=pe.scrollHeight,he=pe.start,ge=pe.end,be=pe.offset;re.current.start=he,re.current.end=ge;var Ee=me-d,we=(0,u.useRef)(Ee);we.current=Ee;var Ze=j<=0,ye=j>=Ee,Ce=I(Ze,ye);var Se=function(e,n,t,o){var r=(0,u.useRef)(0),a=(0,u.useRef)(null),i=(0,u.useRef)(null),l=(0,u.useRef)(!1),c=I(n,t);return[function(n){if(e){b.Z.cancel(a.current);var t=n.deltaY;r.current+=t,i.current=t,c(t)||(x||n.preventDefault(),a.current=(0,b.Z)((function(){var e=l.current?10:1;o(r.current*e),r.current=0})))}},function(n){e&&(l.current=n.detail===i.current)}]}(F,Ze,ye,(function(e){oe((function(n){return n+e}))})),Me=(0,i.Z)(Se,2),xe=Me[0],Ie=Me[1];!function(e,n,t){var o,r=(0,u.useRef)(!1),a=(0,u.useRef)(0),i=(0,u.useRef)(null),l=(0,u.useRef)(null),c=function(e){if(r.current){var n=Math.ceil(e.touches[0].pageY),o=a.current-n;a.current=n,t(o)&&e.preventDefault(),clearInterval(l.current),l.current=setInterval((function(){(!t(o*=.9333333333333333,!0)||Math.abs(o)<=.1)&&clearInterval(l.current)}),16)}},s=function(){r.current=!1,o()},f=function(e){o(),1!==e.touches.length||r.current||(r.current=!0,a.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",c),i.current.addEventListener("touchend",s))};o=function(){i.current&&(i.current.removeEventListener("touchmove",c),i.current.removeEventListener("touchend",s))},(0,N.Z)((function(){return e&&n.current.addEventListener("touchstart",f),function(){var e;null===(e=n.current)||void 0===e||e.removeEventListener("touchstart",f),o(),clearInterval(l.current)}}),[e])}(F,J,(function(e,n){return!Ce(e,n)&&(xe({preventDefault:function(){},deltaY:e}),!0)})),(0,N.Z)((function(){function e(e){F&&e.preventDefault()}return J.current.addEventListener("wheel",xe),J.current.addEventListener("DOMMouseScroll",Ie),J.current.addEventListener("MozMousePixelScroll",e),function(){J.current&&(J.current.removeEventListener("wheel",xe),J.current.removeEventListener("DOMMouseScroll",Ie),J.current.removeEventListener("MozMousePixelScroll",e))}}),[F]);var Ne=function(e,n,t,o,r,a,i,l){var c=u.useRef();return function(u){if(null!==u&&void 0!==u){if(b.Z.cancel(c.current),"number"===typeof u)i(u);else if(u&&"object"===(0,S.Z)(u)){var s,f=u.align;s="index"in u?u.index:n.findIndex((function(e){return r(e)===u.key}));var d=u.offset,v=void 0===d?0:d;!function l(u,d){if(!(u<0)&&e.current){var p=e.current.clientHeight,m=!1,h=d;if(p){for(var g=d||f,E=0,w=0,Z=0,y=Math.min(n.length,s),C=0;C<=y;C+=1){var S=r(n[C]);w=E;var M=t.get(S);E=Z=w+(void 0===M?o:M),C===s&&void 0===M&&(m=!0)}var x=null;switch(g){case"top":x=w-v;break;case"bottom":x=Z-p+v;break;default:var I=e.current.scrollTop;wI+p&&(h="bottom")}null!==x&&x!==e.current.scrollTop&&i(x)}c.current=(0,b.Z)((function(){m&&a(),l(u-1,h)}))}}(3)}}else l()}}(J,q,de,p,ne,fe,oe,(function(){var e;null===(e=ee.current)||void 0===e||e.delayHidden()}));u.useImperativeHandle(n,(function(){return{scrollTo:Ne}})),(0,N.Z)((function(){if(_){var e=q.slice(he,ge+1);_(e,q)}}),[he,ge,q]);var Re=function(e,n,t,o,r,a){var i=a.getKey;return e.slice(n,t+1).map((function(e,t){var a=r(e,n+t,{}),l=i(e);return u.createElement(Z,{key:l,setRef:function(n){return o(e,n)}},a)}))}(q,he,ge,se,O,te),De=null;return d&&(De=(0,a.Z)((0,r.Z)({},h?"height":"maxHeight",d),T),F&&(De.overflowY="hidden",G&&(De.pointerEvents="none"))),u.createElement("div",(0,o.Z)({style:(0,a.Z)((0,a.Z)({},g),{},{position:"relative"}),className:Q},A),u.createElement(H,{className:"".concat(c,"-holder"),style:De,ref:J,onScroll:function(e){var n=e.currentTarget.scrollTop;n!==j&&oe(n),null===V||void 0===V||V(e)}},u.createElement(v,{prefixCls:c,height:me,offset:be,onInnerResize:fe,ref:$},Re)),F&&u.createElement(w,{ref:ee,prefixCls:c,scrollTop:j,height:d,scrollHeight:me,count:q.length,onScroll:function(e){oe(e)},onStartMove:function(){X(!0)},onStopMove:function(){X(!1)}}))}var P=u.forwardRef(O);P.displayName="List";var k=P}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/8980-0ad87551e7336387.js b/static/web/_next/static/chunks/8980-0ad87551e7336387.js new file mode 100644 index 000000000..e73116940 --- /dev/null +++ b/static/web/_next/static/chunks/8980-0ad87551e7336387.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8980],{25413:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},77307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},54067:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(45799))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},68229:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(7500))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},67638:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=r(86994))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},71578:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.8-240-277.2V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.8C336.3 170.2 232 286.9 232 428v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48z"}}]},name:"bell",theme:"filled"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BellFilled";var c=a.forwardRef(l)},60198:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="BellOutlined";var c=a.forwardRef(l)},34447:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="HeartFilled";var c=a.forwardRef(l)},49647:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="HeartOutlined";var c=a.forwardRef(l)},94149:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="LockOutlined";var c=a.forwardRef(l)},87547:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},i=r(42135),l=function(e,t){return a.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UserOutlined";var c=a.forwardRef(l)},45799:function(e,t,r){"use strict";var n=r(75263),a=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(42122)),i=n(r(67294)),l=a(r(25413)),c=a(r(92074)),s=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};s.displayName="BarsOutlined";var u=i.forwardRef(s);t.default=u},7500:function(e,t,r){"use strict";var n=r(75263),a=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(42122)),i=n(r(67294)),l=a(r(6594)),c=a(r(92074)),s=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};s.displayName="LeftOutlined";var u=i.forwardRef(s);t.default=u},86994:function(e,t,r){"use strict";var n=r(75263),a=r(64836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(42122)),i=n(r(67294)),l=a(r(77307)),c=a(r(92074)),s=function(e,t){return i.createElement(c.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:l.default}))};s.displayName="RightOutlined";var u=i.forwardRef(s);t.default=u},24093:function(e,t,r){"use strict";r.d(t,{C:function(){return N}});var n=r(87462),a=r(4942),o=r(71002),i=r(97685),l=r(94184),c=r.n(l),s=r(48555),u=r(42550),f=r(67294),d=r(53124),m=r(25378),p=r(24308),v=f.createContext("default"),g=function(e){var t=e.children,r=e.size;return f.createElement(v.Consumer,null,function(e){return f.createElement(v.Provider,{value:r||e},t)})},h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},y=function(e,t){var r,l,g,y=f.useContext(v),w=f.useState(1),b=(0,i.Z)(w,2),x=b[0],Z=b[1],C=f.useState(!1),E=(0,i.Z)(C,2),N=E[0],O=E[1],P=f.useState(!0),_=(0,i.Z)(P,2),z=_[0],S=_[1],k=f.useRef(null),j=f.useRef(null),M=(0,u.sQ)(t,k),R=f.useContext(d.E_).getPrefixCls,L=function(){if(j.current&&k.current){var t=j.current.offsetWidth,r=k.current.offsetWidth;if(0!==t&&0!==r){var n=e.gap,a=void 0===n?4:n;2*at.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},d=["xs","sm","md","lg","xl","xxl"],m=c.forwardRef(function(e,t){var r,i=c.useContext(s.E_),m=i.getPrefixCls,p=i.direction,v=c.useContext(u.Z),g=v.gutter,h=v.wrap,y=v.supportFlexGap,w=e.prefixCls,b=e.span,x=e.order,Z=e.offset,C=e.push,E=e.pull,N=e.className,O=e.children,P=e.flex,_=e.style,z=f(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=m("col",w),k={};d.forEach(function(t){var r,i={},l=e[t];"number"==typeof l?i.span=l:"object"===(0,o.Z)(l)&&(i=l||{}),delete z[t],k=(0,a.Z)((0,a.Z)({},k),(r={},(0,n.Z)(r,"".concat(S,"-").concat(t,"-").concat(i.span),void 0!==i.span),(0,n.Z)(r,"".concat(S,"-").concat(t,"-order-").concat(i.order),i.order||0===i.order),(0,n.Z)(r,"".concat(S,"-").concat(t,"-offset-").concat(i.offset),i.offset||0===i.offset),(0,n.Z)(r,"".concat(S,"-").concat(t,"-push-").concat(i.push),i.push||0===i.push),(0,n.Z)(r,"".concat(S,"-").concat(t,"-pull-").concat(i.pull),i.pull||0===i.pull),(0,n.Z)(r,"".concat(S,"-rtl"),"rtl"===p),r))});var j=l()(S,(r={},(0,n.Z)(r,"".concat(S,"-").concat(b),void 0!==b),(0,n.Z)(r,"".concat(S,"-order-").concat(x),x),(0,n.Z)(r,"".concat(S,"-offset-").concat(Z),Z),(0,n.Z)(r,"".concat(S,"-push-").concat(C),C),(0,n.Z)(r,"".concat(S,"-pull-").concat(E),E),r),N,k),M={};if(g&&g[0]>0){var R=g[0]/2;M.paddingLeft=R,M.paddingRight=R}if(g&&g[1]>0&&!y){var L=g[1]/2;M.paddingTop=L,M.paddingBottom=L}return P&&(M.flex="number"==typeof P?"".concat(P," ").concat(P," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(P)?"0 0 ".concat(P):P,!1!==h||M.minWidth||(M.minWidth=0)),c.createElement("div",(0,a.Z)({},z,{style:(0,a.Z)((0,a.Z)({},M),_),className:j,ref:t}),O)})},99134:function(e,t,r){"use strict";var n=(0,r(67294).createContext)({});t.Z=n},79216:function(e,t,r){"use strict";r.d(t,{Z:function(){return el}});var n=r(87462),a=r(71002),o=r(99611),i=r(1413),l=r(4942),c=r(97685),s=r(45987),u=r(67294),f=r(94184),d=r.n(f),m=r(27678),p=r(21770),v=r(95173),g=r(64019),h=r(15105),y=r(80334),w=r(75164);function b(e,t,r,n){var a=t+r,o=(r-n)/2;if(r>n){if(t>0)return(0,l.Z)({},e,o);if(t<0&&an)return(0,l.Z)({},e,t<0?o:-o);return{}}var x=["visible","onVisibleChange","getContainer","current","countRender"],Z=u.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}},rootClassName:""}),C=Z.Provider,E=function(e){var t=e.previewPrefixCls,r=e.children,o=e.icons,i=e.preview,l="object"===(0,a.Z)(i)?i:{},f=l.visible,d=void 0===f?void 0:f,m=l.onVisibleChange,v=l.getContainer,g=l.current,h=l.countRender,y=(0,s.Z)(l,x),w=(0,u.useState)(new Map),b=(0,c.Z)(w,2),Z=b[0],E=b[1],N=(0,u.useState)(),O=(0,c.Z)(N,2),P=O[0],_=O[1],z=(0,p.Z)(!!d,{value:d,onChange:void 0===m?void 0:m}),S=(0,c.Z)(z,2),k=S[0],M=S[1],R=(0,u.useState)(null),L=(0,c.Z)(R,2),I=L[0],A=L[1],H=void 0!==d,V=Array.from(Z.keys())[void 0===g?0:g],B=new Map(Array.from(Z).filter(function(e){return!!(0,c.Z)(e,2)[1].canPreview}).map(function(e){var t=(0,c.Z)(e,2);return[t[0],t[1].url]})),T=function(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=function(){E(function(t){var r=new Map(t);return r.delete(e)?r:t})};return E(function(n){return new Map(n).set(e,{url:t,canPreview:r})}),n},D=function(e){e.stopPropagation(),M(!1),A(null)};return u.useEffect(function(){_(V)},[V]),u.useEffect(function(){!k&&H&&_(V)},[V,H,k]),u.createElement(C,{value:{isPreviewGroup:!0,previewUrls:B,setPreviewUrls:E,current:P,setCurrent:_,setShowPreview:M,setMousePosition:A,registerImage:T}},r,u.createElement(j,(0,n.Z)({"aria-hidden":!k,visible:k,prefixCls:void 0===t?"rc-image-preview":t,onClose:D,mousePosition:I,src:B.get(P),icons:void 0===o?{}:o,getContainer:void 0===v?void 0:v,countRender:void 0===h?void 0:h},y)))},N=["prefixCls","src","alt","onClose","afterClose","visible","icons","rootClassName","countRender"],O=u.useState,P=u.useEffect,_=u.useCallback,z=u.useRef,S=u.useContext,k={x:0,y:0},j=function(e){var t,r,a,o,f,p,x,C,E=e.prefixCls,j=e.src,M=e.alt,R=e.onClose,L=(e.afterClose,e.visible),I=e.icons,A=void 0===I?{}:I,H=e.rootClassName,V=e.countRender,B=(0,s.Z)(e,N),T=A.rotateLeft,D=A.rotateRight,F=A.zoomIn,W=A.zoomOut,G=A.close,q=A.left,U=A.right,X=O(1),Y=(0,c.Z)(X,2),$=Y[0],J=Y[1],K=O(0),Q=(0,c.Z)(K,2),ee=Q[0],et=Q[1],er=(t=u.useRef(null),r=u.useState(k),o=(a=(0,c.Z)(r,2))[0],f=a[1],p=u.useRef([]),x=function(e){null===t.current&&(p.current=[],t.current=(0,w.Z)(function(){f(function(e){var r=e;return p.current.forEach(function(e){r=(0,i.Z)((0,i.Z)({},r),e)}),t.current=null,r})})),p.current.push(e)},u.useEffect(function(){return function(){return t.current&&w.Z.cancel(t.current)}},[]),[o,x]),en=(0,c.Z)(er,2),ea=en[0],eo=en[1],ei=z(),el=z({originX:0,originY:0,deltaX:0,deltaY:0}),ec=O(!1),es=(0,c.Z)(ec,2),eu=es[0],ef=es[1],ed=S(Z),em=ed.previewUrls,ep=ed.current,ev=ed.isPreviewGroup,eg=ed.setCurrent,eh=em.size,ey=Array.from(em.keys()),ew=ey.indexOf(ep),eb=ev?em.get(ep):j,ex=ev&&eh>1,eZ=O({wheelDirection:0}),eC=(0,c.Z)(eZ,2),eE=eC[0],eN=eC[1],eO=function(){J(1),et(0),eo(k)},eP=function(){J(function(e){return e+1}),eo(k)},e_=function(){$>1&&J(function(e){return e-1}),eo(k)},ez=function(){et(function(e){return e+90})},eS=function(){et(function(e){return e-90})},ek=function(e){e.preventDefault(),e.stopPropagation(),ew>0&&eg(ey[ew-1])},ej=function(e){e.preventDefault(),e.stopPropagation(),ewn||t>a)&&(o=(0,i.Z)((0,i.Z)({},b("x",u,e,n)),b("y",f,t,a))),o);p&&eo((0,i.Z)({},p))}},eA=function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),el.current.deltaX=e.pageX-ea.x,el.current.deltaY=e.pageY-ea.y,el.current.originX=ea.x,el.current.originY=ea.y,ef(!0))},eH=function(e){L&&eu&&eo({x:e.pageX-el.current.deltaX,y:e.pageY-el.current.deltaY})},eV=function(e){L&&(e.preventDefault(),eN({wheelDirection:e.deltaY}))},eB=_(function(e){L&&ex&&(e.preventDefault(),e.keyCode===h.Z.LEFT?ew>0&&eg(ey[ew-1]):e.keyCode===h.Z.RIGHT&&ew0?e_():e<0&&eP()},[eE]),P(function(){var e,t,r=(0,g.Z)(window,"mouseup",eI,!1),n=(0,g.Z)(window,"mousemove",eH,!1),a=(0,g.Z)(window,"wheel",eV,{passive:!1}),o=(0,g.Z)(window,"keydown",eB,!1);try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",eI,!1),t=(0,g.Z)(window.top,"mousemove",eH,!1))}catch(i){(0,y.Kp)(!1,"[rc-image] ".concat(i))}return function(){r.remove(),n.remove(),a.remove(),o.remove(),e&&e.remove(),t&&t.remove()}},[L,eu,eB]),u.createElement(v.Z,(0,n.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:E,onClose:R,afterClose:eO,visible:L,wrapClassName:eM,rootClassName:H},B),u.createElement("ul",{className:"".concat(E,"-operations")},ex&&u.createElement("li",{className:"".concat(E,"-operations-progress")},null!==(C=null==V?void 0:V(ew+1,eh))&&void 0!==C?C:"".concat(ew+1," / ").concat(eh)),[{icon:G,onClick:R,type:"close"},{icon:F,onClick:eP,type:"zoomIn"},{icon:W,onClick:e_,type:"zoomOut",disabled:1===$},{icon:D,onClick:ez,type:"rotateRight"},{icon:T,onClick:eS,type:"rotateLeft"}].map(function(e){var t=e.icon,r=e.onClick,n=e.type,a=e.disabled;return u.createElement("li",{className:d()(eR,(0,l.Z)({},"".concat(E,"-operations-operation-disabled"),!!a)),onClick:r,key:n},u.isValidElement(t)?u.cloneElement(t,{className:eL}):t)})),u.createElement("div",{className:"".concat(E,"-img-wrapper"),style:{transform:"translate3d(".concat(ea.x,"px, ").concat(ea.y,"px, 0)")}},u.createElement("img",{width:e.width,height:e.height,onMouseDown:eA,onDoubleClick:eT,ref:ei,className:"".concat(E,"-img"),src:eb,alt:M,style:{transform:"scale3d(".concat($,", ").concat($,", 1) rotate(").concat(ee,"deg)")}})),ex&&u.createElement("div",{className:d()("".concat(E,"-switch-left"),(0,l.Z)({},"".concat(E,"-switch-left-disabled"),0===ew)),onClick:ek},q),ex&&u.createElement("div",{className:d()("".concat(E,"-switch-right"),(0,l.Z)({},"".concat(E,"-switch-right-disabled"),ew===eh-1)),onClick:ej},U))},M=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","draggable"],R=["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons"],L=0,I=function(e){var t,r=e.src,o=e.alt,f=e.onPreviewClose,v=e.prefixCls,g=void 0===v?"rc-image":v,h=e.previewPrefixCls,y=e.placeholder,w=e.fallback,b=e.width,x=e.height,C=e.style,E=e.preview,N=void 0===E||E,O=e.className,P=e.onClick,_=e.onError,z=e.wrapperClassName,S=e.wrapperStyle,k=e.rootClassName,I=e.crossOrigin,A=e.decoding,H=e.loading,V=e.referrerPolicy,B=e.sizes,T=e.srcSet,D=e.useMap,F=e.draggable,W=(0,s.Z)(e,M),G=y&&!0!==y,q="object"===(0,a.Z)(N)?N:{},U=q.src,X=q.visible,Y=void 0===X?void 0:X,$=q.onVisibleChange,J=q.getContainer,K=q.mask,Q=q.maskClassName,ee=q.icons,et=(0,s.Z)(q,R),er=null!=U?U:r,en=void 0!==Y,ea=(0,p.Z)(!!Y,{value:Y,onChange:void 0===$?f:$}),eo=(0,c.Z)(ea,2),ei=eo[0],el=eo[1],ec=(0,u.useState)(G?"loading":"normal"),es=(0,c.Z)(ec,2),eu=es[0],ef=es[1],ed=(0,u.useState)(null),em=(0,c.Z)(ed,2),ep=em[0],ev=em[1],eg="error"===eu,eh=u.useContext(Z),ey=eh.isPreviewGroup,ew=eh.setCurrent,eb=eh.setShowPreview,ex=eh.setMousePosition,eZ=eh.registerImage,eC=u.useState(function(){return L+=1}),eE=(0,c.Z)(eC,1)[0],eN=N&&!eg,eO=u.useRef(!1),eP=function(){ef("normal")},e_=function(e){_&&_(e),ef("error")},ez=function(e){if(!en){var t=(0,m.os)(e.target),r=t.left,n=t.top;ey?(ew(eE),ex({x:r,y:n})):ev({x:r,y:n})}ey?eb(!0):el(!0),P&&P(e)},eS=function(e){e.stopPropagation(),el(!1),en||ev(null)},ek=function(e){eO.current=!1,"loading"===eu&&(null==e?void 0:e.complete)&&(e.naturalWidth||e.naturalHeight)&&(eO.current=!0,eP())};u.useEffect(function(){return eZ(eE,er)},[]),u.useEffect(function(){eZ(eE,er,eN)},[er,eN]),u.useEffect(function(){eg&&ef("normal"),G&&!eO.current&&ef("loading")},[r]);var ej=d()(g,z,k,(0,l.Z)({},"".concat(g,"-error"),eg)),eM={crossOrigin:I,decoding:A,draggable:F,loading:H,referrerPolicy:V,sizes:B,srcSet:T,useMap:D,alt:o,className:d()("".concat(g,"-img"),(0,l.Z)({},"".concat(g,"-img-placeholder"),!0===y),O),style:(0,i.Z)({height:x},C)};return u.createElement(u.Fragment,null,u.createElement("div",(0,n.Z)({},W,{className:ej,onClick:eN?ez:P,style:(0,i.Z)({width:b,height:x},S)}),u.createElement("img",(0,n.Z)({},eM,{ref:ek},eg&&w?{src:w}:{onLoad:eP,onError:e_,src:r},{width:b,height:x})),"loading"===eu&&u.createElement("div",{"aria-hidden":"true",className:"".concat(g,"-placeholder")},y),K&&eN&&u.createElement("div",{className:d()("".concat(g,"-mask"),Q),style:{display:(null===(t=eM.style)||void 0===t?void 0:t.display)==="none"?"none":void 0}},K)),!ey&&eN&&u.createElement(j,(0,n.Z)({"aria-hidden":!ei,visible:ei,prefixCls:void 0===h?"".concat(g,"-preview"):h,onClose:eS,mousePosition:ep,src:eg&&w?w:er,alt:o,getContainer:void 0===J?void 0:J,icons:ee,rootClassName:k},et)))};I.PreviewGroup=E,I.displayName="Image";var A=r(53124),H=r(40378),V=r(33603),B=r(97937),T=r(6171),D=r(18073),F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},W=r(42135),G=function(e,t){return u.createElement(W.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:F}))};G.displayName="RotateLeftOutlined";var q=u.forwardRef(G),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},X=function(e,t){return u.createElement(W.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:U}))};X.displayName="RotateRightOutlined";var Y=u.forwardRef(X),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},J=function(e,t){return u.createElement(W.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:$}))};J.displayName="ZoomInOutlined";var K=u.forwardRef(J),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},ee=function(e,t){return u.createElement(W.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:Q}))};ee.displayName="ZoomOutOutlined";var et=u.forwardRef(ee),er=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},en={rotateLeft:u.createElement(q,null),rotateRight:u.createElement(Y,null),zoomIn:u.createElement(K,null),zoomOut:u.createElement(et,null),close:u.createElement(B.Z,null),left:u.createElement(T.Z,null),right:u.createElement(D.Z,null)},ea=function(e){var t=e.previewPrefixCls,r=e.preview,o=er(e,["previewPrefixCls","preview"]),i=u.useContext(A.E_).getPrefixCls,l=i("image-preview",t),c=i(),s=u.useMemo(function(){if(!1===r)return r;var e="object"===(0,a.Z)(r)?r:{};return(0,n.Z)((0,n.Z)({},e),{transitionName:(0,V.mL)(c,"zoom",e.transitionName),maskTransitionName:(0,V.mL)(c,"fade",e.maskTransitionName)})},[r]);return u.createElement(I.PreviewGroup,(0,n.Z)({preview:s,previewPrefixCls:l,icons:en},o))},eo=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},ei=function(e){var t=e.prefixCls,r=e.preview,i=eo(e,["prefixCls","preview"]),l=(0,u.useContext)(A.E_),c=l.getPrefixCls,s=l.locale,f=void 0===s?H.Z:s,d=l.getPopupContainer,m=c("image",t),p=c(),v=f.Image||H.Z.Image,g=u.useMemo(function(){if(!1===r)return r;var e="object"===(0,a.Z)(r)?r:{},t=e.getContainer,i=eo(e,["getContainer"]);return(0,n.Z)((0,n.Z)({mask:u.createElement("div",{className:"".concat(m,"-mask-info")},u.createElement(o.Z,null),null==v?void 0:v.preview),icons:en},i),{getContainer:t||d,transitionName:(0,V.mL)(p,"zoom",e.transitionName),maskTransitionName:(0,V.mL)(p,"fade",e.maskTransitionName)})},[r,v]);return u.createElement(I,(0,n.Z)({prefixCls:m,preview:g},i))};ei.PreviewGroup=ea;var el=ei},25968:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var n=r(87462),a=r(4942),o=r(71002),i=r(97685),l=r(94184),c=r.n(l),s=r(67294),u=r(53124),f=r(98082),d=r(24308),m=r(93355),p=r(99134),v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};(0,m.b)("top","middle","bottom","stretch"),(0,m.b)("start","end","center","space-around","space-between","space-evenly");var g=s.forwardRef(function(e,t){var r,l,m=e.prefixCls,g=e.justify,h=e.align,y=e.className,w=e.style,b=e.children,x=e.gutter,Z=void 0===x?0:x,C=e.wrap,E=v(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),N=s.useContext(u.E_),O=N.getPrefixCls,P=N.direction,_=s.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),z=(0,i.Z)(_,2),S=z[0],k=z[1],j=(0,f.Z)(),M=s.useRef(Z);s.useEffect(function(){var e=d.ZP.subscribe(function(e){var t=M.current||0;(!Array.isArray(t)&&"object"===(0,o.Z)(t)||Array.isArray(t)&&("object"===(0,o.Z)(t[0])||"object"===(0,o.Z)(t[1])))&&k(e)});return function(){return d.ZP.unsubscribe(e)}},[]);var R=O("row",m),L=(r=[void 0,void 0],(Array.isArray(Z)?Z:[Z,void 0]).forEach(function(e,t){if("object"===(0,o.Z)(e))for(var n=0;n0?-(L[0]/2):void 0,V=null!=L[1]&&L[1]>0?-(L[1]/2):void 0;if(H&&(A.marginLeft=H,A.marginRight=H),j){var B=(0,i.Z)(L,2);A.rowGap=B[1]}else V&&(A.marginTop=V,A.marginBottom=V);var T=(0,i.Z)(L,2),D=T[0],F=T[1],W=s.useMemo(function(){return{gutter:[D,F],wrap:C,supportFlexGap:j}},[D,F,C,j]);return s.createElement(p.Z.Provider,{value:W},s.createElement("div",(0,n.Z)({},E,{className:I,style:(0,n.Z)((0,n.Z)({},A),w),ref:t}),b))})},26303:function(e,t,r){"use strict";r.d(t,{Z:function(){return P}});var n=r(4942),a=r(87462),o=r(71002),i=r(94184),l=r.n(i),c=r(67294),s=r(53124),u=r(98423),f=function(e){var t,r,o=e.prefixCls,i=e.className,s=e.style,u=e.size,f=e.shape,d=l()((t={},(0,n.Z)(t,"".concat(o,"-lg"),"large"===u),(0,n.Z)(t,"".concat(o,"-sm"),"small"===u),t)),m=l()((r={},(0,n.Z)(r,"".concat(o,"-circle"),"circle"===f),(0,n.Z)(r,"".concat(o,"-square"),"square"===f),(0,n.Z)(r,"".concat(o,"-round"),"round"===f),r)),p=c.useMemo(function(){return"number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{}},[u]);return c.createElement("span",{className:l()(o,d,m,i),style:(0,a.Z)((0,a.Z)({},p),s)})},d=function(e){var t=e.prefixCls,r=e.className,o=e.active,i=e.shape,d=e.size,m=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),p=(0,u.Z)(e,["prefixCls","className"]),v=l()(m,"".concat(m,"-element"),(0,n.Z)({},"".concat(m,"-active"),o),r);return c.createElement("div",{className:v},c.createElement(f,(0,a.Z)({prefixCls:"".concat(m,"-avatar"),shape:void 0===i?"circle":i,size:void 0===d?"default":d},p)))},m=function(e){var t,r=e.prefixCls,o=e.className,i=e.active,d=e.block,m=e.size,p=(0,c.useContext(s.E_).getPrefixCls)("skeleton",r),v=(0,u.Z)(e,["prefixCls"]),g=l()(p,"".concat(p,"-element"),(t={},(0,n.Z)(t,"".concat(p,"-active"),i),(0,n.Z)(t,"".concat(p,"-block"),void 0!==d&&d),t),o);return c.createElement("div",{className:g},c.createElement(f,(0,a.Z)({prefixCls:"".concat(p,"-button"),size:void 0===m?"default":m},v)))},p=r(1413),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},g=r(42135),h=function(e,t){return c.createElement(g.Z,(0,p.Z)((0,p.Z)({},e),{},{ref:t,icon:v}))};h.displayName="DotChartOutlined";var y=c.forwardRef(h),w=function(e){var t=e.prefixCls,r=e.className,a=e.style,o=e.active,i=e.children,u=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),f=l()(u,"".concat(u,"-element"),(0,n.Z)({},"".concat(u,"-active"),o),r),d=null!=i?i:c.createElement(y,null);return c.createElement("div",{className:f},c.createElement("div",{className:l()("".concat(u,"-image"),r),style:a},d))},b=function(e){var t=e.prefixCls,r=e.className,a=e.style,o=e.active,i=(0,c.useContext(s.E_).getPrefixCls)("skeleton",t),u=l()(i,"".concat(i,"-element"),(0,n.Z)({},"".concat(i,"-active"),o),r);return c.createElement("div",{className:u},c.createElement("div",{className:l()("".concat(i,"-image"),r),style:a},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(i,"-image-svg")},c.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(i,"-image-path")}))))},x=function(e){var t,r=e.prefixCls,o=e.className,i=e.active,d=e.block,m=e.size,p=(0,c.useContext(s.E_).getPrefixCls)("skeleton",r),v=(0,u.Z)(e,["prefixCls"]),g=l()(p,"".concat(p,"-element"),(t={},(0,n.Z)(t,"".concat(p,"-active"),i),(0,n.Z)(t,"".concat(p,"-block"),d),t),o);return c.createElement("div",{className:g},c.createElement(f,(0,a.Z)({prefixCls:"".concat(p,"-input"),size:void 0===m?"default":m},v)))},Z=r(74902),C=function(e){var t=function(t){var r=e.width,n=e.rows;return Array.isArray(r)?r[t]:(void 0===n?2:n)-1===t?r:void 0},r=e.prefixCls,n=e.className,a=e.style,o=e.rows,i=(0,Z.Z)(Array(o)).map(function(e,r){return c.createElement("li",{key:r,style:{width:t(r)}})});return c.createElement("ul",{className:l()(r,n),style:a},i)},E=function(e){var t=e.prefixCls,r=e.className,n=e.width,o=e.style;return c.createElement("h3",{className:l()(t,r),style:(0,a.Z)({width:n},o)})};function N(e){return e&&"object"===(0,o.Z)(e)?e:{}}var O=function(e){var t=e.prefixCls,r=e.loading,o=e.className,i=e.style,u=e.children,d=e.avatar,m=void 0!==d&&d,p=e.title,v=void 0===p||p,g=e.paragraph,h=void 0===g||g,y=e.active,w=e.round,b=c.useContext(s.E_),x=b.getPrefixCls,Z=b.direction,O=x("skeleton",t);if(r||!("loading"in e)){var P=!!m,_=!!v,z=!!h;if(P){var S=(0,a.Z)((0,a.Z)({prefixCls:"".concat(O,"-avatar")},_&&!z?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),N(m));j=c.createElement("div",{className:"".concat(O,"-header")},c.createElement(f,(0,a.Z)({},S)))}if(_||z){if(_){var k,j,M,R,L,I=(0,a.Z)((0,a.Z)({prefixCls:"".concat(O,"-title")},!P&&z?{width:"38%"}:P&&z?{width:"50%"}:{}),N(v));R=c.createElement(E,(0,a.Z)({},I))}if(z){var A,H=(0,a.Z)((0,a.Z)({prefixCls:"".concat(O,"-paragraph")},(A={},P&&_||(A.width="61%"),!P&&_?A.rows=3:A.rows=2,A)),N(h));L=c.createElement(C,(0,a.Z)({},H))}M=c.createElement("div",{className:"".concat(O,"-content")},R,L)}var V=l()(O,(k={},(0,n.Z)(k,"".concat(O,"-with-avatar"),P),(0,n.Z)(k,"".concat(O,"-active"),y),(0,n.Z)(k,"".concat(O,"-rtl"),"rtl"===Z),(0,n.Z)(k,"".concat(O,"-round"),w),k),o);return c.createElement("div",{className:V,style:i},j,M)}return void 0!==u?u:null};O.Button=m,O.Avatar=d,O.Input=x,O.Image=b,O.Node=w;var P=O},63406:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};t.default=r},87412:function(e,t,r){"use strict";var n,a=r(75263).default,o=r(64836).default;t.ZP=void 0;var i=o(r(38416)),l=o(r(10434)),c=o(r(27424)),s=o(r(54067)),u=o(r(68229)),f=o(r(67638)),d=o(r(94184)),m=o(r(18475)),p=a(r(67294)),v=r(31929),g=o(r(63406)),h=r(62704),y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},w={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},b=p.createContext({}),x=(n=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n+=1,"".concat(e).concat(n)}),Z=p.forwardRef(function(e,t){var r,n,a,o,Z,C,E,N,O,P,_=e.prefixCls,z=e.className,S=e.trigger,k=e.children,j=e.defaultCollapsed,M=e.theme,R=e.style,L=e.collapsible,I=void 0!==L&&L,A=e.reverseArrow,H=void 0!==A&&A,V=e.width,B=e.collapsedWidth,T=void 0===B?80:B,D=e.zeroWidthTriggerStyle,F=e.breakpoint,W=e.onCollapse,G=e.onBreakpoint,q=y(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),U=(0,p.useContext)(h.LayoutContext).siderHook,X=(0,p.useState)("collapsed"in q?q.collapsed:void 0!==j&&j),Y=(0,c.default)(X,2),$=Y[0],J=Y[1],K=(0,p.useState)(!1),Q=(0,c.default)(K,2),ee=Q[0],et=Q[1];(0,p.useEffect)(function(){"collapsed"in q&&J(q.collapsed)},[q.collapsed]);var er=function(e,t){"collapsed"in q||J(e),null==W||W(e,t)},en=(0,p.useRef)();en.current=function(e){et(e.matches),null==G||G(e.matches),$!==e.matches&&er(e.matches,"responsive")},(0,p.useEffect)(function(){function e(e){return en.current(e)}if("undefined"!=typeof window){var t,r=window.matchMedia;if(r&&F&&F in w){t=r("(max-width: ".concat(w[F],")"));try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(r){null==t||t.removeListener(e)}}},[F]),(0,p.useEffect)(function(){var e=x("ant-sider-");return U.addSider(e),function(){return U.removeSider(e)}},[]);var ea=function(){er(!$,"clickTrigger")},eo=(0,p.useContext)(v.ConfigContext).getPrefixCls,ei=p.useMemo(function(){return{siderCollapsed:$}},[$]);return p.createElement(b.Provider,{value:ei},(n=eo("layout-sider",_),a=(0,m.default)(q,["collapsed"]),o=$?T:void 0===V?200:V,Z=(0,g.default)(o)?"".concat(o,"px"):String(o),C=0===parseFloat(String(T||0))?p.createElement("span",{onClick:ea,className:(0,d.default)("".concat(n,"-zero-width-trigger"),"".concat(n,"-zero-width-trigger-").concat(H?"right":"left")),style:D},S||p.createElement(s.default,null)):null,E=({expanded:H?p.createElement(f.default,null):p.createElement(u.default,null),collapsed:H?p.createElement(u.default,null):p.createElement(f.default,null)})[$?"collapsed":"expanded"],N=null!==S?C||p.createElement("div",{className:"".concat(n,"-trigger"),onClick:ea,style:{width:Z}},S||E):null,O=(0,l.default)((0,l.default)({},void 0===R?{}:R),{flex:"0 0 ".concat(Z),maxWidth:Z,minWidth:Z,width:Z}),P=(0,d.default)(n,"".concat(n,"-").concat(void 0===M?"dark":M),(r={},(0,i.default)(r,"".concat(n,"-collapsed"),!!$),(0,i.default)(r,"".concat(n,"-has-trigger"),I&&null!==S&&!C),(0,i.default)(r,"".concat(n,"-below"),!!ee),(0,i.default)(r,"".concat(n,"-zero-width"),0===parseFloat(Z)),r),z),p.createElement("aside",(0,l.default)({className:P},a,{style:O,ref:t}),p.createElement("div",{className:"".concat(n,"-children")},k),I||ee&&C?N:null)))});t.ZP=Z},62704:function(e,t,r){"use strict";var n=r(75263).default,a=r(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var o=a(r(861)),i=a(r(38416)),l=a(r(27424)),c=a(r(10434)),s=a(r(94184)),u=n(r(67294)),f=r(31929),d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r},m=u.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function p(e){var t=e.suffixCls,r=e.tagName;return e.displayName,function(e){return u.forwardRef(function(n,a){var o=(0,u.useContext(f.ConfigContext).getPrefixCls)(t,n.prefixCls);return u.createElement(e,(0,c.default)({ref:a,prefixCls:o,tagName:r},n))})}}t.LayoutContext=m;var v=u.forwardRef(function(e,t){var r=e.prefixCls,n=e.className,a=e.children,o=e.tagName,i=d(e,["prefixCls","className","children","tagName"]),l=(0,s.default)(r,n);return u.createElement(o,(0,c.default)((0,c.default)({className:l},i),{ref:t}),a)}),g=u.forwardRef(function(e,t){var r,n=u.useContext(f.ConfigContext).direction,a=u.useState([]),p=(0,l.default)(a,2),v=p[0],g=p[1],h=e.prefixCls,y=e.className,w=e.children,b=e.hasSider,x=e.tagName,Z=d(e,["prefixCls","className","children","hasSider","tagName"]),C=(0,s.default)(h,(r={},(0,i.default)(r,"".concat(h,"-has-sider"),"boolean"==typeof b?b:v.length>0),(0,i.default)(r,"".concat(h,"-rtl"),"rtl"===n),r),y),E=u.useMemo(function(){return{siderHook:{addSider:function(e){g(function(t){return[].concat((0,o.default)(t),[e])})},removeSider:function(e){g(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return u.createElement(m.Provider,{value:E},u.createElement(x,(0,c.default)({ref:t,className:C},Z),w))}),h=p({suffixCls:"layout",tagName:"section",displayName:"Layout"})(g),y=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v);t.Header=y;var w=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v);t.Footer=w;var b=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);t.Content=b,t.default=h},27561:function(e,t,r){var n=r(67990),a=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(a,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},33448:function(e,t,r){var n=r(44239),a=r(37005);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==n(e)}},14841:function(e,t,r){var n=r(27561),a=r(13218),o=r(33448),i=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=c.test(e);return r||s.test(e)?u(e.slice(2),r?2:8):l.test(e)?i:+e}},19749:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageLoaderProps",{enumerable:!0,get:function(){return u.ImageLoaderProps}}),t.default=function(e){let t,r;var a,{src:o,sizes:g,unoptimized:y=!1,priority:w=!1,loading:b,className:x,quality:Z,width:C,height:E,fill:N,style:O,onLoad:P,onLoadingComplete:_,placeholder:z="empty",blurDataURL:S,layout:k,objectFit:j,objectPosition:M,lazyBoundary:R,lazyRoot:L}=e,I=i(e,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let A=l.useContext(f.ImageConfigContext),H=l.useMemo(()=>{let e=m||A||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return n({},e,{allSizes:t,deviceSizes:r})},[A]),V=I,B=V.loader||d.default;if(delete V.loader,"__next_img_default"in B){if("custom"===H.loader)throw Error('Image with src "'.concat(o,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let T=B;B=e=>{let{config:t}=e,r=i(e,["config"]);return T(r)}}if(k){"fill"===k&&(N=!0);let D={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];D&&(O=n({},O,D));let F={responsive:"100vw",fill:"100vw"}[k];F&&!g&&(g=F)}let W="",G=v(C),q=v(E);if("object"==typeof(a=o)&&(p(a)||void 0!==a.src)){let U=p(o)?o.default:o;if(!U.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(U)));if(!U.height||!U.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(U)));if(t=U.blurWidth,r=U.blurHeight,S=S||U.blurDataURL,W=U.src,!N){if(G||q){if(G&&!q){let X=G/U.width;q=Math.round(U.height*X)}else if(!G&&q){let Y=q/U.height;G=Math.round(U.width*Y)}}else G=U.width,q=U.height}}let $=!w&&("lazy"===b||void 0===b);((o="string"==typeof o?o:W).startsWith("data:")||o.startsWith("blob:"))&&(y=!0,$=!1),H.unoptimized&&(y=!0);let[J,K]=l.useState(!1),[Q,ee]=l.useState(!1),et=v(Z),er=Object.assign(N?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:j,objectPosition:M}:{},Q?{}:{color:"transparent"},O),en="blur"===z&&S&&!J?{backgroundSize:er.objectFit||"cover",backgroundPosition:er.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(s.getImageBlurSvg({widthInt:G,heightInt:q,blurWidth:t,blurHeight:r,blurDataURL:S}),'")')}:{},ea=function(e){let{config:t,src:r,unoptimized:n,width:a,quality:o,sizes:i,loader:l}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:c,kind:s}=function(e,t,r){let{deviceSizes:n,allSizes:a}=e;if(r){let o=/(^|\s)(1?\d?\d)vw/g,i=[];for(let l;l=o.exec(r);l)i.push(parseInt(l[2]));if(i.length){let c=.01*Math.min(...i);return{widths:a.filter(e=>e>=n[0]*c),kind:"w"}}return{widths:a,kind:"w"}}if("number"!=typeof t)return{widths:n,kind:"w"};let s=[...new Set([t,2*t].map(e=>a.find(t=>t>=e)||a[a.length-1]))];return{widths:s,kind:"x"}}(t,a,i),u=c.length-1;return{sizes:i||"w"!==s?i:"100vw",srcSet:c.map((e,n)=>"".concat(l({config:t,src:r,quality:o,width:e})," ").concat("w"===s?e:n+1).concat(s)).join(", "),src:l({config:t,src:r,quality:o,width:c[u]})}}({config:H,src:o,unoptimized:y,width:G,quality:et,sizes:g,loader:B}),eo=o,ei={imageSrcSet:ea.srcSet,imageSizes:ea.sizes,crossOrigin:V.crossOrigin},el=l.useRef(P);l.useEffect(()=>{el.current=P},[P]);let ec=l.useRef(_);l.useEffect(()=>{ec.current=_},[_]);let es=n({isLazy:$,imgAttributes:ea,heightInt:q,widthInt:G,qualityInt:et,className:x,imgStyle:er,blurStyle:en,loading:b,config:H,fill:N,unoptimized:y,placeholder:z,loader:B,srcString:eo,onLoadRef:el,onLoadingCompleteRef:ec,setBlurComplete:K,setShowAltText:ee},V);return l.default.createElement(l.default.Fragment,null,l.default.createElement(h,Object.assign({},es)),w?l.default.createElement(c.default,null,l.default.createElement("link",Object.assign({key:"__nimg-"+ea.src+ea.srcSet+ea.sizes,rel:"preload",as:"image",href:ea.srcSet?void 0:ea.src},ei))):null)};var n=r(6495).Z,a=r(92648).Z,o=r(91598).Z,i=r(17273).Z,l=o(r(67294)),c=a(r(83121)),s=r(2675),u=r(10139),f=r(28730);r(57238);var d=a(r(89824));let m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e){return void 0!==e.default}function v(e){return"number"==typeof e||void 0===e?e:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function g(e,t,r,a,o,i,l){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let c="decode"in e?e.decode():Promise.resolve();c.catch(()=>{}).then(()=>{if(e.parentNode){if("blur"===r&&i(!0),null==a?void 0:a.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let l=!1,c=!1;a.current(n({},t,{nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>l,isPropagationStopped:()=>c,persist(){},preventDefault(){l=!0,t.preventDefault()},stopPropagation(){c=!0,t.stopPropagation()}}))}(null==o?void 0:o.current)&&o.current(e)}})}let h=e=>{var{imgAttributes:t,heightInt:r,widthInt:a,qualityInt:o,className:c,imgStyle:s,blurStyle:u,isLazy:f,fill:d,placeholder:m,loading:p,srcString:v,config:h,unoptimized:y,loader:w,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:Z,setShowAltText:C,onLoad:E,onError:N}=e,O=i(e,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return p=f?"lazy":p,l.default.createElement(l.default.Fragment,null,l.default.createElement("img",Object.assign({},O,t,{width:a,height:r,decoding:"async","data-nimg":d?"fill":"1",className:c,loading:p,style:n({},s,u),ref:l.useCallback(e=>{e&&(N&&(e.src=e.src),e.complete&&g(e,v,m,b,x,Z,y))},[v,m,b,x,Z,N,y]),onLoad(e){let t=e.currentTarget;g(t,v,m,b,x,Z,y)},onError(e){C(!0),"blur"===m&&Z(!0),N&&N(e)}})))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37645:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=o.default,a=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:r,pastDelay:n}=e;return null}};if(e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=n({},a,e)),(a=n({},a,t)).suspense&&(delete a.ssr,delete a.loading),a.loadableGenerated&&delete(a=n({},a,a.loadableGenerated)).loadableGenerated,"boolean"==typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,i(r,a);delete a.ssr}return r(a)},t.noSSR=i;var n=r(6495).Z,a=r(92648).Z,o=(a(r(67294)),a(r(14588)));function i(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2675:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageBlurSvg=function(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:a,blurDataURL:o}=e,i=n||t,l=a||r,c=o.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return i&&l?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(i," ").concat(l,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(n&&a?"1":"20","'/%3E").concat(c,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(o,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(o,"'/%3E%3C/svg%3E")}},89824:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:a}=e;return r.endsWith(".svg")&&!t.dangerouslyAllowSVG?r:"".concat(t.path,"?url=").concat(encodeURIComponent(r),"&w=").concat(n,"&q=").concat(a||75)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.__next_img_default=!0,t.default=r},33644:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var n=(0,r(92648).Z)(r(67294));let a=n.default.createContext(null);t.LoadableContext=a},14588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(6495).Z,a=(0,r(91598).Z)(r(67294)),o=r(33644);let i=[],l=[],c=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=n({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);r.suspense&&(r.lazy=a.default.lazy(r.loader));let i=null;function s(){if(!i){let t=new u(e,r);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!c){let f=r.webpack?r.webpack():r.modules;f&&l.push(e=>{for(let t of f)if(-1!==e.indexOf(t))return s()})}function d(){s();let e=a.default.useContext(o.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}let m=r.suspense?function(e,t){return d(),a.default.createElement(r.lazy,n({},e,{ref:t}))}:function(e,t){d();let n=a.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),a.default.useMemo(()=>{var t;return n.loading||n.error?a.default.createElement(r.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:i.retry}):n.loaded?a.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null},[e,n])};return m.preload=()=>s(),m.displayName="LoadableComponent",a.default.forwardRef(m)}(s,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(i).then(e,t)}),f.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let r=()=>(c=!0,t());d(l,e).then(r,r)})},window.__NEXT_PRELOADREADY=f.preloadReady,t.default=f},5152:function(e,t,r){e.exports=r(37645)},25675:function(e,t,r){e.exports=r(19749)}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9071.625b0f825b9a56f6.js b/static/web/_next/static/chunks/9071.625b0f825b9a56f6.js deleted file mode 100644 index ca7025879..000000000 --- a/static/web/_next/static/chunks/9071.625b0f825b9a56f6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9071],{69071:function(t,e,n){n.r(e),n.d(e,{properties:function(){return i}});const i={name:"properties",token:function(t,e){var n=t.sol()||e.afterSection,i=t.eol();if(e.afterSection=!1,n&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),i&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),n)for(;t.eatSpace(););var o=t.next();return!n||"#"!==o&&"!"!==o&&";"!==o?n&&"["===o?(e.afterSection=!0,t.skipTo("]"),t.eat("]"),"header"):"="===o||":"===o?(e.position="quote",null):("\\"===o&&"quote"===e.position&&t.eol()&&(e.nextMultiline=!0),e.position):(e.position="comment",t.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9071.8c9b70f05e2417d6.js b/static/web/_next/static/chunks/9071.8c9b70f05e2417d6.js new file mode 100644 index 000000000..ce9903b80 --- /dev/null +++ b/static/web/_next/static/chunks/9071.8c9b70f05e2417d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9071],{69071:function(e,t,i){i.r(t),i.d(t,{properties:function(){return n}});let n={name:"properties",token:function(e,t){var i=e.sol()||t.afterSection,n=e.eol();if(t.afterSection=!1,i&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),n&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),i)for(;e.eatSpace(););var o=e.next();return i&&("#"===o||"!"===o||";"===o)?(t.position="comment",e.skipToEnd(),"comment"):i&&"["===o?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===o||":"===o?(t.position="quote",null):("\\"===o&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9096.d34aab8efe3f3961.js b/static/web/_next/static/chunks/9096.d34aab8efe3f3961.js new file mode 100644 index 000000000..836153bd0 --- /dev/null +++ b/static/web/_next/static/chunks/9096.d34aab8efe3f3961.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9096],{59096:function(e,t,n){n.r(t),n.d(t,{NameChangeModal:function(){return C}});var a=n(85893),l=n(67294),r=n(4480),o=n(38939),s=n(69677),i=n(71577),u=n(91951),h=n(77466);let{Option:d}=o.Z,c=e=>{let{color:t}=e;return(0,a.jsx)("div",{style:{textAlign:"center",backgroundColor:"var(--theme-color-users-".concat(t,")"),width:"100%",height:"100%"}})},C=()=>{let e=(0,r.sJ)(h.db);if(!e)return null;let{displayName:t,displayColor:n}=e,C=(0,r.sJ)(h.Gt),[p,g]=(0,l.useState)(t),m=()=>{let e={type:u.C.NAME_CHANGE,newName:p};C.send(e)},f=p!==t&&""!==p&&(null==C?void 0:C.isConnected()),x=e=>{let t={type:u.C.COLOR_CHANGE,newColor:Number(e)};C.send(t)},j=[...Array(8)].map((e,t)=>t);return(0,a.jsxs)("div",{children:["Your chat display name is what people see when you send chat messages. Other information can go here to mention auth, and stuff.",(0,a.jsx)(s.Z,{value:p,onChange:e=>g(e.target.value),placeholder:"Your chat display name",maxLength:30,showCount:!0,defaultValue:t}),(0,a.jsx)(i.Z,{disabled:!f,onClick:m,children:"Change name"}),(0,a.jsxs)("div",{children:["Your Color",(0,a.jsx)(o.Z,{style:{width:120},onChange:x,defaultValue:n.toString(),getPopupContainer:e=>e.parentElement,children:j.map(e=>(0,a.jsx)(d,{title:e,children:(0,a.jsx)(c,{color:e})},e.toString()))})]})]})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/911-ab40692bfb30c49e.js b/static/web/_next/static/chunks/911-ab40692bfb30c49e.js new file mode 100644 index 000000000..6a45f1217 --- /dev/null +++ b/static/web/_next/static/chunks/911-ab40692bfb30c49e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[911],{94149:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="LockOutlined";var u=o.forwardRef(l)},87547:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=n(42135),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="UserOutlined";var u=o.forwardRef(l)},20550:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(4942),o=n(87462),i=n(97685),a=n(97937),l=n(94184),u=n.n(l),c=n(98423),s=n(67294),f=n(53124),d=n(98787),p=n(68349),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},h=function(e){var t,n=e.prefixCls,i=e.className,a=e.checked,l=e.onChange,c=e.onClick,d=y(e,["prefixCls","className","checked","onChange","onClick"]),p=s.useContext(f.E_).getPrefixCls,h=function(e){null==l||l(!a),null==c||c(e)},m=p("tag",n),v=u()(m,(t={},(0,r.Z)(t,"".concat(m,"-checkable"),!0),(0,r.Z)(t,"".concat(m,"-checkable-checked"),a),t),i);return s.createElement("span",(0,o.Z)({},d,{className:v,onClick:h}))},m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},v=RegExp("^(".concat(d.Y.join("|"),")(-inverse)?$")),g=RegExp("^(".concat(d.E.join("|"),")$")),b=function(e,t){var n,l=e.prefixCls,d=e.className,y=e.style,h=e.children,b=e.icon,_=e.color,k=e.onClose,w=e.closeIcon,O=e.closable,C=m(e,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),E=s.useContext(f.E_),x=E.getPrefixCls,j=E.direction,P=s.useState(!0),Z=(0,i.Z)(P,2),T=Z[0],K=Z[1];s.useEffect(function(){"visible"in C&&K(C.visible)},[C.visible]);var S=function(){return!!_&&(v.test(_)||g.test(_))},A=(0,o.Z)({backgroundColor:_&&!S()?_:void 0},y),M=S(),N=x("tag",l),L=u()(N,(n={},(0,r.Z)(n,"".concat(N,"-").concat(_),M),(0,r.Z)(n,"".concat(N,"-has-color"),_&&!M),(0,r.Z)(n,"".concat(N,"-hidden"),!T),(0,r.Z)(n,"".concat(N,"-rtl"),"rtl"===j),n),d),R=function(e){e.stopPropagation(),null==k||k(e),!e.defaultPrevented&&("visible"in C||K(!1))},D="onClick"in C||h&&"a"===h.type,I=(0,c.Z)(C,["visible"]),V=b||null,z=V?s.createElement(s.Fragment,null,V,s.createElement("span",null,h)):h,B=s.createElement("span",(0,o.Z)({},I,{ref:t,className:L,style:A}),z,void 0!==O&&O?w?s.createElement("span",{className:"".concat(N,"-close-icon"),onClick:R},w):s.createElement(a.Z,{className:"".concat(N,"-close-icon"),onClick:R}):null);return D?s.createElement(p.Z,null,B):B},_=s.forwardRef(b);_.CheckableTag=h;var k=_},27561:function(e,t,n){var r=n(67990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},23279:function(e,t,n){var r=n(13218),o=n(7771),i=n(14841),a=Math.max,l=Math.min;e.exports=function(e,t,n){var u,c,s,f,d,p,y=0,h=!1,m=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=u,r=c;return u=c=void 0,y=t,f=e.apply(r,n)}function b(e){var n=e-p,r=e-y;return void 0===p||n>=t||n<0||m&&r>=s}function _(){var e,n,r,i=o();if(b(i))return k(i);d=setTimeout(_,(e=i-p,n=i-y,r=t-e,m?l(r,s-n):r))}function k(e){return(d=void 0,v&&u)?g(e):(u=c=void 0,f)}function w(){var e,n=o(),r=b(n);if(u=arguments,c=this,p=n,r){if(void 0===d)return y=e=p,d=setTimeout(_,t),h?g(e):f;if(m)return clearTimeout(d),d=setTimeout(_,t),g(p)}return void 0===d&&(d=setTimeout(_,t)),f}return t=i(t)||0,r(n)&&(h=!!n.leading,s=(m="maxWait"in n)?a(i(n.maxWait)||0,t):s,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==d&&clearTimeout(d),y=0,u=p=c=d=void 0},w.flush=function(){return void 0===d?f:k(o())},w}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639),o=function(){return r.Date.now()};e.exports=o},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||c.test(e)?s(e.slice(2),n?2:8):l.test(e)?a:+e}},37645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=i.default,o=(null==t?void 0:t.suspense)?{}:{loading(e){let{error:t,isLoading:n,pastDelay:r}=e;return null}};if(e instanceof Promise?o.loader=()=>e:"function"==typeof e?o.loader=e:"object"==typeof e&&(o=r({},o,e)),(o=r({},o,t)).suspense&&(delete o.ssr,delete o.loading),o.loadableGenerated&&delete(o=r({},o,o.loadableGenerated)).loadableGenerated,"boolean"==typeof o.ssr&&!o.suspense){if(!o.ssr)return delete o.ssr,a(n,o);delete o.ssr}return n(o)},t.noSSR=a;var r=n(6495).Z,o=n(92648).Z,i=(o(n(67294)),o(n(14588)));function a(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(92648).Z)(n(67294));let o=r.default.createContext(null);t.LoadableContext=o},14588:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(6495).Z,o=(0,n(91598).Z)(n(67294)),i=n(33644);let a=[],l=[],u=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=r({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function f(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);n.suspense&&(n.lazy=o.default.lazy(n.loader));let a=null;function c(){if(!a){let t=new s(e,n);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!u){let f=n.webpack?n.webpack():n.modules;f&&l.push(e=>{for(let t of f)if(-1!==e.indexOf(t))return c()})}function d(){c();let e=o.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}let p=n.suspense?function(e,t){return d(),o.default.createElement(n.lazy,r({},e,{ref:t}))}:function(e,t){d();let r=o.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return o.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),o.default.useMemo(()=>{var t;return r.loading||r.error?o.default.createElement(n.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:a.retry}):r.loaded?o.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])};return p.preload=()=>c(),p.displayName="LoadableComponent",o.default.forwardRef(p)}(c,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}f.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),f.preloadReady=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(t=>{let n=()=>(u=!0,t());d(l,e).then(n,n)})},window.__NEXT_PRELOADREADY=f.preloadReady,t.default=f},5152:function(e,t,n){e.exports=n(37645)},49218:function(e,t,n){"use strict";n.d(t,{y1:function(){return Z}});var r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;function o(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function i(e,t){for(var n=t.slice(0,t.length-1),r=0;r=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var l={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":r?173:189,"=":r?61:187,";":r?59:186,"'":222,"[":219,"]":221,"\\":220},u={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},c={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},s={16:!1,18:!1,17:!1,91:!1},f={},d=1;d<20;d++)l["f".concat(d)]=111+d;var p=[],y=!1,h="all",m=[],v=function(e){return l[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function g(e){h=e||"all"}function b(){return h||"all"}var _=function(e){var t=e.key,n=e.scope,r=e.method,o=e.splitKey,l=void 0===o?"+":o;a(t).forEach(function(e){var t=e.split(l),o=t.length,a=t[o-1],c="*"===a?"*":v(a);if(f[c]){n||(n=b());var s=o>1?i(u,t):[];f[c]=f[c].filter(function(e){return!((!r||e.method===r)&&e.scope===n&&function(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,o=!0,i=0;i0,s)Object.prototype.hasOwnProperty.call(s,i)&&(!s[i]&&t.mods.indexOf(+i)>-1||s[i]&&-1===t.mods.indexOf(+i))&&(o=!1);(0!==t.mods.length||s[16]||s[18]||s[17]||s[91])&&!o&&"*"!==t.shortcut||!1!==t.method(e,t)||(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function w(e,t){var n=f["*"],r=e.keyCode||e.which||e.charCode;if(O.filter.call(this,e)){if((93===r||224===r)&&(r=91),-1===p.indexOf(r)&&229!==r&&p.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(t){var n=c[t];e[t]&&-1===p.indexOf(n)?p.push(n):!e[t]&&p.indexOf(n)>-1?p.splice(p.indexOf(n),1):"metaKey"===t&&e[t]&&3===p.length&&!(e.ctrlKey||e.shiftKey||e.altKey)&&(p=p.slice(p.indexOf(n)))}),r in s){for(var o in s[r]=!0,u)u[o]===r&&(O[o]=!0);if(!n)return}for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]=e[c[i]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===p.indexOf(17)&&p.push(17),-1===p.indexOf(18)&&p.push(18),s[17]=!0,s[18]=!0);var a=b();if(n)for(var l=0;l1&&(c=i(u,e)),(e="*"===(e=e[e.length-1])?"*":v(e))in f||(f[e]=[]),f[e].push({keyup:b,keydown:_,scope:d,mods:c,shortcut:l[g],method:n,key:l[g],splitKey:k,element:h});void 0!==h&&(r=h,!(m.indexOf(r)>-1))&&window&&(m.push(h),o(h,"keydown",function(e){w(e,h)},C),y||(y=!0,o(window,"focus",function(){p=[]},C)),o(h,"keyup",function(e){w(e,h),function(e){var t=e.keyCode||e.which||e.charCode,n=p.indexOf(t);if(n>=0&&p.splice(n,1),e.key&&"meta"===e.key.toLowerCase()&&p.splice(0,p.length),(93===t||224===t)&&(t=91),t in s)for(var r in s[t]=!1,u)u[r]===t&&(O[r]=!1)}(e)},C))}var C={setScope:g,getScope:b,deleteScope:function(e,t){var n,r;for(var o in e||(e=b()),f)if(Object.prototype.hasOwnProperty.call(f,o))for(r=0,n=f[o];r1&&void 0!==arguments[1]?arguments[1]:"all";Object.keys(f).forEach(function(n){var r=f[n].find(function(n){return n.scope===t&&n.shortcut===e});r&&r.method&&r.method()})},unbind:function(e){if(void 0===e)Object.keys(f).forEach(function(e){return delete f[e]});else if(Array.isArray(e))e.forEach(function(e){e.key&&_(e)});else if("object"==typeof e)e.key&&_(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r/,h=/^.*?(?=<.*>)/;const f={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(i))return null;if(n.inHeader=!1,n.header=null,e.match(o))return n.inHeaders=!0,n.inSeparator=!0,"atom";var t,r=!1;return(t=e.match(c))||(r=!0)&&(t=e.match(s))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=r,n.header=t[1],"atom"):n.inHeaders&&(t=e.match(d))?(n.inHeader=!0,n.emailPermitted=!0,n.header=t[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(u)?"link":(e.match(m)||e.skipToEnd(),"atom");if(n.inHeader){var a=function(e){return"Subject"===e?"header":"string"}(n.header);if(n.emailPermitted){if(e.match(l))return a+" link";if(e.match(h))return a}return e.skipToEnd(),a}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:r.concat(a)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9121.b49c2c698eb6b977.js b/static/web/_next/static/chunks/9121.b49c2c698eb6b977.js new file mode 100644 index 000000000..8a5a3a0bf --- /dev/null +++ b/static/web/_next/static/chunks/9121.b49c2c698eb6b977.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9121],{29121:function(e,n,t){t.r(n),t.d(n,{mbox:function(){return p}});var r=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],a=["Date","Subject","Comments","Keywords","Resent-Date"],i=/^[ \t]/,o=/^From /,d=RegExp("^("+r.join("|")+"): "),s=RegExp("^("+a.join("|")+"): "),c=/^[^:]+:/,m=/^[^ ]+@[^ ]+/,u=/^.*?(?=[^ ]+?@[^ ]+)/,l=/^<.*?>/,h=/^.*?(?=<.*>)/;let p={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(i))return null;if(n.inHeader=!1,n.header=null,e.match(o))return n.inHeaders=!0,n.inSeparator=!0,"atom";var t,r=!1;return(t=e.match(s))||(r=!0,t=e.match(d))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=r,n.header=t[1],"atom"):n.inHeaders&&(t=e.match(c))?(n.inHeader=!0,n.emailPermitted=!0,n.header=t[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(m)?"link":(e.match(u)||e.skipToEnd(),"atom");if(n.inHeader){var a="Subject"===n.header?"header":"string";if(n.emailPermitted){if(e.match(l))return a+" link";if(e.match(h))return a}return e.skipToEnd(),a}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:r.concat(a)}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9232.08ddbb934ba9975c.js b/static/web/_next/static/chunks/9232.08ddbb934ba9975c.js deleted file mode 100644 index 6990a303e..000000000 --- a/static/web/_next/static/chunks/9232.08ddbb934ba9975c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9232],{69232:function(e,n,t){t.r(n),t.d(n,{yacas:function(){return k}});var r=function(e){for(var n={},t=e.split(" "),r=0;r|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function s(e,n){for(var t,r=!1,o=!1;null!=(t=e.next());){if('"'===t&&!o){r=!0;break}o=!o&&"\\"===t}return r&&!o&&(n.tokenize=l),"string"}function p(e,n){for(var t,r;null!=(r=e.next());){if("*"===t&&"/"===r){n.tokenize=l;break}t=r}return"comment"}function f(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const k={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,t){if(e.tokenize!==l&&null!==e.tokenize)return null;var r=0;return"]"!==n&&"];"!==n&&"}"!==n&&"};"!==n&&");"!==n||(r=-1),(e.scopes.length+r)*t.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9232.8fd2f9f79c6a6de0.js b/static/web/_next/static/chunks/9232.8fd2f9f79c6a6de0.js new file mode 100644 index 000000000..6fbb469ea --- /dev/null +++ b/static/web/_next/static/chunks/9232.8fd2f9f79c6a6de0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9232],{69232:function(e,t,n){n.r(t),n.d(t,{yacas:function(){return k}});var r=function(e){for(var t={},n=e.split(" "),r=0;r|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function s(e,t){for(var n,r=!1,o=!1;null!=(n=e.next());){if('"'===n&&!o){r=!0;break}o=!o&&"\\"===n}return r&&!o&&(t.tokenize=l),"string"}function p(e,t){for(var n,r;null!=(r=e.next());){if("*"===n&&"/"===r){t.tokenize=l;break}n=r}return"comment"}function f(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}let k={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(e,t,n){if(e.tokenize!==l&&null!==e.tokenize)return null;var r=0;return("]"===t||"];"===t||"}"===t||"};"===t||");"===t)&&(r=-1),(e.scopes.length+r)*n.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9257-911165491be7087c.js b/static/web/_next/static/chunks/9257-911165491be7087c.js deleted file mode 100644 index c81693061..000000000 --- a/static/web/_next/static/chunks/9257-911165491be7087c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9257],{48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="DeleteOutlined";var l=r.forwardRef(a)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(1413),r=n(67294),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=n(42135),a=function(e,t){return r.createElement(o.Z,(0,i.Z)((0,i.Z)({},e),{},{ref:t,icon:s}))};a.displayName="UploadOutlined";var l=r.forwardRef(a)},58909:function(e,t,n){"use strict";n.d(t,{F:function(){return a}});var i=n(35524),r=n(47421),s=n(59119),o=e=>{var{theme:t,settings:n,styles:i}=e,o={"&":{backgroundColor:n.background,color:n.foreground},".cm-gutters":{}};n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(o[".cm-content"]={caretColor:n.caret},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret}),n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight},o[".cm-activeLineGutter"]={backgroundColor:n.lineHighlight}),n.selection&&(o["&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection"]={backgroundColor:n.selection}),n.selectionMatch&&(o["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var a=r.tk.theme(o,{dark:"dark"===t}),l=s.Qf.define(i);return[a,(0,s.nF)(l)]},a=o({theme:"light",settings:{background:"#FFFFFF",foreground:"#000000",caret:"#FBAC52",selection:"#FFD420",selectionMatch:"#FFD420",gutterBackground:"#f5f5f5",gutterForeground:"#4D4D4C",lineHighlight:"#00000012"},styles:[{tag:[i.pJ.meta,i.pJ.comment],color:"#804000"},{tag:[i.pJ.keyword,i.pJ.strong],color:"#0000FF"},{tag:[i.pJ.number],color:"#FF0080"},{tag:[i.pJ.string],color:"#FF0080"},{tag:[i.pJ.variableName],color:"#006600"},{tag:[i.pJ.escape],color:"#33CC33"},{tag:[i.pJ.tagName],color:"#1C02FF"},{tag:[i.pJ.heading],color:"#0C07FF"},{tag:[i.pJ.quote],color:"#000000"},{tag:[i.pJ.list],color:"#B90690"},{tag:[i.pJ.documentMeta],color:"#888888"},{tag:[i.pJ.function(i.pJ.variableName)],color:"#0000A2"},{tag:[i.pJ.definition(i.pJ.typeName),i.pJ.typeName],color:"#6D79DE"}]})},87685:function(e,t,n){"use strict";n.d(t,{ZP:function(){return An}});var i=n(87462),r=n(63366),s=n(67294),o=n(78120),a=n(47421),l=n(59119),c=n(41113);function h(e,t){return({state:n,dispatch:i})=>{if(n.readOnly)return!1;let r=e(t,n);return!!r&&(i(n.update(r)),!0)}}const u=h(m,0),O=h(p,0),f=h(((e,t)=>p(e,t,function(e){let t=[];for(let n of e.selection.ranges){let i=e.doc.lineAt(n.from),r=n.to<=i.to?i:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>i.from?t[s].to=r.to:t.push({from:i.from,to:r.to})}return t}(t))),0);function d(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}function p(e,t,n=t.selection.ranges){let i=n.map((e=>d(t,e.from).block));if(!i.every((e=>e)))return null;let r=n.map(((e,n)=>function(e,{open:t,close:n},i,r){let s,o,a=e.sliceDoc(i-50,i),l=e.sliceDoc(r,r+50),c=/\s*$/.exec(a)[0].length,h=/^\s*/.exec(l)[0].length,u=a.length-c;if(a.slice(u-t.length,u)==t&&l.slice(h,h+n.length)==n)return{open:{pos:i-c,margin:c&&1},close:{pos:r+h,margin:h&&1}};r-i<=100?s=o=e.sliceDoc(i,r):(s=e.sliceDoc(i,i+50),o=e.sliceDoc(r-50,r));let O=/^\s*/.exec(s)[0].length,f=/\s*$/.exec(o)[0].length,d=o.length-f-n.length;return s.slice(O,O+t.length)==t&&o.slice(d,d+n.length)==n?{open:{pos:i+O+t.length,margin:/\s/.test(s.charAt(O+t.length))?1:0},close:{pos:r-f-n.length,margin:/\s/.test(o.charAt(d-1))?1:0}}:null}(t,i[n],e.from,e.to)));if(2!=e&&!r.every((e=>e)))return{changes:t.changes(n.map(((e,t)=>r[t]?[]:[{from:e.from,insert:i[t].open+" "},{from:e.to,insert:" "+i[t].close}])))};if(1!=e&&r.some((e=>e))){let e=[];for(let t,n=0;nr&&(s==o||o>e.from)){r=e.from;let s=d(t,a).line;if(!s)continue;let o=/^\s*/.exec(e.text)[0].length,l=o==e.length,c=e.text.slice(o,o+s.length)==s?o:-1;oe.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:r,indent:s,empty:o,single:a}of i)!a&&o||e.push({from:t.from+s,insert:r+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}if(1!=e&&i.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:r}of i)if(n>=0){let i=t.from+n,s=i+r.length;" "==t.text[s-t.from]&&s++,e.push({from:i,to:s})}return{changes:e}}return null}const g=o.q6.define(),Q=o.q6.define(),b=o.r$.define(),x=o.r$.define({combine:e=>(0,o.BO)(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})});const k=o.QQ.define({create:()=>q.empty,update(e,t){let n=t.state.facet(x),i=t.annotation(g);if(i){let r=t.docChanged?o.jT.single(function(e){let t=0;return e.iterChangedRanges(((e,n)=>t=n)),t}(t.changes)):void 0,s=T.fromTransaction(t,r),a=i.side,l=0==a?e.undone:e.done;return l=s?P(l,l.length,n.minDepth,s):Z(l,t.startState.selection),new q(0==a?i.rest:l,0==a?l:i.rest)}let r=t.annotation(Q);if("full"!=r&&"before"!=r||(e=e.isolate()),!1===t.annotation(o.YW.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let s=T.fromTransaction(t),a=t.annotation(o.YW.time),l=t.annotation(o.YW.userEvent);return s?e=e.addChanges(s,a,l,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,a,l,n.newGroupDelay)),"full"!=r&&"after"!=r||(e=e.isolate()),e},toJSON:e=>({done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}),fromJSON:e=>new q(e.done.map(T.fromJSON),e.undone.map(T.fromJSON))});function y(e,t){return function({state:n,dispatch:i}){if(!t&&n.readOnly)return!1;let r=n.field(k,!1);if(!r)return!1;let s=r.pop(e,n,t);return!!s&&(i(s),!0)}}const v=y(0,!1),$=y(1,!1),S=y(0,!0),w=y(1,!0);class T{constructor(e,t,n,i,r){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=r}setSelAfter(e){return new T(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:null===(e=this.changes)||void 0===e?void 0:e.toJSON(),mapped:null===(t=this.mapped)||void 0===t?void 0:t.toJSON(),startSelection:null===(n=this.startSelection)||void 0===n?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){return new T(e.changes&&o.as.fromJSON(e.changes),[],e.mapped&&o.n0.fromJSON(e.mapped),e.startSelection&&o.jT.fromJSON(e.startSelection),e.selectionsAfter.map(o.jT.fromJSON))}static fromTransaction(e,t){let n=C;for(let i of e.startState.facet(b)){let t=i(e);t.length&&(n=n.concat(t))}return!n.length&&e.changes.empty?null:new T(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,C)}static selection(e){return new T(void 0,C,void 0,void 0,e)}}function P(e,t,n,i){let r=t+1>n+20?t-n-1:0,s=e.slice(r,t);return s.push(i),s}function R(e,t){return e.length?t.length?e.concat(t):e:t}const C=[];function Z(e,t){if(e.length){let n=e[e.length-1],i=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-200));return i.length&&i[i.length-1].eq(t)?e:(i.push(t),P(e,e.length-1,1e9,n.setSelAfter(i)))}return[T.selection([t])]}function X(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function j(e,t){if(!e.length)return e;let n=e.length,i=C;for(;n;){let r=W(e[n-1],t,i);if(r.changes&&!r.changes.empty||r.effects.length){let t=e.slice(0,n);return t[n-1]=r,t}t=r.mapped,n--,i=r.selectionsAfter}return i.length?[T.selection(i)]:C}function W(e,t,n){let i=R(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):C,n);if(!e.changes)return T.selection(i);let r=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new T(r,o.Py.mapEffects(e.effects,t),a,e.startSelection.map(s),i)}const A=/^(input\.type|delete)($|\.)/;class q{constructor(e,t,n=0,i){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new q(this.done,this.undone):this}addChanges(e,t,n,i,r){let s=this.done,o=s[s.length-1];return s=o&&o.changes&&!o.changes.empty&&e.changes&&(!n||A.test(n))&&(!o.selectionsAfter.length&&t-this.prevTimen.push(e,t))),t.iterChangedRanges(((e,t,r,s)=>{for(let o=0;o=e&&r<=t&&(i=!0)}})),i}(o.changes,e.changes)||"input.type.compose"==n)?P(s,s.length-1,r,new T(e.changes.compose(o.changes),R(e.effects,o.effects),o.mapped,o.startSelection,C)):P(s,s.length,r,e),new q(s,C,t,n)}addSelection(e,t,n,i){let r=this.done.length?this.done[this.done.length-1].selectionsAfter:C;return r.length>0&&t-this.prevTimee.empty!=o.ranges[t].empty)).length)?this:new q(Z(this.done,e),this.undone,t,n);var s,o}addMapping(e){return new q(j(this.done,e),j(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=0==e?this.done:this.undone;if(0==i.length)return null;let r=i[i.length-1];if(n&&r.selectionsAfter.length)return t.update({selection:r.selectionsAfter[r.selectionsAfter.length-1],annotations:g.of({side:e,rest:X(i)}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(r.changes){let n=1==i.length?C:i.slice(0,i.length-1);return r.mapped&&(n=j(n,r.mapped)),t.update({changes:r.changes,selection:r.startSelection,effects:r.effects,annotations:g.of({side:e,rest:n}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}}q.empty=new q(C,C);const _=[{key:"Mod-z",run:v,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:$,preventDefault:!0},{linux:"Ctrl-Shift-z",run:$,preventDefault:!0},{key:"Mod-u",run:S,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:w,preventDefault:!0}];function z(e,t){return o.jT.create(e.ranges.map(t),e.mainIndex)}function I(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function E({state:e,dispatch:t},n){let i=z(e.selection,n);return!i.eq(e.selection)&&(t(I(e,i)),!0)}function G(e,t){return o.jT.cursor(t?e.to:e.from)}function L(e,t){return E(e,(n=>n.empty?e.moveByChar(n,t):G(n,t)))}function D(e){return e.textDirectionAt(e.state.selection.main.head)==a.Nm.LTR}const N=e=>L(e,!D(e)),U=e=>L(e,D(e));function M(e,t){return E(e,(n=>n.empty?e.moveByGroup(n,t):G(n,t)))}function J(e,t,n){if(t.type.prop(n))return!0;let i=t.to-t.from;return i&&(i>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function V(e,t,n){let i,r,s=(0,l.qz)(e).resolveInner(t.head),a=n?c.md.closedBy:c.md.openedBy;for(let o=t.head;;){let t=n?s.childAfter(o):s.childBefore(o);if(!t)break;J(e,t,a)?s=t:o=n?t.to:t.from}return r=s.type.prop(a)&&(i=n?(0,l.Um)(e,s.from,1):(0,l.Um)(e,s.to,-1))&&i.matched?n?i.end.to:i.end.from:n?s.to:s.from,o.jT.cursor(r,n?-1:1)}function B(e,t){return E(e,(n=>{if(!n.empty)return G(n,t);let i=e.moveVertically(n,t);return i.head!=n.head?i:e.moveToLineBoundary(n,t)}))}const Y=e=>B(e,!1),F=e=>B(e,!0);function H(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function K(e,t){let{state:n}=e,i=z(n.selection,(n=>n.empty?e.moveVertically(n,t,H(e)):G(n,t)));if(i.eq(n.selection))return!1;let r,s=e.coordsAtPos(n.selection.main.head),o=e.scrollDOM.getBoundingClientRect();return s&&s.top>o.top&&s.bottomK(e,!1),te=e=>K(e,!0);function ne(e,t,n){let i=e.lineBlockAt(t.head),r=e.moveToLineBoundary(t,n);if(r.head==t.head&&r.head!=(n?i.to:i.from)&&(r=e.moveToLineBoundary(t,n,!1)),!n&&r.head==i.from&&i.length){let n=/^\s*/.exec(e.state.sliceDoc(i.from,Math.min(i.from+100,i.to)))[0].length;n&&t.head!=i.from+n&&(r=o.jT.cursor(i.from+n))}return r}function ie(e,t,n){let i=!1,r=z(e.selection,(t=>{let r=(0,l.Um)(e,t.head,-1)||(0,l.Um)(e,t.head,1)||t.head>0&&(0,l.Um)(e,t.head-1,1)||t.head{let n=t(e);return o.jT.range(e.anchor,n.head,n.goalColumn)}));return!n.eq(e.state.selection)&&(e.dispatch(I(e.state,n)),!0)}function se(e,t){return re(e,(n=>e.moveByChar(n,t)))}const oe=e=>se(e,!D(e)),ae=e=>se(e,D(e));function le(e,t){return re(e,(n=>e.moveByGroup(n,t)))}function ce(e,t){return re(e,(n=>e.moveVertically(n,t)))}const he=e=>ce(e,!1),ue=e=>ce(e,!0);function Oe(e,t){return re(e,(n=>e.moveVertically(n,t,H(e))))}const fe=e=>Oe(e,!1),de=e=>Oe(e,!0),pe=({state:e,dispatch:t})=>(t(I(e,{anchor:0})),!0),me=({state:e,dispatch:t})=>(t(I(e,{anchor:e.doc.length})),!0),ge=({state:e,dispatch:t})=>(t(I(e,{anchor:e.selection.main.anchor,head:0})),!0),Qe=({state:e,dispatch:t})=>(t(I(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0);function be(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:i}=e,r=i.changeByRange((i=>{let{from:r,to:s}=i;if(r==s){let i=t(r);ir&&(n="delete.forward",i=xe(e,i,!0)),r=Math.min(r,i),s=Math.max(s,i)}else r=xe(e,r,!1),s=xe(e,s,!0);return r==s?{range:i}:{changes:{from:r,to:s},range:o.jT.cursor(r)}}));return!r.changes.empty&&(e.dispatch(i.update(r,{scrollIntoView:!0,userEvent:n,effects:"delete.selection"==n?a.tk.announce.of(i.phrase("Selection deleted")):void 0})),!0)}function xe(e,t,n){if(e instanceof a.tk)for(let i of e.state.facet(a.tk.atomicRanges).map((t=>t(e))))i.between(t,t,((e,i)=>{et&&(t=n?i:e)}));return t}const ke=(e,t)=>be(e,(n=>{let i,r,{state:s}=e,a=s.doc.lineAt(n);if(!t&&n>a.from&&nke(e,!1),ve=e=>ke(e,!0),$e=(e,t)=>be(e,(n=>{let i=n,{state:r}=e,s=r.doc.lineAt(i),a=r.charCategorizer(i);for(let e=null;;){if(i==(t?s.to:s.from)){i==n&&s.number!=(t?r.doc.lines:1)&&(i+=t?1:-1);break}let l=(0,o.cp)(s.text,i-s.from,t)+s.from,c=s.text.slice(Math.min(i,l)-s.from,Math.max(i,l)-s.from),h=a(c);if(null!=e&&h!=e)break;" "==c&&i==n||(e=h),i=l}return i})),Se=e=>$e(e,!1),we=e=>be(e,(t=>{let n=e.lineBlockAt(t).to;return t=r.number){let e=t[t.length-1];e.to=s.to,e.ranges.push(i)}else t.push({from:r.from,to:s.to,ranges:[i]});n=s.number+1}return t}function Pe(e,t,n){if(e.readOnly)return!1;let i=[],r=[];for(let s of Te(e)){if(n?s.to==e.doc.length:0==s.from)continue;let t=e.doc.lineAt(n?s.to+1:s.from-1),a=t.length+1;if(n){i.push({from:s.to,to:t.to},{from:s.from,insert:t.text+e.lineBreak});for(let t of s.ranges)r.push(o.jT.range(Math.min(e.doc.length,t.anchor+a),Math.min(e.doc.length,t.head+a)))}else{i.push({from:t.from,to:s.from},{from:s.to,insert:e.lineBreak+t.text});for(let e of s.ranges)r.push(o.jT.range(e.anchor-a,e.head-a))}}return!!i.length&&(t(e.update({changes:i,scrollIntoView:!0,selection:o.jT.create(r,e.selection.mainIndex),userEvent:"move.line"})),!0)}function Re(e,t,n){if(e.readOnly)return!1;let i=[];for(let r of Te(e))n?i.push({from:r.from,insert:e.doc.slice(r.from,r.to)+e.lineBreak}):i.push({from:r.to,insert:e.lineBreak+e.doc.slice(r.from,r.to)});return t(e.update({changes:i,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Ce=Ze(!1);function Ze(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=t.changeByRange((n=>{let{from:i,to:r}=n,s=t.doc.lineAt(i),a=!e&&i==r&&function(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n,i=(0,l.qz)(e).resolveInner(t),r=i.childBefore(t),s=i.childAfter(t);return r&&s&&r.to<=t&&s.from>=t&&(n=r.type.prop(c.md.closedBy))&&n.indexOf(s.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(s.from).from?{from:r.to,to:s.from}:null}(t,i);e&&(i=r=(r<=s.to?s:t.doc.lineAt(r)).to);let h=new l.Gn(t,{simulateBreak:i,simulateDoubleBreak:!!a}),u=(0,l.K0)(h,i);for(null==u&&(u=/^\s*/.exec(t.doc.lineAt(i).text)[0].length);rs.from&&i{let r=[];for(let o=i.from;o<=i.to;){let s=e.doc.lineAt(o);s.number>n&&(i.empty||i.to>s.from)&&(t(s,r,i),n=s.number),o=s.to+1}let s=e.changes(r);return{changes:r,range:o.jT.range(s.mapPos(i.anchor,1),s.mapPos(i.head,1))}}))}const je=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Xe(e,((t,n)=>{n.push({from:t.from,insert:e.facet(l.c)})})),{userEvent:"input.indent"})),!0),We=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Xe(e,((t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let r=(0,o.IS)(i,e.tabSize),s=0,a=(0,l.SS)(e,Math.max(0,r-(0,l.y1)(e)));for(;sE(e,(t=>V(e.state,t,!D(e)))),shift:e=>re(e,(t=>V(e.state,t,!D(e))))},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:e=>E(e,(t=>V(e.state,t,D(e)))),shift:e=>re(e,(t=>V(e.state,t,D(e))))},{key:"Alt-ArrowUp",run:({state:e,dispatch:t})=>Pe(e,t,!1)},{key:"Shift-Alt-ArrowUp",run:({state:e,dispatch:t})=>Re(e,t,!1)},{key:"Alt-ArrowDown",run:({state:e,dispatch:t})=>Pe(e,t,!0)},{key:"Shift-Alt-ArrowDown",run:({state:e,dispatch:t})=>Re(e,t,!0)},{key:"Escape",run:({state:e,dispatch:t})=>{let n=e.selection,i=null;return n.ranges.length>1?i=o.jT.create([n.main]):n.main.empty||(i=o.jT.create([o.jT.cursor(n.main.head)])),!!i&&(t(I(e,i)),!0)}},{key:"Mod-Enter",run:Ze(!0)},{key:"Alt-l",mac:"Ctrl-l",run:({state:e,dispatch:t})=>{let n=Te(e).map((({from:t,to:n})=>o.jT.range(t,Math.min(n+1,e.doc.length))));return t(e.update({selection:o.jT.create(n),userEvent:"select"})),!0}},{key:"Mod-i",run:({state:e,dispatch:t})=>{let n=z(e.selection,(t=>{var n;let i=(0,l.qz)(e).resolveInner(t.head,1);for(;!(i.from=t.to||i.to>t.to&&i.from<=t.from)&&(null===(n=i.parent)||void 0===n?void 0:n.parent);)i=i.parent;return o.jT.range(i.to,i.from)}));return t(I(e,n)),!0},preventDefault:!0},{key:"Mod-[",run:We},{key:"Mod-]",run:je},{key:"Mod-Alt-\\",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),i=new l.Gn(e,{overrideIndentation:e=>{let t=n[e];return null==t?-1:t}}),r=Xe(e,((t,r,s)=>{let o=(0,l.K0)(i,t.from);if(null==o)return;/\S/.test(t.text)||(o=0);let a=/^\s*/.exec(t.text)[0],c=(0,l.SS)(e,o);(a!=c||s.from{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(Te(t).map((({from:e,to:n})=>(e>0?e--:ne.moveVertically(t,!0))).map(n);return e.dispatch({changes:n,selection:i,scrollIntoView:!0,userEvent:"delete.line"}),!0}},{key:"Shift-Mod-\\",run:({state:e,dispatch:t})=>ie(e,t,!1)},{key:"Mod-/",run:e=>{let t=d(e.state);return t.line?u(e):!!t.block&&f(e)}},{key:"Alt-A",run:O}].concat([{key:"ArrowLeft",run:N,shift:oe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:e=>M(e,!D(e)),shift:e=>le(e,!D(e)),preventDefault:!0},{mac:"Cmd-ArrowLeft",run:e=>E(e,(t=>ne(e,t,!D(e)))),shift:e=>re(e,(t=>ne(e,t,!D(e)))),preventDefault:!0},{key:"ArrowRight",run:U,shift:ae,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:e=>M(e,D(e)),shift:e=>le(e,D(e)),preventDefault:!0},{mac:"Cmd-ArrowRight",run:e=>E(e,(t=>ne(e,t,D(e)))),shift:e=>re(e,(t=>ne(e,t,D(e)))),preventDefault:!0},{key:"ArrowUp",run:Y,shift:he,preventDefault:!0},{mac:"Cmd-ArrowUp",run:pe,shift:ge},{mac:"Ctrl-ArrowUp",run:ee,shift:fe},{key:"ArrowDown",run:F,shift:ue,preventDefault:!0},{mac:"Cmd-ArrowDown",run:me,shift:Qe},{mac:"Ctrl-ArrowDown",run:te,shift:de},{key:"PageUp",run:ee,shift:fe},{key:"PageDown",run:te,shift:de},{key:"Home",run:e=>E(e,(t=>ne(e,t,!1))),shift:e=>re(e,(t=>ne(e,t,!1))),preventDefault:!0},{key:"Mod-Home",run:pe,shift:ge},{key:"End",run:e=>E(e,(t=>ne(e,t,!0))),shift:e=>re(e,(t=>ne(e,t,!0))),preventDefault:!0},{key:"Mod-End",run:me,shift:Qe},{key:"Enter",run:Ce},{key:"Mod-a",run:({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0)},{key:"Backspace",run:ye,shift:ye},{key:"Delete",run:ve},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Se},{key:"Mod-Delete",mac:"Alt-Delete",run:e=>$e(e,!0)},{mac:"Mod-Backspace",run:e=>be(e,(t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}))},{mac:"Mod-Delete",run:we}].concat([{key:"Ctrl-b",run:N,shift:oe,preventDefault:!0},{key:"Ctrl-f",run:U,shift:ae},{key:"Ctrl-p",run:Y,shift:he},{key:"Ctrl-n",run:F,shift:ue},{key:"Ctrl-a",run:e=>E(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).from,1))),shift:e=>re(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).from)))},{key:"Ctrl-e",run:e=>E(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).to,-1))),shift:e=>re(e,(t=>o.jT.cursor(e.lineBlockAt(t.head).to)))},{key:"Ctrl-d",run:ve},{key:"Ctrl-h",run:ye},{key:"Ctrl-k",run:we},{key:"Ctrl-Alt-h",run:Se},{key:"Ctrl-o",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:o.xv.of(["",""])},range:o.jT.cursor(e.from)})));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}},{key:"Ctrl-t",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange((t=>{if(!t.empty||0==t.from||t.from==e.doc.length)return{range:t};let n=t.from,i=e.doc.lineAt(n),r=n==i.from?n-1:(0,o.cp)(i.text,n-i.from,!1)+i.from,s=n==i.to?n+1:(0,o.cp)(i.text,n-i.from,!0)+i.from;return{changes:{from:r,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(r,n))},range:o.jT.cursor(s)}}));return!n.changes.empty&&(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)}},{key:"Ctrl-v",run:te}].map((e=>({mac:e.key,run:e.run,shift:e.shift}))))),qe={key:"Tab",run:je,shift:We};function _e(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i];"string"==typeof r?e.setAttribute(i,r):null!=r&&(e[i]=r)}t++}for(;te.normalize("NFKD"):e=>e;class Ee{constructor(e,t,n=0,i=e.length,r,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=r?e=>r(Ie(e)):Ie,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return(0,o.gm)(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=(0,o.bg)(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=(0,o.nZ)(e);let i=this.normalize(t);for(let r=0,s=n;;r++){let e=i.charCodeAt(r),o=this.match(e,s);if(o)return this.value=o,this;if(r==i.length-1)break;s==n&&rthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=Je(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else{if(!(this.curLineStart+this.curLine.length=n||i.to<=t){let i=new Ue(t,e.sliceString(t,n));return Ne.set(e,i),i}if(i.from==t&&i.to==n)return i;let{text:r,from:s}=i;return s>t&&(r=e.sliceString(t,s)+r,s=t),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let e=this.flat.from+t.index,n=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,n,t)))return this.value={from:e,to:n,match:t},this.matchPos=Je(this.text,n+(e==n?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Ue.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+2*this.flat.text.length))}}}function Je(e,t){if(t>=e.length)return t;let n,i=e.lineAt(t);for(;t=56320&&n<57344;)t++;return t}function Ve(e){let t=_e("input",{class:"cm-textfield",name:"line"});function n(){let n=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(t.value);if(!n)return;let{state:i}=e,r=i.doc.lineAt(i.selection.main.head),[,s,a,l,c]=n,h=l?+l.slice(1):0,u=a?+a:r.number;if(a&&c){let e=u/100;s&&(e=e*("-"==s?-1:1)+r.number/i.doc.lines),u=Math.round(i.doc.lines*e)}else a&&s&&(u=u*("-"==s?-1:1)+r.number);let O=i.doc.line(Math.max(1,Math.min(i.doc.lines,u)));e.dispatch({effects:Be.of(!1),selection:o.jT.cursor(O.from+Math.max(0,Math.min(h,O.length))),scrollIntoView:!0}),e.focus()}return{dom:_e("form",{class:"cm-gotoLine",onkeydown:t=>{27==t.keyCode?(t.preventDefault(),e.dispatch({effects:Be.of(!1)}),e.focus()):13==t.keyCode&&(t.preventDefault(),n())},onsubmit:e=>{e.preventDefault(),n()}},_e("label",e.state.phrase("Go to line"),": ",t)," ",_e("button",{class:"cm-button",type:"submit"},e.state.phrase("go")))}}"undefined"!=typeof Symbol&&(De.prototype[Symbol.iterator]=Me.prototype[Symbol.iterator]=function(){return this});const Be=o.Py.define(),Ye=o.QQ.define({create:()=>!0,update(e,t){for(let n of t.effects)n.is(Be)&&(e=n.value);return e},provide:e=>a.mH.from(e,(e=>e?Ve:null))}),Fe=a.tk.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),He={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Ke=o.r$.define({combine:e=>(0,o.BO)(e,He,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})});const et=a.p.mark({class:"cm-selectionMatch"}),tt=a.p.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function nt(e,t,n,i){return(0==n||e(t.sliceDoc(n-1,n))!=o.D0.Word)&&(i==t.doc.length||e(t.sliceDoc(i,i+1))!=o.D0.Word)}const it=a.lg.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(Ke),{state:n}=e,i=n.selection;if(i.ranges.length>1)return a.p.none;let r,s=i.main,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return a.p.none;let e=n.wordAt(s.head);if(!e)return a.p.none;l=n.charCategorizer(s.head),r=n.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e200)return a.p.none;if(t.wholeWords){if(r=n.sliceDoc(s.from,s.to),l=n.charCategorizer(s.head),!nt(l,n,s.from,s.to)||!function(e,t,n,i){return e(t.sliceDoc(n,n+1))==o.D0.Word&&e(t.sliceDoc(i-1,i))==o.D0.Word}(l,n,s.from,s.to))return a.p.none}else if(r=n.sliceDoc(s.from,s.to).trim(),!r)return a.p.none}let c=[];for(let o of e.visibleRanges){let e=new Ee(n.doc,r,o.from,o.to);for(;!e.next().done;){let{from:i,to:r}=e.value;if((!l||nt(l,n,i,r))&&(s.empty&&i<=s.from&&r>=s.to?c.push(tt.range(i,r)):(i>=s.to||r<=s.from)&&c.push(et.range(i,r)),c.length>t.maxMatches))return a.p.none}}return a.p.set(c)}},{decorations:e=>e.decorations}),rt=a.tk.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const st=o.r$.define({combine:e=>(0,o.BO)(e,{top:!1,caseSensitive:!1,literal:!1,wholeWord:!1,createPanel:e=>new Xt(e)})});class ot{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||function(e){try{return new RegExp(e,Le),!0}catch(t){return!1}}(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,((e,t)=>"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"))}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new ft(this):new ct(this)}getCursor(e,t=0,n){let i=e.doc?e:o.yy.create({doc:e});return null==n&&(n=i.doc.length),this.regexp?ht(this,i,t,n):lt(this,i,t,n)}}class at{constructor(e){this.spec=e}}function lt(e,t,n,i){return new Ee(t.doc,e.unquoted,n,i,e.caseSensitive?void 0:e=>e.toLowerCase(),e.wholeWord?(r=t.doc,s=t.charCategorizer(t.selection.main.head),(e,t,n,i)=>((i>e||i+n.length=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=lt(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}function ht(e,t,n,i){return new De(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?(r=t.charCategorizer(t.selection.main.head),(e,t,n)=>!n[0].length||(r(ut(n.input,n.index))!=o.D0.Word||r(Ot(n.input,n.index))!=o.D0.Word)&&(r(Ot(n.input,n.index+n[0].length))!=o.D0.Word||r(ut(n.input,n.index+n[0].length))!=o.D0.Word)):void 0},n,i);var r}function ut(e,t){return e.slice((0,o.cp)(e,t,!1),t)}function Ot(e,t){return e.slice(t,(0,o.cp)(e,t))}class ft extends at{nextMatch(e,t,n){let i=ht(this.spec,e,n,e.doc.length).next();return i.done&&(i=ht(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let r=Math.max(t,n-1e4*i),s=ht(this.spec,e,r,n),o=null;for(;!s.next().done;)o=s.value;if(o&&(r==t||o.from>r+10))return o;if(r==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,((t,n)=>"$"==n?"$":"&"==n?e.match[0]:"0"!=n&&+n=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let r=ht(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!r.next().done;)i(r.value.from,r.value.to)}}const dt=o.Py.define(),pt=o.Py.define(),mt=o.QQ.define({create:e=>new gt(Pt(e).create(),null),update(e,t){for(let n of t.effects)n.is(dt)?e=new gt(n.value.create(),e.panel):n.is(pt)&&(e=new gt(e.query,n.value?Tt:null));return e},provide:e=>a.mH.from(e,(e=>e.panel))});class gt{constructor(e,t){this.query=e,this.panel=t}}const Qt=a.p.mark({class:"cm-searchMatch"}),bt=a.p.mark({class:"cm-searchMatch cm-searchMatch-selected"}),xt=a.lg.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(mt))}update(e){let t=e.state.field(mt);(t!=e.startState.field(mt)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return a.p.none;let{view:n}=this,i=new o.f_;for(let r=0,s=n.visibleRanges,o=s.length;rs[r+1].from-500;)a=s[++r].to;e.highlight(n.state,t,a,((e,t)=>{let r=n.state.selection.ranges.some((n=>n.from==e&&n.to==t));i.add(e,t,r?bt:Qt)}))}return i.finish()}},{decorations:e=>e.decorations});function kt(e){return t=>{let n=t.state.field(mt,!1);return n&&n.query.spec.valid?e(t,n):Rt(t)}}const yt=kt(((e,{query:t})=>{let{to:n}=e.state.selection.main,i=t.nextMatch(e.state,n,n);return!!i&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0,effects:At(e,i),userEvent:"select.search"}),!0)})),vt=kt(((e,{query:t})=>{let{state:n}=e,{from:i}=n.selection.main,r=t.prevMatch(n,i,i);return!!r&&(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:At(e,r),userEvent:"select.search"}),!0)})),$t=kt(((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!(!n||!n.length)&&(e.dispatch({selection:o.jT.create(n.map((e=>o.jT.range(e.from,e.to)))),userEvent:"select.search.matches"}),!0)})),St=kt(((e,{query:t})=>{let{state:n}=e,{from:i,to:r}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,i,i);if(!s)return!1;let o,l,c=[],h=[];if(s.from==i&&s.to==r&&(l=n.toText(t.getReplacement(s)),c.push({from:s.from,to:s.to,insert:l}),s=t.nextMatch(n,s.from,s.to),h.push(a.tk.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(i).number)+"."))),s){let t=0==c.length||c[0].from>=s.to?0:s.to-s.from-l.length;o={anchor:s.from-t,head:s.to-t},h.push(At(e,s))}return e.dispatch({changes:c,selection:o,scrollIntoView:!!o,effects:h,userEvent:"input.replace"}),!0})),wt=kt(((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map((e=>{let{from:n,to:i}=e;return{from:n,to:i,insert:t.getReplacement(e)}}));if(!n.length)return!1;let i=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:a.tk.announce.of(i),userEvent:"input.replace.all"}),!0}));function Tt(e){return e.state.facet(st).createPanel(e)}function Pt(e,t){var n,i,r,s;let o=e.selection.main,a=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!a)return t;let l=e.facet(st);return new ot({search:(null!==(n=null===t||void 0===t?void 0:t.literal)&&void 0!==n?n:l.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:null!==(i=null===t||void 0===t?void 0:t.caseSensitive)&&void 0!==i?i:l.caseSensitive,literal:null!==(r=null===t||void 0===t?void 0:t.literal)&&void 0!==r?r:l.literal,wholeWord:null!==(s=null===t||void 0===t?void 0:t.wholeWord)&&void 0!==s?s:l.wholeWord})}const Rt=e=>{let t=e.state.field(mt,!1);if(t&&t.panel){let n=(0,a.Sd)(e,Tt);if(!n)return!1;let i=n.dom.querySelector("[main-field]");if(i&&i!=e.root.activeElement){let n=Pt(e.state,t.query.spec);n.valid&&e.dispatch({effects:dt.of(n)}),i.focus(),i.select()}}else e.dispatch({effects:[pt.of(!0),t?dt.of(Pt(e.state,t.query.spec)):o.Py.appendConfig.of(_t)]});return!0},Ct=e=>{let t=e.state.field(mt,!1);if(!t||!t.panel)return!1;let n=(0,a.Sd)(e,Tt);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:pt.of(!1)}),!0},Zt=[{key:"Mod-f",run:Rt,scope:"editor search-panel"},{key:"F3",run:yt,shift:vt,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:yt,shift:vt,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Ct,scope:"editor search-panel"},{key:"Mod-Shift-l",run:({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:i,to:r}=n.main,s=[],a=0;for(let l=new Ee(e.doc,e.sliceDoc(i,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==i&&(a=s.length),s.push(o.jT.range(l.value.from,l.value.to))}return t(e.update({selection:o.jT.create(s,a),userEvent:"select.search.matches"})),!0}},{key:"Alt-g",run:e=>{let t=(0,a.Sd)(e,Ve);if(!t){let n=[Be.of(!0)];null==e.state.field(Ye,!1)&&n.push(o.Py.appendConfig.of([Ye,Fe])),e.dispatch({effects:n}),t=(0,a.Sd)(e,Ve)}return t&&t.dom.querySelector("input").focus(),!0}},{key:"Mod-d",run:({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some((e=>e.from===e.to)))return(({state:e,dispatch:t})=>{let{selection:n}=e,i=o.jT.create(n.ranges.map((t=>e.wordAt(t.head)||o.jT.cursor(t.head))),n.mainIndex);return!i.eq(n)&&(t(e.update({selection:i})),!0)})({state:e,dispatch:t});let i=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=i)))return!1;let r=function(e,t){let{main:n,ranges:i}=e.selection,r=e.wordAt(n.head),s=r&&r.from==n.from&&r.to==n.to;for(let o=!1,a=new Ee(e.doc,t,i[i.length-1].to);;){if(a.next(),!a.done){if(o&&i.some((e=>e.from==a.value.from)))continue;if(s){let t=e.wordAt(a.value.from);if(!t||t.from!=a.value.from||t.to!=a.value.to)continue}return a.value}if(o)return null;a=new Ee(e.doc,t,0,Math.max(0,i[i.length-1].from-1)),o=!0}}(e,i);return!!r&&(t(e.update({selection:e.selection.addRange(o.jT.range(r.from,r.to),!1),effects:a.tk.scrollIntoView(r.to)})),!0)},preventDefault:!0}];class Xt{constructor(e){this.view=e;let t=this.query=e.state.field(mt).query.spec;function n(e,t,n){return _e("button",{class:"cm-button",name:e,onclick:t,type:"button"},n)}this.commit=this.commit.bind(this),this.searchField=_e("input",{value:t.search,placeholder:jt(e,"Find"),"aria-label":jt(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=_e("input",{value:t.replace,placeholder:jt(e,"Replace"),"aria-label":jt(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=_e("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=_e("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=_e("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit}),this.dom=_e("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,n("next",(()=>yt(e)),[jt(e,"next")]),n("prev",(()=>vt(e)),[jt(e,"previous")]),n("select",(()=>$t(e)),[jt(e,"all")]),_e("label",null,[this.caseField,jt(e,"match case")]),_e("label",null,[this.reField,jt(e,"regexp")]),_e("label",null,[this.wordField,jt(e,"by word")]),...e.state.readOnly?[]:[_e("br"),this.replaceField,n("replace",(()=>St(e)),[jt(e,"replace")]),n("replaceAll",(()=>wt(e)),[jt(e,"replace all")]),_e("button",{name:"close",onclick:()=>Ct(e),"aria-label":jt(e,"close"),type:"button"},["\xd7"])]])}commit(){let e=new ot({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:dt.of(e)}))}keydown(e){(0,a.$1)(this.view,e,"search-panel")?e.preventDefault():13==e.keyCode&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?vt:yt)(this.view)):13==e.keyCode&&e.target==this.replaceField&&(e.preventDefault(),St(this.view))}update(e){for(let t of e.transactions)for(let e of t.effects)e.is(dt)&&!e.value.eq(this.query)&&this.setQuery(e.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(st).top}}function jt(e,t){return e.state.phrase(t)}const Wt=/[\s\.,:;?!]/;function At(e,{from:t,to:n}){let i=e.state.doc.lineAt(t),r=e.state.doc.lineAt(n).to,s=Math.max(i.from,t-30),o=Math.min(r,n+30),l=e.state.sliceDoc(s,o);if(s!=i.from)for(let a=0;a<30;a++)if(!Wt.test(l[a+1])&&Wt.test(l[a])){l=l.slice(a);break}if(o!=r)for(let a=l.length-1;a>l.length-30;a--)if(!Wt.test(l[a-1])&&Wt.test(l[a])){l=l.slice(0,a);break}return a.tk.announce.of(`${e.state.phrase("current match")}. ${l} ${e.state.phrase("on line")} ${i.number}.`)}const qt=a.tk.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),_t=[mt,o.Wl.lowest(xt),qt];var zt=n(34790);class It{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Et{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,r=n.facet(en).markerFilter;r&&(i=r(i));let s=a.p.set(i.map((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from?a.p.widget({widget:new rn(e),diagnostic:e}).range(e.from):a.p.mark({attributes:{class:"cm-lintRange cm-lintRange-"+e.severity},diagnostic:e}).range(e.from,e.to))),!0);return new Et(s,t,Gt(s))}}function Gt(e,t=null,n=0){let i=null;return e.between(n,1e9,((e,n,{spec:r})=>{if(!t||r.diagnostic==t)return i=new It(e,n,r.diagnostic),!1})),i}function Lt(e,t){return!(!e.effects.some((e=>e.is(Nt)))&&!e.changes.touchesRange(t.pos))}function Dt(e,t){return e.field(Jt,!1)?t:t.concat(o.Py.appendConfig.of([Jt,a.tk.decorations.compute([Jt],(e=>{let{selected:t,panel:n}=e.field(Jt);return t&&n&&t.from!=t.to?a.p.set([Vt.range(t.from,t.to)]):a.p.none})),(0,a.bF)(Bt,{hideOn:Lt}),cn]))}const Nt=o.Py.define(),Ut=o.Py.define(),Mt=o.Py.define(),Jt=o.QQ.define({create:()=>new Et(a.p.none,null,null),update(e,t){if(t.docChanged){let n=e.diagnostics.map(t.changes),i=null;if(e.selected){let r=t.changes.mapPos(e.selected.from,1);i=Gt(n,e.selected.diagnostic,r)||Gt(n,null,r)}e=new Et(n,e.panel,i)}for(let n of t.effects)n.is(Nt)?e=Et.init(n.value,e.panel,t.state):n.is(Ut)?e=new Et(e.diagnostics,n.value?on.open:null,e.selected):n.is(Mt)&&(e=new Et(e.diagnostics,e.panel,n.value));return e},provide:e=>[a.mH.from(e,(e=>e.panel)),a.tk.decorations.from(e,(e=>e.diagnostics))]});const Vt=a.p.mark({class:"cm-lintRange cm-lintRange-active"});function Bt(e,t,n){let{diagnostics:i}=e.state.field(Jt),r=[],s=2e8,o=0;i.between(t-(n<0?1:0),t+(n>0?1:0),((e,i,{spec:a})=>{t>=e&&t<=i&&(e==i||(t>e||n>0)&&(t({dom:Yt(e,r)})}:null}function Yt(e,t){return _e("ul",{class:"cm-tooltip-lint"},t.map((t=>nn(e,t,!1))))}const Ft=e=>{let t=e.state.field(Jt,!1);return!(!t||!t.panel)&&(e.dispatch({effects:Ut.of(!1)}),!0)},Ht=[{key:"Mod-Shift-m",run:e=>{let t=e.state.field(Jt,!1);t&&t.panel||e.dispatch({effects:Dt(e.state,[Ut.of(!0)])});let n=(0,a.Sd)(e,on.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0}},{key:"F8",run:e=>{let t=e.state.field(Jt,!1);if(!t)return!1;let n=e.state.selection.main,i=t.diagnostics.iter(n.to+1);return!(!i.value&&(i=t.diagnostics.iter(0),!i.value||i.from==n.from&&i.to==n.to))&&(e.dispatch({selection:{anchor:i.from,head:i.to},scrollIntoView:!0}),!0)}}],Kt=a.lg.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(en);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){let e=Date.now();if(ePromise.resolve(e(this.view))))).then((t=>{let n=t.reduce(((e,t)=>e.concat(t)));this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{effects:Dt(e,[Nt.of(t)])}}(this.view.state,n))}),(e=>{(0,a.OO)(this.view.state,e)}))}}update(e){let t=e.state.facet(en);(e.docChanged||t!=e.startState.facet(en))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),en=o.r$.define({combine:e=>Object.assign({sources:e.map((e=>e.source))},(0,o.BO)(e.map((e=>e.config)),{delay:750,markerFilter:null,tooltipFilter:null})),enables:Kt});function tn(e){let t=[];if(e)e:for(let{name:n}of e){for(let e=0;ee.toLowerCase()==i.toLowerCase()))){t.push(i);continue e}}t.push("")}return t}function nn(e,t,n){var i;let r=n?tn(t.actions):[];return _e("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},_e("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),null===(i=t.actions)||void 0===i?void 0:i.map(((n,i)=>{let s=i=>{i.preventDefault();let r=Gt(e.state.field(Jt).diagnostics,t);r&&n.apply(e,r.from,r.to)},{name:o}=n,a=r[i]?o.indexOf(r[i]):-1,l=a<0?o:[o.slice(0,a),_e("u",o.slice(a,a+1)),o.slice(a+1)];return _e("button",{type:"button",class:"cm-diagnosticAction",onclick:s,onmousedown:s,"aria-label":` Action: ${o}${a<0?"":` (access key "${r[i]})"`}.`},l)})),t.source&&_e("div",{class:"cm-diagnosticSource"},t.source))}class rn extends a.l9{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return _e("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class sn{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nn(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class on{constructor(e){this.view=e,this.items=[];this.list=_e("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)Ft(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:n}=this.items[this.selectedIndex],i=tn(n.actions);for(let r=0;r{for(let t=0;tFt(this.view)},"\xd7")),this.update()}get selectedIndex(){let e=this.view.state.field(Jt).selected;if(!e)return-1;for(let t=0;t{let a,l=-1;for(let t=n;tn&&(this.items.splice(n,l-n),i=!0)),t&&a.diagnostic==t.diagnostic?a.dom.hasAttribute("aria-selected")||(a.dom.setAttribute("aria-selected","true"),r=a):a.dom.hasAttribute("aria-selected")&&a.dom.removeAttribute("aria-selected"),n++}));n({sel:r.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{e.topt.bottom&&(this.list.scrollTop+=e.bottom-t.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=Gt(this.view.state.field(Jt).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:Mt.of(t)})}static open(e){return new on(e)}}function an(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function ln(e){return an(``,'width="6" height="3"')}const cn=a.tk.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:ln("#d11")},".cm-lintRange-warning":{backgroundImage:ln("orange")},".cm-lintRange-info":{backgroundImage:ln("#999")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});a.SJ;var hn=function(e){void 0===e&&(e={});var t=[];!1!==e.closeBracketsKeymap&&(t=t.concat(zt.GA)),!1!==e.defaultKeymap&&(t=t.concat(Ae)),!1!==e.searchKeymap&&(t=t.concat(Zt)),!1!==e.historyKeymap&&(t=t.concat(_)),!1!==e.foldKeymap&&(t=t.concat(l.e7)),!1!==e.completionKeymap&&(t=t.concat(zt.B1)),!1!==e.lintKeymap&&(t=t.concat(Ht));var n=[];return!1!==e.lineNumbers&&n.push((0,a.Eu)()),!1!==e.highlightActiveLineGutter&&n.push((0,a.HQ)()),!1!==e.highlightSpecialChars&&n.push((0,a.AE)()),!1!==e.history&&n.push(function(e={}){return[k,x.of(e),a.tk.domEventHandlers({beforeinput(e,t){let n="historyUndo"==e.inputType?v:"historyRedo"==e.inputType?$:null;return!!n&&(e.preventDefault(),n(t))}})]}()),!1!==e.foldGutter&&n.push((0,l.mi)()),!1!==e.drawSelection&&n.push((0,a.Uw)()),!1!==e.dropCursor&&n.push((0,a.qr)()),!1!==e.allowMultipleSelections&&n.push(o.yy.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&n.push((0,l.nY)()),!1!==e.syntaxHighlighting&&n.push((0,l.nF)(l.R_,{fallback:!0})),!1!==e.bracketMatching&&n.push((0,l.n$)()),!1!==e.closeBrackets&&n.push((0,zt.vQ)()),!1!==e.autocompletion&&n.push((0,zt.ys)()),!1!==e.rectangularSelection&&n.push((0,a.Zs)()),!1!==e.crosshairCursor&&n.push((0,a.S2)()),!1!==e.highlightActiveLine&&n.push((0,a.ZO)()),!1!==e.highlightSelectionMatches&&n.push(function(e){let t=[rt,it];return e&&t.push(Ke.of(e)),t}()),n.concat([a.$f.of(t.flat())]).filter(Boolean)},un=n(35524);const On="#e5c07b",fn="#e06c75",dn="#56b6c2",pn="#ffffff",mn="#abb2bf",gn="#7d8799",Qn="#61afef",bn="#98c379",xn="#d19a66",kn="#c678dd",yn="#21252b",vn="#2c313a",$n="#282c34",Sn="#353a42",wn="#3E4451",Tn="#528bff",Pn=a.tk.theme({"&":{color:mn,backgroundColor:$n},".cm-content":{caretColor:Tn},".cm-cursor, .cm-dropCursor":{borderLeftColor:Tn},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:wn},".cm-panels":{backgroundColor:yn,color:mn},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847",outline:"1px solid #515a6b"},".cm-gutters":{backgroundColor:$n,color:gn,border:"none"},".cm-activeLineGutter":{backgroundColor:vn},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:Sn},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Sn,borderBottomColor:Sn},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:vn,color:mn}}},{dark:!0}),Rn=l.Qf.define([{tag:un.pJ.keyword,color:kn},{tag:[un.pJ.name,un.pJ.deleted,un.pJ.character,un.pJ.propertyName,un.pJ.macroName],color:fn},{tag:[un.pJ.function(un.pJ.variableName),un.pJ.labelName],color:Qn},{tag:[un.pJ.color,un.pJ.constant(un.pJ.name),un.pJ.standard(un.pJ.name)],color:xn},{tag:[un.pJ.definition(un.pJ.name),un.pJ.separator],color:mn},{tag:[un.pJ.typeName,un.pJ.className,un.pJ.number,un.pJ.changed,un.pJ.annotation,un.pJ.modifier,un.pJ.self,un.pJ.namespace],color:On},{tag:[un.pJ.operator,un.pJ.operatorKeyword,un.pJ.url,un.pJ.escape,un.pJ.regexp,un.pJ.link,un.pJ.special(un.pJ.string)],color:dn},{tag:[un.pJ.meta,un.pJ.comment],color:gn},{tag:un.pJ.strong,fontWeight:"bold"},{tag:un.pJ.emphasis,fontStyle:"italic"},{tag:un.pJ.strikethrough,textDecoration:"line-through"},{tag:un.pJ.link,color:gn,textDecoration:"underline"},{tag:un.pJ.heading,fontWeight:"bold",color:fn},{tag:[un.pJ.atom,un.pJ.bool,un.pJ.special(un.pJ.variableName)],color:xn},{tag:[un.pJ.processingInstruction,un.pJ.string,un.pJ.inserted],color:bn},{tag:un.pJ.invalid,color:pn}]),Cn=[Pn,(0,l.nF)(Rn)];function Zn(e){var{value:t,selection:n,onChange:i,onStatistics:r,onCreateEditor:l,onUpdate:c,extensions:h=[],autoFocus:u,theme:O="light",height:f="",minHeight:d="",maxHeight:p="",placeholder:m="",width:g="",minWidth:Q="",maxWidth:b="",editable:x=!0,readOnly:k=!1,indentWithTab:y=!0,basicSetup:v=!0,root:$,initialState:S}=e,[w,T]=(0,s.useState)(),[P,R]=(0,s.useState)(),[C,Z]=(0,s.useState)(),X=a.tk.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),j=a.tk.theme({"&":{height:f,minHeight:d,maxHeight:p,width:g,minWidth:Q,maxWidth:b}}),W=a.tk.updateListener.of((e=>{if(e.docChanged&&"function"===typeof i){var t=e.state.doc.toString();i(t,e)}r&&r((e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map((t=>e.state.sliceDoc(t.from,t.to))),selectedText:e.state.selection.ranges.some((e=>!e.empty))}))(e))})),A=[W,j];switch(y&&A.unshift(a.$f.of([qe])),v&&("boolean"===typeof v?A.unshift(hn()):A.unshift(hn(v))),m&&A.unshift((0,a.W$)(m)),O){case"light":A.push(X);break;case"dark":A.push(Cn);break;default:A.push(O)}return!1===x&&A.push(a.tk.editable.of(!1)),k&&A.push(o.yy.readOnly.of(!0)),c&&"function"===typeof c&&A.push(a.tk.updateListener.of(c)),A=A.concat(h),(0,s.useEffect)((()=>{if(w&&!C){var e={doc:t,selection:n,extensions:A},i=S?o.yy.fromJSON(S.json,e,S.fields):o.yy.create(e);if(Z(i),!P){var r=new a.tk({state:i,parent:w,root:$});R(r),l&&l(r,i)}}return()=>{P&&(Z(void 0),R(void 0))}}),[w,C]),(0,s.useEffect)((()=>T(e.container)),[e.container]),(0,s.useEffect)((()=>()=>{P&&(P.destroy(),R(void 0))}),[P]),(0,s.useEffect)((()=>{u&&P&&P.focus()}),[u,P]),(0,s.useEffect)((()=>{P&&P.dispatch({effects:o.Py.reconfigure.of(A)})}),[O,h,f,d,p,g,Q,b,m,x,k,y,v,i,c]),(0,s.useEffect)((()=>{var e=P?P.state.doc.toString():"";P&&t!==e&&P.dispatch({changes:{from:0,to:e.length,insert:t||""}})}),[t,P]),{state:C,setState:Z,view:P,setView:R,container:w,setContainer:T}}var Xn=n(85893),jn=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],Wn=(0,s.forwardRef)(((e,t)=>{var{className:n,value:o="",selection:a,extensions:l=[],onChange:c,onStatistics:h,onCreateEditor:u,onUpdate:O,autoFocus:f,theme:d="light",height:p,minHeight:m,maxHeight:g,width:Q,minWidth:b,maxWidth:x,basicSetup:k,placeholder:y,indentWithTab:v,editable:$,readOnly:S,root:w,initialState:T}=e,P=(0,r.Z)(e,jn),R=(0,s.useRef)(null),{state:C,view:Z,container:X,setContainer:j}=Zn({container:R.current,root:w,value:o,autoFocus:f,theme:d,height:p,minHeight:m,maxHeight:g,width:Q,minWidth:b,maxWidth:x,basicSetup:k,placeholder:y,indentWithTab:v,editable:$,readOnly:S,selection:a,onChange:c,onStatistics:h,onCreateEditor:u,onUpdate:O,extensions:l,initialState:T});if((0,s.useImperativeHandle)(t,(()=>({editor:R.current,state:C,view:Z})),[R,X,C,Z]),"string"!==typeof o)throw new Error("value must be typeof string but got "+typeof o);var W="string"===typeof d?"cm-theme-"+d:"cm-theme";return(0,Xn.jsx)("div",(0,i.Z)({ref:R,className:W+(n?" "+n:"")},P))}));Wn.displayName="CodeMirror";var An=Wn},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(87462),r=n(4942),s=n(50888),o=n(94184),a=n.n(o),l=n(97685),c=n(45987),h=n(67294),u=n(21770),O=n(15105),f=h.forwardRef((function(e,t){var n,i=e.prefixCls,s=void 0===i?"rc-switch":i,o=e.className,f=e.checked,d=e.defaultChecked,p=e.disabled,m=e.loadingIcon,g=e.checkedChildren,Q=e.unCheckedChildren,b=e.onClick,x=e.onChange,k=e.onKeyDown,y=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),v=(0,u.Z)(!1,{value:f,defaultValue:d}),$=(0,l.Z)(v,2),S=$[0],w=$[1];function T(e,t){var n=S;return p||(w(n=e),null===x||void 0===x||x(n,t)),n}var P=a()(s,o,(n={},(0,r.Z)(n,"".concat(s,"-checked"),S),(0,r.Z)(n,"".concat(s,"-disabled"),p),n));return h.createElement("button",Object.assign({},y,{type:"button",role:"switch","aria-checked":S,disabled:p,className:P,ref:t,onKeyDown:function(e){e.which===O.Z.LEFT?T(!1,e):e.which===O.Z.RIGHT&&T(!0,e),null===k||void 0===k||k(e)},onClick:function(e){var t=T(!S,e);null===b||void 0===b||b(t,e)}}),m,h.createElement("span",{className:"".concat(s,"-inner")},S?g:Q))}));f.displayName="Switch";var d=f,p=n(53124),m=n(98866),g=n(97647),Q=n(68349),b=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var i=e.data[t];Array.isArray(i)?i.forEach((function(e){n.append("".concat(t,"[]"),e)})):n.append(t,i)})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),i=new Error(n);return i.status=t.status,i.method=e.method,i.url=e.action,i}(e,t),b(t)):e.onSuccess(b(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var i=e.headers||{};return null!==i["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(i).forEach((function(e){null!==i[e]&&t.setRequestHeader(e,i[e])})),t.send(n),{abort:function(){t.abort()}}}var k=+new Date,y=0;function v(){return"rc-upload-".concat(k,"-").concat(++y)}var $=n(80334),S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),i=e.name||"",r=e.type||"",s=r.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var n=i.toLowerCase(),o=t.toLowerCase(),a=[o];return".jpg"!==o&&".jpeg"!==o||(a=[".jpg",".jpeg"]),a.some((function(e){return n.endsWith(e)}))}return/\/\*$/.test(t)?s===t.replace(/\/.*$/,""):r===t||!!/^\w+$/.test(t)&&((0,$.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var w=function(e,t,n){var i=function e(i,r){i.path=r||"",i.isFile?i.file((function(e){n(e)&&(i.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=i.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):i.isDirectory&&function(e,t){var n=e.createReader(),i=[];!function e(){n.readEntries((function(n){var r=Array.prototype.slice.apply(n);i=i.concat(r),r.length?e():t(i)}))}()}(i,(function(t){t.forEach((function(t){e(t,"".concat(r).concat(i.name,"/"))}))}))};e.forEach((function(e){i(e.webkitGetAsEntry())}))},T=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],P=function(e){(0,d.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,O.Z)(this,n);for(var i=arguments.length,r=new Array(i),s=0;s0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},ae=200;function le(e){return new Promise((function(t){if(e.type&&se(e.type)){var n=document.createElement("canvas");n.width=ae,n.height=ae,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(ae,"px; height: ").concat(ae,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var i=n.getContext("2d"),r=new Image;if(r.onload=function(){var e=r.width,s=r.height,o=ae,a=ae,l=0,c=0;e>s?c=-((a=s*(ae/e))-o)/2:l=-((o=e*(ae/s))-a)/2,i.drawImage(r,l,c,o,a);var h=n.toDataURL();document.body.removeChild(n),t(h)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){var s=new FileReader;s.addEventListener("load",(function(){s.result&&(r.src=s.result)})),s.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)}else t("")}))}var ce=n(48689),he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ue=function(e,t){return r.createElement(G.Z,(0,I.Z)((0,I.Z)({},e),{},{ref:t,icon:he}))};ue.displayName="DownloadOutlined";var Oe=r.forwardRef(ue),fe=n(99611),de=n(97910),pe=n(94199),me=r.forwardRef((function(e,t){var n,o,a,l=e.prefixCls,h=e.className,O=e.style,f=e.locale,d=e.listType,p=e.file,m=e.items,g=e.progress,Q=e.iconRender,b=e.actionIconRender,x=e.itemRender,k=e.isImgUrl,y=e.showPreviewIcon,v=e.showRemoveIcon,$=e.showDownloadIcon,S=e.previewIcon,w=e.removeIcon,T=e.downloadIcon,P=e.onPreview,R=e.onDownload,C=e.onClose,Z=p.status,X=r.useState(Z),j=(0,c.Z)(X,2),W=j[0],q=j[1];r.useEffect((function(){"removed"!==Z&&q(Z)}),[Z]);var _=r.useState(!1),z=(0,c.Z)(_,2),I=z[0],E=z[1],G=r.useRef();r.useEffect((function(){return G.current=setTimeout((function(){E(!0)}),300),function(){window.clearTimeout(G.current)}}),[]);var L="".concat(l,"-span"),D=Q(p),N=r.createElement("div",{className:"".concat(l,"-text-icon")},D);if("picture"===d||"picture-card"===d)if("uploading"===W||!p.thumbUrl&&!p.url){var U,M=u()((U={},(0,s.Z)(U,"".concat(l,"-list-item-thumbnail"),!0),(0,s.Z)(U,"".concat(l,"-list-item-file"),"uploading"!==W),U));N=r.createElement("div",{className:M},D)}else{var J,V=(null===k||void 0===k?void 0:k(p))?r.createElement("img",{src:p.thumbUrl||p.url,alt:p.name,className:"".concat(l,"-list-item-image"),crossOrigin:p.crossOrigin}):D,B=u()((J={},(0,s.Z)(J,"".concat(l,"-list-item-thumbnail"),!0),(0,s.Z)(J,"".concat(l,"-list-item-file"),k&&!k(p)),J));N=r.createElement("a",{className:B,onClick:function(e){return P(p,e)},href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer"},V)}var Y,H=u()((n={},(0,s.Z)(n,"".concat(l,"-list-item"),!0),(0,s.Z)(n,"".concat(l,"-list-item-").concat(W),!0),(0,s.Z)(n,"".concat(l,"-list-item-list-type-").concat(d),!0),n)),K="string"===typeof p.linkProps?JSON.parse(p.linkProps):p.linkProps,ee=v?b(("function"===typeof w?w(p):w)||r.createElement(ce.Z,null),(function(){return C(p)}),l,f.removeFile):null,te=$&&"done"===W?b(("function"===typeof T?T(p):T)||r.createElement(Oe,null),(function(){return R(p)}),l,f.downloadFile):null,ne="picture-card"!==d&&r.createElement("span",{key:"download-delete",className:u()("".concat(l,"-list-item-card-actions"),{picture:"picture"===d})},te,ee),ie=u()("".concat(l,"-list-item-name")),re=p.url?[r.createElement("a",(0,i.Z)({key:"view",target:"_blank",rel:"noopener noreferrer",className:ie,title:p.name},K,{href:p.url,onClick:function(e){return P(p,e)}}),p.name),ne]:[r.createElement("span",{key:"view",className:ie,onClick:function(e){return P(p,e)},title:p.name},p.name),ne],se=y?r.createElement("a",{href:p.url||p.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:p.url||p.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:function(e){return P(p,e)},title:f.previewFile},"function"===typeof S?S(p):S||r.createElement(fe.Z,null)):null,oe="picture-card"===d&&"uploading"!==W&&r.createElement("span",{className:"".concat(l,"-list-item-actions")},se,"done"===W&&te,ee);Y=p.response&&"string"===typeof p.response?p.response:(null===(o=p.error)||void 0===o?void 0:o.statusText)||(null===(a=p.error)||void 0===a?void 0:a.message)||f.uploadError;var ae=r.createElement("span",{className:L},N,re),le=(0,r.useContext(A.E_).getPrefixCls)(),he=r.createElement("div",{className:H},r.createElement("div",{className:"".concat(l,"-list-item-info")},ae),oe,I&&r.createElement(F.Z,{motionName:"".concat(le,"-fade"),visible:"uploading"===W,motionDeadline:2e3},(function(e){var t=e.className,n="percent"in p?r.createElement(de.Z,(0,i.Z)({},g,{type:"line",percent:p.percent})):null;return r.createElement("div",{className:u()("".concat(l,"-list-item-progress"),t)},n)}))),ue=u()("".concat(l,"-list-").concat(d,"-container"),h),me="error"===W?r.createElement(pe.Z,{title:Y,getPopupContainer:function(e){return e.parentNode}},he):he;return r.createElement("div",{className:ue,style:O,ref:t},x?x(me,p,m,{download:R.bind(null,p),preview:P.bind(null,p),remove:C.bind(null,p)}):me)})),ge=(0,i.Z)({},ee.ZP);delete ge.onAppearEnd,delete ge.onEnterEnd,delete ge.onLeaveEnd;var Qe=function(e,t){var n,o=e.listType,a=void 0===o?"text":o,h=e.previewFile,O=void 0===h?le:h,f=e.onPreview,d=e.onDownload,p=e.onRemove,m=e.locale,g=e.iconRender,Q=e.isImageUrl,b=void 0===Q?oe:Q,x=e.prefixCls,k=e.items,y=void 0===k?[]:k,v=e.showPreviewIcon,$=void 0===v||v,S=e.showRemoveIcon,w=void 0===S||S,T=e.showDownloadIcon,P=void 0!==T&&T,R=e.removeIcon,C=e.previewIcon,Z=e.downloadIcon,X=e.progress,j=void 0===X?{strokeWidth:2,showInfo:!1}:X,W=e.appendAction,q=e.appendActionVisible,_=void 0===q||q,z=e.itemRender,I=(0,K.Z)(),E=r.useState(!1),G=(0,c.Z)(E,2),L=G[0],U=G[1];r.useEffect((function(){"picture"!==a&&"picture-card"!==a||(y||[]).forEach((function(e){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",O&&O(e.originFileObj).then((function(t){e.thumbUrl=t||"",I()})))}))}),[a,y,O]),r.useEffect((function(){U(!0)}),[]);var M=function(e,t){if(f)return null===t||void 0===t||t.preventDefault(),f(e)},V=function(e){"function"===typeof d?d(e):e.url&&window.open(e.url)},B=function(e){null===p||void 0===p||p(e)},ee=function(e){if(g)return g(e,a);var t="uploading"===e.status,n=b&&b(e)?r.createElement(Y,null):r.createElement(D,null),i=t?r.createElement(N.Z,null):r.createElement(J,null);return"picture"===a?i=t?r.createElement(N.Z,null):n:"picture-card"===a&&(i=t?m.uploading:n),i},ne=function(e,t,n,s){var o={type:"text",size:"small",title:s,onClick:function(n){t(),(0,te.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if((0,te.l$)(e)){var a=(0,te.Tm)(e,(0,i.Z)((0,i.Z)({},e.props),{onClick:function(){}}));return r.createElement(H.Z,(0,i.Z)({},o,{icon:a}))}return r.createElement(H.Z,(0,i.Z)({},o),r.createElement("span",null,e))};r.useImperativeHandle(t,(function(){return{handlePreview:M,handleDownload:V}}));var ie=r.useContext(A.E_),re=ie.getPrefixCls,se=ie.direction,ae=re("upload",x),ce=u()((n={},(0,s.Z)(n,"".concat(ae,"-list"),!0),(0,s.Z)(n,"".concat(ae,"-list-").concat(a),!0),(0,s.Z)(n,"".concat(ae,"-list-rtl"),"rtl"===se),n)),he=(0,l.Z)(y.map((function(e){return{key:e.uid,file:e}}))),ue="picture-card"===a?"animate-inline":"animate",Oe={motionDeadline:2e3,motionName:"".concat(ae,"-").concat(ue),keys:he,motionAppear:L};return"picture-card"!==a&&(Oe=(0,i.Z)((0,i.Z)({},ge),Oe)),r.createElement("div",{className:ce},r.createElement(F.V,(0,i.Z)({},Oe,{component:!1}),(function(e){var t=e.key,n=e.file,i=e.className,s=e.style;return r.createElement(me,{key:t,locale:m,prefixCls:ae,className:i,style:s,file:n,items:y,progress:j,listType:a,isImgUrl:b,showPreviewIcon:$,showRemoveIcon:w,showDownloadIcon:P,removeIcon:R,previewIcon:C,downloadIcon:Z,iconRender:ee,actionIconRender:ne,itemRender:z,onPreview:M,onDownload:V,onClose:B})})),W&&r.createElement(F.Z,(0,i.Z)({},Oe,{visible:_,forceRender:!0}),(function(e){var t=e.className,n=e.style;return(0,te.Tm)(W,(function(e){return{className:u()(e.className,t),style:(0,i.Z)((0,i.Z)((0,i.Z)({},n),{pointerEvents:t?"none":void 0}),e.style)}}))})))};var be=r.forwardRef(Qe),xe=function(e,t,n,i){return new(n||(n=Promise))((function(r,s){function o(e){try{l(i.next(e))}catch(t){s(t)}}function a(e){try{l(i.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((i=i.apply(e,t||[])).next())}))},ke="__LIST_IGNORE_".concat(Date.now(),"__"),ye=function(e,t){var n,h=e.fileList,O=e.defaultFileList,f=e.onRemove,d=e.showUploadList,p=void 0===d||d,m=e.listType,g=void 0===m?"text":m,Q=e.onPreview,b=e.onDownload,x=e.onChange,k=e.onDrop,y=e.previewFile,v=e.disabled,$=void 0!==v&&v,S=e.locale,w=e.iconRender,T=e.isImageUrl,P=e.progress,R=e.prefixCls,C=e.className,Z=e.type,I=void 0===Z?"select":Z,E=e.children,G=e.style,L=e.itemRender,D=e.maxCount,N=e.data,U=void 0===N?{}:N,M=e.multiple,J=void 0!==M&&M,V=e.action,B=void 0===V?"":V,Y=e.accept,F=void 0===Y?"":Y,H=e.supportServerRender,K=void 0===H||H,ee=r.useContext(q.Z),te=$||ee,se=(0,j.Z)(O||[],{value:h,postState:function(e){return null!==e&&void 0!==e?e:[]}}),oe=(0,c.Z)(se,2),ae=oe[0],le=oe[1],ce=r.useState("drop"),he=(0,c.Z)(ce,2),ue=he[0],Oe=he[1],fe=r.useRef();r.useMemo((function(){var e=Date.now();(h||[]).forEach((function(t,n){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(n,"__"))}))}),[h]);var de=function(e,t,n){var i=(0,l.Z)(t);1===D?i=i.slice(-1):D&&(i=i.slice(0,D)),(0,W.flushSync)((function(){le(i)}));var r={file:e,fileList:i};n&&(r.event=n),null===x||void 0===x||x(r)},pe=function(e){var t=e.filter((function(e){return!e.file[ke]}));if(t.length){var n=t.map((function(e){return ne(e.file)})),i=(0,l.Z)(ae);n.forEach((function(e){i=ie(e,i)})),n.forEach((function(e,n){var r=e;if(t[n].parsedFile)e.status="uploading";else{var s,o=e.originFileObj;try{s=new File([o],o.name,{type:o.type})}catch(a){(s=new Blob([o],{type:o.type})).name=o.name,s.lastModifiedDate=new Date,s.lastModified=(new Date).getTime()}s.uid=e.uid,r=s}de(r,i)}))}},me=function(e,t,n){try{"string"===typeof e&&(e=JSON.parse(e))}catch(s){}if(re(t,ae)){var i=ne(t);i.status="done",i.percent=100,i.response=e,i.xhr=n;var r=ie(i,ae);de(i,r)}},ge=function(e,t){if(re(t,ae)){var n=ne(t);n.status="uploading",n.percent=e.percent;var i=ie(n,ae);de(n,i,e)}},Qe=function(e,t,n){if(re(n,ae)){var i=ne(n);i.error=e,i.response=t,i.status="error";var r=ie(i,ae);de(i,r)}},ye=function(e){var t;Promise.resolve("function"===typeof f?f(e):f).then((function(n){var r;if(!1!==n){var s=function(e,t){var n=void 0!==e.uid?"uid":"name",i=t.filter((function(t){return t[n]!==e[n]}));return i.length===t.length?null:i}(e,ae);s&&(t=(0,i.Z)((0,i.Z)({},e),{status:"removed"}),null===ae||void 0===ae||ae.forEach((function(e){var n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(r=fe.current)||void 0===r||r.abort(t),de(t,s))}}))},ve=function(e){Oe(e.type),"drop"===e.type&&(null===k||void 0===k||k(e))};r.useImperativeHandle(t,(function(){return{onBatchStart:pe,onSuccess:me,onProgress:ge,onError:Qe,fileList:ae,upload:fe.current}}));var $e=r.useContext(A.E_),Se=$e.getPrefixCls,we=$e.direction,Te=Se("upload",R),Pe=(0,i.Z)((0,i.Z)({onBatchStart:pe,onError:Qe,onProgress:ge,onSuccess:me},e),{data:U,multiple:J,action:B,accept:F,supportServerRender:K,prefixCls:Te,disabled:te,beforeUpload:function(t,n){return xe(void 0,void 0,void 0,(0,o.Z)().mark((function i(){var r,s,l,c;return(0,o.Z)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(r=e.beforeUpload,s=e.transformFile,l=t,!r){i.next=13;break}return i.next=5,r(t,n);case 5:if(!1!==(c=i.sent)){i.next=8;break}return i.abrupt("return",!1);case 8:if(delete t[ke],c!==ke){i.next=12;break}return Object.defineProperty(t,ke,{value:!0,configurable:!0}),i.abrupt("return",!1);case 12:"object"===(0,a.Z)(c)&&c&&(l=c);case 13:if(!s){i.next=17;break}return i.next=16,s(l);case 16:l=i.sent;case 17:return i.abrupt("return",l);case 18:case"end":return i.stop()}}),i)})))},onChange:void 0});delete Pe.className,delete Pe.style,E&&!te||delete Pe.id;var Re=function(e,t){return p?r.createElement(_.Z,{componentName:"Upload",defaultLocale:z.Z.Upload},(function(n){var s="boolean"===typeof p?{}:p,o=s.showRemoveIcon,a=s.showPreviewIcon,l=s.showDownloadIcon,c=s.removeIcon,h=s.previewIcon,u=s.downloadIcon;return r.createElement(be,{prefixCls:Te,listType:g,items:ae,previewFile:y,onPreview:Q,onDownload:b,onRemove:ye,showRemoveIcon:!te&&o,showPreviewIcon:a,showDownloadIcon:l,removeIcon:c,previewIcon:h,downloadIcon:u,iconRender:w,locale:(0,i.Z)((0,i.Z)({},n),S),isImageUrl:T,progress:P,appendAction:e,appendActionVisible:t,itemRender:L})})):e};if("drag"===I){var Ce,Ze=u()(Te,(Ce={},(0,s.Z)(Ce,"".concat(Te,"-drag"),!0),(0,s.Z)(Ce,"".concat(Te,"-drag-uploading"),ae.some((function(e){return"uploading"===e.status}))),(0,s.Z)(Ce,"".concat(Te,"-drag-hover"),"dragover"===ue),(0,s.Z)(Ce,"".concat(Te,"-disabled"),te),(0,s.Z)(Ce,"".concat(Te,"-rtl"),"rtl"===we),Ce),C);return r.createElement("span",null,r.createElement("div",{className:Ze,onDrop:ve,onDragOver:ve,onDragLeave:ve,style:G},r.createElement(X,(0,i.Z)({},Pe,{ref:fe,className:"".concat(Te,"-btn")}),r.createElement("div",{className:"".concat(Te,"-drag-container")},E))),Re())}var Xe,je=u()(Te,(n={},(0,s.Z)(n,"".concat(Te,"-select"),!0),(0,s.Z)(n,"".concat(Te,"-select-").concat(g),!0),(0,s.Z)(n,"".concat(Te,"-disabled"),te),(0,s.Z)(n,"".concat(Te,"-rtl"),"rtl"===we),n)),We=(Xe=E?void 0:{display:"none"},r.createElement("div",{className:je,style:Xe},r.createElement(X,(0,i.Z)({},Pe,{ref:fe}))));return"picture-card"===g?r.createElement("span",{className:u()("".concat(Te,"-picture-card-wrapper"),C)},Re(We,!!E)):r.createElement("span",{className:C},We,Re())};var ve=r.forwardRef(ye),$e=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r=t||n<0||m&&e-d>=h}function k(){var e=r();if(x(e))return y(e);O=setTimeout(k,function(e){var n=t-(e-f);return m?a(n,h-(e-d)):n}(e))}function y(e){return O=void 0,g&&l?Q(e):(l=c=void 0,u)}function v(){var e=r(),n=x(e);if(l=arguments,c=this,f=e,n){if(void 0===O)return b(f);if(m)return clearTimeout(O),O=setTimeout(k,t),Q(f)}return void 0===O&&(O=setTimeout(k,t)),u}return t=s(t)||0,i(n)&&(p=!!n.leading,h=(m="maxWait"in n)?o(s(n.maxWait)||0,t):h,g="trailing"in n?!!n.trailing:g),v.cancel=function(){void 0!==O&&clearTimeout(O),d=0,l=f=c=O=void 0},v.flush=function(){return void 0===O?u:y(r())},v}},33448:function(e,t,n){var i=n(44239),r=n(37005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},7771:function(e,t,n){var i=n(55639);e.exports=function(){return i.Date.now()}},14841:function(e,t,n){var i=n(27561),r=n(13218),s=n(33448),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}},34790:function(e,t,n){"use strict";n.d(t,{B1:function(){return ke},GA:function(){return Oe},Gn:function(){return K},Mb:function(){return l},eC:function(){return c},vQ:function(){return oe},ys:function(){return xe}});var i=n(78120),r=n(47421),s=n(59119);class o{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=(0,s.qz)(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),r=i.search(O(e,!1));return r<0?null:{from:n+r,to:this.pos,text:i.slice(r)}}get aborted(){return null==this.abortListeners}addEventListener(e,t){"abort"==e&&this.abortListeners&&this.abortListeners.push(t)}}function a(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function l(e){let t=e.map((e=>"string"==typeof e?{label:e}:e)),[n,i]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),n=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e{let r=e.matchBefore(i);return r||e.explicit?{from:r?r.from:e.pos,options:t,validFor:n}:null}}function c(e,t){return n=>{for(let t=(0,s.qz)(n.state).resolveInner(n.pos,-1);t;t=t.parent)if(e.indexOf(t.name)>-1)return null;return t(n)}}class h{constructor(e,t,n){this.completion=e,this.source=t,this.match=n}}function u(e){return e.selection.main.head}function O(e,t){var n;let{source:i}=e,r=t&&"^"!=i[0],s="$"!=i[i.length-1];return r||s?new RegExp(`${r?"^":""}(?:${i})${s?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e}function f(e,t){const n=t.completion.apply||t.completion.label;let r=t.source;var s,o,a,l;"string"==typeof n?e.dispatch((s=e.state,o=n,a=r.from,l=r.to,Object.assign(Object.assign({},s.changeByRange((e=>{if(e==s.selection.main)return{changes:{from:a,to:l,insert:o},range:i.jT.cursor(a+o.length)};let t=l-a;return!e.empty||t&&s.sliceDoc(e.from-t,e.from)!=s.sliceDoc(a,l)?{range:e}:{changes:{from:e.from-t,to:e.from,insert:o},range:i.jT.cursor(e.from-t+o.length)}}))),{userEvent:"input.complete"}))):n(e,t.completion,r.from,r.to)}const d=new WeakMap;function p(e){if(!Array.isArray(e))return e;let t=d.get(e);return t||d.set(e,t=l(e)),t}class m{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[];for(let t=0;t=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(c=(0,i.bg)(r))!=c.toLowerCase()?1:c!=c.toUpperCase()?2:0;(!Q||1==b&&m||0==x&&0!=b)&&(t[u]==r||n[u]==r&&(O=!0)?o[u++]=Q:o.length&&(g=!1)),x=b,Q+=(0,i.nZ)(r)}return u==l&&0==o[0]&&g?this.result((O?-200:0)-100,o,e):f==l&&0==d?[-200-e.length,0,p]:a>-1?[-700-e.length,a,a+this.pattern.length]:f==l?[-900-e.length,d,p]:u==l?this.result((O?-200:0)-100-700+(g?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}result(e,t,n){let r=[e-n.length],s=1;for(let o of t){let e=o+(this.astral?(0,i.nZ)((0,i.gm)(n,o)):1);s>1&&r[s-1]==o?r[s-1]=e:(r[s++]=o,r[s++]=e)}return r}}const g=i.r$.define({combine:e=>(0,i.BO)(e,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,optionClass:(e,t)=>n=>function(e,t){return e?t?e+" "+t:e:t}(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})});function Q(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let i=Math.floor((e-t)/n);return{from:e-(i+1)*n,to:e-i*n}}class b{constructor(e,t){this.view=e,this.stateField=t,this.info=null,this.placeInfo={read:()=>this.measureInfo(),write:e=>this.positionInfo(e),key:this};let n=e.state.field(t),{options:i,selected:r}=n.open,s=e.state.facet(g);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map((e=>"cm-completionIcon-"+e))),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,n){let i=document.createElement("span");i.className="cm-completionLabel";let{label:r}=e,s=0;for(let o=1;os&&i.appendChild(document.createTextNode(r.slice(s,e)));let a=i.appendChild(document.createElement("span"));a.appendChild(document.createTextNode(r.slice(e,t))),a.className="cm-completionMatchedText",s=t}return se.position-t.position)).map((e=>e.render))}(s),this.optionClass=s.optionClass,this.range=Q(i.length,r,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.dom.addEventListener("mousedown",(t=>{for(let n,r=t.target;r&&r!=this.dom;r=r.parentNode)if("LI"==r.nodeName&&(n=/-(\d+)$/.exec(r.id))&&+n[1]{this.info&&this.view.requestMeasure(this.placeInfo)}))}mount(){this.updateSel()}update(e){e.state.field(this.stateField)!=e.startState.field(this.stateField)&&this.updateSel()}positioned(){this.info&&this.view.requestMeasure(this.placeInfo)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected=this.range.to)&&(this.range=Q(t.options.length,t.selected,this.view.state.facet(g).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",(()=>{this.info&&this.view.requestMeasure(this.placeInfo)}))),this.updateSelectedOption(t.selected)){this.info&&(this.info.remove(),this.info=null);let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s="string"===typeof i?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then((t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t)})).catch((e=>(0,r.OO)(this.view.state,e,"completion info"))):this.addInfoPane(s)}}addInfoPane(e){let t=this.info=document.createElement("div");t.className="cm-tooltip cm-completionInfo",t.appendChild(e),this.dom.appendChild(t),this.view.requestMeasure(this.placeInfo)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)i==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&function(e,t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();i.topn.bottom&&(e.scrollTop+=i.bottom-n.bottom)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.ownerDocument.defaultView||window,n=this.dom.getBoundingClientRect(),i=this.info.getBoundingClientRect(),s=e.getBoundingClientRect();if(s.top>Math.min(t.innerHeight,n.bottom)-10||s.bottom=i.height||e>n.top?h=s.bottom-n.top+"px":u=n.bottom-s.top+"px"}return{top:h,bottom:u,maxWidth:o,class:c?a?"left-narrow":"right-narrow":l?"left":"right"}}positionInfo(e){this.info&&(e?(this.info.style.top=e.top,this.info.style.bottom=e.bottom,this.info.style.maxWidth=e.maxWidth,this.info.className="cm-tooltip cm-completionInfo cm-completionInfo-"+e.class):this.info.style.top="-1e6px")}createListBox(e,t,n){const i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));for(let r=n.from;r=this.options.length?this:new k(this.options,$(t,e),this.tooltip,this.timestamp,e)}static build(e,t,n,i,r){let s=function(e,t){let n=[],i=0;for(let a of e)if(a.hasResult())if(!1===a.result.filter){let e=a.result.getMatch;for(let t of a.result.options){let r=[1e9-i++];if(e)for(let n of e(t))r.push(n);n.push(new h(t,a,r))}}else{let e,i=new m(t.sliceDoc(a.from,a.to));for(let t of a.result.options)(e=i.match(t.label))&&(null!=t.boost&&(e[0]+=t.boost),n.push(new h(t,a,e)))}let r=[],s=null,o=t.facet(g).compareCompletions;for(let a of n.sort(((e,t)=>t.match[0]-e.match[0]||o(e.completion,t.completion))))!s||s.label!=a.completion.label||s.detail!=a.completion.detail||null!=s.type&&null!=a.completion.type&&s.type!=a.completion.type||s.apply!=a.completion.apply?r.push(a):x(a.completion)>x(s)&&(r[r.length-1]=a),s=a.completion;return r}(e,t);if(!s.length)return null;let o=t.facet(g).selectOnOpen?0:-1;if(i&&i.selected!=o&&-1!=i.selected){let e=i.options[i.selected].completion;for(let t=0;tt.hasResult()?Math.min(e,t.from):e),1e8),create:(a=j,e=>new b(e,a)),above:r.aboveCursor},i?i.timestamp:Date.now(),o);var a}map(e){return new k(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected)}}class y{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new y(S,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(e){let{state:t}=e,n=t.facet(g),i=(n.override||t.languageDataAt("autocomplete",u(t)).map(p)).map((t=>(this.active.find((e=>e.source==t))||new T(t,this.active.some((e=>0!=e.state))?1:0)).update(e,n)));i.length==this.active.length&&i.every(((e,t)=>e==this.active[t]))&&(i=this.active);let r=e.selection||i.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){if(e==t)return!0;for(let n=0,i=0;;){for(;n1!=e.state))&&i.some((e=>e.hasResult()))&&(i=i.map((e=>e.hasResult()?new T(e.source,0):e)));for(let s of e.effects)s.is(X)&&(r=r&&r.setSelected(s.value,this.id));return i==this.active&&r==this.open?this:new y(i,this.id,r)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:v}}const v={"aria-autocomplete":"list"};function $(e,t){let n={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const S=[];function w(e){return e.isUserEvent("input.type")?"input":e.isUserEvent("delete.backward")?"delete":null}class T{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=w(e),i=this;n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&0!=i.state&&(i=new T(i.source,0));for(let r of e.effects)if(r.is(R))i=new T(i.source,1,r.value?u(e.state):-1);else if(r.is(C))i=new T(i.source,0);else if(r.is(Z))for(let e of r.value)e.source==i.source&&(i=e);return i}handleUserEvent(e,t,n){return"delete"!=t&&n.activateOnTyping?new T(this.source,1):this.map(e.changes)}handleChange(e){return e.changes.touchesRange(u(e.startState))?new T(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new T(this.source,this.state,e.mapPos(this.explicitPos))}}class P extends T{constructor(e,t,n,i,r){super(e,2,t),this.result=n,this.from=i,this.to=r}hasResult(){return!0}handleUserEvent(e,t,n){var i;let r=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=u(e.state);if((this.explicitPos<0?a<=r:as||"delete"==t&&u(e.startState)==this.from)return new T(this.source,"input"==t&&n.activateOnTyping?1:0);let l,c=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return function(e,t,n,i){if(!e)return!1;let r=t.sliceDoc(n,i);return"function"==typeof e?e(r,n,i,t):O(e,!0).test(r)}(this.result.validFor,e.state,r,s)?new P(this.source,c,this.result,r,s):this.result.update&&(l=this.result.update(this.result,r,s,new o(e.state,a,c>=0)))?new P(this.source,c,l,l.from,null!==(i=l.to)&&void 0!==i?i:u(e.state)):new T(this.source,1,c)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new T(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new P(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}const R=i.Py.define(),C=i.Py.define(),Z=i.Py.define({map:(e,t)=>e.map((e=>e.map(t)))}),X=i.Py.define(),j=i.QQ.define({create:()=>y.start(),update:(e,t)=>e.update(t),provide:e=>[r.hJ.from(e,(e=>e.tooltip)),r.tk.contentAttributes.from(e,(e=>e.attrs))]});function W(e,t="option"){return n=>{let i=n.state.field(j,!1);if(!i||!i.open||Date.now()-i.open.timestamp-1?i.open.selected+o*(e?1:-1):e?0:a-1;return l<0?l="page"==t?0:a-1:l>=a&&(l="page"==t?a-1:0),n.dispatch({effects:X.of(l)}),!0}}class A{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const q=r.lg.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let t of e.state.field(j).active)1==t.state&&this.startQuery(t)}update(e){let t=e.state.field(j);if(!e.selectionSet&&!e.docChanged&&e.startState.field(j)==t)return;let n=e.transactions.some((e=>(e.selection||e.docChanged)&&!w(e)));for(let s=0;s50&&Date.now()-t.time>1e3){for(let e of t.context.abortListeners)try{e()}catch(i){(0,r.OO)(this.view.state,i)}t.context.abortListeners=null,this.running.splice(s--,1)}else t.updates.push(...e.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=t.active.some((e=>1==e.state&&!this.running.some((t=>t.active.source==e.source))))?setTimeout((()=>this.startUpdate()),50):-1,0!=this.composing)for(let r of e.transactions)"input"==w(r)?this.composing=2:2==this.composing&&r.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:e}=this.view,t=e.field(j);for(let n of t.active)1!=n.state||this.running.some((e=>e.active.source==n.source))||this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=u(t),i=new o(t,n,e.explicitPos==n),s=new A(e,i);this.running.push(s),Promise.resolve(e.source(i)).then((e=>{s.context.aborted||(s.done=e||null,this.scheduleAccept())}),(e=>{this.view.dispatch({effects:C.of(null)}),(0,r.OO)(this.view.state,e)}))}scheduleAccept(){this.running.every((e=>void 0!==e.done))?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout((()=>this.accept()),50))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(g);for(let i=0;ie.source==r.active.source));if(s&&1==s.state)if(null==r.done){let e=new T(r.active.source,0);for(let t of r.updates)e=e.update(t,n);1!=e.state&&t.push(e)}else this.startQuery(s)}t.length&&this.view.dispatch({effects:Z.of(t)})}},{eventHandlers:{blur(){let e=this.view.state.field(j,!1);e&&e.tooltip&&this.view.state.facet(g).closeOnBlur&&this.view.dispatch({effects:C.of(null)})},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({effects:R.of(!1)})),20),this.composing=0}}}),_=r.tk.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",listStyle:"none",margin:0,padding:0,"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer",padding:"1px 3px",lineHeight:1.2}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xb7\xb7\xb7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25cb'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25cc'"}},".cm-completionIcon-variable":{"&:after":{content:"'\ud835\udc65'"}},".cm-completionIcon-constant":{"&:after":{content:"'\ud835\udc36'"}},".cm-completionIcon-type":{"&:after":{content:"'\ud835\udc61'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222a'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25a1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\ud83d\udd11\ufe0e'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25a2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class z{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class I{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,i.gc.TrackDel),n=e.mapPos(this.to,1,i.gc.TrackDel);return null==t||null==n?null:new I(this.field,t,n)}}class E{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],r=e.doc.lineAt(t),o=/^\s*/.exec(r.text)[0];for(let l of this.lines){if(n.length){let n=o,r=/^\t*/.exec(l)[0].length;for(let t=0;tnew I(e.field,i[e.line]+e.from,i[e.line]+e.to)));return{text:n,ranges:a}}static parse(e){let t,n=[],i=[],r=[];for(let s of e.split(/\r\n?|\n/)){for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let e=t[1]?+t[1]:null,o=t[2]||t[3]||"",a=-1;for(let t=0;t=a&&e.field++}r.push(new z(a,i.length,t.index,t.index+o.length)),s=s.slice(0,t.index)+o+s.slice(t.index+t[0].length)}for(let e;e=/([$#])\\{/.exec(s);){s=s.slice(0,e.index)+e[1]+"{"+s.slice(e.index+e[0].length);for(let t of r)t.line==i.length&&t.from>e.index&&(t.from--,t.to--)}i.push(s)}return new E(i,r)}}let G=r.p.widget({widget:new class extends r.l9{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),L=r.p.mark({class:"cm-snippetField"});class D{constructor(e,t){this.ranges=e,this.active=t,this.deco=r.p.set(e.map((e=>(e.from==e.to?G:L).range(e.from,e.to))))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new D(t,this.active)}selectionInsideField(e){return e.ranges.every((e=>this.ranges.some((t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))))}}const N=i.Py.define({map:(e,t)=>e&&e.map(t)}),U=i.Py.define(),M=i.QQ.define({create:()=>null,update(e,t){for(let n of t.effects){if(n.is(N))return n.value;if(n.is(U)&&e)return new D(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>r.tk.decorations.from(e,(e=>e?e.deco:r.p.none))});function J(e,t){return i.jT.create(e.filter((e=>e.field==t)).map((e=>i.jT.range(e.from,e.to))))}function V(e){let t=E.parse(e);return(e,n,r,s)=>{let{text:o,ranges:a}=t.instantiate(e.state,r),l={changes:{from:r,to:s,insert:i.xv.of(o)},scrollIntoView:!0};if(a.length&&(l.selection=J(a,0)),a.length>1){let t=new D(a,0),n=l.effects=[N.of(t)];void 0===e.state.field(M,!1)&&n.push(i.Py.appendConfig.of([M,H,ee,_]))}e.dispatch(e.state.update(l))}}function B(e){return({state:t,dispatch:n})=>{let i=t.field(M,!1);if(!i||e<0&&0==i.active)return!1;let r=i.active+e,s=e>0&&!i.ranges.some((t=>t.field==r+e));return n(t.update({selection:J(i.ranges,r),effects:N.of(s?null:new D(i.ranges,r))})),!0}}const Y=[{key:"Tab",run:B(1),shift:B(-1)},{key:"Escape",run:({state:e,dispatch:t})=>!!e.field(M,!1)&&(t(e.update({effects:N.of(null)})),!0)}],F=i.r$.define({combine:e=>e.length?e[0]:Y}),H=i.Wl.highest(r.$f.compute([F],(e=>e.facet(F))));function K(e,t){return Object.assign(Object.assign({},t),{apply:V(e)})}const ee=r.tk.domEventHandlers({mousedown(e,t){let n,i=t.state.field(M,!1);if(!i||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let r=i.ranges.find((e=>e.from<=n&&e.to>=n));return!(!r||r.field==i.active)&&(t.dispatch({selection:J(i.ranges,r.field),effects:N.of(i.ranges.some((e=>e.field>r.field))?new D(i.ranges,r.field):null)}),!0)}});const te={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ne=i.Py.define({map(e,t){let n=t.mapPos(e,-1,i.gc.TrackAfter);return null==n?void 0:n}}),ie=i.Py.define({map:(e,t)=>t.mapPos(e)}),re=new class extends i.uU{};re.startSide=1,re.endSide=-1;const se=i.QQ.define({create:()=>i.Xs.empty,update(e,t){if(t.selection){let n=t.state.doc.lineAt(t.selection.main.head).from,r=t.startState.doc.lineAt(t.startState.selection.main.head).from;n!=t.changes.mapPos(r,-1)&&(e=i.Xs.empty)}e=e.map(t.changes);for(let n of t.effects)n.is(ne)?e=e.update({add:[re.range(n.value,n.value+1)]}):n.is(ie)&&(e=e.update({filter:e=>e!=n.value}));return e}});function oe(){return[ue,se]}const ae="()[]{}<>";function le(e){for(let t=0;t{if((he?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let s=e.state.selection.main;if(r.length>2||2==r.length&&1==(0,i.nZ)((0,i.gm)(r,0))||t!=s.from||n!=s.to)return!1;let o=function(e,t){let n=ce(e,e.selection.main.head),r=n.brackets||te.brackets;for(let s of r){let o=le((0,i.gm)(s,0));if(t==s)return o==s?ge(e,s,r.indexOf(s+s+s)>-1,n):pe(e,s,o,n.before||te.before);if(t==o&&fe(e,e.selection.main.from))return me(e,s,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)})),Oe=[{key:"Backspace",run:({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=ce(e,e.selection.main.head).brackets||te.brackets,r=null,s=e.changeByRange((t=>{if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t);return(0,i.nZ)((0,i.gm)(n,0))==n.length?n:n.slice(1)}(e.doc,t.head);for(let s of n)if(s==r&&de(e.doc,t.head)==le((0,i.gm)(s,0)))return{changes:{from:t.head-s.length,to:t.head+s.length},range:i.jT.cursor(t.head-s.length)}}return{range:r=t}}));return r||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!r}}];function fe(e,t){let n=!1;return e.field(se).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}function de(e,t){let n=e.sliceString(t,t+2);return n.slice(0,(0,i.nZ)((0,i.gm)(n,0)))}function pe(e,t,n,r){let s=null,o=e.changeByRange((o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:n,from:o.to}],effects:ne.of(o.to+t.length),range:i.jT.range(o.anchor+t.length,o.head+t.length)};let a=de(e.doc,o.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:t+n,from:o.head},effects:ne.of(o.head+t.length),range:i.jT.cursor(o.head+t.length)}:{range:s=o}}));return s?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function me(e,t,n){let r=null,s=e.selection.ranges.map((t=>t.empty&&de(e.doc,t.head)==n?i.jT.cursor(t.head+n.length):r=t));return r?null:e.update({selection:i.jT.create(s,e.selection.mainIndex),scrollIntoView:!0,effects:e.selection.ranges.map((({from:e})=>ie.of(e)))})}function ge(e,t,n,r){let o=r.stringPrefixes||te.stringPrefixes,a=null,l=e.changeByRange((r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:ne.of(r.to+t.length),range:i.jT.range(r.anchor+t.length,r.head+t.length)};let l,c=r.head,h=de(e.doc,c);if(h==t){if(Qe(e,c))return{changes:{insert:t+t,from:c},effects:ne.of(c+t.length),range:i.jT.cursor(c+t.length)};if(fe(e,c)){let r=n&&e.sliceDoc(c,c+3*t.length)==t+t+t;return{range:i.jT.cursor(c+t.length*(r?3:1)),effects:ie.of(c)}}}else{if(n&&e.sliceDoc(c-2*t.length,c)==t+t&&(l=be(e,c-2*t.length,o))>-1&&Qe(e,l))return{changes:{insert:t+t+t+t,from:c},effects:ne.of(c+t.length),range:i.jT.cursor(c+t.length)};if(e.charCategorizer(c)(h)!=i.D0.Word&&be(e,c,o)>-1&&!function(e,t,n,i){let r=(0,s.qz)(e).resolveInner(t,-1),o=i.reduce(((e,t)=>Math.max(e,t.length)),0);for(let s=0;s<5;s++){let s=e.sliceDoc(r.from,Math.min(r.to,r.from+n.length+o)),a=s.indexOf(n);if(!a||a>-1&&i.indexOf(s.slice(0,a))>-1){let t=r.firstChild;for(;t&&t.from==r.from&&t.to-t.from>n.length+a;){if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}let l=r.to==t&&r.parent;if(!l)break;r=l}return!1}(e,c,t,o))return{changes:{insert:t+t,from:c},effects:ne.of(c+t.length),range:i.jT.cursor(c+t.length)}}return{range:a=r}}));return a?null:e.update(l,{scrollIntoView:!0,userEvent:"input.type"})}function Qe(e,t){let n=(0,s.qz)(e).resolveInner(t+1);return n.parent&&n.from==t}function be(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=i.D0.Word)return t;for(let s of n){let n=t-s.length;if(e.sliceDoc(n,t)==s&&r(e.sliceDoc(n-1,n))!=i.D0.Word)return n}return-1}function xe(e={}){return[j,g.of(e),q,ye,_]}const ke=[{key:"Ctrl-Space",run:e=>!!e.state.field(j,!1)&&(e.dispatch({effects:R.of(!0)}),!0)},{key:"Escape",run:e=>{let t=e.state.field(j,!1);return!(!t||!t.active.some((e=>0!=e.state)))&&(e.dispatch({effects:C.of(null)}),!0)}},{key:"ArrowDown",run:W(!0)},{key:"ArrowUp",run:W(!1)},{key:"PageDown",run:W(!0,"page")},{key:"PageUp",run:W(!1,"page")},{key:"Enter",run:e=>{let t=e.state.field(j,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||Date.now()-t.open.timestampe.facet(g).defaultKeymap?[ke]:[])))},61426:function(e,t,n){"use strict";n.r(t),n.d(t,{css:function(){return $},cssCompletionSource:function(){return y},cssLanguage:function(){return v}});var i=n(53105),r=n(35524);const s=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function o(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}const a=new i.Jq(((e,t)=>{for(let i=!1,r=0,s=0;;s++){let{next:a}=e;if(!(o(a)||45==a||95==a||i&&(n=a,n>=48&&n<=57))){i&&e.acceptToken(40==a?94:2==r&&t.canShift(2)?2:95);break}!i&&(45!=a||s>0)&&(i=!0),r===s&&45==a&&r++,e.advance()}var n})),l=new i.Jq((e=>{if(s.includes(e.peek(-1))){let{next:t}=e;(o(t)||95==t||35==t||46==t||91==t||58==t||45==t)&&e.acceptToken(93)}})),c=new i.Jq((e=>{if(!s.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),o(t)){do{e.advance()}while(o(e.next));e.acceptToken(1)}}})),h=(0,r.Gv)({"AtKeyword import charset namespace keyframes media supports":r.pJ.definitionKeyword,"from to selector":r.pJ.keyword,NamespaceName:r.pJ.namespace,KeyframeName:r.pJ.labelName,TagName:r.pJ.tagName,ClassName:r.pJ.className,PseudoClassName:r.pJ.constant(r.pJ.className),IdName:r.pJ.labelName,"FeatureName PropertyName":r.pJ.propertyName,AttributeName:r.pJ.attributeName,NumberLiteral:r.pJ.number,KeywordQuery:r.pJ.keyword,UnaryQueryOp:r.pJ.operatorKeyword,"CallTag ValueName":r.pJ.atom,VariableName:r.pJ.variableName,Callee:r.pJ.operatorKeyword,Unit:r.pJ.unit,"UniversalSelector NestingSelector":r.pJ.definitionOperator,MatchOp:r.pJ.compareOperator,"ChildOp SiblingOp, LogicOp":r.pJ.logicOperator,BinOp:r.pJ.arithmeticOperator,Important:r.pJ.modifier,Comment:r.pJ.blockComment,ParenthesizedContent:r.pJ.special(r.pJ.name),ColorLiteral:r.pJ.color,StringLiteral:r.pJ.string,":":r.pJ.punctuation,"PseudoOp #":r.pJ.derefOperator,"; ,":r.pJ.separator,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace}),u={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},O={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},f={__proto__:null,not:128,only:128,from:158,to:160},d=i.WQ.deserialize({version:14,states:"7WOYQ[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO!ZQ[O'#CfO!}QXO'#CaO#UQ[O'#ChO#aQ[O'#DPO#fQ[O'#DTOOQP'#Ec'#EcO#kQdO'#DeO$VQ[O'#DrO#kQdO'#DtO$hQ[O'#DvO$sQ[O'#DyO$xQ[O'#EPO%WQ[O'#EROOQS'#Eb'#EbOOQS'#ES'#ESQYQ[OOOOQP'#Cg'#CgOOQP,59Q,59QO!ZQ[O,59QO%_Q[O'#EVO%yQWO,58{O&RQ[O,59SO#aQ[O,59kO#fQ[O,59oO%_Q[O,59sO%_Q[O,59uO%_Q[O,59vO'bQ[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO'iQWO,59SO'nQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO'sQ`O,59oOOQS'#Cp'#CpO#kQdO'#CqO'{QvO'#CsO)VQtO,5:POOQO'#Cx'#CxO'nQWO'#CwO)kQWO'#CyOOQS'#Ef'#EfOOQO'#Dh'#DhO)pQ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Q%Q!Q![7_![!g%Q!g!h5z!h#X%Q#X#Y5z#Y~%QX<_S]POy%Qz![%Q![!]RUOy%Qz!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX>lY!YPoWOy%Qz}%Q}!O>e!O!Q%Q!Q![>e![!c%Q!c!}>e!}#T%Q#T#o>e#o~%QX?aQxPOy%Qz~%Q^?lQvUOy%Qz~%QX?uSOy%Qz#b%Q#b#c@R#c~%QX@WSoWOy%Qz#W%Q#W#X@d#X~%QX@kQ!`PoWOy%Qz~%QX@tSOy%Qz#f%Q#f#g@d#g~%QXAVQ!RPOy%Qz~%Q_AbQ!QVOy%Qz~%QZAmS!PPOy%Qz!_%Q!_!`2e!`~%Q",tokenizers:[l,c,a,0,1,2,3],topRules:{StyleSheet:[0,4]},specialized:[{term:94,get:e=>u[e]||-1},{term:56,get:e=>O[e]||-1},{term:95,get:e=>f[e]||-1}],tokenPrec:1078});var p=n(59119);let m=null;function g(){if(!m&&"object"==typeof document&&document.body){let e=[];for(let t in document.body.style)/[A-Z]|^-|^(item|length)$/.test(t)||e.push(t);m=e.sort().map((e=>({type:"property",label:e})))}return m||[]}const Q=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map((e=>({type:"class",label:e}))),b=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map((e=>({type:"keyword",label:e}))).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map((e=>({type:"constant",label:e})))),x=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map((e=>({type:"type",label:e}))),k=/^[\w-]*/,y=e=>{let{state:t,pos:n}=e,i=(0,p.qz)(t).resolveInner(n,-1);if("PropertyName"==i.name)return{from:i.from,options:g(),validFor:k};if("ValueName"==i.name)return{from:i.from,options:b,validFor:k};if("PseudoClassName"==i.name)return{from:i.from,options:Q,validFor:k};if("TagName"==i.name){for(let{parent:e}=i;e;e=e.parent)if("Block"==e.name)return{from:i.from,options:g(),validFor:k};return{from:i.from,options:x,validFor:k}}if(!e.explicit)return null;let r=i.resolve(n),s=r.childBefore(n);return s&&":"==s.name&&"PseudoClassSelector"==r.name?{from:n,options:Q,validFor:k}:s&&":"==s.name&&"Declaration"==r.name||"ArgList"==r.name?{from:n,options:b,validFor:k}:"Block"==r.name?{from:n,options:g(),validFor:k}:null},v=p.qp.define({name:"css",parser:d.configure({props:[p.uj.add({Declaration:(0,p.tC)()}),p.x0.add({Block:p.Dv})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function $(){return new p.ri(v,v.data.of({autocomplete:y}))}},13804:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return ne},html:function(){return te},htmlCompletionSource:function(){return H},htmlCompletionSourceWith:function(){return K},htmlLanguage:function(){return ee}});var i=n(53105),r=n(35524),s=n(41113);const o={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},a={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},l={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function c(e){return 9==e||10==e||13==e||32==e}let h=null,u=null,O=0;function f(e,t){let n=e.pos+t;if(O==n&&u==e)return h;let i=e.peek(t);for(;c(i);)i=e.peek(++t);let r="";for(;45==(s=i)||46==s||58==s||s>=65&&s<=90||95==s||s>=97&&s<=122||s>=161;)r+=String.fromCharCode(i),i=e.peek(++t);var s;return u=e,O=n,h=r?r.toLowerCase():i==d||i==p?void 0:null}const d=63,p=33;function m(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let n=0;ng.indexOf(t)>-1?new m(f(i,1)||"",e):e,reduce:(e,t)=>18==t&&e?e.parent:e,reuse(e,t,n,i){let r=t.type.id;return 4==r||35==r?new m(f(i,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),b=new i.Jq(((e,t)=>{if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(56));e.advance();let n=47==e.next;n&&e.advance();let i=f(e,0);if(void 0===i)return;if(!i)return e.acceptToken(n?12:4);let r=t.context?t.context.name:null;if(n){if(i==r)return e.acceptToken(9);if(r&&a[r])return e.acceptToken(56,-2);if(t.dialectEnabled(0))return e.acceptToken(10);for(let e=t.context;e;e=e.parent)if(e.name==i)return;e.acceptToken(11)}else{if("script"==i)return e.acceptToken(5);if("style"==i)return e.acceptToken(6);if("textarea"==i)return e.acceptToken(7);if(o.hasOwnProperty(i))return e.acceptToken(8);r&&l[r]&&l[r][i]?e.acceptToken(56,-1):e.acceptToken(4)}}),{contextual:!0}),x=new i.Jq((e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(57);break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>3&&e.acceptToken(57,-2);break}t=0}e.advance()}}));function k(e,t,n){let r=2+e.length;return new i.Jq((i=>{for(let s=0,o=0,a=0;;a++){if(i.next<0){a&&i.acceptToken(t);break}if(0==s&&60==i.next||1==s&&47==i.next||s>=2&&so?i.acceptToken(t,-o):i.acceptToken(n,-(o-2));break}if((10==i.next||13==i.next)&&a){i.acceptToken(t,1);break}s=o=0}else o++;i.advance()}}))}const y=k("script",53,1),v=k("style",54,2),$=k("textarea",55,3),S=(0,r.Gv)({"Text RawText":r.pJ.content,"StartTag StartCloseTag SelfCloserEndTag EndTag SelfCloseEndTag":r.pJ.angleBracket,TagName:r.pJ.tagName,"MismatchedCloseTag/TagName":[r.pJ.tagName,r.pJ.invalid],AttributeName:r.pJ.attributeName,"AttributeValue UnquotedAttributeValue":r.pJ.attributeValue,Is:r.pJ.definitionOperator,"EntityReference CharacterReference":r.pJ.character,Comment:r.pJ.blockComment,ProcessingInst:r.pJ.processingInstruction,DoctypeDecl:r.pJ.documentMeta}),w=i.WQ.deserialize({version:14,states:",xOVOxOOO!WQ!bO'#CoO!]Q!bO'#CyO!bQ!bO'#C|O!gQ!bO'#DPO!lQ!bO'#DRO!qOXO'#CnO!|OYO'#CnO#XO[O'#CnO$eOxO'#CnOOOW'#Cn'#CnO$lO!rO'#DSO$tQ!bO'#DUO$yQ!bO'#DVOOOW'#Dj'#DjOOOW'#DX'#DXQVOxOOO%OQ#tO,59ZO%WQ#tO,59eO%`Q#tO,59hO%hQ#tO,59kO%pQ#tO,59mOOOX'#D]'#D]O%xOXO'#CwO&TOXO,59YOOOY'#D^'#D^O&]OYO'#CzO&hOYO,59YOOO['#D_'#D_O&pO[O'#C}O&{O[O,59YOOOW'#D`'#D`O'TOxO,59YO'[Q!bO'#DQOOOW,59Y,59YOOO`'#Da'#DaO'aO!rO,59nOOOW,59n,59nO'iQ!bO,59pO'nQ!bO,59qOOOW-E7V-E7VO'sQ#tO'#CqOOQO'#DY'#DYO(OQ#tO1G.uOOOX1G.u1G.uO(WQ#tO1G/POOOY1G/P1G/PO(`Q#tO1G/SOOO[1G/S1G/SO(hQ#tO1G/VOOOW1G/V1G/VO(pQ#tO1G/XOOOW1G/X1G/XOOOX-E7Z-E7ZO(xQ!bO'#CxOOOW1G.t1G.tOOOY-E7[-E7[O(}Q!bO'#C{OOO[-E7]-E7]O)SQ!bO'#DOOOOW-E7^-E7^O)XQ!bO,59lOOO`-E7_-E7_OOOW1G/Y1G/YOOOW1G/[1G/[OOOW1G/]1G/]O)^Q&jO,59]OOQO-E7W-E7WOOOX7+$a7+$aOOOY7+$k7+$kOOO[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Q{aQ}bQ!PcQ!RdQ!TeZ!e{}!P!R!TQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26a0 StartCloseTag StartCloseTag StartCloseTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue EndTag ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:66,context:Q,nodeProps:[["closedBy",-11,1,2,3,4,5,6,7,8,9,10,11,"EndTag",-4,19,29,32,35,"CloseTag"],["group",-9,12,15,16,17,18,38,39,40,41,"Entity",14,"Entity TextContent",-3,27,30,33,"TextContent Entity"],["openedBy",26,"StartTag StartCloseTag",-4,28,31,34,36,"OpenTag"]],propSources:[S],skippedNodes:[0],repeatNodeCount:9,tokenData:"!#b!aR!WOX$kXY)sYZ)sZ]$k]^)s^p$kpq)sqr$krs*zsv$kvw+dwx2yx}$k}!O3f!O!P$k!P!Q7_!Q![$k![!]8u!]!^$k!^!_>b!_!`!!p!`!a8T!a!c$k!c!}8u!}#R$k#R#S8u#S#T$k#T#o8u#o$f$k$f$g&R$g%W$k%W%o8u%o%p$k%p&a8u&a&b$k&b1p8u1p4U$k4U4d8u4d4e$k4e$IS8u$IS$I`$k$I`$Ib8u$Ib$Kh$k$Kh%#t8u%#t&/x$k&/x&Et8u&Et&FV$k&FV;'S8u;'S;:jiW!``!bpOq(kqr?Rrs'gsv(kwx(]x!a(k!a!bKj!b~(k!R?YZ!``!bpOr(krs'gsv(kwx(]x}(k}!O?{!O!f(k!f!gAR!g#W(k#W#XGz#X~(k!R@SV!``!bpOr(krs'gsv(kwx(]x}(k}!O@i!O~(k!R@rT!``!bp!cPOr(krs'gsv(kwx(]x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kj!R!!aT!``!bpwPOr(krs'gsv(kwx(]x~(k!V!!{VgS^P!``!bpOr&Rrs&qsv&Rwx'rx!^&R!^!_(k!_~&R",tokenizers:[y,v,$,b,x,0,1,2,3,4,5],topRules:{Document:[0,13]},dialects:{noMatch:0},tokenPrec:476});function T(e,t){let n=Object.create(null);for(let i of e.firstChild.getChildren("Attribute")){let e=i.getChild("AttributeName"),r=i.getChild("AttributeValue")||i.getChild("UnquotedAttributeValue");e&&(n[t.read(e.from,e.to)]=r?"AttributeValue"==r.name?t.read(r.from+1,r.to-1):t.read(r.from,r.to):"")}return n}function P(e,t,n){let i;for(let r of n)if(!r.attrs||r.attrs(i||(i=T(e.node.parent,t))))return{parser:r.parser};return null}function R(e){let t=[],n=[],i=[];for(let r of e){let e="script"==r.tag?t:"style"==r.tag?n:"textarea"==r.tag?i:null;if(!e)throw new RangeError("Only script, style, and textarea tags can host nested parsers");e.push(r)}return(0,s.FE)(((e,r)=>{let s=e.type.id;return 27==s?P(e,r,t):30==s?P(e,r,n):33==s?P(e,r,i):null}))}var C=n(61426),Z=n(58037),X=n(47421),j=n(78120),W=n(59119);const A=["_blank","_self","_top","_parent"],q=["ascii","utf-8","utf-16","latin1","latin1"],_=["get","post","put","delete"],z=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],I=["true","false"],E={},G={a:{attrs:{href:null,ping:null,type:null,media:null,target:A,hreflang:null}},abbr:E,address:E,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:E,aside:E,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:E,base:{attrs:{href:null,target:A}},bdi:E,bdo:E,blockquote:{attrs:{cite:null}},body:E,br:E,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:z,formmethod:_,formnovalidate:["novalidate"],formtarget:A,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:E,center:E,cite:E,code:E,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:E,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:E,div:E,dl:E,dt:E,em:E,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:E,figure:E,footer:E,form:{attrs:{action:null,name:null,"accept-charset":q,autocomplete:["on","off"],enctype:z,method:_,novalidate:["novalidate"],target:A}},h1:E,h2:E,h3:E,h4:E,h5:E,h6:E,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:E,hgroup:E,hr:E,html:{attrs:{manifest:null}},i:E,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:z,formmethod:_,formnovalidate:["novalidate"],formtarget:A,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:E,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:E,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:E,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:q,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:E,noscript:E,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:E,param:{attrs:{name:null,value:null}},pre:E,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:E,rt:E,ruby:E,samp:E,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:q}},section:E,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:E,source:{attrs:{src:null,type:null,media:null}},span:E,strong:E,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:E,summary:E,sup:E,table:E,tbody:E,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:E,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:E,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:E,time:{attrs:{datetime:null}},title:E,tr:E,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:E,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:E},L={accesskey:null,class:null,contenteditable:I,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:I,autocorrect:I,autocapitalize:I,style:null,tabindex:null,title:null,translate:["yes","no"],onclick:null,rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":I,"aria-autocomplete":["inline","list","both","none"],"aria-busy":I,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":I,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":I,"aria-hidden":I,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":I,"aria-multiselectable":I,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":I,"aria-relevant":null,"aria-required":I,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null};class D{constructor(e,t){this.tags=Object.assign(Object.assign({},G),e),this.globalAttrs=Object.assign(Object.assign({},L),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}function N(e,t,n=e.length){if(!t)return"";let i=t.firstChild,r=i&&i.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,n)):""}function U(e,t=!1){for(let n=e.parent;n;n=n.parent)if("Element"==n.name){if(!t)return n;t=!1}return null}function M(e,t,n){let i=n.tags[N(e,U(t,!0))];return(null===i||void 0===i?void 0:i.children)||n.allTags}function J(e,t){let n=[];for(let i=t;i=U(i);){let r=N(e,i);if(r&&"CloseTag"==i.lastChild.name)break;r&&n.indexOf(r)<0&&("EndTag"==t.name||t.from>=i.firstChild.to)&&n.push(r)}return n}D.default=new D;const V=/^[:\-\.\w\u00b7-\uffff]*$/;function B(e,t,n,i,r){let s=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:i,to:r,options:M(e.doc,n,t).map((e=>({label:e,type:"type"}))).concat(J(e.doc,n).map(((e,t)=>({label:"/"+e,apply:"/"+e+s,type:"type",boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Y(e,t,n,i){let r=/\s*>/.test(e.sliceDoc(i,i+5))?"":">";return{from:n,to:i,options:J(e.doc,t).map(((e,t)=>({label:e,apply:e+r,type:"type",boost:99-t}))),validFor:V}}function F(e,t){let{state:n,pos:i}=t,r=(0,W.qz)(n).resolveInner(i),s=r.resolve(i,-1);for(let o,a=i;r==s&&(o=s.childBefore(a));){let e=o.lastChild;if(!e||!e.type.isError||e.from({label:e,type:"property"}))),validFor:V}}(n,e,s,"AttributeName"==s.name?s.from:i,i):"Is"==s.name||"AttributeValue"==s.name||"UnquotedAttributeValue"==s.name?function(e,t,n,i,r){var s;let o,a=null===(s=n.parent)||void 0===s?void 0:s.getChild("AttributeName"),l=[];if(a){let s=e.sliceDoc(a.from,a.to),c=t.globalAttrs[s];if(!c){let i=U(n),r=i?t.tags[N(e.doc,i)]:null;c=(null===r||void 0===r?void 0:r.attrs)&&r.attrs[s]}if(c){let t=e.sliceDoc(i,r).toLowerCase(),n='"',s='"';/^['"]/.test(t)?(o='"'==t[0]?/^[^"]*$/:/^[^']*$/,n="",s=e.sliceDoc(r,r+1)==t[0]?"":t[0],t=t.slice(1),i++):o=/^[^\s<>='"]*$/;for(let e of c)l.push({label:e,apply:n+e+s,type:"constant"})}}return{from:i,to:r,options:l,validFor:o}}(n,e,s,"Is"==s.name?i:s.from,i):!t.explicit||"Element"!=r.name&&"Text"!=r.name&&"Document"!=r.name?null:function(e,t,n,i){let r=[],s=0;for(let o of M(e.doc,n,t))r.push({label:"<"+o,type:"type"});for(let o of J(e.doc,n))r.push({label:"",type:"type",boost:99-s++});return{from:i,to:i,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(n,e,s,i)}function H(e){return F(D.default,e)}function K(e){let{extraTags:t,extraGlobalAttributes:n}=e,i=n||t?new D(t,n):D.default;return e=>F(i,e)}const ee=W.qp.define({name:"html",parser:w.configure({props:[W.uj.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:Z.javascriptLanguage.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:C.cssLanguage.parser}])}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}});function te(e={}){let t=ee;return!1===e.matchClosingTags&&(t=t.configure({dialect:"noMatch"})),new W.ri(t,[ee.data.of({autocomplete:K(e)}),!1!==e.autoCloseTags?ne:[],(0,Z.javascript)().support,(0,C.css)().support])}const ne=X.tk.inputHandler.of(((e,t,n,i)=>{if(e.composing||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!ee.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange((t=>{var n,s,o;let a,{head:l}=t,c=(0,W.qz)(r).resolveInner(l,-1);if("TagName"!=c.name&&"StartTag"!=c.name||(c=c.parent),">"==i&&"OpenTag"==c.name){if("CloseTag"!=(null===(s=null===(n=c.parent)||void 0===n?void 0:n.lastChild)||void 0===s?void 0:s.name)&&(a=N(r.doc,c.parent,l))){let t=">"===e.state.doc.sliceString(l,l+1),n=`${t?"":">"}`;return{range:j.jT.cursor(l+1),changes:{from:l+(t?1:0),insert:n}}}}else if("/"==i&&"OpenTag"==c.name){let t=c.parent,n=null===t||void 0===t?void 0:t.parent;if(t.from==l-1&&"CloseTag"!=(null===(o=n.lastChild)||void 0===o?void 0:o.name)&&(a=N(r.doc,n,l))){let t=">"===e.state.doc.sliceString(l,l+1),n=`/${a}${t?"":">"}`,i=l+n.length+(t?1:0);return{range:j.jT.cursor(i),changes:{from:l,insert:n}}}}return{range:t}}));return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}))},58037:function(e,t,n){"use strict";n.r(t),n.d(t,{autoCloseTags:function(){return N},completionPath:function(){return W},esLint:function(){return U},javascript:function(){return G},javascriptLanguage:function(){return q},jsxLanguage:function(){return z},localCompletionSource:function(){return X},scopeCompletionSource:function(){return A},snippets:function(){return v},tsxLanguage:function(){return I},typescriptLanguage:function(){return _}});var i=n(53105),r=n(35524);const s=282,o=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],a=new i.IK({start:!1,shift:(e,t)=>5==t||6==t||286==t?e:287==t,strict:!1}),l=new i.Jq(((e,t)=>{let{next:n}=e;(125==n||-1==n||t.context)&&t.canShift(284)&&e.acceptToken(284)}),{contextual:!0,fallback:!0}),c=new i.Jq(((e,t)=>{let n,{next:i}=e;o.indexOf(i)>-1||(47!=i||47!=(n=e.peek(1))&&42!=n)&&125!=i&&59!=i&&-1!=i&&!t.context&&t.canShift(281)&&e.acceptToken(281)}),{contextual:!0}),h=new i.Jq(((e,t)=>{let{next:n}=e;if((43==n||45==n)&&(e.advance(),n==e.next)){e.advance();let n=!t.context&&t.canShift(2);e.acceptToken(n?2:3)}}),{contextual:!0}),u=new i.Jq((e=>{for(let t=!1,n=0;;n++){let{next:i}=e;if(i<0){n&&e.acceptToken(s);break}if(96==i){n?e.acceptToken(s):e.acceptToken(283,1);break}if(123==i&&t){1==n?e.acceptToken(4,1):e.acceptToken(s,-1);break}if(10==i&&n){e.advance(),e.acceptToken(s);break}92==i&&e.advance(),t=36==i,e.advance()}})),O=new i.Jq(((e,t)=>{if(101==e.next&&t.dialectEnabled(1)){e.advance();for(let t=0;t<6;t++){if(e.next!="xtends".charCodeAt(t))return;e.advance()}e.next>=57&&e.next<=65||e.next>=48&&e.next<=90||95==e.next||e.next>=97&&e.next<=122||e.next>160||e.acceptToken(1)}})),f=(0,r.Gv)({"get set async static":r.pJ.modifier,"for while do if else switch try catch finally return throw break continue default case":r.pJ.controlKeyword,"in of await yield void typeof delete instanceof":r.pJ.operatorKeyword,"let var const function class extends":r.pJ.definitionKeyword,"import export from":r.pJ.moduleKeyword,"with debugger as new":r.pJ.keyword,TemplateString:r.pJ.special(r.pJ.string),super:r.pJ.atom,BooleanLiteral:r.pJ.bool,this:r.pJ.self,null:r.pJ.null,Star:r.pJ.modifier,VariableName:r.pJ.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":r.pJ.function(r.pJ.variableName),VariableDefinition:r.pJ.definition(r.pJ.variableName),Label:r.pJ.labelName,PropertyName:r.pJ.propertyName,PrivatePropertyName:r.pJ.special(r.pJ.propertyName),"CallExpression/MemberExpression/PropertyName":r.pJ.function(r.pJ.propertyName),"FunctionDeclaration/VariableDefinition":r.pJ.function(r.pJ.definition(r.pJ.variableName)),"ClassDeclaration/VariableDefinition":r.pJ.definition(r.pJ.className),PropertyDefinition:r.pJ.definition(r.pJ.propertyName),PrivatePropertyDefinition:r.pJ.definition(r.pJ.special(r.pJ.propertyName)),UpdateOp:r.pJ.updateOperator,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,Number:r.pJ.number,String:r.pJ.string,ArithOp:r.pJ.arithmeticOperator,LogicOp:r.pJ.logicOperator,BitOp:r.pJ.bitwiseOperator,CompareOp:r.pJ.compareOperator,RegExp:r.pJ.regexp,Equals:r.pJ.definitionOperator,Arrow:r.pJ.function(r.pJ.punctuation),": Spread":r.pJ.punctuation,"( )":r.pJ.paren,"[ ]":r.pJ.squareBracket,"{ }":r.pJ.brace,"InterpolationStart InterpolationEnd":r.pJ.special(r.pJ.brace),".":r.pJ.derefOperator,", ;":r.pJ.separator,TypeName:r.pJ.typeName,TypeDefinition:r.pJ.definition(r.pJ.typeName),"type enum interface implements namespace module declare":r.pJ.definitionKeyword,"abstract global Privacy readonly override":r.pJ.modifier,"is keyof unique infer":r.pJ.operatorKeyword,JSXAttributeValue:r.pJ.attributeValue,JSXText:r.pJ.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":r.pJ.angleBracket,"JSXIdentifier JSXNameSpacedName":r.pJ.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":r.pJ.attributeName}),d={__proto__:null,export:18,as:23,from:29,default:32,async:37,function:38,this:48,true:56,false:56,void:66,typeof:70,null:86,super:88,new:122,await:139,yield:141,delete:142,class:152,extends:154,public:197,private:197,protected:197,readonly:199,instanceof:220,in:222,const:224,import:256,keyof:307,unique:311,infer:317,is:351,abstract:371,implements:373,type:375,let:378,var:380,interface:387,enum:391,namespace:397,module:399,declare:403,global:407,for:428,of:437,while:440,with:444,do:448,if:452,else:454,switch:458,case:464,try:470,catch:474,finally:478,return:482,throw:486,break:490,continue:494,debugger:498},p={__proto__:null,async:109,get:111,set:113,public:161,private:161,protected:161,static:163,abstract:165,override:167,readonly:173,new:355},m={__proto__:null,"<":129},g=i.WQ.deserialize({version:14,states:"$8SO`QdOOO'QQ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#]Q'g#bQ'k#eW'u#k'w,m1XQ)p$nS+R%x+TS+^&W/{Q+g&_Q,O&pQ,^&}Q,d'RQ,g9^Q,i9`Q,w(RQ-x)VQ/v+XQ/y+[Q0i,PQ0s,bQ0w9cQ0x9eQ0y9fQ0z9gQ0{9hQ0|9iQ0}9jQ1O9kQ1P9lQ1Q9mQ1R9nQ1S9oQ1T,hQ1W9sQ1]9pQ2O-zQ2[.]Q3s:QQ3v0TQ4W0jQ4[0tQ4]:RQ4b:TQ4c:_Q5`2qQ6S3qQ6V3xQ6b:`Q6f:gQ6g:hQ7g6WQ7z6{Q8Z7jQ8m8]Q8y8oQ9_!WR:|;aR!aRR&Y!bS&U!b+`S+]&V&^R0Q+fR'P!yR'S!zT!tU$ZS!sU$ZU$xrs*mS&s!r!uQ,T&tQ,W&wQ.l)zS0k,S,UR4X0l`!dR!]!`$u%x&`)x+hh!qUrs!r!u$Z&t&w)z,S,U0lQ/d*mQ/w+YQ3p/oT:s&W)yT!gR$uS!fR$uS%y!]&`S&O!`)xS+S%x+hT+_&W)yT&]!b$vQ#i^R'{#nT'q#i'rR1Z,lT(a#v(cR(i#yQ-})]Q2U.RQ2|.{Q4{2TQ5l3QQ6t4}Q7U5kQ7y6zQ8S7WR8i8TlhOSj}!n$]%c%f%g%i*o*t/g/jQ%]yR*d%YV$yrs*mR.u*TR*c%WQ$qpR)u$rR)k$lT%az%dT%bz%dT/i*t/j",nodeNames:"\u26a0 extends ArithOp ArithOp InterpolationStart LineComment BlockComment Script ExportDeclaration export Star as VariableName String from ; default FunctionDeclaration async function VariableDefinition TypeParamList TypeDefinition ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Interpolation null super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression await yield delete LogicOp BitOp ParenthesizedExpression ClassExpression class extends ClassBody MethodDeclaration Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression PrivatePropertyName BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody MethodDeclaration AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement",maxTerm:332,context:a,nodeProps:[["closedBy",4,"InterpolationEnd",40,"]",51,"}",66,")",132,"JSXSelfCloseEndTag JSXEndTag",146,"JSXEndTag"],["group",-26,8,15,17,58,184,188,191,192,194,197,200,211,213,219,221,223,225,228,234,240,242,244,246,248,250,251,"Statement",-30,12,13,24,27,28,41,43,44,45,47,52,60,68,74,75,91,92,101,103,119,122,124,125,126,127,129,130,148,149,151,"Expression",-22,23,25,29,32,34,152,154,156,157,159,160,161,163,164,165,167,168,169,178,180,182,183,"Type",-3,79,85,90,"ClassItem"],["openedBy",30,"InterpolationStart",46,"[",50,"{",65,"(",131,"JSXStartTag",141,"JSXStartTag JSXStartCloseTag"]],propSources:[f],skippedNodes:[0,5,6],repeatNodeCount:28,tokenData:"!C}~R!`OX%TXY%cYZ'RZ[%c[]%T]^'R^p%Tpq%cqr'crs(kst0htu2`uv4pvw5ewx6cxyk|}?O}!O>k!O!P?`!P!QCl!Q!R!0[!R![!1q![!]!7s!]!^!8V!^!_!8g!_!`!9d!`!a!:[!a!b!U#R#S2`#S#T!>i#T#o2`#o#p!>y#p#q!?O#q#r!?f#r#s!?x#s$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$I|2`$I|$I}!Bq$I}$JO!Bq$JO$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`W%YR$UWO!^%T!_#o%T#p~%T7Z%jg$UW'Y7ROX%TXY%cYZ%TZ[%c[p%Tpq%cq!^%T!_#o%T#p$f%T$f$g%c$g#BY%T#BY#BZ%c#BZ$IS%T$IS$I_%c$I_$JT%T$JT$JU%c$JU$KV%T$KV$KW%c$KW&FU%T&FU&FV%c&FV?HT%T?HT?HU%c?HU~%T7Z'YR$UW'Z7RO!^%T!_#o%T#p~%T$T'jS$UW!j#{O!^%T!_!`'v!`#o%T#p~%T$O'}S#e#v$UWO!^%T!_!`(Z!`#o%T#p~%T$O(bR#e#v$UWO!^%T!_#o%T#p~%T)X(rZ$UW]#eOY(kYZ)eZr(krs*rs!^(k!^!_+U!_#O(k#O#P-b#P#o(k#o#p+U#p~(k&r)jV$UWOr)ers*Ps!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q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$f%T$f$g%c$g#BY2`#BY#BZ!@Y#BZ$IS2`$IS$I_!@Y$I_$JT2`$JT$JU!@Y$JU$KV2`$KV$KW!@Y$KW&FU2`&FU&FV!@Y&FV?HT2`?HT?HU!@Y?HU~2`7Z!CO_$UW'Z7R#zS']$y'g3SOt%Ttu2`u}%T}!O3j!O!Q%T!Q![2`![!^%T!_!c%T!c!}2`!}#R%T#R#S2`#S#T%T#T#o2`#p$g%T$g~2`",tokenizers:[O,c,h,u,0,1,2,3,4,5,6,7,8,9,l],topRules:{Script:[0,7]},dialects:{jsx:12107,ts:12109},dynamicPrecedences:{149:1,176:1},specialized:[{term:289,get:e=>d[e]||-1},{term:299,get:e=>p[e]||-1},{term:63,get:e=>m[e]||-1}],tokenPrec:12130});var Q=n(59119),b=n(78120),x=n(47421),k=n(34790),y=n(41113);const v=[(0,k.Gn)("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),(0,k.Gn)("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),(0,k.Gn)("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),(0,k.Gn)("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),(0,k.Gn)("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),(0,k.Gn)("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),(0,k.Gn)("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),(0,k.Gn)("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),(0,k.Gn)("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),(0,k.Gn)('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),(0,k.Gn)('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],$=new y.hr,S=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function w(e){return(t,n)=>{let i=t.node.getChild("VariableDefinition");return i&&n(i,e),!0}}const T=["FunctionDeclaration"],P={FunctionDeclaration:w("function"),ClassDeclaration:w("class"),ClassExpression:()=>!0,EnumDeclaration:w("constant"),TypeAliasDeclaration:w("type"),NamespaceDeclaration:w("namespace"),VariableDefinition(e,t){e.matchContext(T)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function R(e,t){let n=$.get(t);if(n)return n;let i=[],r=!0;function s(t,n){let r=e.sliceString(t.from,t.to);i.push({label:r,type:n})}return t.cursor(y.vj.IncludeAnonymous).iterate((t=>{if(r)r=!1;else if(t.name){let e=P[t.name];if(e&&e(t,s)||S.has(t.name))return!1}else if(t.to-t.from>8192){for(let n of R(e,t.node))i.push(n);return!1}})),$.set(t,i),i}const C=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Z=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName"];function X(e){let t=(0,Q.qz)(e.state).resolveInner(e.pos,-1);if(Z.indexOf(t.name)>-1)return null;let n="VariableName"==t.name||t.to-t.from<20&&C.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let i=[];for(let r=t;r;r=r.parent)S.has(r.name)&&(i=i.concat(R(e.state.doc,r)));return{options:i,from:n?t.from:e.pos,validFor:C}}function j(e,t,n){var i;let r=[];for(;;){let s,o=t.firstChild;if("VariableName"==(null===o||void 0===o?void 0:o.name))return r.push(e(o)),{path:r.reverse(),name:n};if("MemberExpression"!=(null===o||void 0===o?void 0:o.name)||"PropertyName"!=(null===(i=s=o.lastChild)||void 0===i?void 0:i.name))return null;r.push(e(s)),t=o}}function W(e){let t=t=>e.state.doc.sliceString(t.from,t.to),n=(0,Q.qz)(e.state).resolveInner(e.pos,-1);return"PropertyName"==n.name?j(t,n.parent,t(n)):Z.indexOf(n.name)>-1?null:"VariableName"==n.name||n.to-n.from<20&&C.test(t(n))?{path:[],name:t(n)}:"."!=n.name&&"?."!=n.name||"MemberExpression"!=n.parent.name?"MemberExpression"==n.name?j(t,n,""):e.explicit?{path:[],name:""}:null:j(t,n.parent,"")}function A(e){let t=new Map;return n=>{let i=W(n);if(!i)return null;let r=e;for(let e of i.path)if(r=r[e],!r)return null;let s=t.get(r);return s||t.set(r,s=function(e,t){let n=[],i=new Set;for(let s=0;;s++){for(let a of(Object.getOwnPropertyNames||Object.keys)(e)){if(i.has(a))continue;let o;i.add(a);try{o=e[a]}catch(r){continue}n.push({label:a,type:"function"==typeof o?/^[A-Z]/.test(a)?"class":t?"function":"method":t?"variable":"property",boost:-s})}let o=Object.getPrototypeOf(e);if(!o)return n;e=o}}(r,!i.path.length)),{from:n.pos-i.name.length,options:s,validFor:C}}}const q=Q.qp.define({name:"javascript",parser:g.configure({props:[Q.uj.add({IfStatement:(0,Q.tC)({except:/^\s*({|else\b)/}),TryStatement:(0,Q.tC)({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Q.ze,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),i=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:i?1:2)*e.unit},Block:(0,Q.vw)({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":(0,Q.tC)({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),Q.x0.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression":Q.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),_=q.configure({dialect:"ts"},"typescript"),z=q.configure({dialect:"jsx"}),I=q.configure({dialect:"jsx ts"},"typescript"),E="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map((e=>({label:e,type:"keyword"})));function G(e={}){let t=e.jsx?e.typescript?I:z:e.typescript?_:q;return new Q.ri(t,[q.data.of({autocomplete:(0,k.eC)(Z,(0,k.Mb)(v.concat(E)))}),q.data.of({autocomplete:X}),e.jsx?N:[]])}function L(e,t,n=e.length){if(!t)return"";let i=t.getChild("JSXIdentifier");return i?e.sliceString(i.from,Math.min(i.to,n)):""}const D="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),N=x.tk.inputHandler.of(((e,t,n,i)=>{if((D?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=i&&"/"!=i||!q.isActiveAt(e.state,t,-1))return!1;let{state:r}=e,s=r.changeByRange((e=>{var t,n,s;let o,{head:a}=e,l=(0,Q.qz)(r).resolveInner(a,-1);if("JSXStartTag"==l.name&&(l=l.parent),">"==i&&"JSXFragmentTag"==l.name)return{range:b.jT.cursor(a+1),changes:{from:a,insert:"><>"}};if(">"==i&&"JSXIdentifier"==l.name){if("JSXEndTag"!=(null===(n=null===(t=l.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(o=L(r.doc,l.parent,a)))return{range:b.jT.cursor(a+1),changes:{from:a,insert:`>`}}}else if("/"==i&&"JSXFragmentTag"==l.name){let e=l.parent,t=null===e||void 0===e?void 0:e.parent;if(e.from==a-1&&"JSXEndTag"!=(null===(s=t.lastChild)||void 0===s?void 0:s.name)&&(o=L(r.doc,null===t||void 0===t?void 0:t.firstChild,a))){let e=`/${o}>`;return{range:b.jT.cursor(a+e.length),changes:{from:a,insert:e}}}}return{range:e}}));return!s.changes.empty&&(e.dispatch(s,{userEvent:"input.type",scrollIntoView:!0}),!0)}));function U(e,t){return t||(t={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},e.getRules().forEach(((e,n)=>{e.meta.docs.recommended&&(t.rules[n]=2)}))),n=>{let{state:i}=n,r=[];for(let{from:s,to:o}of q.findRegions(i)){let n=i.doc.lineAt(s),a={line:n.number-1,col:s-n.from,pos:s};for(let l of e.verify(i.sliceDoc(s,o),t))r.push(J(l,i.doc,a))}return r}}function M(e,t,n,i){return n.line(e+i.line).from+t+(1==e?i.col-1:-1)}function J(e,t,n){let i=M(e.line,e.column,t,n),r={from:i,to:null!=e.endLine&&1!=e.endColumn?M(e.endLine,e.endColumn,t,n):i,message:e.message,source:e.ruleId?"eslint:"+e.ruleId:"eslint",severity:1==e.severity?"warning":"error"};if(e.fix){let{range:t,text:s}=e.fix,o=t[0]+n.pos-i,a=t[1]+n.pos-i;r.actions=[{name:"fix",apply(e,t){e.dispatch({changes:{from:t+o,to:t+a,insert:s},scrollIntoView:!0})}}]}return r}},48825:function(e,t,n){"use strict";n.r(t),n.d(t,{commonmarkLanguage:function(){return je},deleteMarkupBackward:function(){return Le},insertNewlineContinueMarkup:function(){return Ee},markdown:function(){return Ue},markdownKeymap:function(){return De},markdownLanguage:function(){return We}});var i,r=n(78120),s=n(47421),o=n(59119),a=n(41113),l=n(35524);class c{constructor(e,t,n,i,r,s,o){this.type=e,this.value=t,this.from=n,this.hash=i,this.end=r,this.children=s,this.positions=o,this.hashProp=[[a.md.contextHash,i]]}static create(e,t,n,i,r){return new c(e,t,n,i+(i<<8)+e+(t<<4)|0,r,[],[])}addChild(e,t){e.prop(a.md.contextHash)!=this.hash&&(e=new a.mp(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(t)}toTree(e,t=this.end){let n=this.children.length-1;return n>=0&&(t=Math.max(t,this.positions[n]+this.children[n].length+this.from)),new a.mp(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,n)=>new a.mp(a.Jq.none,e,t,n,this.hashProp)})}}!function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.URL=33]="URL",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel"}(i||(i={}));class h{constructor(e,t){this.start=e,this.content=t,this.marks=[],this.parsers=[]}}class u{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return p(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,n=0){for(let i=t;i=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==i.OrderedList?y:k)(n,t,!1);return r>0&&(e.type!=i.BulletList||b(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}const f={[i.Blockquote]:(e,t,n)=>62==n.next&&(n.markers.push(Y(i.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(d(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0),[i.ListItem]:(e,t,n)=>!(n.indent-1)&&(n.moveBaseColumn(n.baseIndent+e.value),!0),[i.OrderedList]:O,[i.BulletList]:O,[i.Document]:()=>!0};function d(e){return 32==e||9==e||10==e||13==e}function p(e,t=0){for(;tn&&d(e.charCodeAt(t-1));)t--;return t}function g(e){if(96!=e.next&&126!=e.next)return-1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length||i<3?-1:1}function x(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function k(e,t,n){return 45!=e.next&&43!=e.next&&42!=e.next||e.pos!=e.text.length-1&&!d(e.text.charCodeAt(e.pos+1))||!(!n||x(t,i.BulletList)||e.skipSpace(e.pos+2)=48&&s<=57;){if(r++,r==e.text.length)return-1;s=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||46!=s&&41!=s||re.pos+1||49!=e.next)?-1:r+1-e.pos}function v(e){if(35!=e.next)return-1;let t=e.pos+1;for(;t6?-1:n}function $(e){if(45!=e.next&&61!=e.next||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t/,T=/\?>/,P=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(r);if(o)return e.append(Y(i.Comment,n,n+1+o[0].length));let a=/^\?[^]*?\?>/.exec(r);if(a)return e.append(Y(i.ProcessingInstruction,n,n+1+a[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return l?e.append(Y(i.HTMLTag,n,n+1+l[0].length)):-1},Emphasis(e,t,n){if(95!=t&&42!=t)return-1;let i=n+1;for(;e.char(i)==t;)i++;let r=e.slice(n-1,n),s=e.slice(i,i+1),o=ie.test(r),a=ie.test(s),l=/\s|^$/.test(r),c=/\s|^$/.test(s),h=!c&&(!a||l||o),u=!l&&(!o||c||a),O=h&&(42==t||!u||o),f=u&&(42==t||!h||a);return e.append(new te(95==t?F:H,n,i,(O?1:0)|(f?2:0)))},HardBreak(e,t,n){if(92==t&&10==e.char(n+1))return e.append(Y(i.HardBreak,n,n+2));if(32==t){let t=n+1;for(;32==e.char(t);)t++;if(10==e.char(t)&&t>=n+2)return e.append(Y(i.HardBreak,n,t+1))}return-1},Link:(e,t,n)=>91==t?e.append(new te(K,n,n+1,1)):-1,Image:(e,t,n)=>33==t&&91==e.char(n+1)?e.append(new te(ee,n,n+2,1)):-1,LinkEnd(e,t,n){if(93!=t)return-1;for(let r=e.parts.length-1;r>=0;r--){let t=e.parts[r];if(t instanceof te&&(t.type==K||t.type==ee)){if(!t.side||e.skipSpace(t.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;let s=e.takeContent(r),o=e.parts[r]=se(e,s,t.type==K?i.Link:i.Image,t.from,n+1);if(t.type==K)for(let t=0;tt?Y(i.URL,t+n,s+n):s==e.length&&null}}function ae(e,t,n){let r=e.charCodeAt(t);if(39!=r&&34!=r&&40!=r)return!1;let s=40==r?41:r;for(let o=t+1,a=!1;o=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,n,i,r){return this.append(new te(e,t,n,(i?1:0)|(r?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;o--){let e=this.parts[o];if(e instanceof te&&1&e.side&&e.type==t.type&&!(r&&(1&t.side||2&e.side)&&(e.to-e.from+s)%3==0&&((e.to-e.from)%3||s%3))){i=e;break}}if(!i)continue;let a=t.type.resolve,l=[],c=i.from,h=t.to;if(r){let e=Math.min(2,i.to-i.from,s);c=i.to-e,h=t.from+e,a=1==e?"Emphasis":"StrongEmphasis"}i.type.mark&&l.push(this.elt(i.type.mark,c,i.to));for(let e=o+1;e=0;t--){let n=this.parts[t];if(n instanceof te&&n.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return p(this.text,e-this.offset)+this.offset}elt(e,t,n,i){return"string"==typeof e?Y(this.parser.getNodeType(e),t,n,i):new B(e,t)}}function he(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),i=0;for(let r of t){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let e=this.fragment.to;for(;e>0&&"\n"!=this.input.read(e-1,e);)e--;this.fragmentEnd=e?e-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let i=e+this.fragment.offset;for(;n.to<=i;)if(!n.parent())return!1;for(;;){if(n.from>=i)return this.fragment.from<=t;if(!n.childAfter(i))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(a.md.contextHash)==e}takeNodes(e){let t=this.cursor,n=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,s=r,o=e.block.children.length,a=s,l=o;for(;;){if(t.to-n>i){if(t.type.isAnonymous&&t.firstChild())continue;break}if(e.dontInject.add(t.tree),e.addNode(t.tree,t.from-n),t.type.is("Block")&&(ue.indexOf(t.type.id)<0?(s=t.to-n,o=e.block.children.length):(s=a,o=l,a=t.to-n,l=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>o;)e.block.children.pop(),e.block.positions.pop();return s-r}}const fe=(0,l.Gv)({"Blockquote/...":l.pJ.quote,HorizontalRule:l.pJ.contentSeparator,"ATXHeading1/... SetextHeading1/...":l.pJ.heading1,"ATXHeading2/... SetextHeading2/...":l.pJ.heading2,"ATXHeading3/...":l.pJ.heading3,"ATXHeading4/...":l.pJ.heading4,"ATXHeading5/...":l.pJ.heading5,"ATXHeading6/...":l.pJ.heading6,"Comment CommentBlock":l.pJ.comment,Escape:l.pJ.escape,Entity:l.pJ.character,"Emphasis/...":l.pJ.emphasis,"StrongEmphasis/...":l.pJ.strong,"Link/... Image/...":l.pJ.link,"OrderedList/... BulletList/...":l.pJ.list,"BlockQuote/...":l.pJ.quote,"InlineCode CodeText":l.pJ.monospace,URL:l.pJ.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":l.pJ.processingInstruction,"CodeInfo LinkLabel":l.pJ.labelName,LinkTitle:l.pJ.string,Paragraph:l.pJ.content}),de=new G(new a.Lj(U).extend(fe),Object.keys(X).map((e=>X[e])),Object.keys(X).map((e=>q[e])),Object.keys(X),_,f,Object.keys(re).map((e=>re[e])),Object.keys(re),[]);function pe(e,t,n){let i=[];for(let r=e.firstChild,s=t;;r=r.nextSibling){let e=r?r.from:n;if(e>s&&i.push({from:s,to:e}),!r)break;s=r.to}return i}const me={resolve:"Strikethrough",mark:"StrikethroughMark"},ge={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":l.pJ.strikethrough}},{name:"StrikethroughMark",style:l.pJ.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(126!=t||126!=e.char(n+1)||126==e.char(n+2))return-1;let i=e.slice(n-1,n),r=e.slice(n+2,n+3),s=/\s|^$/.test(i),o=/\s|^$/.test(r),a=ie.test(i),l=ie.test(r);return e.addDelimiter(me,n,n+2,!o&&(!l||s||a),!s&&(!a||o||l))},after:"Emphasis"}]};function Qe(e,t,n=0,i,r=0){let s=0,o=!0,a=-1,l=-1,c=!1,h=()=>{i.push(e.elt("TableCell",r+a,r+l,e.parser.parseInline(t.slice(a,l),r+a)))};for(let u=n;u-1)&&s++,o=!1,i&&(a>-1&&h(),i.push(e.elt("TableDelimiter",u+r,u+r+1))),a=l=-1),c=!c&&92==n}return a>-1&&(s++,i&&h()),s}function be(e,t){for(let n=t;nbe(t.content,0)?new ke:null,endLeaf(e,t,n){if(n.parsers.some((e=>e instanceof ke))||!be(t.text,t.basePos))return!1;let i=e.scanLine(e.absoluteLineEnd+1).text;return xe.test(i)&&Qe(e,t.text,t.basePos)==Qe(e,i,t.basePos)},before:"SetextHeading"}]};class ve{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const $e=[ye,{defineNodes:[{name:"Task",block:!0,style:l.pJ.list},{name:"TaskMarker",style:l.pJ.atom}],parseBlock:[{name:"TaskList",leaf:(e,t)=>/^\[[ xX]\]/.test(t.content)&&"ListItem"==e.parentType().name?new ve:null,after:"SetextHeading"}]},ge];function Se(e,t,n){return(i,r,s)=>{if(r!=e||i.char(s+1)==e)return-1;let o=[i.elt(n,s,s+1)];for(let a=s+1;a{if(e.is("Block")&&!e.is("Document"))return(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})),o.uj.add({Document:()=>null}),o.pp.add({Document:Ce})]});function Xe(e){return new o.SQ(Ce,e,[],"markdown")}const je=Xe(Ze),We=Xe(Ze.configure([$e,Te,we,Pe]));function Ae(e,t){return t.sliceString(e.from,e.from+50)}class qe{constructor(e,t,n,i,r,s,o){this.node=e,this.from=t,this.to=n,this.spaceBefore=i,this.spaceAfter=r,this.type=s,this.item=o}blank(e=!0){let t=this.spaceBefore;if("Blockquote"==this.node.name)t+=">";else for(let n=this.to-this.from-t.length-this.spaceAfter.length;n>0;n--)t+=" ";return t+(e?this.spaceAfter:"")}marker(e,t){let n="OrderedList"==this.node.name?String(+ze(this.item,e)[2]+t):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function _e(e,t,n){let i=[];for(let o=e;o&&"Document"!=o.name;o=o.parent)"ListItem"!=o.name&&"Blockquote"!=o.name&&"FencedCode"!=o.name||i.push(o);let r=[],s=0;for(let o=i.length-1;o>=0;o--){let e,a=i[o],l=s;if("FencedCode"==a.name)r.push(new qe(a,s,s,"","","",null));else if("Blockquote"==a.name&&(e=/^[ \t]*>( ?)/.exec(t.slice(s))))s+=e[0].length,r.push(new qe(a,l,s,"",e[1],">",null));else if("ListItem"==a.name&&"OrderedList"==a.parent.name&&(e=/^([ \t]*)\d+([.)])([ \t]*)/.exec(Ae(a,n)))){let t=e[3],n=e[0].length;t.length>=4&&(t=t.slice(0,t.length-4),n-=4),s+=n,r.push(new qe(a.parent,l,s,e[1],t,e[2],a))}else if("ListItem"==a.name&&"BulletList"==a.parent.name&&(e=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(Ae(a,n)))){let t=e[4],n=e[0].length;t.length>4&&(t=t.slice(0,t.length-4),n-=4);let i=e[2];e[3]&&(i+=e[3].replace(/[xX]/," ")),s+=n,r.push(new qe(a.parent,l,s,e[1],t,i,a))}}return r}function ze(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Ie(e,t,n,i=0){for(let r=-1,s=e;;){if("ListItem"==s.name){let e=ze(s,t),o=+e[2];if(r>=0){if(o!=r+1)return;n.push({from:s.from+e[1].length,to:s.from+e[0].length,insert:String(r+2+i)})}r=o}let e=s.nextSibling;if(!e)break;s=e}}const Ee=({state:e,dispatch:t})=>{let n=(0,o.qz)(e),{doc:i}=e,s=null,a=e.changeByRange((t=>{if(!t.empty||!We.isActiveAt(e,t.from))return s={range:t};let o=t.from,a=i.lineAt(o),l=_e(n.resolveInner(o,-1),a.text,i);for(;l.length&&l[l.length-1].from>o-a.from;)l.pop();if(!l.length)return s={range:t};let c=l[l.length-1];if(c.to-c.spaceAfter.length>o-a.from)return s={range:t};let h=o>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){if(c.node.firstChild.to>=o||a.from>0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let e,t=l.length>1?l[l.length-2]:null,n="";t&&t.item?(e=a.from+t.from,n=t.marker(i,1)):e=a.from+(t?t.to:0);let s=[{from:e,to:o,insert:n}];return"OrderedList"==c.node.name&&Ie(c.item,i,s,-2),t&&"OrderedList"==t.node.name&&Ie(t.item,i,s),{range:r.jT.cursor(e+n.length),changes:s}}{let t="";for(let e=0,n=l.length-2;e<=n;e++)t+=l[e].blank(e\s*$/.exec(n.text);if(r&&r.index==c.from){let i=e.changes([{from:n.from+r.index,to:n.to},{from:a.from+c.from,to:a.to}]);return{range:t.map(i),changes:i}}}let u=[];"OrderedList"==c.node.name&&Ie(c.item,i,u);let O=e.lineBreak,f=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let e=0,n=l.length-1;e<=n;e++)O+=e!=n||f?l[e].blank():l[e].marker(i,1);let d=o;for(;d>a.from&&/\s/.test(a.text.charAt(d-a.from-1));)d--;return u.push({from:d,to:o,insert:O}),{range:r.jT.cursor(d+O.length),changes:u}}));return!s&&(t(e.update(a,{scrollIntoView:!0,userEvent:"input"})),!0)};function Ge(e){return"QuoteMark"==e.name||"ListMark"==e.name}const Le=({state:e,dispatch:t})=>{let n=(0,o.qz)(e),i=null,s=e.changeByRange((t=>{let s=t.from,{doc:o}=e;if(t.empty&&We.isActiveAt(e,t.from)){let e=o.lineAt(s),i=_e(function(e,t){let n,i=e.resolveInner(t,-1),r=t;for(Ge(i)&&(r=i.from,i=i.parent);n=i.childBefore(r);)if(Ge(n))r=n.from;else{if("OrderedList"!=n.name&&"BulletList"!=n.name)break;i=n.lastChild,r=i.to}return i}(n,s),e.text,o);if(i.length){let n=i[i.length-1],o=n.to-n.spaceAfter.length+(n.spaceAfter?1:0);if(s-e.from>o&&!/\S/.test(e.text.slice(o,s-e.from)))return{range:r.jT.cursor(e.from+o),changes:{from:e.from+o,to:s}};if(s-e.from==o){let i=e.from+n.from;if(n.item&&n.node.from{if(e&&d){let t=null;if(e=/\S*/.exec(e)[0],t="function"==typeof d?d(e):o.c6.matchLanguageName(d,e,!0),t instanceof o.c6)return t.support?t.support.language.parser:o.Be.getSkippingParser(t.load());if(t)return t.parser}return p?p.parser:null}):void 0;var d,p;return u.push(function(e){let{codeParser:t,htmlParser:n}=e,r=(0,a.FE)(((e,r)=>{let s=e.type.id;if(!t||s!=i.CodeBlock&&s!=i.FencedCode){if(n&&(s==i.HTMLBlock||s==i.HTMLTag))return{parser:n,overlay:pe(e.node,e.from,e.to)}}else{let n="";if(s==i.FencedCode){let t=e.node.getChild(i.CodeInfo);t&&(n=r.read(t.from,t.to))}let o=t(n);if(o)return{parser:o,overlay:e=>e.type.id==i.CodeText}}return null}));return{wrap:r}}({codeParser:f,htmlParser:Ne.language.parser})),l&&O.push(r.Wl.high(s.$f.of(De))),new o.ri(Xe(c.configure(u)),O)}},76538:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(59119);function r(e){return new i.ri(i.il.define(e))}function s(e){return n.e(1390).then(n.bind(n,21390)).then((t=>t.sql({dialect:t[e]})))}const o=[i.c6.of({name:"C",extensions:["c","h","ino"],load:()=>n.e(2750).then(n.bind(n,12750)).then((e=>e.cpp()))}),i.c6.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load:()=>n.e(2750).then(n.bind(n,12750)).then((e=>e.cpp()))}),i.c6.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load:()=>s("Cassandra")}),i.c6.of({name:"CSS",extensions:["css"],load:()=>Promise.resolve().then(n.bind(n,61426)).then((e=>e.css()))}),i.c6.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load:()=>Promise.resolve().then(n.bind(n,13804)).then((e=>e.html()))}),i.c6.of({name:"Java",extensions:["java"],load:()=>n.e(4778).then(n.bind(n,44778)).then((e=>e.java()))}),i.c6.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load:()=>Promise.resolve().then(n.bind(n,58037)).then((e=>e.javascript()))}),i.c6.of({name:"JSON",alias:["json5"],extensions:["json","map"],load:()=>n.e(4732).then(n.bind(n,44732)).then((e=>e.json()))}),i.c6.of({name:"JSX",extensions:["jsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then((e=>e.javascript({jsx:!0})))}),i.c6.of({name:"MariaDB SQL",load:()=>s("MariaSQL")}),i.c6.of({name:"Markdown",extensions:["md","markdown","mkd"],load:()=>Promise.resolve().then(n.bind(n,48825)).then((e=>e.markdown()))}),i.c6.of({name:"MS SQL",load:()=>s("MSSQL")}),i.c6.of({name:"MySQL",load:()=>s("MySQL")}),i.c6.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load:()=>n.e(2386).then(n.bind(n,12386)).then((e=>e.php()))}),i.c6.of({name:"PLSQL",extensions:["pls"],load:()=>s("PLSQL")}),i.c6.of({name:"PostgreSQL",load:()=>s("PostgreSQL")}),i.c6.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load:()=>n.e(8088).then(n.bind(n,28088)).then((e=>e.python()))}),i.c6.of({name:"Rust",extensions:["rs"],load:()=>n.e(4920).then(n.bind(n,24920)).then((e=>e.rust()))}),i.c6.of({name:"SQL",extensions:["sql"],load:()=>s("StandardSQL")}),i.c6.of({name:"SQLite",load:()=>s("SQLite")}),i.c6.of({name:"TSX",extensions:["tsx"],load:()=>Promise.resolve().then(n.bind(n,58037)).then((e=>e.javascript({jsx:!0,typescript:!0})))}),i.c6.of({name:"TypeScript",alias:["ts"],extensions:["ts"],load:()=>Promise.resolve().then(n.bind(n,58037)).then((e=>e.javascript({typescript:!0})))}),i.c6.of({name:"WebAssembly",extensions:["wat","wast"],load:()=>n.e(9972).then(n.bind(n,9972)).then((e=>e.wast()))}),i.c6.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load:()=>n.e(5122).then(n.bind(n,5122)).then((e=>e.xml()))}),i.c6.of({name:"APL",extensions:["dyalog","apl"],load:()=>n.e(870).then(n.bind(n,90870)).then((e=>r(e.apl)))}),i.c6.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load:()=>n.e(8029).then(n.bind(n,58029)).then((e=>r(e.asciiArmor)))}),i.c6.of({name:"ASN.1",extensions:["asn","asn1"],load:()=>n.e(3203).then(n.bind(n,93203)).then((e=>r(e.asn1({}))))}),i.c6.of({name:"Asterisk",filename:/^extensions\.conf$/i,load:()=>n.e(5648).then(n.bind(n,15648)).then((e=>r(e.asterisk)))}),i.c6.of({name:"Brainfuck",extensions:["b","bf"],load:()=>n.e(2675).then(n.bind(n,2675)).then((e=>r(e.brainfuck)))}),i.c6.of({name:"Cobol",extensions:["cob","cpy"],load:()=>n.e(8915).then(n.bind(n,68915)).then((e=>r(e.cobol)))}),i.c6.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.csharp)))}),i.c6.of({name:"Clojure",extensions:["clj","cljc","cljx"],load:()=>n.e(2406).then(n.bind(n,72406)).then((e=>r(e.clojure)))}),i.c6.of({name:"ClojureScript",extensions:["cljs"],load:()=>n.e(2406).then(n.bind(n,72406)).then((e=>r(e.clojure)))}),i.c6.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load:()=>n.e(2136).then(n.bind(n,62136)).then((e=>r(e.gss)))}),i.c6.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load:()=>n.e(889).then(n.bind(n,70889)).then((e=>r(e.cmake)))}),i.c6.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load:()=>n.e(9558).then(n.bind(n,29558)).then((e=>r(e.coffeeScript)))}),i.c6.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load:()=>n.e(1446).then(n.bind(n,61446)).then((e=>r(e.commonLisp)))}),i.c6.of({name:"Cypher",extensions:["cyp","cypher"],load:()=>n.e(673).then(n.bind(n,20673)).then((e=>r(e.cypher)))}),i.c6.of({name:"Cython",extensions:["pyx","pxd","pxi"],load:()=>n.e(4323).then(n.bind(n,74323)).then((e=>r(e.cython)))}),i.c6.of({name:"Crystal",extensions:["cr"],load:()=>n.e(2602).then(n.bind(n,62602)).then((e=>r(e.crystal)))}),i.c6.of({name:"D",extensions:["d"],load:()=>n.e(1660).then(n.bind(n,11660)).then((e=>r(e.d)))}),i.c6.of({name:"Dart",extensions:["dart"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.dart)))}),i.c6.of({name:"diff",extensions:["diff","patch"],load:()=>n.e(7475).then(n.bind(n,87475)).then((e=>r(e.diff)))}),i.c6.of({name:"Dockerfile",filename:/^Dockerfile$/,load:()=>n.e(7047).then(n.bind(n,34812)).then((e=>r(e.dockerFile)))}),i.c6.of({name:"DTD",extensions:["dtd"],load:()=>n.e(6991).then(n.bind(n,76991)).then((e=>r(e.dtd)))}),i.c6.of({name:"Dylan",extensions:["dylan","dyl","intr"],load:()=>n.e(4144).then(n.bind(n,24144)).then((e=>r(e.dylan)))}),i.c6.of({name:"EBNF",load:()=>n.e(2040).then(n.bind(n,82040)).then((e=>r(e.ebnf)))}),i.c6.of({name:"ECL",extensions:["ecl"],load:()=>n.e(7315).then(n.bind(n,37315)).then((e=>r(e.ecl)))}),i.c6.of({name:"edn",extensions:["edn"],load:()=>n.e(2406).then(n.bind(n,72406)).then((e=>r(e.clojure)))}),i.c6.of({name:"Eiffel",extensions:["e"],load:()=>n.e(7525).then(n.bind(n,87525)).then((e=>r(e.eiffel)))}),i.c6.of({name:"Elm",extensions:["elm"],load:()=>n.e(8770).then(n.bind(n,28770)).then((e=>r(e.elm)))}),i.c6.of({name:"Erlang",extensions:["erl"],load:()=>n.e(7590).then(n.bind(n,53482)).then((e=>r(e.erlang)))}),i.c6.of({name:"Esper",load:()=>n.e(9607).then(n.bind(n,54050)).then((e=>r(e.esper)))}),i.c6.of({name:"Factor",extensions:["factor"],load:()=>n.e(7001).then(n.bind(n,87001)).then((e=>r(e.factor)))}),i.c6.of({name:"FCL",load:()=>n.e(7663).then(n.bind(n,77663)).then((e=>r(e.fcl)))}),i.c6.of({name:"Forth",extensions:["forth","fth","4th"],load:()=>n.e(8393).then(n.bind(n,68393)).then((e=>r(e.forth)))}),i.c6.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load:()=>n.e(8283).then(n.bind(n,8283)).then((e=>r(e.fortran)))}),i.c6.of({name:"F#",alias:["fsharp"],extensions:["fs"],load:()=>n.e(6121).then(n.bind(n,96121)).then((e=>r(e.fSharp)))}),i.c6.of({name:"Gas",extensions:["s"],load:()=>n.e(9781).then(n.bind(n,39781)).then((e=>r(e.gas)))}),i.c6.of({name:"Gherkin",extensions:["feature"],load:()=>n.e(2542).then(n.bind(n,2542)).then((e=>r(e.gherkin)))}),i.c6.of({name:"Go",extensions:["go"],load:()=>n.e(8910).then(n.bind(n,48910)).then((e=>r(e.go)))}),i.c6.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load:()=>n.e(3883).then(n.bind(n,23883)).then((e=>r(e.groovy)))}),i.c6.of({name:"Haskell",extensions:["hs"],load:()=>n.e(5372).then(n.bind(n,95372)).then((e=>r(e.haskell)))}),i.c6.of({name:"Haxe",extensions:["hx"],load:()=>n.e(3509).then(n.bind(n,63509)).then((e=>r(e.haxe)))}),i.c6.of({name:"HXML",extensions:["hxml"],load:()=>n.e(3509).then(n.bind(n,63509)).then((e=>r(e.hxml)))}),i.c6.of({name:"HTTP",load:()=>n.e(6395).then(n.bind(n,36395)).then((e=>r(e.http)))}),i.c6.of({name:"IDL",extensions:["pro"],load:()=>n.e(2314).then(n.bind(n,22314)).then((e=>r(e.idl)))}),i.c6.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load:()=>n.e(9296).then(n.bind(n,59296)).then((e=>r(e.jsonld)))}),i.c6.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load:()=>n.e(1084).then(n.bind(n,41084)).then((e=>r(e.jinja2)))}),i.c6.of({name:"Julia",extensions:["jl"],load:()=>n.e(6092).then(n.bind(n,76092)).then((e=>r(e.julia)))}),i.c6.of({name:"Kotlin",extensions:["kt"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.kotlin)))}),i.c6.of({name:"LESS",extensions:["less"],load:()=>n.e(2136).then(n.bind(n,62136)).then((e=>r(e.less)))}),i.c6.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load:()=>n.e(402).then(n.bind(n,60402)).then((e=>r(e.liveScript)))}),i.c6.of({name:"Lua",extensions:["lua"],load:()=>n.e(3519).then(n.bind(n,3519)).then((e=>r(e.lua)))}),i.c6.of({name:"mIRC",extensions:["mrc"],load:()=>n.e(5134).then(n.bind(n,65134)).then((e=>r(e.mirc)))}),i.c6.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load:()=>n.e(7213).then(n.bind(n,37213)).then((e=>r(e.mathematica)))}),i.c6.of({name:"Modelica",extensions:["mo"],load:()=>n.e(305).then(n.bind(n,14630)).then((e=>r(e.modelica)))}),i.c6.of({name:"MUMPS",extensions:["mps"],load:()=>n.e(7988).then(n.bind(n,17988)).then((e=>r(e.mumps)))}),i.c6.of({name:"Mbox",extensions:["mbox"],load:()=>n.e(9121).then(n.bind(n,29121)).then((e=>r(e.mbox)))}),i.c6.of({name:"Nginx",filename:/nginx.*\.conf$/i,load:()=>n.e(8561).then(n.bind(n,78561)).then((e=>r(e.nginx)))}),i.c6.of({name:"NSIS",extensions:["nsh","nsi"],load:()=>n.e(7370).then(n.bind(n,67370)).then((e=>r(e.nsis)))}),i.c6.of({name:"NTriples",extensions:["nt","nq"],load:()=>n.e(3314).then(n.bind(n,43314)).then((e=>r(e.ntriples)))}),i.c6.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.objectiveC)))}),i.c6.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.objectiveCpp)))}),i.c6.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load:()=>n.e(6121).then(n.bind(n,96121)).then((e=>r(e.oCaml)))}),i.c6.of({name:"Octave",extensions:["m"],load:()=>n.e(3283).then(n.bind(n,33283)).then((e=>r(e.octave)))}),i.c6.of({name:"Oz",extensions:["oz"],load:()=>n.e(4796).then(n.bind(n,94796)).then((e=>r(e.oz)))}),i.c6.of({name:"Pascal",extensions:["p","pas"],load:()=>n.e(4163).then(n.bind(n,44163)).then((e=>r(e.pascal)))}),i.c6.of({name:"Perl",extensions:["pl","pm"],load:()=>n.e(4293).then(n.bind(n,94293)).then((e=>r(e.perl)))}),i.c6.of({name:"Pig",extensions:["pig"],load:()=>n.e(3482).then(n.bind(n,33482)).then((e=>r(e.pig)))}),i.c6.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load:()=>n.e(7421).then(n.bind(n,37421)).then((e=>r(e.powerShell)))}),i.c6.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load:()=>n.e(9071).then(n.bind(n,69071)).then((e=>r(e.properties)))}),i.c6.of({name:"ProtoBuf",extensions:["proto"],load:()=>n.e(8142).then(n.bind(n,78142)).then((e=>r(e.protobuf)))}),i.c6.of({name:"Puppet",extensions:["pp"],load:()=>n.e(3993).then(n.bind(n,83993)).then((e=>r(e.puppet)))}),i.c6.of({name:"Q",extensions:["q"],load:()=>n.e(228).then(n.bind(n,10228)).then((e=>r(e.q)))}),i.c6.of({name:"R",alias:["rscript"],extensions:["r","R"],load:()=>n.e(7365).then(n.bind(n,57365)).then((e=>r(e.r)))}),i.c6.of({name:"RPM Changes",load:()=>n.e(8171).then(n.bind(n,48171)).then((e=>r(e.rpmChanges)))}),i.c6.of({name:"RPM Spec",extensions:["spec"],load:()=>n.e(8171).then(n.bind(n,48171)).then((e=>r(e.rpmSpec)))}),i.c6.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],load:()=>n.e(4439).then(n.bind(n,24439)).then((e=>r(e.ruby)))}),i.c6.of({name:"SAS",extensions:["sas"],load:()=>n.e(1770).then(n.bind(n,1770)).then((e=>r(e.sas)))}),i.c6.of({name:"Sass",extensions:["sass"],load:()=>n.e(9809).then(n.bind(n,49809)).then((e=>r(e.sass)))}),i.c6.of({name:"Scala",extensions:["scala"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.scala)))}),i.c6.of({name:"Scheme",extensions:["scm","ss"],load:()=>n.e(5879).then(n.bind(n,95879)).then((e=>r(e.scheme)))}),i.c6.of({name:"SCSS",extensions:["scss"],load:()=>n.e(2136).then(n.bind(n,62136)).then((e=>r(e.sCSS)))}),i.c6.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load:()=>n.e(4879).then(n.bind(n,44879)).then((e=>r(e.shell)))}),i.c6.of({name:"Sieve",extensions:["siv","sieve"],load:()=>n.e(9713).then(n.bind(n,9713)).then((e=>r(e.sieve)))}),i.c6.of({name:"Smalltalk",extensions:["st"],load:()=>n.e(1873).then(n.bind(n,11873)).then((e=>r(e.smalltalk)))}),i.c6.of({name:"Solr",load:()=>n.e(7762).then(n.bind(n,17762)).then((e=>r(e.solr)))}),i.c6.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load:()=>n.e(6121).then(n.bind(n,96121)).then((e=>r(e.sml)))}),i.c6.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load:()=>n.e(370).then(n.bind(n,70370)).then((e=>r(e.sparql)))}),i.c6.of({name:"Spreadsheet",alias:["excel","formula"],load:()=>n.e(7601).then(n.bind(n,97601)).then((e=>r(e.spreadsheet)))}),i.c6.of({name:"Squirrel",extensions:["nut"],load:()=>n.e(7917).then(n.bind(n,67917)).then((e=>r(e.squirrel)))}),i.c6.of({name:"Stylus",extensions:["styl"],load:()=>n.e(8007).then(n.bind(n,28007)).then((e=>r(e.stylus)))}),i.c6.of({name:"Swift",extensions:["swift"],load:()=>n.e(6062).then(n.bind(n,66062)).then((e=>r(e.swift)))}),i.c6.of({name:"sTeX",load:()=>n.e(6732).then(n.bind(n,86732)).then((e=>r(e.stex)))}),i.c6.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load:()=>n.e(6732).then(n.bind(n,86732)).then((e=>r(e.stex)))}),i.c6.of({name:"SystemVerilog",extensions:["v","sv","svh"],load:()=>n.e(2119).then(n.bind(n,52119)).then((e=>r(e.verilog)))}),i.c6.of({name:"Tcl",extensions:["tcl"],load:()=>n.e(3465).then(n.bind(n,43465)).then((e=>r(e.tcl)))}),i.c6.of({name:"Textile",extensions:["textile"],load:()=>n.e(177).then(n.bind(n,90177)).then((e=>r(e.textile)))}),i.c6.of({name:"TiddlyWiki",load:()=>n.e(4511).then(n.bind(n,34511)).then((e=>r(e.tiddlyWiki)))}),i.c6.of({name:"Tiki wiki",load:()=>n.e(6471).then(n.bind(n,36471)).then((e=>r(e.tiki)))}),i.c6.of({name:"TOML",extensions:["toml"],load:()=>n.e(6443).then(n.bind(n,96443)).then((e=>r(e.toml)))}),i.c6.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load:()=>n.e(1920).then(n.bind(n,71920)).then((e=>r(e.troff)))}),i.c6.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load:()=>n.e(6665).then(n.bind(n,66665)).then((e=>r(e.ttcn)))}),i.c6.of({name:"TTCN_CFG",extensions:["cfg"],load:()=>n.e(9831).then(n.bind(n,29831)).then((e=>r(e.ttcnCfg)))}),i.c6.of({name:"Turtle",extensions:["ttl"],load:()=>n.e(5815).then(n.bind(n,15815)).then((e=>r(e.turtle)))}),i.c6.of({name:"Web IDL",extensions:["webidl"],load:()=>n.e(6692).then(n.bind(n,26692)).then((e=>r(e.webIDL)))}),i.c6.of({name:"VB.NET",extensions:["vb"],load:()=>n.e(4212).then(n.bind(n,44212)).then((e=>r(e.vb)))}),i.c6.of({name:"VBScript",extensions:["vbs"],load:()=>n.e(1650).then(n.bind(n,31650)).then((e=>r(e.vbScript)))}),i.c6.of({name:"Velocity",extensions:["vtl"],load:()=>n.e(617).then(n.bind(n,90617)).then((e=>r(e.velocity)))}),i.c6.of({name:"Verilog",extensions:["v"],load:()=>n.e(2119).then(n.bind(n,52119)).then((e=>r(e.verilog)))}),i.c6.of({name:"VHDL",extensions:["vhd","vhdl"],load:()=>n.e(5819).then(n.bind(n,5819)).then((e=>r(e.vhdl)))}),i.c6.of({name:"XQuery",extensions:["xy","xquery"],load:()=>n.e(5753).then(n.bind(n,35753)).then((e=>r(e.xQuery)))}),i.c6.of({name:"Yacas",extensions:["ys"],load:()=>n.e(9232).then(n.bind(n,69232)).then((e=>r(e.yacas)))}),i.c6.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load:()=>n.e(5379).then(n.bind(n,82877)).then((e=>r(e.yaml)))}),i.c6.of({name:"Z80",extensions:["z80"],load:()=>n.e(1053).then(n.bind(n,21053)).then((e=>r(e.z80)))}),i.c6.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load:()=>n.e(758).then(n.bind(n,30758)).then((e=>r(e.mscgen)))}),i.c6.of({name:"X\xf9",extensions:["xu"],load:()=>n.e(758).then(n.bind(n,30758)).then((e=>r(e.xu)))}),i.c6.of({name:"MsGenny",extensions:["msgenny"],load:()=>n.e(758).then(n.bind(n,30758)).then((e=>r(e.msgenny)))})]},59119:function(e,t,n){"use strict";n.d(t,{Be:function(){return g},Dv:function(){return U},Gn:function(){return Z},K0:function(){return C},Qf:function(){return Oe},R_:function(){return be},SQ:function(){return u},SS:function(){return R},Um:function(){return Re},c:function(){return T},c6:function(){return S},e7:function(){return ie},il:function(){return We},kU:function(){return h},mi:function(){return he},n$:function(){return Te},nF:function(){return me},nY:function(){return L},pp:function(){return c},qp:function(){return f},qz:function(){return d},ri:function(){return $},tC:function(){return G},uj:function(){return X},vw:function(){return z},x0:function(){return N},y1:function(){return P},ze:function(){return E}});var i,r=n(41113),s=n(78120),o=n(47421),a=n(35524),l=n(28699);const c=new r.md;function h(e){return s.r$.define({combine:e?t=>t.concat(e):void 0})}class u{constructor(e,t,n=[],i=""){this.data=e,this.name=i,s.yy.prototype.hasOwnProperty("tree")||Object.defineProperty(s.yy.prototype,"tree",{get(){return d(this)}}),this.parser=t,this.extension=[v.of(this),s.yy.languageData.of(((e,t,n)=>e.facet(O(e,t,n))))].concat(n)}isActiveAt(e,t,n=-1){return O(e,t,n)==this.data}findRegions(e){let t=e.facet(v);if((null===t||void 0===t?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(e,t)=>{if(e.prop(c)==this.data)return void n.push({from:t,to:t+e.length});let s=e.prop(r.md.mounted);if(s){if(s.tree.prop(c)==this.data){if(s.overlay)for(let e of s.overlay)n.push({from:e.from+t,to:e.to+t});else n.push({from:t,to:t+e.length});return}if(s.overlay){let e=n.length;if(i(s.tree,s.overlay[0].from+t),n.length>e)return}}for(let n=0;ne.isTop?t:void 0))]}),e.name)}configure(e,t){return new f(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function d(e){let t=e.field(u.state,!1);return t?t.tree:r.mp.empty}class p{constructor(e,t=e.length){this.doc=e,this.length=t,this.cursorPos=0,this.string="",this.cursor=e.iter()}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let m=null;class g{constructor(e,t,n=[],i,r,s,o,a){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=r,this.viewport=s,this.skipped=o,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new g(e,t,[],r.mp.empty,0,n,[],null)}startParse(){return this.parser.startParse(new p(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=r.mp.empty&&this.isDone(null!==t&&void 0!==t?t:this.state.doc.length)?(this.takeTree(),!0):this.withContext((()=>{var n;if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||(this.parse=this.startParse()),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext((()=>{for(;!(t=this.parse.advance()););})),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(r.i9.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=m;m=this;try{return e()}finally{m=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Q(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:o,skipped:a}=this;if(this.takeTree(),!e.empty){let t=[];if(e.iterChangedRanges(((e,n,i,r)=>t.push({fromA:e,toA:n,fromB:i,toB:r}))),n=r.i9.applyChanges(n,t),i=r.mp.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){a=[];for(let t of this.skipped){let n=e.mapPos(t.from,1),i=e.mapPos(t.to,-1);ne.from&&(this.fragments=Q(this.fragments,t,i),this.skipped.splice(n--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends r._b{createParse(t,n,i){let s=i[0].from,o=i[i.length-1].to;return{parsedPos:s,advance(){let t=m;if(t){for(let e of i)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new r.mp(r.Jq.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return m}}function Q(e,t,n){return r.i9.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class b{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new b(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=g.create(e.facet(v).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new b(n)}}u.state=s.QQ.define({create:b.init,update(e,t){for(let n of t.effects)if(n.is(u.setState))return n.value;return t.startState.facet(v)!=t.state.facet(v)?b.init(t.state):e.apply(t)}});let x=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)};"undefined"!=typeof requestIdleCallback&&(x=e=>{let t=-1,n=setTimeout((()=>{t=requestIdleCallback(e,{timeout:400})}),100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const k="undefined"!=typeof navigator&&(null===(i=navigator.scheduling)||void 0===i?void 0:i.isInputPending)?()=>navigator.scheduling.isInputPending():null,y=o.lg.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(u.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(u.state);t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=x(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndi+1e3,a=r.context.work((()=>k&&k()||Date.now()>s),i+(o?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(r.context.takeTree(),this.view.dispatch({effects:u.setState.of(new b(r.context))})),this.chunkBudget>0&&(!a||o)&&this.scheduleWork(),this.checkAsyncSchedule(r.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>(0,o.OO)(this.view.state,e))).then((()=>this.workScheduled--)),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),v=s.r$.define({combine:e=>e.length?e[0]:null,enables:e=>[u.state,y,o.tk.contentAttributes.compute([e],(t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]});class ${constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}class S{constructor(e,t,n,i,r,s){this.name=e,this.alias=t,this.extensions=n,this.filename=i,this.loadFunc=r,this.support=s,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then((e=>this.support=e),(e=>{throw this.loading=null,e})))}static of(e){let{load:t,support:n}=e;if(!t){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");t=()=>Promise.resolve(n)}return new S(e.name,(e.alias||[]).concat(e.name).map((e=>e.toLowerCase())),e.extensions||[],e.filename,t,n)}static matchFilename(e,t){for(let i of e)if(i.filename&&i.filename.test(t))return i;let n=/\.([^.]+)$/.exec(t);if(n)for(let i of e)if(i.extensions.indexOf(n[1])>-1)return i;return null}static matchLanguageName(e,t,n=!0){t=t.toLowerCase();for(let i of e)if(i.alias.some((e=>e==t)))return i;if(n)for(let i of e)for(let e of i.alias){let n=t.indexOf(e);if(n>-1&&(e.length>2||!/\w/.test(t[n-1])&&!/\w/.test(t[n+e.length])))return i}return null}}const w=s.r$.define(),T=s.r$.define({combine:e=>{if(!e.length)return" ";if(!/^(?: +|\t+)$/.test(e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return e[0]}});function P(e){let t=e.facet(T);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function R(e,t){let n="",i=e.tabSize;if(9==e.facet(T).charCodeAt(0))for(;t>=i;)n+="\t",t-=i;for(let r=0;r=n.from&&i<=n.to?r&&i==e?{text:"",from:e}:(t<0?i-1&&(r+=s-this.countColumn(n,n.search(/\S|$/))),r}countColumn(e,t=e.length){return(0,s.IS)(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),r=this.options.overrideIndentation;if(r){let e=r(i);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const X=new r.md;function j(e){let t=e.type.prop(X);if(t)return t;let n,i=e.firstChild;if(i&&(n=i.type.prop(r.md.closedBy))){let t=e.lastChild,i=t&&n.indexOf(t.name)>-1;return e=>I(e,!0,1,void 0,i&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?A:null}function W(e,t,n){for(;e;e=e.parent){let i=j(e);if(i)return i(q.create(n,t,e))}return null}function A(){return 0}class q extends Z{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new q(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){let e=this.state.doc.lineAt(this.node.from);for(;;){let t=this.node.resolve(e.from);for(;t.parent&&t.parent.from==t.from;)t=t.parent;if(_(t,this.node))break;e=this.state.doc.lineAt(t.from)}return this.lineIndent(e.from)}continue(){let e=this.node.parent;return e?W(e,this.pos,this.base):0}}function _(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function z({closing:e,align:t=!0,units:n=1}){return i=>I(i,t,n,e)}function I(e,t,n,i,r){let s=e.textAfter,o=s.match(/^\s*/)[0].length,a=i&&s.slice(o,o+i.length)==i||r==e.pos+o,l=t?function(e){let t=e.node,n=t.childAfter(t.from),i=t.lastChild;if(!n)return null;let r=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),o=null==r||r<=s.from?s.to:Math.min(s.to,r);for(let a=n.to;;){let e=t.childAfter(a);if(!e||e==i)return null;if(!e.type.isSkipped)return e.frome.baseIndent;function G({except:e,units:t=1}={}){return n=>{let i=e&&e.test(n.textAfter);return n.baseIndent+(i?0:t*n.unit)}}function L(){return s.yy.transactionFilter.of((e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:i}=e.newSelection.main,r=n.lineAt(i);if(i>r.from+200)return e;let s=n.sliceString(r.from,i);if(!t.some((e=>e.test(s))))return e;let{state:o}=e,a=-1,l=[];for(let{head:c}of o.selection.ranges){let e=o.doc.lineAt(c);if(e.from==a)continue;a=e.from;let t=C(o,e.from);if(null==t)continue;let n=/^\s*/.exec(e.text)[0],i=R(o,t);n!=i&&l.push({from:e.from,to:e.from+n.length,insert:i})}return l.length?[e,{changes:l,sequential:!0}]:e}))}const D=s.r$.define(),N=new r.md;function U(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(r&&s.from=t&&i.to>n&&(r=i)}}return r}(e,t,n)}function V(e,t){let n=t.mapPos(e.from,1),i=t.mapPos(e.to,-1);return n>=i?void 0:{from:n,to:i}}const B=s.Py.define({map:V}),Y=s.Py.define({map:V});function F(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some((e=>e.from<=n&&e.to>=n))||t.push(e.lineBlockAt(n));return t}const H=s.QQ.define({create:()=>o.p.none,update(e,t){e=e.map(t.changes);for(let n of t.effects)n.is(B)&&!ee(e,n.value.from,n.value.to)?e=e.update({add:[ae.range(n.value.from,n.value.to)]}):n.is(Y)&&(e=e.update({filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:i}=t.selection.main;e.between(i,i,((e,t)=>{ei&&(n=!0)})),n&&(e=e.update({filterFrom:i,filterTo:i,filter:(e,t)=>t<=i||e>=i}))}return e},provide:e=>o.tk.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,((e,t)=>{n.push(e,t)})),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!r||r.from>e)&&(r={from:e,to:t})})),r}function ee(e,t,n){let i=!1;return e.between(t,t,((e,r)=>{e==t&&r==n&&(i=!0)})),i}function te(e,t){return e.field(H,!1)?t:t.concat(s.Py.appendConfig.of(oe()))}function ne(e,t,n=!0){let i=e.state.doc.lineAt(t.from).number,r=e.state.doc.lineAt(t.to).number;return o.tk.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${i} ${e.state.phrase("to")} ${r}.`)}const ie=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:e=>{for(let t of F(e)){let n=J(e.state,t.from,t.to);if(n)return e.dispatch({effects:te(e.state,[B.of(n),ne(e,n)])}),!0}return!1}},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:e=>{if(!e.state.field(H,!1))return!1;let t=[];for(let n of F(e)){let i=K(e.state,n.from,n.to);i&&t.push(Y.of(i),ne(e,i,!1))}return t.length&&e.dispatch({effects:t}),t.length>0}},{key:"Ctrl-Alt-[",run:e=>{let{state:t}=e,n=[];for(let i=0;i{let t=e.state.field(H,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,((e,t)=>{n.push(Y.of({from:e,to:t}))})),e.dispatch({effects:n}),!0}}],re={placeholderDOM:null,placeholderText:"\u2026"},se=s.r$.define({combine:e=>(0,s.BO)(e,re)});function oe(e){let t=[H,ue];return e&&t.push(se.of(e)),t}const ae=o.p.replace({widget:new class extends o.l9{toDOM(e){let{state:t}=e,n=t.facet(se),i=t=>{let n=e.lineBlockAt(e.posAtDOM(t.target)),i=K(e.state,n.from,n.to);i&&e.dispatch({effects:Y.of(i)}),t.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,i);let r=document.createElement("span");return r.textContent=n.placeholderText,r.setAttribute("aria-label",t.phrase("folded code")),r.title=t.phrase("unfold"),r.className="cm-foldPlaceholder",r.onclick=i,r}}}),le={openText:"\u2304",closedText:"\u203a",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class ce extends o.SJ{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function he(e={}){let t=Object.assign(Object.assign({},le),e),n=new ce(t,!0),i=new ce(t,!1),r=o.lg.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(v)!=e.state.facet(v)||e.startState.field(H,!1)!=e.state.field(H,!1)||d(e.startState)!=d(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new s.f_;for(let r of e.viewportLineBlocks){let s=K(e.state,r.from,r.to)?i:J(e.state,r.from,r.to)?n:null;s&&t.add(r.from,r.from,s)}return t.finish()}}),{domEventHandlers:a}=t;return[r,(0,o.v5)({class:"cm-foldGutter",markers(e){var t;return(null===(t=e.plugin(r))||void 0===t?void 0:t.markers)||s.Xs.empty},initialSpacer:()=>new ce(t,!1),domEventHandlers:Object.assign(Object.assign({},a),{click:(e,t,n)=>{if(a.click&&a.click(e,t,n))return!0;let i=K(e.state,t.from,t.to);if(i)return e.dispatch({effects:Y.of(i)}),!0;let r=J(e.state,t.from,t.to);return!!r&&(e.dispatch({effects:B.of(r)}),!0)}})}),oe()]}const ue=o.tk.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Oe{constructor(e,t){let n;function i(e){let t=l.V.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e;const r="string"==typeof t.all?t.all:t.all?i(t.all):void 0,s=t.scope;this.scope=s instanceof u?e=>e.prop(c)==s.data:s?e=>e==s:void 0,this.style=(0,a.QR)(e.map((e=>({tag:e.tag,class:e.class||i(Object.assign({},e,{tag:null}))}))),{all:r}).style,this.module=n?new l.V(n):null,this.themeType=t.themeType}static define(e,t){return new Oe(e,t||{})}}const fe=s.r$.define(),de=s.r$.define({combine:e=>e.length?[e[0]]:null});function pe(e){let t=e.facet(fe);return t.length?t:e.facet(de)}function me(e,t){let n,i=[Qe];return e instanceof Oe&&(e.module&&i.push(o.tk.styleModule.of(e.module)),n=e.themeType),(null===t||void 0===t?void 0:t.fallback)?i.push(de.of(e)):n?i.push(fe.computeN([o.tk.darkTheme],(t=>t.facet(o.tk.darkTheme)==("dark"==n)?[e]:[]))):i.push(fe.of(e)),i}class ge{constructor(e){this.markCache=Object.create(null),this.tree=d(e.state),this.decorations=this.buildDeco(e,pe(e.state))}update(e){let t=d(e.state),n=pe(e.state),i=n!=pe(e.startState);t.length{n.add(e,t,this.markCache[i]||(this.markCache[i]=o.p.mark({class:i})))}),i,r);return n.finish()}}const Qe=s.Wl.high(o.lg.fromClass(ge,{decorations:e=>e.decorations})),be=Oe.define([{tag:a.pJ.meta,color:"#7a757a"},{tag:a.pJ.link,textDecoration:"underline"},{tag:a.pJ.heading,textDecoration:"underline",fontWeight:"bold"},{tag:a.pJ.emphasis,fontStyle:"italic"},{tag:a.pJ.strong,fontWeight:"bold"},{tag:a.pJ.strikethrough,textDecoration:"line-through"},{tag:a.pJ.keyword,color:"#708"},{tag:[a.pJ.atom,a.pJ.bool,a.pJ.url,a.pJ.contentSeparator,a.pJ.labelName],color:"#219"},{tag:[a.pJ.literal,a.pJ.inserted],color:"#164"},{tag:[a.pJ.string,a.pJ.deleted],color:"#a11"},{tag:[a.pJ.regexp,a.pJ.escape,a.pJ.special(a.pJ.string)],color:"#e40"},{tag:a.pJ.definition(a.pJ.variableName),color:"#00f"},{tag:a.pJ.local(a.pJ.variableName),color:"#30a"},{tag:[a.pJ.typeName,a.pJ.namespace],color:"#085"},{tag:a.pJ.className,color:"#167"},{tag:[a.pJ.special(a.pJ.variableName),a.pJ.macroName],color:"#256"},{tag:a.pJ.definition(a.pJ.propertyName),color:"#00c"},{tag:a.pJ.comment,color:"#940"},{tag:a.pJ.invalid,color:"#f00"}]),xe=o.tk.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),ke="()[]{}",ye=s.r$.define({combine:e=>(0,s.BO)(e,{afterCursor:!0,brackets:ke,maxScanDistance:1e4,renderMatch:Se})}),ve=o.p.mark({class:"cm-matchingBracket"}),$e=o.p.mark({class:"cm-nonmatchingBracket"});function Se(e){let t=[],n=e.matched?ve:$e;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const we=[s.QQ.define({create:()=>o.p.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],i=t.state.facet(ye);for(let r of t.state.selection.ranges){if(!r.empty)continue;let e=Re(t.state,r.head,-1,i)||r.head>0&&Re(t.state,r.head-1,1,i)||i.afterCursor&&(Re(t.state,r.head,1,i)||r.heado.tk.decorations.from(e)}),xe];function Te(e={}){return[ye.of(e),we]}function Pe(e,t,n){let i=e.prop(t<0?r.md.openedBy:r.md.closedBy);if(i)return i;if(1==e.name.length){let i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function Re(e,t,n,i={}){let r=i.maxScanDistance||1e4,s=i.brackets||ke,o=d(e),a=o.resolveInner(t,n);for(let l=a;l;l=l.parent){let i=Pe(l.type,n,s);if(i&&l.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},h=e.doc.iterRange(t,n>0?e.doc.length:0),u=0;for(let O=0;!h.next().done&&O<=s;){let e=h.value;n<0&&(O+=e.length);let s=t+O*n;for(let t=n>0?0:e.length-1,a=n>0?e.length:-1;t!=a;t+=n){let a=o.indexOf(e[t]);if(!(a<0||i.resolveInner(s+t,1).type!=r))if(a%2==0==n>0)u++;else{if(1==u)return{start:c,end:{from:s+t,to:s+t+1},matched:a>>1==l>>1};u--}}n>0&&(O+=e.length)}return h.done?{start:c,matched:!1}:null}(e,t,n,o,a.type,r,s)}function Ce(e,t,n,i,r,s){let o=i.parent,a={from:i.from,to:i.to},l=0,c=null===o||void 0===o?void 0:o.cursor();if(c&&(n<0?c.childBefore(i.from):c.childAfter(i.to)))do{if(n<0?c.to<=i.from:c.from>=i.to){if(0==l&&r.indexOf(c.type.name)>-1&&c.from=this.string.length}sol(){return 0==this.pos}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.post}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?e.toLowerCase():e;return i(this.string.substr(this.pos,e.length))==i(e)?(!1!==t&&(this.pos+=e.length),!0):null}{let n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}}current(){return this.string.slice(this.start,this.pos)}}function je(e){if("object"!=typeof e)return e;let t={};for(let n in e){let i=e[n];t[n]=i instanceof Array?i.slice():i}return t}class We extends u{constructor(e){let t,n=h(e.languageData),i={name:(s=e).name||"",token:s.token,blankLine:s.blankLine||(()=>{}),startState:s.startState||(()=>!0),copyState:s.copyState||je,indent:s.indent||(()=>null),languageData:s.languageData||{},tokenTable:s.tokenTable||Ie};var s;super(n,new class extends r._b{createParse(e,n,i){return new _e(t,e,n,i)}},[w.of(((e,t)=>this.getIndent(e,t)))],e.name),this.topNode=function(e){let t=r.Jq.define({id:Ee.length,name:"Document",props:[c.add((()=>e))]});return Ee.push(t),t}(n),t=this,this.streamParser=i,this.stateAfter=new r.md({perNode:!0}),this.tokenTable=e.tokenTable?new Ne(i.tokenTable):Ue}static define(e){return new We(e)}getIndent(e,t){let n=d(e.state),i=n.resolve(t);for(;i&&i.type!=this.topNode;)i=i.parent;if(!i)return null;let r,s,o=Ae(this,n,0,i.from,t);if(o?(s=o.state,r=o.pos+1):(s=this.streamParser.startState(e.unit),r=0),t-r>1e4)return null;for(;r=i&&n+t.length<=s&&t.prop(e.stateAfter);if(o)return{state:e.streamParser.copyState(o),pos:n+t.length};for(let a=t.children.length-1;a>=0;a--){let o=t.children[a],l=n+t.positions[a],c=o instanceof r.mp&&l=t.length)return t;s||t.type!=e.topNode||(s=!0);for(let o=t.children.length-1;o>=0;o--){let a,l=t.positions[o],c=t.children[o];if(ln&&Ae(e,r.tree,0-r.offset,n,s);if(o&&(t=qe(e,r.tree,n+r.offset,o.pos+r.offset,!1)))return{state:o.state,tree:t}}return{state:e.streamParser.startState(i?P(i):4),tree:r.mp.empty}}(e,n,o,null===s||void 0===s?void 0:s.state);this.state=a,this.parsedPos=this.chunkStart=o+l.length;for(let r=0;r=t?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,t),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let t=this.input.chunk(e);if(this.input.lineChunks)"\n"==t&&(t="");else{let e=t.indexOf("\n");e>-1&&(t=t.slice(0,e))}return e+t.length<=this.to?t:t.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,t=this.lineAfter(e),n=e+t.length;for(let i=this.rangeIndex;;){let e=this.ranges[i].to;if(e>=n)break;if(t=t.slice(0,e-(n-t.length)),i++,i==this.ranges.length)break;let r=this.ranges[i].from,s=this.lineAfter(r);t+=s,n=r+s.length}return{line:t,end:n}}skipGapsTo(e,t,n){for(;;){let i=this.ranges[this.rangeIndex].to,r=e+t;if(n>0?i>r:i>=r)break;t+=this.ranges[++this.rangeIndex].from-i}return t}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){t+=r=this.skipGapsTo(t,r,1);let e=this.chunk.length;n+=r=this.skipGapsTo(n,r,-1),i+=this.chunk.length-e}return this.chunk.push(e,t,n,i),r}parseLine(e){let{line:t,end:n}=this.nextLine(),i=0,{streamParser:r}=this.lang,s=new Xe(t,e?e.state.tabSize:4,e?P(e.state):2);if(s.eol())r.blankLine(this.state,s.indentUnit);else for(;!s.eol();){let e=ze(r.token,s,this.state);if(e&&(i=this.emitToken(this.lang.tokenTable.resolve(e),this.parsedPos+s.start,this.parsedPos+s.pos,4,i)),s.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPost.start)return i}throw new Error("Stream parser failed to advance stream.")}const Ie=Object.create(null),Ee=[r.Jq.none],Ge=new r.Lj(Ee),Le=[],De=Object.create(null);for(let[Ve,Be]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])De[Ve]=Je(Ie,Be);class Ne{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),De)}resolve(e){return e?this.table[e]||(this.table[e]=Je(this.extra,e)):0}}const Ue=new Ne(Ie);function Me(e,t){Le.indexOf(e)>-1||(Le.push(e),console.warn(t))}function Je(e,t){let n=null;for(let r of t.split(".")){let t=e[r]||a.pJ[r];t?"function"==typeof t?n?n=t(n):Me(r,`Modifier ${r} used at start of tag`):n?Me(r,`Tag ${r} used as modifier`):n=t:Me(r,`Unknown highlighting tag ${r}`)}if(!n)return 0;let i=t.replace(/ /g,"_"),s=r.Jq.define({id:Ee.length,name:i,props:[(0,a.Gv)({[i]:n})]});return Ee.push(s),s.id}},78120:function(e,t,n){"use strict";n.d(t,{BO:function(){return we},D0:function(){return ke},Gz:function(){return Ne},IS:function(){return De},Py:function(){return fe},QQ:function(){return N},Wl:function(){return Y},Xs:function(){return Ze},YW:function(){return de},as:function(){return w},bg:function(){return k},cp:function(){return p},f_:function(){return Xe},gc:function(){return $},gm:function(){return x},jT:function(){return W},n0:function(){return S},nZ:function(){return y},q6:function(){return he},r$:function(){return _},uU:function(){return Te},xv:function(){return i},yy:function(){return Se}});class i{constructor(){}lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),s.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),s.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new l(this),r=new l(e);for(let s=t,o=t;;){if(i.next(s),r.next(s),s=0,i.lineBreak!=r.lineBreak||i.done!=r.done||i.value!=r.value)return!1;if(o+=i.value.length,i.done||o>=n)return!0}}iter(e=1){return new l(this,e)}iterRange(e,t=this.length){return new c(this,e,t)}iterLines(e,t){let n;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new h(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}static of(e){if(0==e.length)throw new RangeError("A document must have at least one line");return 1!=e.length||e[0]?e.length<=32?new r(e):s.from(r.split(e,[])):i.empty}}class r extends i{constructor(e,t=function(e){let t=-1;for(let n of e)t+=n.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.text[r],o=i+s.length;if((t?n:o)>=e)return new u(i,o,n,s);i=o+1,n++}}decompose(e,t,n,i){let s=e<=0&&t>=this.length?this:new r(a(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(1&i){let e=n.pop(),t=o(s.text,e.text.slice(),0,s.length);if(t.length<=32)n.push(new r(t,e.length+s.length));else{let e=t.length>>1;n.push(new r(t.slice(0,e)),new r(t.slice(e)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof r))return super.replace(e,t,n);let i=o(this.text,o(n.text,a(this.text,0,e)),t),l=this.length+n.length-(t-e);return i.length<=32?new r(i,l):s.from(r.split(i,[]),l)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;r<=t&&se&&s&&(i+=n),er&&(i+=o.slice(Math.max(0,e-r),t-r)),r=a+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let s of e)n.push(s),i+=s.length+1,32==n.length&&(t.push(new r(n,i)),n=[],i=-1);return i>-1&&t.push(new r(n,i)),t}}class s extends i{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,i){for(let r=0;;r++){let s=this.children[r],o=i+s.length,a=n+s.lines-1;if((t?a:o)>=e)return s.lineInner(e,t,n,i);i=o+1,n=a+1}}decompose(e,t,n,i){for(let r=0,s=0;s<=t&&r=s){let r=i&((s<=e?1:0)|(a>=t?2:0));s>=e&&a<=t&&!r?n.push(o):o.decompose(e-s,t-s,n,r)}s=a+1}}replace(e,t,n){if(n.lines=r&&t<=a){let l=o.replace(e-r,t-r,n),c=this.lines-o.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let r=this.children.slice();return r[i]=l,new s(r,this.length-(t-e)+n.length)}return super.replace(r,a,l)}r=a+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){let i="";for(let r=0,s=0;re&&r&&(i+=n),es&&(i+=o.sliceString(e-s,t-s,n)),s=a+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof s))return 0;let n=0,[i,r,o,a]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,r+=t){if(i==o||r==a)return n;let s=this.children[i],l=e.children[r];if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let n=0;for(let r of e)n+=r.lines;if(n<32){let n=[];for(let t of e)t.flatten(n);return new r(n,t)}let i=Math.max(32,n>>5),o=i<<1,a=i>>1,l=[],c=0,h=-1,u=[];function O(e){let t;if(e.lines>o&&e instanceof s)for(let n of e.children)O(n);else e.lines>a&&(c>a||!c)?(f(),l.push(e)):e instanceof r&&c&&(t=u[u.length-1])instanceof r&&e.lines+t.lines<=32?(c+=e.lines,h+=e.length+1,u[u.length-1]=new r(t.text.concat(e.text),t.length+1+e.length)):(c+e.lines>i&&f(),c+=e.lines,h+=e.length+1,u.push(e))}function f(){0!=c&&(l.push(1==u.length?u[0]:s.from(u,h)),h=-1,c=u.length=0)}for(let r of e)O(r);return f(),1==l.length?l[0]:new s(l,t)}}function o(e,t,n=0,i=1e9){for(let r=0,s=0,o=!0;s=n&&(l>i&&(a=a.slice(0,i-r)),r0?1:(e instanceof r?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],s=this.offsets[n],o=s>>1,a=i instanceof r?i.text.length:i.children.length;if(o==(t>0?a:0)){if(0==n)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&s)==(t>0?0:1)){if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(i instanceof r){let r=i.text[o+(t<0?-1:0)];if(this.offsets[n]+=t,r.length>Math.max(0,e))return this.value=0==e?r:t>0?r.slice(e):r.slice(0,r.length-e),this;e-=r.length}else{let s=i.children[o+(t<0?-1:0)];e>s.length?(e-=s.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(s),this.offsets.push(t>0?1:(s instanceof r?s.text.length:s.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class c{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new l(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}}class h{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}"undefined"!=typeof Symbol&&(i.prototype[Symbol.iterator]=function(){return this.iter()},l.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=h.prototype[Symbol.iterator]=function(){return this});class u{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let O="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((e=>e?parseInt(e,36):1));for(let Me=1;Mee)return O[t-1]<=e;return!1}function d(e){return e>=127462&&e<=127487}function p(e,t,n=!0,i=!0){return(n?m:g)(e,t,i)}function m(e,t,n){if(t==e.length)return t;t&&Q(e.charCodeAt(t))&&b(e.charCodeAt(t-1))&&t--;let i=x(e,t);for(t+=y(i);t=0&&d(x(e,i));)n++,i-=2;if(n%2==0)break;t+=2}}}return t}function g(e,t,n){for(;t>0;){let i=m(e,t-2,n);if(i=56320&&e<57344}function b(e){return e>=55296&&e<56320}function x(e,t){let n=e.charCodeAt(t);if(!b(n)||t+1==e.length)return n;let i=e.charCodeAt(t+1);return Q(i)?i-56320+(n-55296<<10)+65536:n}function k(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function y(e){return e<65536?1:2}const v=/\r\n?|\n/;var $=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}($||($={}));class S{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-i);r+=o}else{if(n!=$.Simple&&l>=e&&(n==$.TrackDel&&ie||n==$.TrackBefore&&ie))return null;if(l>e||l==e&&t<0&&!o)return e==i||t<0?r:r+a;r+=a}i=l}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return r}touchesRange(e,t=e){for(let n=0,i=0;n=0&&i<=t&&r>=e)return!(it)||"cover";i=r}return!1}toString(){let e="";for(let t=0;t=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc");return new S(e)}static create(e){return new S(e)}}class w extends S{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return R(this,((t,n,i,r,s)=>e=e.replace(i,i+(n-t),s)),!1),e}mapDesc(e,t=!1){return C(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let r=0,s=0;r=0){t[r]=a,t[r+1]=o;let l=r>>1;for(;n.length0&&P(n,t,r.text),r.forward(e),o+=e}let l=e[s++];for(;o>1].toJSON()))}return e}static of(e,t,n){let r=[],s=[],o=0,a=null;function l(e=!1){if(!e&&!r.length)return;oa||e<0||a>t)throw new RangeError(`Invalid change range ${e} to ${a} (in doc of length ${t})`);let u=h?"string"==typeof h?i.of(h.split(n||v)):h:i.empty,O=u.length;if(e==a&&0==O)return;eo&&T(r,e-o,-1),T(r,a-e,O),P(s,r,u),o=a}}(e),l(!a),a}static empty(e){return new w(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let r=0;rt&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet");if(1==s.length)t.push(s[0],0);else{for(;n.length=0&&n<=0&&n==e[r+1]?e[r]+=t:0==t&&0==e[r]?e[r+1]+=n:i?(e[r]+=t,e[r+1]+=n):e.push(t,n)}function P(e,t,n){if(0==n.length)return;let r=t.length-2>>1;if(r>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)l=e.sections[a++],c=e.sections[a++];t(s,h,o,u,O),s=h,o=u}}}function C(e,t,n,i=!1){let r=[],s=i?[]:null,o=new X(e),a=new X(t);for(let l=-1;;)if(-1==o.ins&&-1==a.ins){let e=Math.min(o.len,a.len);T(r,e,-1),o.forward(e),a.forward(e)}else if(a.ins>=0&&(o.ins<0||l==o.i||0==o.off&&(a.len=0&&l=0)){if(o.done&&a.done)return s?w.createSet(r,s):S.create(r);throw new Error("Mismatched change set lengths")}{let e=0,t=o.len;for(;t;)if(-1==a.ins){let n=Math.min(t,a.len);e+=n,t-=n,a.forward(n)}else{if(!(0==a.ins&&a.lene||o.ins>=0&&o.len>e)&&(a||i.length>t),s.forward2(e),o.forward(e)}}else T(i,0,o.ins,a),r&&P(r,i,o.text),o.next()}}class X{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?i.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?i.empty:t[n].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class j{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return 16&this.flags?this.to:this.from}get head(){return 16&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 4&this.flags?-1:8&this.flags?1:0}get bidiLevel(){let e=3&this.flags;return 3==e?null:e}get goalColumn(){let e=this.flags>>5;return 33554431==e?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new j(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return W.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return W.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid JSON representation for SelectionRange");return W.range(e.anchor,e.head)}static create(e,t,n){return new j(e,t,n)}}class W{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:W.create(this.ranges.map((n=>n.map(e,t))),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;te.toJSON())),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||"number"!=typeof e.main||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new W(e.ranges.map((e=>j.fromJSON(e))),e.main)}static single(e,t=e){return new W([W.range(e,t)],0)}static create(e,t=0){if(0==e.length)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;ie?4:0))}static normalized(e,t=0){let n=e[t];e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(n);for(let i=1;in.head?W.range(o,s):W.range(s,o))}}return new W(e,t)}}function A(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let q=0;class _{constructor(e,t,n,i,r){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=q++,this.default=e([]),this.extensions="function"==typeof r?r(this):r}static define(e={}){return new _(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:z),!!e.static,e.enables)}of(e){return new I([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new I(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new I(e,this,2,t)}from(e,t){return t||(t=e=>e),this.compute([e],(n=>t(n.field(e))))}}function z(e,t){return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class I{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=q++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,r=this.id,s=e[r]>>1,o=2==this.type,a=!1,l=!1,c=[];for(let h of this.dependencies)"doc"==h?a=!0:"selection"==h?l=!0:0==(1&(null!==(t=e[h.id])&&void 0!==t?t:1))&&c.push(e[h.id]);return{create:e=>(e.values[s]=n(e),1),update(e,t){if(a&&t.docChanged||l&&(t.docChanged||t.selection)||G(e,c)){let t=n(e);if(o?!E(t,e.values[s],i):!i(t,e.values[s]))return e.values[s]=t,1}return 0},reconfigure:(e,t)=>{let a=n(e),l=t.config.address[r];if(null!=l){let n=ne(t,l);if(this.dependencies.every((n=>n instanceof _?t.facet(n)===e.facet(n):!(n instanceof N)||t.field(n,!1)==e.field(n,!1)))||(o?E(a,n,i):i(a,n)))return e.values[s]=n,0}return e.values[s]=a,1}}}}function E(e,t,n){if(e.length!=t.length)return!1;for(let i=0;ie[t.id])),r=n.map((e=>e.type)),s=i.filter((e=>!(1&e))),o=e[t.id]>>1;function a(e){let n=[];for(let t=0;te===t),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(D).find((e=>e.field==this));return((null===t||void 0===t?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,n)=>{let i=e.values[t],r=this.updateF(i,n);return this.compareF(i,r)?0:(e.values[t]=r,1)},reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),0):(e.values[t]=this.create(e),1)}}init(e){return[this,D.of({field:this,create:e})]}get extension(){return this}}const U=4,M=3,J=2,V=1;function B(e){return t=>new F(t,e)}const Y={highest:B(0),high:B(V),default:B(J),low:B(M),lowest:B(U)};class F{constructor(e,t){this.inner=e,this.prec=t}}class H{of(e){return new K(this,e)}reconfigure(e){return H.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class K{constructor(e,t){this.compartment=e,this.inner=t}}class ee{constructor(e,t,n,i,r,s){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=r,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,n){let i=[],r=Object.create(null),s=new Map;for(let u of function(e,t,n){let i=[[],[],[],[],[]],r=new Map;function s(e,o){let a=r.get(e);if(null!=a){if(a<=o)return;let t=i[a].indexOf(e);t>-1&&i[a].splice(t,1),e instanceof K&&n.delete(e.compartment)}if(r.set(e,o),Array.isArray(e))for(let t of e)s(t,o);else if(e instanceof K){if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions");let i=t.get(e.compartment)||e.inner;n.set(e.compartment,i),s(i,o)}else if(e instanceof F)s(e.inner,e.prec);else if(e instanceof N)i[o].push(e),e.provides&&s(e.provides,o);else if(e instanceof I)i[o].push(e),e.facet.extensions&&s(e.facet.extensions,J);else{let t=e.extension;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(t,o)}}return s(e,J),i.reduce(((e,t)=>e.concat(t)))}(e,t,s))u instanceof N?i.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let o=Object.create(null),a=[],l=[];for(let u of i)o[u.id]=l.length<<1,l.push((e=>u.slot(e)));let c=null===n||void 0===n?void 0:n.config.facets;for(let u in r){let e=r[u],t=e[0].facet,i=c&&c[u]||[];if(e.every((e=>0==e.type)))if(o[t.id]=a.length<<1|1,z(i,e))a.push(n.facet(t));else{let i=t.combine(e.map((e=>e.value)));a.push(n&&t.compare(i,n.facet(t))?n.facet(t):i)}else{for(let t of e)0==t.type?(o[t.id]=a.length<<1|1,a.push(t.value)):(o[t.id]=l.length<<1,l.push((e=>t.dynamicSlot(e))));o[t.id]=l.length<<1,l.push((n=>L(n,t,e)))}}let h=l.map((e=>e(o)));return new ee(e,s,h,o,a,r)}}function te(e,t){if(1&t)return 2;let n=t>>1,i=e.status[n];if(4==i)throw new Error("Cyclic dependency between fields and/or facets");if(2&i)return i;e.status[n]=4;let r=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|r}function ne(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}const ie=_.define(),re=_.define({combine:e=>e.some((e=>e)),static:!0}),se=_.define({combine:e=>e.length?e[0]:void 0,static:!0}),oe=_.define(),ae=_.define(),le=_.define(),ce=_.define({combine:e=>!!e.length&&e[0]});class he{constructor(e,t){this.type=e,this.value=t}static define(){return new ue}}class ue{of(e){return new he(this,e)}}class Oe{constructor(e){this.map=e}of(e){return new fe(this,e)}}class fe{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return void 0===t?void 0:t==this.value?this:new fe(this.type,t)}is(e){return this.type==e}static define(e={}){return new Oe(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let e=i.map(t);e&&n.push(e)}return n}}fe.reconfigure=fe.define(),fe.appendConfig=fe.define();class de{constructor(e,t,n,i,r,s){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=r,this.scrollIntoView=s,this._doc=null,this._state=null,n&&A(n,t.newLength),r.some((e=>e.type==de.time))||(this.annotations=r.concat(de.time.of(Date.now())))}static create(e,t,n,i,r,s){return new de(e,t,n,i,r,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(de.userEvent);return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))}}function pe(e,t){let n=[];for(let i=0,r=0;;){let s,o;if(i=e[i]))s=e[i++],o=e[i++];else{if(!(r=0;r--){let s=n[r](e);s&&Object.keys(s).length&&(i=me(i,ge(t,s,e.changes.newLength),!0))}return i==e?e:de.create(t,e.changes,e.selection,i.effects,i.annotations,i.scrollIntoView)}(n?function(e){let t=e.startState,n=!0;for(let r of t.facet(oe)){let t=r(e);if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:pe(n,t))}if(!0!==n){let i,r;if(!1===n)r=e.changes.invertedDesc,i=w.empty(t.doc.length);else{let t=e.changes.filter(n);i=t.changes,r=t.filtered.mapDesc(t.changes).invertedDesc}e=de.create(t,i,e.selection&&e.selection.map(r),fe.mapEffects(e.effects,r),e.annotations,e.scrollIntoView)}let i=t.facet(ae);for(let r=i.length-1;r>=0;r--){let n=i[r](e);e=n instanceof de?n:Array.isArray(n)&&1==n.length&&n[0]instanceof de?n[0]:Qe(t,xe(n),!1)}return e}(r):r)}de.time=he.define(),de.userEvent=he.define(),de.addToHistory=he.define(),de.remote=he.define();const be=[];function xe(e){return null==e?be:Array.isArray(e)?e:[e]}var ke=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(ke||(ke={}));const ye=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let ve;try{ve=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(Ue){}function $e(e){return t=>{if(!/\S/.test(t))return ke.Space;if(function(e){if(ve)return ve.test(e);for(let t=0;t"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ye.test(n)))return!0}return!1}(t))return ke.Word;for(let n=0;n-1)return ke.Word;return ke.Other}}class Se{constructor(e,t,n,i,r,s){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=r,s&&(s._state=this);for(let o=0;or.set(t,e))),n=null),r.set(s.value.compartment,s.value.extension)):s.is(fe.reconfigure)?(n=null,i=s.value):s.is(fe.appendConfig)&&(n=null,i=xe(i).concat(s.value));if(n)t=e.startState.values.slice();else{n=ee.resolve(i,r,this),t=new Se(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values}new Se(n,e.newDoc,e.newSelection,t,((t,n)=>n.update(t,e)),e)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange((t=>({changes:{from:t.from,to:t.to,insert:e},range:W.cursor(t.from+e.length)})))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),r=[n.range],s=xe(n.effects);for(let o=1;ot.spec.fromJSON(s,e))))}return Se.create({doc:e.doc,selection:W.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=ee.resolve(e.extensions||[],new Map),n=e.doc instanceof i?e.doc:i.of((e.doc||"").split(t.staticFacet(Se.lineSeparator)||v)),r=e.selection?e.selection instanceof W?e.selection:W.single(e.selection.anchor,e.selection.head):W.single(0);return A(r,n.length),t.staticFacet(re)||(r=r.asSingle()),new Se(t,n,r,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)}get tabSize(){return this.facet(Se.tabSize)}get lineBreak(){return this.facet(Se.lineSeparator)||"\n"}get readOnly(){return this.facet(ce)}phrase(e,...t){for(let n of this.facet(Se.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,n)=>{if("$"==n)return"$";let i=+(n||1);return!i||i>t.length?e:t[i-1]}))),e}languageDataAt(e,t,n=-1){let i=[];for(let r of this.facet(ie))for(let s of r(this,t,n))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){return $e(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),r=this.charCategorizer(e),s=e-n,o=e-n;for(;s>0;){let e=p(t,s,!1);if(r(t.slice(e,s))!=ke.Word)break;s=e}for(;oe.length?e[0]:4}),Se.lineSeparator=se,Se.readOnly=ce,Se.phrases=_.define({compare(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length==i.length&&n.every((n=>e[n]==t[n]))}}),Se.languageData=ie,Se.changeFilter=oe,Se.transactionFilter=ae,Se.transactionExtender=le,H.reconfigure=fe.define();class Te{eq(e){return this==e}range(e,t=e){return Pe.create(e,t,this)}}Te.prototype.startSide=Te.prototype.endSide=0,Te.prototype.point=!1,Te.prototype.mapMode=$.TrackDel;class Pe{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new Pe(e,t,n)}}function Re(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Ce{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let r=n?this.to:this.from;for(let s=i,o=r.length;;){if(s==o)return s;let i=s+o>>1,a=r[i]-e||(n?this.value[i].endSide:this.value[i].startSide)-t;if(i==s)return a>=0?s:o;a>=0?o=i:s=i+1}}between(e,t,n,i){for(let r=this.findIndex(t,-1e9,!0),s=this.findIndex(n,1e9,!1,r);rc||l==c&&h.startSide>0&&h.endSide<=0)continue;(c-l||h.endSide-h.startSide)<0||(s<0&&(s=l),h.point&&(o=Math.max(o,c-l)),n.push(h),i.push(l-s),r.push(c-s))}return{mapped:n.length?new Ce(i,r,n,o):null,pos:s}}}class Ze{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new Ze(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:r=this.length}=e,s=e.filter;if(0==t.length&&!s)return this;if(n&&(t=t.slice().sort(Re)),this.isEmpty)return t.length?Ze.of(t):this;let o=new We(this,null,-1).goto(0),a=0,l=[],c=new Xe;for(;o.value||a=0){let e=t[a++];c.addInner(e.from,e.to,e.value)||l.push(e)}else 1==o.rangeIndex&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||ro.to||r=r&&e<=r+s.length&&!1===s.between(r,e-r,t-r,n))return}this.nextLayer.between(e,t,n)}}iter(e=0){return Ae.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Ae.from(e).goto(t)}static compare(e,t,n,i,r=-1){let s=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r)),o=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=r)),a=je(s,o,n),l=new _e(s,a,r),c=new _e(o,a,r);n.iterGaps(((e,t,n)=>ze(l,e,c,t,n,i))),n.empty&&0==n.length&&ze(l,0,c,0,0,i)}static eq(e,t,n=0,i){null==i&&(i=1e9);let r=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),s=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));if(r.length!=s.length)return!1;if(!r.length)return!0;let o=je(r,s),a=new _e(r,o,0).goto(n),l=new _e(s,o,0).goto(n);for(;;){if(a.to!=l.to||!Ie(a.active,l.active)||a.point&&(!l.point||!a.point.eq(l.point)))return!1;if(a.to>i)return!0;a.next(),l.next()}}static spans(e,t,n,i,r=-1){let s=new _e(e,null,r).goto(t),o=t,a=s.openStart;for(;;){let e=Math.min(s.to,n);if(s.point?(i.point(o,e,s.point,s.activeForPoint(s.to),a,s.pointRank),a=s.openEnd(e)+(s.to>e?1:0)):e>o&&(i.span(o,e,s.active,a),a=s.openEnd(e)),s.to>n)break;o=s.to,s.next()}return a}static of(e,t=!1){let n=new Xe;for(let i of e instanceof Pe?[e]:t?function(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(Re);t=i}return e}(e):e)n.add(i.from,i.to,i.value);return n.finish()}}Ze.empty=new Ze([],[],null,-1),Ze.empty.nextLayer=Ze.empty;class Xe{constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}finishChunk(e){this.chunks.push(new Ce(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Xe)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return!(i<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ze.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=Ze.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function je(e,t,n){let i=new Map;for(let s of e)for(let e=0;e=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&i.push(new We(s,t,n,r));return 1==i.length?i[0]:new Ae(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)qe(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)qe(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),qe(this.heap,0)}}}function qe(e,t){for(let n=e[t];;){let i=1+(t<<1);if(i>=e.length)break;let r=e[i];if(i+1=0&&(r=e[i+1],i++),n.compare(r)<0)break;e[i]=n,e[t]=r,t=i}}class _e{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ae.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ee(this.active,e),Ee(this.activeTo,e),Ee(this.activeRank,e),this.minActive=Le(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:r}=this.cursor;for(;t-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Ee(n,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let r=this.cursor.value;if(r.point){if(!(t&&this.cursor.to==this.to&&this.cursor.frome&&i++,this.cursor.next()}}}if(n){let t=0;for(;t=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function ze(e,t,n,i,r,s){e.goto(t),n.goto(i);let o=i+r,a=i,l=i-t;for(;;){let t=e.to+l-n.to||e.endSide-n.endSide,i=t<0?e.to+l:n.to,r=Math.min(i,o);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&Ie(e.activeForPoint(e.to+l),n.activeForPoint(n.to))||s.comparePoint(a,r,e.point,n.point):r>a&&!Ie(e.active,n.active)&&s.compareRange(a,r,e.active,n.active),i>o)break;a=i,t<=0&&e.next(),t>=0&&n.next()}}function Ie(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;i--)e[i+1]=e[i];e[t]=n}function Le(e,t){let n=-1,i=1e9;for(let r=0;r=t)return r;if(r==e.length)break;s+=9==e.charCodeAt(r)?n-s%n:1,r=p(e,r)}return!0===i?-1:e.length}},41113:function(e,t,n){"use strict";n.d(t,{FE:function(){return W},Jq:function(){return c},L3:function(){return i},Lj:function(){return h},_b:function(){return X},hr:function(){return C},i9:function(){return Z},md:function(){return o},mp:function(){return d},vj:function(){return f}});const i=1024;let r=0;class s{constructor(e,t){this.from=e,this.to=t}}class o{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=c.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}o.closedBy=new o({deserialize:e=>e.split(" ")}),o.openedBy=new o({deserialize:e=>e.split(" ")}),o.group=new o({deserialize:e=>e.split(" ")}),o.contextHash=new o({perNode:!0}),o.lookAhead=new o({perNode:!0}),o.mounted=new o({perNode:!0});class a{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const l=Object.create(null);class c{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):l,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),i=new c(e.name||"",t,e.id,n);if(e.props)for(let r of e.props)if(Array.isArray(r)||(r=r(i)),r){if(r[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[r[0].id]=r[1]}return i}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(o.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return e=>{for(let n=e.prop(o.group),i=-1;i<(n?n.length:0);i++){let r=t[i<0?e.name:n[i]];if(r)return r}}}}c.none=new c("",Object.create(null),0,8);class h{constructor(e){this.types=e;for(let t=0;t=i&&(s.type.isAnonymous||!1!==t(s))){if(s.firstChild())continue;e=!0}for(;e&&n&&!s.type.isAnonymous&&n(s),!s.nextSibling();){if(!s.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:R(c.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new d(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new d(c.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:s=i,reused:a=[],minRepeatType:l=r.types.length}=e,c=Array.isArray(n)?new p(n,n.length):n,h=r.types,u=0,O=0;function f(e,t,n,i,o){let{id:d,start:p,end:y,size:v}=c,$=O;for(;v<0;){if(c.next(),-1==v){let t=a[d];return n.push(t),void i.push(p-e)}if(-3==v)return void(u=d);if(-4==v)return void(O=d);throw new RangeError(`Unrecognized record size: ${v}`)}let S,w,T=h[d],P=p-e;if(y-p<=s&&(w=x(c.pos-t,o))){let t=new Uint16Array(w.size-w.skip),n=c.pos-w.size,i=t.length;for(;c.pos>n;)i=k(w.start,t,i);S=new m(t,y-w.start,r),P=w.start-e}else{let e=c.pos-v;c.next();let t=[],n=[],i=d>=l?d:-1,r=0,o=y;for(;c.pos>e;)i>=0&&c.id==i&&c.size>=0?(c.end<=o-s&&(Q(t,n,p,r,c.end,o,i,$),r=t.length,o=c.end),c.next()):f(p,e,t,n,i);if(i>=0&&r>0&&r-1&&r>0){let e=g(T);S=R(T,t,n,0,t.length,0,y-p,e,e)}else S=b(T,t,n,y-p,$-y)}n.push(S),i.push(P)}function g(e){return(t,n,i)=>{let r,s,a=0,l=t.length-1;if(l>=0&&(r=t[l])instanceof d){if(!l&&r.type==e&&r.length==i)return r;(s=r.prop(o.lookAhead))&&(a=n[l]+r.length+s)}return b(e,t,n,i,a)}}function Q(e,t,n,i,s,o,a,l){let c=[],h=[];for(;e.length>i;)c.push(e.pop()),h.push(t.pop()+n-s);e.push(b(r.types[a],c,h,o-s,l-o)),t.push(s-n)}function b(e,t,n,i,r=0,s){if(u){let e=[o.contextHash,u];s=s?[e].concat(s):[e]}if(r>25){let e=[o.lookAhead,r];s=s?[e].concat(s):[e]}return new d(e,t,n,i,s)}function x(e,t){let n=c.fork(),i=0,r=0,o=0,a=n.end-s,h={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){h.size=i,h.start=r,h.skip=o,o+=4,i+=4,n.next();continue}let c=n.pos-e;if(e<0||c=l?4:0,O=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;u+=4}else n.id>=l&&(u+=4);n.next()}r=O,i+=e,o+=u}return(t<0||i==e)&&(h.size=i,h.start=r,h.skip=o),h.size>4?h:void 0}function k(e,t,n){let{id:i,start:r,end:s,size:o}=c;if(c.next(),o>=0&&i4){let i=c.pos-(o-4);for(;c.pos>i;)n=k(e,t,n)}t[--n]=a,t[--n]=s-e,t[--n]=r-e,t[--n]=i}else-3==o?u=i:-4==o&&(O=i);return n}let y=[],v=[];for(;c.pos>0;)f(e.start||0,e.bufferStart||0,y,v,-1);let $=null!==(t=e.length)&&void 0!==t?t:y.length?v[0]+y[0].length:0;return new d(h[e.topID],y.reverse(),v.reverse(),$)}(e)}}d.empty=new d(c.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return c.none}toString(){let e=[];for(let t=0;t0));a=s[a+3]);return o}slice(e,t,n,i){let r=this.buffer,s=new Uint16Array(t-e);for(let o=e,a=0;o=t&&nt;case 1:return n<=t&&i>t;case 2:return i>t;case 4:return!0}}function Q(e,t){let n=e.childBefore(t);for(;n;){let t=n.lastChild;if(!t||t.to!=n.to)break;t.type.isError&&t.from==t.to?(e=n,n=t.prevSibling):n=t}return e}function b(e,t,n,i){for(var r;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?a.length:-1;e!=c;e+=t){let c=a[e],h=l[e]+s.from;if(g(i,n,h,h+c.length))if(c instanceof m){if(r&f.ExcludeBuffers)continue;let o=c.findChild(0,c.buffer.length,t,n-h,i);if(o>-1)return new $(new v(s,c,e,h),null,o)}else if(r&f.IncludeAnonymous||!c.type.isAnonymous||w(c)){let a;if(!(r&f.IgnoreMounts)&&c.props&&(a=c.prop(o.mounted))&&!a.overlay)return new x(a.tree,h,e,s);let l=new x(c,h,e,s);return r&f.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(t<0?c.children.length-1:0,t,n,i)}}if(r&f.IncludeAnonymous||!s.type.isAnonymous)return null;if(e=s.index>=0?s.index+t:t<0?-1:s._parent._tree.children.length,s=s._parent,!s)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&f.IgnoreOverlays)&&(i=this._tree.prop(o.mounted))&&i.overlay){let n=e-this.from;for(let{from:e,to:r}of i.overlay)if((t>0?e<=n:e=n:r>n))return new x(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new S(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return Q(this,e)}getChild(e,t=null,n=null){let i=k(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return k(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return y(this,e)}}function k(e,t,n,i){let r=e.cursor(),s=[];if(!r.firstChild())return s;if(null!=n)for(;!r.type.is(n);)if(!r.nextSibling())return s;for(;;){if(null!=i&&r.type.is(i))return s;if(r.type.is(t)&&s.push(r.node),!r.nextSibling())return null==i?s:[]}}function y(e,t,n=t.length-1){for(let i=e.parent;n>=0;i=i.parent){if(!i)return!1;if(!i.type.isAnonymous){if(t[n]&&t[n]!=i.name)return!1;n--}}return!0}class v{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class ${constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}child(e,t,n){let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return r<0?null:new $(this.context,this,r)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&f.ExcludeBuffers)return null;let{buffer:i}=this.context,r=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return r<0?null:new $(this.context,this,r)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new $(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new $(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new S(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,r=n.buffer[this.index+3];if(r>i){let s=n.buffer[this.index+1],o=n.buffer[this.index+2];e.push(n.slice(i,r,s,o)),t.push(0)}return new d(this.type,e,t,this.to-this.from)}resolve(e,t=0){return b(this,e,t,!1)}resolveInner(e,t=0){return b(this,e,t,!0)}enterUnfinishedNodesBefore(e){return Q(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=k(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return k(this,e,t,n)}get node(){return this}matchContext(e){return y(this,e)}}class S{constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof x)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}get name(){return this.type.name}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return!!e&&(e instanceof x?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,r=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return!(r<0)&&(this.stack.push(this.index),this.yieldBuf(r))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?!(n&f.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&f.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&f.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let e=n<0?0:this.stack[n]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let i=t+e,r=e<0?-1:n._tree.children.length;i!=r;i+=e){let e=n._tree.children[i];if(this.mode&f.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||w(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;t=s,n=r+1;break e}i=this.stack[--r]}for(let i=n;i=0;r--){if(r<0)return y(this.node,e,i);let s=n[t.buffer[this.stack[r]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function w(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||w(e)))}const T=new WeakMap;function P(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=T.get(t);if(null==n){n=1;for(let i of t.children){if(i.type!=e||!(i instanceof d)){n=1;break}n+=P(e,i)}T.set(t,n)}return n}function R(e,t,n,i,r,s,o,a,l){let c=0;for(let f=i;f=h)break;d+=t}if(c==r+1){if(d>h){let e=n[r];t(e.children,e.positions,0,e.children.length,i[r]+a);continue}u.push(n[r])}else{let t=i[c-1]+n[c-1].length-f;u.push(R(e,n,i,r,c,f,t,null,l))}O.push(f+a-s)}}(t,n,i,r,0),(a||l)(u,O,o)}class C{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof $?this.setBuffer(e.context.buffer,e.index,t):e instanceof x&&this.map.set(e.tree,t)}get(e){return e instanceof $?this.getBuffer(e.context.buffer,e.index):e instanceof x?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Z{constructor(e,t,n,i,r=!1,s=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(r?1:0)|(s?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let i=[new Z(0,e.length,e,0,!1,n)];for(let r of t)r.to>e.length&&i.push(r);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],r=1,s=e.length?e[0]:null;for(let o=0,a=0,l=0;;o++){let c=o=n)for(;s&&s.from=t.from||h<=t.to||l){let e=Math.max(t.from,a)-l,n=Math.min(t.to,h)-l;t=e>=n?null:new Z(e,n,t.tree,t.offset+l,o>0,!!c)}if(t&&i.push(t),s.to>h)break;s=rnew s(e.from,e.to))):[new s(0,0)]:[new s(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let e=i.advance();if(e)return e}}}class j{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function W(e){return(t,n,i,r)=>new z(t,e,n,i,r)}class A{constructor(e,t,n,i,r){this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=r}}class q{constructor(e,t,n,i,r,s,o){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=r,this.target=s,this.prev=o,this.depth=0,this.ranges=[]}}const _=new o({perNode:!0});class z{constructor(e,t,n,i,r){this.nest=t,this.input=n,this.fragments=i,this.ranges=r,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new d(e.type,e.children,e.positions,e.length,e.propValues.concat([[_,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[o.mounted.id]=new a(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;te.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let n of e.mount.overlay){let r=n.from+e.pos,s=n.to+e.pos;r>=i.from&&s<=i.to&&!t.ranges.some((e=>e.fromr))&&t.ranges.push({from:r,to:s})}}l=!1}else if(n&&(o=I(n.ranges,i.from,i.to)))l=2!=o;else if(!i.type.isAnonymous&&i.fromnew s(e.from-i.from,e.to-i.from))):null,i.tree,e)),r.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):l=!1}}else t&&(a=t.predicate(i))&&(!0===a&&(a=new s(i.from,i.to)),a.fromnew s(e.from-t.start,e.to-t.start))),t.target,e)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function I(e,t,n){for(let i of e){if(i.from>=n)break;if(i.to>t)return i.from<=t&&i.to>=n?2:1}return 0}function E(e,t,n,i,r,s){if(t=t.to);i++);let o=r.children[i],a=o.buffer;r.children[i]=function e(n,i,r,l,c){let h=n;for(;a[h+2]+s<=t.from;)h=a[h+3];let u=[],O=[];E(o,n,h,u,O,l);let f=a[h+1],p=a[h+2],m=f+s==t.from&&p+s==t.to&&a[h]==t.type.id;return u.push(m?t.toTree():e(h+4,a[h+3],o.set.types[a[h]],f,p-f)),O.push(f-l),E(o,a[h+3],i,u,O,l),new d(r,u,O,c)}(0,a.length,c.none,0,o.length);for(let l=0;l<=n;l++)e.childAfter(t.from)}class L{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(f.IncludeAnonymous|f.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from=e&&t.enter(n,1,f.IgnoreOverlays|f.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof d))break;t=t.children[0]}return!1}}class D{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(_))&&void 0!==t?t:n.to,this.inner=new L(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(_))&&void 0!==e?e:t.to,this.inner=new L(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let r=null===(n=e.tree)||void 0===n?void 0:n.prop(o.mounted);if(r&&r.parser==t)for(let t=this.fragI;t=e.to)break;n.tree==this.curFrag.tree&&i.push({frag:n,pos:e.from-n.offset,mount:r})}}}return i}}function N(e,t){let n=null,i=t;for(let r=1,o=0;r=l)break;e.to<=a||(n||(i=n=t.slice()),e.froml&&n.splice(o+1,0,new s(l,e.to))):e.to>l?n[o--]=new s(l,e.to):n.splice(o--,1))}}return i}function U(e,t,n,i){let r=0,o=0,a=!1,l=!1,c=-1e9,h=[];for(;;){let u=r==e.length?1e9:a?e[r].to:e[r].from,O=o==t.length?1e9:l?t[o].to:t[o].from;if(a!=l){let e=Math.max(c,n),t=Math.min(u,O,i);enew s(e.from+i,e.to+i))),l,c);for(let t=0,i=l;;t++){let s=t==a.length,l=s?c:a[t].from;if(l>i&&n.push(new Z(i,l,r.tree,-e,o.from>=i||o.openStart,o.to<=l||o.openEnd)),s)break;i=a[t].to}}else n.push(new Z(l,c,r.tree,-e,o.from>=e||o.openStart,o.to<=a||o.openEnd))}return n}},35524:function(e,t,n){"use strict";n.d(t,{Gv:function(){return l},QR:function(){return u},Vp:function(){return s},bW:function(){return O},pJ:function(){return R}});var i=n(41113);let r=0;class s{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=r++}static define(e){if(null===e||void 0===e?void 0:e.base)throw new Error("Can not derive from a modified tag");let t=new s([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new a;return t=>t.modified.indexOf(e)>-1?t:a.get(t.base||t,t.modified.concat(e).sort(((e,t)=>e.id-t.id)))}}let o=0;class a{constructor(){this.instances=[],this.id=o++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{return n.base==e&&(i=t,r=n.modified,i.length==r.length&&i.every(((e,t)=>e==r[t])));var i,r}));if(n)return n;let i=[],r=new s(i,e,t);for(let s of t)s.instances.push(r);let o=function(e){let t=[[]];for(let n=0;nt.length-e.length))}(t);for(let s of e.set)if(!s.modified.length)for(let e of o)i.push(a.get(s,e));return r}}function l(e){let t=Object.create(null);for(let n in e){let i=e[n];Array.isArray(i)||(i=[i]);for(let e of n.split(" "))if(e){let n=[],r=2,s=e;for(let t=0;;){if("..."==s&&t>0&&t+3==e.length){r=1;break}let i=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!i)throw new RangeError("Invalid path: "+e);if(n.push("*"==i[0]?"":'"'==i[0][0]?JSON.parse(i[0]):i[0]),t+=i[0].length,t==e.length)break;let o=e[t++];if(t==e.length&&"!"==o){r=0;break}if("/"!=o)throw new RangeError("Invalid path: "+e);s=e.slice(t)}let o=n.length-1,a=n[o];if(!a)throw new RangeError("Invalid path: "+e);let l=new h(i,r,o>0?n.slice(0,o):null);t[a]=l.sort(t[a])}}return c.add(t)}const c=new i.md;class h{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth{let t=r;for(let i of e)for(let e of i.set){let i=n[e.id];if(i){t=t?t+" "+i:i;break}}return t},scope:i}}function O(e,t,n,i=0,r=e.length){let s=new f(i,Array.isArray(t)?t:[t],n);s.highlightRange(e.cursor(),i,r,"",s.highlighters),s.flush(r)}h.empty=new h([],2,null);class f{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,r,s){let{type:o,from:a,to:l}=e;if(a>=n||l<=t)return;o.isTop&&(s=this.highlighters.filter((e=>!e.scope||e.scope(o))));let u=r,O=function(e){let t=e.type.prop(c);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||h.empty,f=function(e,t){let n=null;for(let i of e){let e=i.style(t);e&&(n=n?n+" "+e:e)}return n}(s,O.tags);if(f&&(u&&(u+=" "),u+=f,1==O.mode&&(r+=(r?" ":"")+f)),this.startSpan(e.from,u),O.opaque)return;let d=e.tree&&e.tree.prop(i.md.mounted);if(d&&d.overlay){let i=e.node.enter(d.overlay[0].from+a,1),o=this.highlighters.filter((e=>!e.scope||e.scope(d.tree.type))),c=e.firstChild();for(let h=0,O=a;;h++){let f=h=p)&&e.nextSibling()););if(!f||p>n)break;O=f.to+a,O>t&&(this.highlightRange(i.cursor(),Math.max(t,f.from+a),Math.min(n,O),r,o),this.startSpan(O,u))}c&&e.parent()}else if(e.firstChild()){do{if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,r,s),this.startSpan(Math.min(n,e.to),u)}}while(e.nextSibling());e.parent()}}}const d=s.define,p=d(),m=d(),g=d(m),Q=d(m),b=d(),x=d(b),k=d(b),y=d(),v=d(y),$=d(),S=d(),w=d(),T=d(w),P=d(),R={comment:p,lineComment:d(p),blockComment:d(p),docComment:d(p),name:m,variableName:d(m),typeName:g,tagName:d(g),propertyName:Q,attributeName:d(Q),className:d(m),labelName:d(m),namespace:d(m),macroName:d(m),literal:b,string:x,docString:d(x),character:d(x),attributeValue:d(x),number:k,integer:d(k),float:d(k),bool:d(b),regexp:d(b),escape:d(b),color:d(b),url:d(b),keyword:$,self:d($),null:d($),atom:d($),unit:d($),modifier:d($),operatorKeyword:d($),controlKeyword:d($),definitionKeyword:d($),moduleKeyword:d($),operator:S,derefOperator:d(S),arithmeticOperator:d(S),logicOperator:d(S),bitwiseOperator:d(S),compareOperator:d(S),updateOperator:d(S),definitionOperator:d(S),typeOperator:d(S),controlOperator:d(S),punctuation:w,separator:d(w),bracket:T,angleBracket:d(T),squareBracket:d(T),paren:d(T),brace:d(T),content:y,heading:v,heading1:d(v),heading2:d(v),heading3:d(v),heading4:d(v),heading5:d(v),heading6:d(v),contentSeparator:d(y),list:d(y),quote:d(y),emphasis:d(y),strong:d(y),link:d(y),monospace:d(y),strikethrough:d(y),inserted:d(),deleted:d(),changed:d(),invalid:d(),meta:P,documentMeta:d(P),annotation:d(P),processingInstruction:d(P),definition:s.defineModifier(),constant:s.defineModifier(),function:s.defineModifier(),standard:s.defineModifier(),local:s.defineModifier(),special:s.defineModifier()};u([{tag:R.link,class:"tok-link"},{tag:R.heading,class:"tok-heading"},{tag:R.emphasis,class:"tok-emphasis"},{tag:R.strong,class:"tok-strong"},{tag:R.keyword,class:"tok-keyword"},{tag:R.atom,class:"tok-atom"},{tag:R.bool,class:"tok-bool"},{tag:R.url,class:"tok-url"},{tag:R.labelName,class:"tok-labelName"},{tag:R.inserted,class:"tok-inserted"},{tag:R.deleted,class:"tok-deleted"},{tag:R.literal,class:"tok-literal"},{tag:R.string,class:"tok-string"},{tag:R.number,class:"tok-number"},{tag:[R.regexp,R.escape,R.special(R.string)],class:"tok-string2"},{tag:R.variableName,class:"tok-variableName"},{tag:R.local(R.variableName),class:"tok-variableName tok-local"},{tag:R.definition(R.variableName),class:"tok-variableName tok-definition"},{tag:R.special(R.variableName),class:"tok-variableName2"},{tag:R.definition(R.propertyName),class:"tok-propertyName tok-definition"},{tag:R.typeName,class:"tok-typeName"},{tag:R.namespace,class:"tok-namespace"},{tag:R.className,class:"tok-className"},{tag:R.macroName,class:"tok-macroName"},{tag:R.propertyName,class:"tok-propertyName"},{tag:R.operator,class:"tok-operator"},{tag:R.comment,class:"tok-comment"},{tag:R.meta,class:"tok-meta"},{tag:R.invalid,class:"tok-invalid"},{tag:R.punctuation,class:"tok-punctuation"}])},53105:function(e,t,n){"use strict";n.d(t,{IK:function(){return T},Jq:function(){return d},WQ:function(){return P}});var i,r=n(41113),s=n(34155);class o{constructor(e,t,n,i,r,s,o,a,l,c=0,h){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=r,this.score=s,this.buffer=o,this.bufferBase=a,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new o(e,[],t,n,n,0,[],0,i?new a(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,n=65535&e,{parser:i}=this.p,r=i.dynamicPrecedence(n);if(r&&(this.score+=r),0==t)return this.pushState(i.getGoto(this.state,n,!0),this.reducePos),ns;)this.stack.pop();this.reduceContext(n,o)}storeNode(e,t,n,i=4,r=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]0&&0==e.buffer[i-4]&&e.buffer[i-1]>-1){if(t==n)return;if(e.buffer[i-2]>=t)return void(e.buffer[i-2]=n)}}if(r&&this.pos!=n){let r=this.buffer.length;if(r>0&&0!=this.buffer[r-4])for(;r>0&&this.buffer[r-2]>n;)this.buffer[r]=this.buffer[r-4],this.buffer[r+1]=this.buffer[r-3],this.buffer[r+2]=this.buffer[r-2],this.buffer[r+3]=this.buffer[r-1],r-=4,i>4&&(i-=4);this.buffer[r]=e,this.buffer[r+1]=t,this.buffer[r+2]=n,this.buffer[r+3]=i}else this.buffer.push(e,t,n,i)}shift(e,t,n){let i=this.pos;if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let r=e,{parser:s}=this.p;(n>this.pos||t<=s.maxNode)&&(this.pos=n,s.stateFlag(r,1)||(this.reducePos=n)),this.pushState(r,i),this.shiftContext(t,i),t<=s.maxNode&&this.buffer.push(t,i,n,4)}else this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4)}apply(e,t,n){65536&e?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new l(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==(65536&n))return!0;if(0==n)return!1;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let i,r=0;r1&t&&e==i))||n.push(t[e],i)}t=n}let n=[];for(let i=0;i>19,i=65535&e,r=this.stack.length-3*n;if(r<0||t.getGoto(this.stack[r],i,!1)<0)return!1;this.storeNode(0,this.reducePos,this.reducePos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(e),!0}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;tthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class a{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}!function(e){e[e.Insert=200]="Insert",e[e.Delete=190]="Delete",e[e.Reduce=100]="Reduce",e[e.MaxNext=4]="MaxNext",e[e.MaxInsertStackDepth=300]="MaxInsertStackDepth",e[e.DampenInsertStackDepth=120]="DampenInsertStackDepth"}(i||(i={}));class l{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class c{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new c(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new c(this.stack,this.pos,this.index)}}class h{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const u=new h;class O{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=u,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,r=this.pos+e;for(;rn.to:r>=n.to;){if(i==this.ranges.length-1)return null;let e=this.ranges[++i];r+=e.from-n.to,n=e}return r}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,t.from);return this.end}peek(e){let t,n,i=this.chunkOff+e;if(i>=0&&i=this.chunk2Pos&&ti.to&&(this.chunk2=this.chunk2.slice(0,i.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=u,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class f{constructor(e,t){this.data=e,this.id=t}token(e,t){!function(e,t,n,i){let r=0,s=1<0){let n=e[h];if(a.allows(n)&&(-1==t.token.value||t.token.value==n||o.overrides(n,t.token.value))){t.acceptToken(n);break}}let i=t.next,l=0,c=e[r+2];if(!(t.next<0&&c>l&&65535==e[n+3*c-3])){for(;l>1,o=n+s+(s<<1),a=e[o],h=e[o+1];if(i=h)){r=e[o+2],t.advance();continue e}l=s+1}}break}r=e[n+3*c-1]}}(this.data,e,t,this.id)}}f.prototype.contextual=f.prototype.fallback=f.prototype.extend=!1;class d{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function p(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let i=0,r=0;i=92&&t--,t>=34&&t--;let r=t-32;if(r>=46&&(r-=46,n=!0),s+=r,n)break;s*=46}n?n[r++]=s:n=new t(s)}return n}const m="undefined"!=typeof s&&s.env&&/\bparse\b/.test(s.env.LOG);let g=null;var Q,b;function x(e,t,n){let i=e.cursor(r.vj.IncludeAnonymous);for(i.moveTo(t);;)if(!(n<0?i.childBefore(t):i.childAfter(t)))for(;;){if((n<0?i.tot)&&!i.type.isError)return n<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(n<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return n<0?0:e.length}}!function(e){e[e.Margin=25]="Margin"}(Q||(Q={}));class k{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?x(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?x(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof r.mp){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+s.length}}}class y{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new h))}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:r}=i,s=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,a=0;for(let l=0;lc.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!i.extend&&(n=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new h,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new h,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:t}=n.p;for(let i=0;i=0&&n.p.parser.dialect.allows(r>>1)){0==(1&r)?e.value=r>>1:e.extended=r>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let r=0;r4*e.bufferLength?new k(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,i=this.minStackPos,r=this.stacks=[];for(let s=0;si)r.push(o);else{if(this.advanceStack(o,r,n))continue;{e||(e=[],t=[]),e.push(o);let n=this.tokens.getMainToken(o);t.push(n.value,n.end)}}break}}if(!r.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scorethis.stoppedAt?e[0]:this.runRecovery(e,t,r);if(n)return this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(r.length>e)for(r.sort(((e,t)=>t.score-e.score));r.length>e;)r.pop();r.some((e=>e.reducePos>i))&&this.recovering--}else if(r.length>1)e:for(let s=0;s500&&n.buffer.length>500){if(!((e.score-n.score||e.buffer.length-n.buffer.length)>0)){r.splice(s--,1);continue e}r.splice(t--,1)}}}this.minStackPos=r[0].pos;for(let s=1;s ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(i);a;){let i=this.parser.nodeSet.types[a.type.id]==a.type?s.getGoto(e.state,a.type.id):-1;if(i>-1&&a.length&&(!t||(a.prop(r.md.contextHash)||0)==n))return e.useNode(a,i),m&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(a.type.id)})`),!0;if(!(a instanceof r.mp)||0==a.children.length||a.positions[0]>0)break;let l=a.children[0];if(!(l instanceof r.mp&&0==a.positions[0]))break;a=l}}let a=s.stateSlot(e.state,4);if(a>0)return e.reduce(a),m&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(65535&a)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;ri?t.push(O):n.push(O)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return $(e,t),!0}}runRecovery(e,t,n){let i=null,r=!1;for(let s=0;s ":"";if(o.deadEnd){if(r)continue;if(r=!0,o.restart(),m&&console.log(c+this.stackID(o)+" (restarted)"),this.advanceFully(o,n))continue}let h=o.split(),u=c;for(let e=0;h.forceReduce()&&e<10;e++){if(m&&console.log(u+this.stackID(h)+" (via force-reduce)"),this.advanceFully(h,n))break;m&&(u=this.stackID(h)+" -> ")}for(let e of o.recoverByInsert(a))m&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>o.pos?(l==o.pos&&(l++,a=0),o.recoverByDelete(a,l),m&&console.log(c+this.stackID(o)+` (via recover-delete ${this.parser.getName(a)})`),$(o,n)):(!i||i.scoree;class T{constructor(e){this.start=e.start,this.shift=e.shift||w,this.reduce=e.reduce||w,this.reuse=e.reuse||w,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}class P extends r._b{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;re.topRules[t][1])),i=[];for(let r=0;r=0)s(n,e,a[t++]);else{let i=a[t+-n];for(let r=-n;r>0;r--)s(a[t++],e,i);t++}}}this.nodeSet=new r.Lj(t.map(((t,s)=>r.Jq.define({name:s>=this.minRepeatTerm?void 0:t,id:s,props:i[s],top:n.indexOf(s)>-1,error:0==s,skipped:e.skippedNodes&&e.skippedNodes.indexOf(s)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.L3;let o=p(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r"number"==typeof e?new f(o,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new v(this,e,t,n);for(let r of this.wrappers)i=r(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let r=i[t+1];;){let t=i[r++],s=1&t,o=i[r++];if(s&&n)return o;for(let n=r+(t>>1);r0}validAction(e,t){if(t==this.stateSlot(e,4))return!0;for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])return!1;n=R(this.data,n+2)}if(t==R(this.data,n+1))return!0}}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=R(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}overrides(e,t){let n=C(this.data,this.tokenPrecTable,t);return n<0||C(this.data,this.tokenPrecTable,e){let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,i)=>{let r=e.specializers.find((e=>e.from==n.external));if(!r)return n;let s=Object.assign(Object.assign({},n),{external:r.to});return t.specializers[i]=Z(s),s}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(n[e]=!0)}let i=null;for(let r=0;re.external(n,i)<<1|t}return e.get}},20943:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,s);else if(o&&"object"==typeof o){if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.");r(i(n),o,a,c)}else null!=o&&a.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}(a.length||c)&&s.push((!n||l||o?e:e.map(n)).join(", ")+" {"+a.join(" ")+"}")}for(let s in e)r(i(s),e[s],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[i]||1;return s[i]=e+1,"\u037c"+e.toString(36)}static mount(e,t){(e[r]||new l(e)).mount(Array.isArray(t)?t:[t])}}let a=null;class l{constructor(e){if(!e.head&&e.adoptedStyleSheets&&"undefined"!=typeof CSSStyleSheet){if(a)return e.adoptedStyleSheets=[a.sheet].concat(e.adoptedStyleSheets),e[r]=a;this.sheet=new CSSStyleSheet,e.adoptedStyleSheets=[this.sheet].concat(e.adoptedStyleSheets),a=this}else{this.styleTag=(e.ownerDocument||e).createElement("style");let t=e.head||e;t.insertBefore(this.styleTag,t.firstChild)}this.modules=[],e[r]=this}mount(e){let t=this.sheet,n=0,i=0;for(let r=0;r-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),t)for(let e=0;e",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),o=("undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&+s[1]<57,c=0;c<10;c++)i[48+c]=i[96+c]=String(c);for(c=1;c<=24;c++)i[c+111]="F"+c;for(c=65;c<=90;c++)i[c]=String.fromCharCode(c+32),r[c]=String.fromCharCode(c);for(var h in i)r.hasOwnProperty(h)||(r[h]=i[h]);function u(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?r:i)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9296.9428f3b461686a67.js b/static/web/_next/static/chunks/9296.9428f3b461686a67.js deleted file mode 100644 index e992f2cc1..000000000 --- a/static/web/_next/static/chunks/9296.9428f3b461686a67.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9296],{59296:function(e,t,r){function n(e){var t,r,n=e.statementIndent,a=e.jsonld,i=e.json||a,o=e.typescript,u=e.wordCharacters||/[\w$\xa1-\uffff]/,c=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),a=e("keyword d"),i=e("operator"),o={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:a,break:a,continue:a,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),s=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function l(e,n,a){return t=e,r=a,n}function d(e,t){var r,n=e.next();if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){var n,i=!1;if(a&&"@"==e.peek()&&e.match(f))return t.tokenize=d,l("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=r||i);)i=!i&&"\\"==n;return i||(t.tokenize=d),l("string","string")}),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return l("number","number");if("."==n&&e.match(".."))return l("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return l(n);if("="==n&&e.eat(">"))return l("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return l("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),l("number","number");if("/"==n)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),l("comment","comment")):function(e,t,r){return t.tokenize==d&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),l("regexp","string.special")):(e.eat("="),l("operator","operator",e.current()));if("`"==n)return t.tokenize=p,p(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),l("meta","meta");if("#"==n&&e.eatWhile(u))return l("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),l("comment","comment");if(s.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?l("."):l("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var i=e.current();if("."!=t.lastType){if(c.propertyIsEnumerable(i)){var o=c[i];return l(o.type,o.style,i)}if("async"==i&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return l("async","keyword",i)}return l("variable","variable",i)}}function m(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=d;break}n="*"==r}return l("comment","comment")}function p(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=d;break}n=!n&&"\\"==r}return l("quasi","string.special",e.current())}function k(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(o){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var a=0,i=!1,c=r-1;c>=0;--c){var s=e.string.charAt(c),f="([{}])".indexOf(s);if(f>=0&&f<3){if(!a){++c;break}if(0==--a){"("==s&&(i=!0);break}}else if(f>=3&&f<6)++a;else if(u.test(s))i=!0;else if(/["'\/`]/.test(s))for(;;--c){if(0==c)return;if(e.string.charAt(c-1)==s&&"\\"!=e.string.charAt(c-2)){c--;break}}else if(i&&!a){++c;break}}i&&!a&&(t.fatArrowAt=c)}}var v={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function y(e,t,r,n,a,i){this.indented=e,this.column=t,this.type=r,this.prev=a,this.info=i,null!=n&&(this.align=n)}function w(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}var b={state:null,column:null,marked:null,cc:null};function h(){for(var e=arguments.length-1;e>=0;e--)b.cc.push(arguments[e])}function x(){return h.apply(null,arguments),!0}function g(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function V(t){var r=b.state;if(b.marked="def",r.context)if("var"==r.lexical.info&&r.context&&r.context.block){var n=A(t,r.context);if(null!=n)return void(r.context=n)}else if(!g(t,r.localVars))return void(r.localVars=new T(t,r.localVars));e.globalVars&&!g(t,r.globalVars)&&(r.globalVars=new T(t,r.globalVars))}function A(e,t){if(t){if(t.block){var r=A(e,t.prev);return r?r==t.prev?t:new j(r,t.vars,!0):null}return g(e,t.vars)?t:new j(t.prev,new T(e,t.vars),!1)}return null}function z(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function j(e,t,r){this.prev=e,this.vars=t,this.block=r}function T(e,t){this.name=e,this.next=t}var _=new T("this",new T("arguments",null));function $(){b.state.context=new j(b.state.context,b.state.localVars,!1),b.state.localVars=_}function E(){b.state.context=new j(b.state.context,b.state.localVars,!0),b.state.localVars=null}function O(){b.state.localVars=b.state.context.vars,b.state.context=b.state.context.prev}function q(e,t){var r=function(){var r=b.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var a=r.lexical;a&&")"==a.type&&a.align;a=a.prev)n=a.indented;r.lexical=new y(n,b.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function I(){var e=b.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function N(e){return function t(r){return r==e?x():";"==e||"}"==r||")"==r||"]"==r?h():x(t)}}function C(e,t){return"var"==e?x(q("vardef",t),be,N(";"),I):"keyword a"==e?x(q("form"),B,C,I):"keyword b"==e?x(q("form"),C,I):"keyword d"==e?b.stream.match(/^\s*$/,!1)?x():x(q("stat"),F,N(";"),I):"debugger"==e?x(N(";")):"{"==e?x(q("}"),E,ne,I,O):";"==e?x():"if"==e?("else"==b.state.lexical.info&&b.state.cc[b.state.cc.length-1]==I&&b.state.cc.pop()(),x(q("form"),B,C,I,ze)):"function"==e?x($e):"for"==e?x(q("form"),E,je,C,O,I):"class"==e||o&&"interface"==t?(b.marked="keyword",x(q("form","class"==e?e:t),Ne,I)):"variable"==e?o&&"declare"==t?(b.marked="keyword",x(C)):o&&("module"==t||"enum"==t||"type"==t)&&b.stream.match(/^\s*\w/,!1)?(b.marked="keyword","enum"==t?x(Ke):"type"==t?x(Oe,N("operator"),ce,N(";")):x(q("form"),he,N("{"),q("}"),ne,I,I)):o&&"namespace"==t?(b.marked="keyword",x(q("form"),P,C,I)):o&&"abstract"==t?(b.marked="keyword",x(C)):x(q("stat"),R):"switch"==e?x(q("form"),B,N("{"),q("}","switch"),E,ne,I,I,O):"case"==e?x(P,N(":")):"default"==e?x(N(":")):"catch"==e?x(q("form"),$,S,C,I,O):"export"==e?x(q("stat"),We,I):"import"==e?x(q("stat"),De,I):"async"==e?x(C):"@"==t?x(P,C):h(q("stat"),P,N(";"),I)}function S(e){if("("==e)return x(qe,N(")"))}function P(e,t){return D(e,t,!1)}function W(e,t){return D(e,t,!0)}function B(e){return"("!=e?h():x(q(")"),F,N(")"),I)}function D(e,t,r){if(b.state.fatArrowAt==b.stream.start){var n=r?L:K;if("("==e)return x($,q(")"),te(qe,")"),I,N("=>"),n,O);if("variable"==e)return h($,he,N("=>"),n,O)}var a=r?G:U;return v.hasOwnProperty(e)?x(a):"function"==e?x($e,a):"class"==e||o&&"interface"==t?(b.marked="keyword",x(q("form"),Ie,I)):"keyword c"==e||"async"==e?x(r?W:P):"("==e?x(q(")"),F,N(")"),I,a):"operator"==e||"spread"==e?x(r?W:P):"["==e?x(q("]"),Je,I,a):"{"==e?re(Y,"}",null,a):"quasi"==e?h(H,a):"new"==e?x(function(e){return function(t){return"."==t?x(e?Q:M):"variable"==t&&o?x(ve,e?G:U):h(e?W:P)}}(r)):x()}function F(e){return e.match(/[;\}\)\],]/)?h():h(P)}function U(e,t){return","==e?x(F):G(e,t,!1)}function G(e,t,r){var n=0==r?U:G,a=0==r?P:W;return"=>"==e?x($,r?L:K,O):"operator"==e?/\+\+|--/.test(t)||o&&"!"==t?x(n):o&&"<"==t&&b.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?x(q(">"),te(ce,">"),I,n):"?"==t?x(P,N(":"),a):x(a):"quasi"==e?h(H,n):";"!=e?"("==e?re(W,")","call",n):"."==e?x(X,n):"["==e?x(q("]"),F,N("]"),I,n):o&&"as"==t?(b.marked="keyword",x(ce,n)):"regexp"==e?(b.state.lastType=b.marked="operator",b.stream.backUp(b.stream.pos-b.stream.start-1),x(a)):void 0:void 0}function H(e,t){return"quasi"!=e?h():"${"!=t.slice(t.length-2)?x(H):x(F,J)}function J(e){if("}"==e)return b.marked="string.special",b.state.tokenize=p,x(H)}function K(e){return k(b.stream,b.state),h("{"==e?C:P)}function L(e){return k(b.stream,b.state),h("{"==e?C:W)}function M(e,t){if("target"==t)return b.marked="keyword",x(U)}function Q(e,t){if("target"==t)return b.marked="keyword",x(G)}function R(e){return":"==e?x(I,C):h(U,N(";"),I)}function X(e){if("variable"==e)return b.marked="property",x()}function Y(e,t){return"async"==e?(b.marked="property",x(Y)):"variable"==e||"keyword"==b.style?(b.marked="property","get"==t||"set"==t?x(Z):(o&&b.state.fatArrowAt==b.stream.start&&(r=b.stream.match(/^\s*:\s*/,!1))&&(b.state.fatArrowAt=b.stream.pos+r[0].length),x(ee))):"number"==e||"string"==e?(b.marked=a?"property":b.style+" property",x(ee)):"jsonld-keyword"==e?x(ee):o&&z(t)?(b.marked="keyword",x(Y)):"["==e?x(P,ae,N("]"),ee):"spread"==e?x(W,ee):"*"==t?(b.marked="keyword",x(Y)):":"==e?h(ee):void 0;var r}function Z(e){return"variable"!=e?h(ee):(b.marked="property",x($e))}function ee(e){return":"==e?x(W):"("==e?h($e):void 0}function te(e,t,r){function n(a,i){if(r?r.indexOf(a)>-1:","==a){var o=b.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),x((function(r,n){return r==t||n==t?h():h(e)}),n)}return a==t||i==t?x():r&&r.indexOf(";")>-1?h(e):x(N(t))}return function(r,a){return r==t||a==t?x():h(e,n)}}function re(e,t,r){for(var n=3;n"),ce):"quasi"==e?h(de,ke):void 0}function se(e){if("=>"==e)return x(ce)}function fe(e){return e.match(/[\}\)\]]/)?x():","==e||";"==e?x(fe):h(le,fe)}function le(e,t){return"variable"==e||"keyword"==b.style?(b.marked="property",x(le)):"?"==t||"number"==e||"string"==e?x(le):":"==e?x(ce):"["==e?x(N("variable"),ie,N("]"),le):"("==e?h(Ee,le):e.match(/[;\}\)\],]/)?void 0:x()}function de(e,t){return"quasi"!=e?h():"${"!=t.slice(t.length-2)?x(de):x(ce,me)}function me(e){if("}"==e)return b.marked="string-2",b.state.tokenize=p,x(de)}function pe(e,t){return"variable"==e&&b.stream.match(/^\s*[?:]/,!1)||"?"==t?x(pe):":"==e?x(ce):"spread"==e?x(pe):h(ce)}function ke(e,t){return"<"==t?x(q(">"),te(ce,">"),I,ke):"|"==t||"."==e||"&"==t?x(ce):"["==e?x(ce,N("]"),ke):"extends"==t||"implements"==t?(b.marked="keyword",x(ce)):"?"==t?x(ce,N(":"),ce):void 0}function ve(e,t){if("<"==t)return x(q(">"),te(ce,">"),I,ke)}function ye(){return h(ce,we)}function we(e,t){if("="==t)return x(ce)}function be(e,t){return"enum"==t?(b.marked="keyword",x(Ke)):h(he,ae,Ve,Ae)}function he(e,t){return o&&z(t)?(b.marked="keyword",x(he)):"variable"==e?(V(t),x()):"spread"==e?x(he):"["==e?re(ge,"]"):"{"==e?re(xe,"}"):void 0}function xe(e,t){return"variable"!=e||b.stream.match(/^\s*:/,!1)?("variable"==e&&(b.marked="property"),"spread"==e?x(he):"}"==e?h():"["==e?x(P,N("]"),N(":"),xe):x(N(":"),he,Ve)):(V(t),x(Ve))}function ge(){return h(he,Ve)}function Ve(e,t){if("="==t)return x(W)}function Ae(e){if(","==e)return x(be)}function ze(e,t){if("keyword b"==e&&"else"==t)return x(q("form","else"),C,I)}function je(e,t){return"await"==t?x(je):"("==e?x(q(")"),Te,I):void 0}function Te(e){return"var"==e?x(be,_e):"variable"==e?x(_e):h(_e)}function _e(e,t){return")"==e?x():";"==e?x(_e):"in"==t||"of"==t?(b.marked="keyword",x(P,_e)):h(P,_e)}function $e(e,t){return"*"==t?(b.marked="keyword",x($e)):"variable"==e?(V(t),x($e)):"("==e?x($,q(")"),te(qe,")"),I,oe,C,O):o&&"<"==t?x(q(">"),te(ye,">"),I,$e):void 0}function Ee(e,t){return"*"==t?(b.marked="keyword",x(Ee)):"variable"==e?(V(t),x(Ee)):"("==e?x($,q(")"),te(qe,")"),I,oe,O):o&&"<"==t?x(q(">"),te(ye,">"),I,Ee):void 0}function Oe(e,t){return"keyword"==e||"variable"==e?(b.marked="type",x(Oe)):"<"==t?x(q(">"),te(ye,">"),I):void 0}function qe(e,t){return"@"==t&&x(P,qe),"spread"==e?x(qe):o&&z(t)?(b.marked="keyword",x(qe)):o&&"this"==e?x(ae,Ve):h(he,ae,Ve)}function Ie(e,t){return"variable"==e?Ne(e,t):Ce(e,t)}function Ne(e,t){if("variable"==e)return V(t),x(Ce)}function Ce(e,t){return"<"==t?x(q(">"),te(ye,">"),I,Ce):"extends"==t||"implements"==t||o&&","==e?("implements"==t&&(b.marked="keyword"),x(o?ce:P,Ce)):"{"==e?x(q("}"),Se,I):void 0}function Se(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||o&&z(t))&&b.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(b.marked="keyword",x(Se)):"variable"==e||"keyword"==b.style?(b.marked="property",x(Pe,Se)):"number"==e||"string"==e?x(Pe,Se):"["==e?x(P,ae,N("]"),Pe,Se):"*"==t?(b.marked="keyword",x(Se)):o&&"("==e?h(Ee,Se):";"==e||","==e?x(Se):"}"==e?x():"@"==t?x(P,Se):void 0}function Pe(e,t){if("!"==t||"?"==t)return x(Pe);if(":"==e)return x(ce,Ve);if("="==t)return x(W);var r=b.state.lexical.prev;return h(r&&"interface"==r.info?Ee:$e)}function We(e,t){return"*"==t?(b.marked="keyword",x(He,N(";"))):"default"==t?(b.marked="keyword",x(P,N(";"))):"{"==e?x(te(Be,"}"),He,N(";")):h(C)}function Be(e,t){return"as"==t?(b.marked="keyword",x(N("variable"))):"variable"==e?h(W,Be):void 0}function De(e){return"string"==e?x():"("==e?h(P):"."==e?h(U):h(Fe,Ue,He)}function Fe(e,t){return"{"==e?re(Fe,"}"):("variable"==e&&V(t),"*"==t&&(b.marked="keyword"),x(Ge))}function Ue(e){if(","==e)return x(Fe,Ue)}function Ge(e,t){if("as"==t)return b.marked="keyword",x(Fe)}function He(e,t){if("from"==t)return b.marked="keyword",x(P)}function Je(e){return"]"==e?x():h(te(W,"]"))}function Ke(){return h(q("form"),he,N("{"),q("}"),te(Le,"}"),I,I)}function Le(){return h(he,Ve)}return $.lex=E.lex=!0,O.lex=!0,I.lex=!0,{name:e.name,startState:function(t){var r={tokenize:d,lastType:"sof",cc:[],lexical:new y(-t,0,"block",!1),localVars:e.localVars,context:e.localVars&&new j(null,null,!1),indented:0};return e.globalVars&&"object"==typeof e.globalVars&&(r.globalVars=e.globalVars),r},token:function(e,n){if(e.sol()&&(n.lexical.hasOwnProperty("align")||(n.lexical.align=!1),n.indented=e.indentation(),k(e,n)),n.tokenize!=m&&e.eatSpace())return null;var a=n.tokenize(e,n);return"comment"==t?a:(n.lastType="operator"!=t||"++"!=r&&"--"!=r?t:"incdec",function(e,t,r,n,a){var o=e.cc;for(b.state=e,b.stream=a,b.marked=null,b.cc=o,b.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():i?P:C)(r,n)){for(;o.length&&o[o.length-1].lex;)o.pop()();return b.marked?b.marked:"variable"==r&&w(e,n)?"variableName.local":t}}(n,a,t,r,e))},indent:function(t,r,a){if(t.tokenize==m||t.tokenize==p)return null;if(t.tokenize!=d)return 0;var i,o=r&&r.charAt(0),u=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var f=t.cc[c];if(f==I)u=u.prev;else if(f!=ze&&f!=O)break}for(;("stat"==u.type||"form"==u.type)&&("}"==o||(i=t.cc[t.cc.length-1])&&(i==U||i==G)&&!/^[,\.=+\-*:?[\(]/.test(r));)u=u.prev;n&&")"==u.type&&"stat"==u.prev.type&&(u=u.prev);var l=u.type,k=o==l;return"vardef"==l?u.indented+("operator"==t.lastType||","==t.lastType?u.info.length+1:0):"form"==l&&"{"==o?u.indented:"form"==l?u.indented+a.unit:"stat"==l?u.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||s.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?n||a.unit:0):"switch"!=u.info||k||0==e.doubleIndentSwitch?u.align?u.column+(k?0:1):u.indented+(k?0:a.unit):u.indented+(/^(?:case|default)\b/.test(r)?a.unit:2*a.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:i?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}r.r(t),r.d(t,{javascript:function(){return a},json:function(){return i},jsonld:function(){return o},typescript:function(){return u}});const a=n({name:"javascript"}),i=n({name:"json",json:!0}),o=n({name:"json",jsonld:!0}),u=n({name:"typescript",typescript:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9296.cc29c7804ab0b2cc.js b/static/web/_next/static/chunks/9296.cc29c7804ab0b2cc.js new file mode 100644 index 000000000..be15cd108 --- /dev/null +++ b/static/web/_next/static/chunks/9296.cc29c7804ab0b2cc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9296],{59296:function(e,r,t){function n(e){var r,t,n=e.statementIndent,a=e.jsonld,i=e.json||a,o=e.typescript,u=e.wordCharacters||/[\w$\xa1-\uffff]/,s=function(){function e(e){return{type:e,style:"keyword"}}var r=e("keyword a"),t=e("keyword b"),n=e("keyword c"),a=e("keyword d"),i=e("operator"),o={type:"atom",style:"atom"};return{if:e("if"),while:r,with:r,else:t,do:t,try:t,finally:t,return:a,break:a,continue:a,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),f=/[+\-*&%=<>!?|~^@]/,c=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function l(e,n,a){return r=e,t=a,n}function d(e,r){var t=e.next();if('"'==t||"'"==t)return r.tokenize=function(e,r){var n,i=!1;if(a&&"@"==e.peek()&&e.match(c))return r.tokenize=d,l("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=t||i);)i=!i&&"\\"==n;return i||(r.tokenize=d),l("string","string")},r.tokenize(e,r);if("."==t&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return l("number","number");if("."==t&&e.match(".."))return l("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return l(t);if("="==t&&e.eat(">"))return l("=>","operator");if("0"==t&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return l("number","number");if(/\d/.test(t))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),l("number","number");else if("/"==t)return e.eat("*")?(r.tokenize=m,m(e,r)):e.eat("/")?(e.skipToEnd(),l("comment","comment")):r.tokenize==d&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(r.lastType)||"quasi"==r.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-1))?(!function(e){for(var r,t=!1,n=!1;null!=(r=e.next());){if(!t){if("/"==r&&!n)return;"["==r?n=!0:n&&"]"==r&&(n=!1)}t=!t&&"\\"==r}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),l("regexp","string.special")):(e.eat("="),l("operator","operator",e.current()));else if("`"==t)return r.tokenize=p,p(e,r);else if("#"==t&&"!"==e.peek())return e.skipToEnd(),l("meta","meta");else if("#"==t&&e.eatWhile(u))return l("variable","property");else if("<"==t&&e.match("!--")||"-"==t&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),l("comment","comment");else if(f.test(t))return((">"!=t||!r.lexical||">"!=r.lexical.type)&&(e.eat("=")?("!"==t||"="==t)&&e.eat("="):/[<>*+\-|&?]/.test(t)&&(e.eat(t),">"==t&&e.eat(t))),"?"==t&&e.eat("."))?l("."):l("operator","operator",e.current());else if(u.test(t)){e.eatWhile(u);var n=e.current();if("."!=r.lastType){if(s.propertyIsEnumerable(n)){var i=s[n];return l(i.type,i.style,n)}if("async"==n&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return l("async","keyword",n)}return l("variable","variable",n)}}function m(e,r){for(var t,n=!1;t=e.next();){if("/"==t&&n){r.tokenize=d;break}n="*"==t}return l("comment","comment")}function p(e,r){for(var t,n=!1;null!=(t=e.next());){if(!n&&("`"==t||"$"==t&&e.eat("{"))){r.tokenize=d;break}n=!n&&"\\"==t}return l("quasi","string.special",e.current())}function k(e,r){r.fatArrowAt&&(r.fatArrowAt=null);var t=e.string.indexOf("=>",e.start);if(!(t<0)){if(o){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,t));n&&(t=n.index)}for(var a=0,i=!1,s=t-1;s>=0;--s){var f=e.string.charAt(s),c="([{}])".indexOf(f);if(c>=0&&c<3){if(!a){++s;break}if(0==--a){"("==f&&(i=!0);break}}else if(c>=3&&c<6)++a;else if(u.test(f))i=!0;else if(/["'\/`]/.test(f))for(;;--s){if(0==s)return;if(e.string.charAt(s-1)==f&&"\\"!=e.string.charAt(s-2)){s--;break}}else if(i&&!a){++s;break}}i&&!a&&(r.fatArrowAt=s)}}var v={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function y(e,r,t,n,a,i){this.indented=e,this.column=r,this.type=t,this.prev=a,this.info=i,null!=n&&(this.align=n)}var w={state:null,column:null,marked:null,cc:null};function b(){for(var e=arguments.length-1;e>=0;e--)w.cc.push(arguments[e])}function h(){return b.apply(null,arguments),!0}function x(e,r){for(var t=r;t;t=t.next)if(t.name==e)return!0;return!1}function g(r){var t=w.state;if(w.marked="def",t.context){if("var"==t.lexical.info&&t.context&&t.context.block){var n=function e(r,t){if(!t)return null;if(t.block){var n=e(r,t.prev);return n?n==t.prev?t:new A(n,t.vars,!0):null}return x(r,t.vars)?t:new A(t.prev,new z(r,t.vars),!1)}(r,t.context);if(null!=n){t.context=n;return}}else if(!x(r,t.localVars)){t.localVars=new z(r,t.localVars);return}}e.globalVars&&!x(r,t.globalVars)&&(t.globalVars=new z(r,t.globalVars))}function V(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function A(e,r,t){this.prev=e,this.vars=r,this.block=t}function z(e,r){this.name=e,this.next=r}var j=new z("this",new z("arguments",null));function T(){w.state.context=new A(w.state.context,w.state.localVars,!1),w.state.localVars=j}function _(){w.state.context=new A(w.state.context,w.state.localVars,!0),w.state.localVars=null}function $(){w.state.localVars=w.state.context.vars,w.state.context=w.state.context.prev}function E(e,r){var t=function(){var t=w.state,n=t.indented;if("stat"==t.lexical.type)n=t.lexical.indented;else for(var a=t.lexical;a&&")"==a.type&&a.align;a=a.prev)n=a.indented;t.lexical=new y(n,w.stream.column(),e,null,t.lexical,r)};return t.lex=!0,t}function O(){var e=w.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function q(e){return function r(t){return t==e?h():";"==e||"}"==t||")"==t||"]"==t?b():h(r)}}function I(e,r){if("var"==e)return h(E("vardef",r),ey,q(";"),O);if("keyword a"==e)return h(E("form"),P,I,O);if("keyword b"==e)return h(E("form"),I,O);if("keyword d"==e)return w.stream.match(/^\s*$/,!1)?h():h(E("stat"),B,q(";"),O);if("debugger"==e)return h(q(";"));if("{"==e)return h(E("}"),_,er,O,$);if(";"==e)return h();if("if"==e)return"else"==w.state.lexical.info&&w.state.cc[w.state.cc.length-1]==O&&w.state.cc.pop()(),h(E("form"),P,I,O,eV);if("function"==e)return h(eT);if("for"==e)return h(E("form"),_,eA,I,$,O);if("class"==e||o&&"interface"==r)return w.marked="keyword",h(E("form","class"==e?e:r),eq,O);if("variable"==e)return o&&"declare"==r?(w.marked="keyword",h(I)):o&&("module"==r||"enum"==r||"type"==r)&&w.stream.match(/^\s*\w/,!1)?(w.marked="keyword","enum"==r)?h(eH):"type"==r?h(e$,q("operator"),eo,q(";")):h(E("form"),ew,q("{"),E("}"),er,O,O):o&&"namespace"==r?(w.marked="keyword",h(E("form"),C,I,O)):o&&"abstract"==r?(w.marked="keyword",h(I)):h(E("stat"),M);return"switch"==e?h(E("form"),P,q("{"),E("}","switch"),_,er,O,O,$):"case"==e?h(C,q(":")):"default"==e?h(q(":")):"catch"==e?h(E("form"),T,N,I,O,$):"export"==e?h(E("stat"),eS,O):"import"==e?h(E("stat"),eW,O):"async"==e?h(I):"@"==r?h(C,I):b(E("stat"),C,q(";"),O)}function N(e){if("("==e)return h(eE,q(")"))}function C(e,r){return W(e,r,!1)}function S(e,r){return W(e,r,!0)}function P(e){return"("!=e?b():h(E(")"),B,q(")"),O)}function W(e,r,t){if(w.state.fatArrowAt==w.stream.start){var n=t?J:H;if("("==e)return h(T,E(")"),Z(eE,")"),O,q("=>"),n,$);if("variable"==e)return b(T,ew,q("=>"),n,$)}var a=t?F:D;return v.hasOwnProperty(e)?h(a):"function"==e?h(eT,a):"class"==e||o&&"interface"==r?(w.marked="keyword",h(E("form"),eO,O)):"keyword c"==e||"async"==e?h(t?S:C):"("==e?h(E(")"),B,q(")"),O,a):"operator"==e||"spread"==e?h(t?S:C):"["==e?h(E("]"),eG,O,a):"{"==e?ee(R,"}",null,a):"quasi"==e?b(U,a):"new"==e?h(function(e){return"."==e?h(t?L:K):"variable"==e&&o?h(ep,t?F:D):b(t?S:C)}):h()}function B(e){return e.match(/[;\}\)\],]/)?b():b(C)}function D(e,r){return","==e?h(B):F(e,r,!1)}function F(e,r,t){var n=!1==t?D:F,a=!1==t?C:S;if("=>"==e)return h(T,t?J:H,$);if("operator"==e)return/\+\+|--/.test(r)||o&&"!"==r?h(n):o&&"<"==r&&w.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?h(E(">"),Z(eo,">"),O,n):"?"==r?h(C,q(":"),a):h(a);if("quasi"==e)return b(U,n);if(";"!=e){if("("==e)return ee(S,")","call",n);if("."==e)return h(Q,n);if("["==e)return h(E("]"),B,q("]"),O,n);if(o&&"as"==r)return w.marked="keyword",h(eo,n);if("regexp"==e)return w.state.lastType=w.marked="operator",w.stream.backUp(w.stream.pos-w.stream.start-1),h(a)}}function U(e,r){return"quasi"!=e?b():"${"!=r.slice(r.length-2)?h(U):h(B,G)}function G(e){if("}"==e)return w.marked="string.special",w.state.tokenize=p,h(U)}function H(e){return k(w.stream,w.state),b("{"==e?I:C)}function J(e){return k(w.stream,w.state),b("{"==e?I:S)}function K(e,r){if("target"==r)return w.marked="keyword",h(D)}function L(e,r){if("target"==r)return w.marked="keyword",h(F)}function M(e){return":"==e?h(O,I):b(D,q(";"),O)}function Q(e){if("variable"==e)return w.marked="property",h()}function R(e,r){if("async"==e)return w.marked="property",h(R);if("variable"==e||"keyword"==w.style){var t;return(w.marked="property","get"==r||"set"==r)?h(X):(o&&w.state.fatArrowAt==w.stream.start&&(t=w.stream.match(/^\s*:\s*/,!1))&&(w.state.fatArrowAt=w.stream.pos+t[0].length),h(Y))}if("number"==e||"string"==e)return w.marked=a?"property":w.style+" property",h(Y);if("jsonld-keyword"==e)return h(Y);if(o&&V(r))return w.marked="keyword",h(R);if("["==e)return h(C,et,q("]"),Y);if("spread"==e)return h(S,Y);else if("*"==r)return w.marked="keyword",h(R);else if(":"==e)return b(Y)}function X(e){return"variable"!=e?b(Y):(w.marked="property",h(eT))}function Y(e){return":"==e?h(S):"("==e?b(eT):void 0}function Z(e,r,t){function n(a,i){if(t?t.indexOf(a)>-1:","==a){var o=w.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),h(function(t,n){return t==r||n==r?b():b(e)},n)}return a==r||i==r?h():t&&t.indexOf(";")>-1?b(e):h(q(r))}return function(t,a){return t==r||a==r?h():b(e,n)}}function ee(e,r,t){for(var n=3;n"),eo):"quasi"==e?b(ec,em):void 0}function eu(e){if("=>"==e)return h(eo)}function es(e){return e.match(/[\}\)\]]/)?h():","==e||";"==e?h(es):b(ef,es)}function ef(e,r){return"variable"==e||"keyword"==w.style?(w.marked="property",h(ef)):"?"==r||"number"==e||"string"==e?h(ef):":"==e?h(eo):"["==e?h(q("variable"),en,q("]"),ef):"("==e?b(e_,ef):e.match(/[;\}\)\],]/)?void 0:h()}function ec(e,r){return"quasi"!=e?b():"${"!=r.slice(r.length-2)?h(ec):h(eo,el)}function el(e){if("}"==e)return w.marked="string-2",w.state.tokenize=p,h(ec)}function ed(e,r){return"variable"==e&&w.stream.match(/^\s*[?:]/,!1)||"?"==r?h(ed):":"==e?h(eo):"spread"==e?h(ed):b(eo)}function em(e,r){return"<"==r?h(E(">"),Z(eo,">"),O,em):"|"==r||"."==e||"&"==r?h(eo):"["==e?h(eo,q("]"),em):"extends"==r||"implements"==r?(w.marked="keyword",h(eo)):"?"==r?h(eo,q(":"),eo):void 0}function ep(e,r){if("<"==r)return h(E(">"),Z(eo,">"),O,em)}function ek(){return b(eo,ev)}function ev(e,r){if("="==r)return h(eo)}function ey(e,r){return"enum"==r?(w.marked="keyword",h(eH)):b(ew,et,ex,eg)}function ew(e,r){return o&&V(r)?(w.marked="keyword",h(ew)):"variable"==e?(g(r),h()):"spread"==e?h(ew):"["==e?ee(eh,"]"):"{"==e?ee(eb,"}"):void 0}function eb(e,r){return"variable"!=e||w.stream.match(/^\s*:/,!1)?("variable"==e&&(w.marked="property"),"spread"==e)?h(ew):"}"==e?b():"["==e?h(C,q("]"),q(":"),eb):h(q(":"),ew,ex):(g(r),h(ex))}function eh(){return b(ew,ex)}function ex(e,r){if("="==r)return h(S)}function eg(e){if(","==e)return h(ey)}function eV(e,r){if("keyword b"==e&&"else"==r)return h(E("form","else"),I,O)}function eA(e,r){return"await"==r?h(eA):"("==e?h(E(")"),ez,O):void 0}function ez(e){return"var"==e?h(ey,ej):"variable"==e?h(ej):b(ej)}function ej(e,r){return")"==e?h():";"==e?h(ej):"in"==r||"of"==r?(w.marked="keyword",h(C,ej)):b(C,ej)}function eT(e,r){return"*"==r?(w.marked="keyword",h(eT)):"variable"==e?(g(r),h(eT)):"("==e?h(T,E(")"),Z(eE,")"),O,ea,I,$):o&&"<"==r?h(E(">"),Z(ek,">"),O,eT):void 0}function e_(e,r){return"*"==r?(w.marked="keyword",h(e_)):"variable"==e?(g(r),h(e_)):"("==e?h(T,E(")"),Z(eE,")"),O,ea,$):o&&"<"==r?h(E(">"),Z(ek,">"),O,e_):void 0}function e$(e,r){return"keyword"==e||"variable"==e?(w.marked="type",h(e$)):"<"==r?h(E(">"),Z(ek,">"),O):void 0}function eE(e,r){return("@"==r&&h(C,eE),"spread"==e)?h(eE):o&&V(r)?(w.marked="keyword",h(eE)):o&&"this"==e?h(et,ex):b(ew,et,ex)}function eO(e,r){return"variable"==e?eq(e,r):eI(e,r)}function eq(e,r){if("variable"==e)return g(r),h(eI)}function eI(e,r){return"<"==r?h(E(">"),Z(ek,">"),O,eI):"extends"==r||"implements"==r||o&&","==e?("implements"==r&&(w.marked="keyword"),h(o?eo:C,eI)):"{"==e?h(E("}"),eN,O):void 0}function eN(e,r){return"async"==e||"variable"==e&&("static"==r||"get"==r||"set"==r||o&&V(r))&&w.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(w.marked="keyword",h(eN)):"variable"==e||"keyword"==w.style?(w.marked="property",h(eC,eN)):"number"==e||"string"==e?h(eC,eN):"["==e?h(C,et,q("]"),eC,eN):"*"==r?(w.marked="keyword",h(eN)):o&&"("==e?b(e_,eN):";"==e||","==e?h(eN):"}"==e?h():"@"==r?h(C,eN):void 0}function eC(e,r){if("!"==r||"?"==r)return h(eC);if(":"==e)return h(eo,ex);if("="==r)return h(S);var t=w.state.lexical.prev;return b(t&&"interface"==t.info?e_:eT)}function eS(e,r){return"*"==r?(w.marked="keyword",h(eU,q(";"))):"default"==r?(w.marked="keyword",h(C,q(";"))):"{"==e?h(Z(eP,"}"),eU,q(";")):b(I)}function eP(e,r){return"as"==r?(w.marked="keyword",h(q("variable"))):"variable"==e?b(S,eP):void 0}function eW(e){return"string"==e?h():"("==e?b(C):"."==e?b(D):b(eB,eD,eU)}function eB(e,r){return"{"==e?ee(eB,"}"):("variable"==e&&g(r),"*"==r&&(w.marked="keyword"),h(eF))}function eD(e){if(","==e)return h(eB,eD)}function eF(e,r){if("as"==r)return w.marked="keyword",h(eB)}function eU(e,r){if("from"==r)return w.marked="keyword",h(C)}function eG(e){return"]"==e?h():b(Z(S,"]"))}function eH(){return b(E("form"),ew,q("{"),E("}"),Z(eJ,"}"),O,O)}function eJ(){return b(ew,ex)}return T.lex=_.lex=!0,$.lex=!0,O.lex=!0,{name:e.name,startState:function(r){var t={tokenize:d,lastType:"sof",cc:[],lexical:new y(-r,0,"block",!1),localVars:e.localVars,context:e.localVars&&new A(null,null,!1),indented:0};return e.globalVars&&"object"==typeof e.globalVars&&(t.globalVars=e.globalVars),t},token:function(e,n){if(e.sol()&&(n.lexical.hasOwnProperty("align")||(n.lexical.align=!1),n.indented=e.indentation(),k(e,n)),n.tokenize!=m&&e.eatSpace())return null;var a=n.tokenize(e,n);return"comment"==r?a:(n.lastType="operator"==r&&("++"==t||"--"==t)?"incdec":r,function(e,r,t,n,a){var o=e.cc;for(w.state=e,w.stream=a,w.marked=null,w.cc=o,w.style=r,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():i?C:I)(t,n)){for(;o.length&&o[o.length-1].lex;)o.pop()();if(w.marked)return w.marked;if("variable"==t&&function(e,r){for(var t=e.localVars;t;t=t.next)if(t.name==r)return!0;for(var n=e.context;n;n=n.prev)for(var t=n.vars;t;t=t.next)if(t.name==r)return!0}(e,n))return"variableName.local";return r}}(n,a,r,t,e))},indent:function(r,t,a){if(r.tokenize==m||r.tokenize==p)return null;if(r.tokenize!=d)return 0;var i,o=t&&t.charAt(0),u=r.lexical;if(!/^\s*else\b/.test(t))for(var s=r.cc.length-1;s>=0;--s){var c=r.cc[s];if(c==O)u=u.prev;else if(c!=eV&&c!=$)break}for(;("stat"==u.type||"form"==u.type)&&("}"==o||(i=r.cc[r.cc.length-1])&&(i==D||i==F)&&!/^[,\.=+\-*:?[\(]/.test(t));)u=u.prev;n&&")"==u.type&&"stat"==u.prev.type&&(u=u.prev);var l=u.type,k=o==l;return"vardef"==l?u.indented+("operator"==r.lastType||","==r.lastType?u.info.length+1:0):"form"==l&&"{"==o?u.indented:"form"==l?u.indented+a.unit:"stat"==l?u.indented+("operator"==r.lastType||","==r.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))?n||a.unit:0):"switch"!=u.info||k||!1==e.doubleIndentSwitch?u.align?u.column+(k?0:1):u.indented+(k?0:a.unit):u.indented+(/^(?:case|default)\b/.test(t)?a.unit:2*a.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:i?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}t.r(r),t.d(r,{javascript:function(){return a},json:function(){return i},jsonld:function(){return o},typescript:function(){return u}});let a=n({name:"javascript"}),i=n({name:"json",json:!0}),o=n({name:"json",jsonld:!0}),u=n({name:"typescript",typescript:!0})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9372-33c9bdaa0fb5ade5.js b/static/web/_next/static/chunks/9372-33c9bdaa0fb5ade5.js deleted file mode 100644 index 6f40222dc..000000000 --- a/static/web/_next/static/chunks/9372-33c9bdaa0fb5ade5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9372],{23917:function(t,e,n){n.d(e,{e:function(){return L}});var r=n(67294),i=n(52798),o=n(63056),a=n(59043),s=n(54911),c=n(3884),u=n(30375),f=n(14066),h=n(89823),l={deferEvents:!1},d=function(){function t(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=(0,o.pi)((0,o.pi)({},l),t)}return t.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents)return void this.schedule(t);this.process(t)}this.flushEvents()},t.prototype.schedule=function(t){if(this.initialized&&!this.processingEvent){if(0!==this.queue.length)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()}else this.queue.push(t)},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},t.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(e){throw this.clear(),e}finally{this.processingEvent=!1}},t}(),v=n(98933),p=new Map,y=0,g=function(){return"x:".concat(y++)},m=function(t,e){return p.set(t,e),t},x=function(t){return p.get(t)},b=function(t){p.delete(t)};function S(){return"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:void(f.M||console.warn("XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues"))}function w(t){if(S()){var e=function(){var t=S();if(t&&"__xstate__"in t)return t.__xstate__}();e&&e.register(t)}}var _=n(10797);function E(t,e){void 0===e&&(e={});var n=t.initialState,r=new Set,i=[],o=!1,a=(0,v.vk)({id:e.id,send:function(e){i.push(e),function(){if(!o){for(o=!0;i.length>0;){var e=i.shift();n=t.transition(n,e,s),r.forEach((function(t){return t.next(n)}))}o=!1}}()},getSnapshot:function(){return n},subscribe:function(t,e,i){var o=(0,h.zM)(t,e,i);return r.add(o),o.next(n),{unsubscribe:function(){r.delete(o)}}}}),s={parent:e.parent,self:a,id:e.id||"anonymous",observers:r};return n=t.start?t.start(s):n,a}var O,A={sync:!1,autoForward:!1};!function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"}(O||(O={}));var M=function(){function t(e,n){void 0===n&&(n=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=O.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(t,e){if((0,h.kJ)(t))return r.batch(t),r.state;var n=(0,h.g5)((0,h._v)(t,e));if(r.status===O.Stopped)return f.M||(0,h.ZK)(!1,'Event "'.concat(n.name,'" was sent to stopped service "').concat(r.machine.id,'". This service has already reached its final state, and will not transition.\nEvent: ').concat(JSON.stringify(n.data))),r.state;if(r.status!==O.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(n.name,'" was sent to uninitialized service "').concat(r.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: ').concat(JSON.stringify(n.data)));return r.scheduler.schedule((function(){r.forward(n);var t=r._nextState(n);r.update(t,n)})),r._state},this.sendTo=function(t,e,n){var i=r.parent&&(e===a.K.Parent||r.parent.id===e),s=i?r.parent:(0,h.HD)(e)?r.children.get(e)||x(e):(0,h.Bc)(e)?e:void 0;if(s)if("machine"in s){if(r.status!==O.Stopped||r.parent!==s||r.state.done){var l=(0,o.pi)((0,o.pi)({},t),{name:t.name===c.vU?"".concat((0,u.vU)(r.id)):t.name,origin:r.sessionId});!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,l]):s.send(l)}}else!n&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([s,t.data]):s.send(t.data);else{if(!i)throw new Error("Unable to send event to child '".concat(e,"' from service '").concat(r.id,"'."));f.M||(0,h.ZK)(!1,"Service '".concat(r.id,"' has no parent: unable to send event ").concat(t.type))}},this._exec=function(t,e,n,i){void 0===i&&(i=r.machine.options.actions);var o=t.exec||(0,u.o$)(t.type,i),s=(0,h.mf)(o)?o:o?o.exec:t.exec;if(s)try{return s(e,n.data,r.machine.config.predictableActionArguments?{action:t,_event:n}:{action:t,state:r.state,_event:n})}catch(E){throw r.parent&&r.parent.send({type:"xstate.error",data:E}),E}switch(t.type){case c.lW:var l=t;if("number"===typeof l.delay)return void r.defer(l);l.to?r.sendTo(l._event,l.to,n===u.bf):r.send(l._event);break;case c.al:r.cancel(t.sendId);break;case c.BL:if(r.status!==O.Running)return;var d=t.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[d.id||d.type])break;if(d.type===a.M.Invoke){var v=(0,h.j)(d.src),p=r.machine.options.services?r.machine.options.services[v.type]:void 0,y=d.id,g=d.data;f.M||(0,h.ZK)(!("forward"in d),"`forward` property is deprecated (found in invocation of '".concat(d.src,"' in in machine '").concat(r.machine.id,"'). ")+"Please use `autoForward` instead.");var m="autoForward"in d?d.autoForward:!!d.forward;if(!p)return void(f.M||(0,h.ZK)(!1,"No service found for invocation '".concat(d.src,"' in machine '").concat(r.machine.id,"'.")));var x=g?(0,h.QX)(g,e,n):void 0;if("string"===typeof p)return;var b=(0,h.mf)(p)?p(e,n.data,{data:x,src:v,meta:d.meta}):p;if(!b)return;var S=void 0;(0,h.O4)(b)&&(b=x?b.withContext(x):b,S={autoForward:m}),r.spawn(b,y,S)}else r.spawnActivity(d);break;case c.sT:r.stopChild(t.activity.id);break;case c.cM:var w=t.label,_=t.value;w?r.logger(w,_):r.logger(_);break;default:f.M||(0,h.ZK)(!1,"No implementation found for action type '".concat(t.type,"'"))}};var i=(0,o.pi)((0,o.pi)({},t.defaultOptions),n),s=i.clock,l=i.logger,v=i.parent,p=i.id,y=void 0!==p?p:e.id;this.id=y,this.logger=l,this.clock=s,this.parent=v,this.options=i,this.scheduler=new d({deferEvents:this.options.deferEvents}),this.sessionId=g()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:(0,_.J)(this,(function(){return t._initialState=t.machine.initialState,t._initialState}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return f.M||(0,h.ZK)(this.status!==O.NotStarted,"Attempted to read state from uninitialized service '".concat(this.id,"'. Make sure the service is started first.")),this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(t,e){var n,r;try{for(var i=(0,o.XA)(t.actions),a=i.next();!a.done;a=i.next()){var s=a.value;this.exec(s,t,e)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.update=function(t,e){var n,r,i,a,s,c,f,l,d=this;if(t._sessionid=this.sessionId,this._state=t,this.machine.config.predictableActionArguments&&e!==u.bf||!this.options.execute)for(var v=void 0;v=this._outgoingQueue.shift();)v[0].send(v[1]);else this.execute(this.state);if(this.children.forEach((function(t){d.state.children[t.id]=t})),this.devTools&&this.devTools.send(e.data,t),t.event)try{for(var p=(0,o.XA)(this.eventListeners),y=p.next();!y.done;y=p.next()){(0,y.value)(t.event)}}catch(O){n={error:O}}finally{try{y&&!y.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}try{for(var g=(0,o.XA)(this.listeners),m=g.next();!m.done;m=g.next()){(0,m.value)(t,t.event)}}catch(A){i={error:A}}finally{try{m&&!m.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var x=(0,o.XA)(this.contextListeners),b=x.next();!b.done;b=x.next()){(0,b.value)(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(M){s={error:M}}finally{try{b&&!b.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}if(this.state.done){var S=t.configuration.find((function(t){return"final"===t.type&&t.parent===d.machine})),w=S&&S.doneData?(0,h.QX)(S.doneData,t.context,e):void 0;try{for(var _=(0,o.XA)(this.doneListeners),E=_.next();!E.done;E=_.next()){(0,E.value)((0,u.Sl)(this.id,w))}}catch(j){f={error:j}}finally{try{E&&!E.done&&(l=_.return)&&l.call(_)}finally{if(f)throw f.error}}this._stop(),this._stopChildren()}},t.prototype.onTransition=function(t){return this.listeners.add(t),this.status===O.Running&&t(this.state,this.state.event),this},t.prototype.subscribe=function(t,e,n){var r=this,i=(0,h.zM)(t,e,n);this.listeners.add(i.next),this.status!==O.NotStarted&&i.next(this.state);var o=function(){r.doneListeners.delete(o),r.stopListeners.delete(o),i.complete()};return this.status===O.Stopped?i.complete():(this.onDone(o),this.onStop(o)),{unsubscribe:function(){r.listeners.delete(i.next),r.doneListeners.delete(o),r.stopListeners.delete(o)}}},t.prototype.onEvent=function(t){return this.eventListeners.add(t),this},t.prototype.onSend=function(t){return this.sendListeners.add(t),this},t.prototype.onChange=function(t){return this.contextListeners.add(t),this},t.prototype.onStop=function(t){return this.stopListeners.add(t),this},t.prototype.onDone=function(t){return this.doneListeners.add(t),this},t.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},t.prototype.start=function(t){var e=this;if(this.status===O.Running)return this;this.machine._init(),m(this.sessionId,this),this.initialized=!0,this.status=O.Running;var n=void 0===t?this.initialState:(0,_.J)(this,(function(){return(0,s.TL)(t)?e.machine.resolveState(t):e.machine.resolveState(s.ZM.from(t,e.machine.context))}));return this.options.devTools&&this.attachDev(),this.scheduler.initialize((function(){e.update(n,u.bf)})),this},t.prototype._stopChildren=function(){this.children.forEach((function(t){(0,h.mf)(t.stop)&&t.stop()})),this.children.clear()},t.prototype._stop=function(){var t,e,n,r,i,a,s,c,u,f;try{for(var h=(0,o.XA)(this.listeners),l=h.next();!l.done;l=h.next()){var v=l.value;this.listeners.delete(v)}}catch(E){t={error:E}}finally{try{l&&!l.done&&(e=h.return)&&e.call(h)}finally{if(t)throw t.error}}try{for(var p=(0,o.XA)(this.stopListeners),y=p.next();!y.done;y=p.next()){(v=y.value)(),this.stopListeners.delete(v)}}catch(A){n={error:A}}finally{try{y&&!y.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}try{for(var g=(0,o.XA)(this.contextListeners),m=g.next();!m.done;m=g.next()){v=m.value;this.contextListeners.delete(v)}}catch(M){i={error:M}}finally{try{m&&!m.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var x=(0,o.XA)(this.doneListeners),b=x.next();!b.done;b=x.next()){v=b.value;this.doneListeners.delete(v)}}catch(j){s={error:j}}finally{try{b&&!b.done&&(c=x.return)&&c.call(x)}finally{if(s)throw s.error}}if(!this.initialized)return this;this.initialized=!1,this.status=O.Stopped,this._initialState=void 0;try{for(var S=(0,o.XA)(Object.keys(this.delayedEventsMap)),w=S.next();!w.done;w=S.next()){var _=w.value;this.clock.clearTimeout(this.delayedEventsMap[_])}}catch(k){u={error:k}}finally{try{w&&!w.done&&(f=S.return)&&f.call(S)}finally{if(u)throw u.error}}this.scheduler.clear(),this.scheduler=new d({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var t=this,e=this.scheduler;return this._stop(),e.schedule((function(){var e=(0,h.g5)({type:"xstate.stop"}),n=(0,_.J)(t,(function(){var n=(0,h.xH)((0,o.ev)([],(0,o.CR)(t.state.configuration),!1).sort((function(t,e){return e.order-t.order})).map((function(e){return(0,u.AE)(e.onExit,t.machine.options.actions)}))),r=(0,o.CR)((0,u.yC)(t.machine,t.state,t.state.context,e,[n],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),i=r[0],f=r[1],l=new s.ZM({value:t.state.value,context:f,_event:e,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:i.filter((function(t){return t.type!==c.OU&&(t.type!==c.lW||!!t.to&&t.to!==a.K.Internal)})),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return l.changed=!0,l}));t.update(n,e),t._stopChildren(),b(t.sessionId)})),this},t.prototype.batch=function(t){var e=this;if(this.status===O.NotStarted&&this.options.deferEvents)f.M||(0,h.ZK)(!1,"".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'" and are deferred. Make sure .start() is called for this service.\nEvent: ').concat(JSON.stringify(event)));else if(this.status!==O.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(t.length){var n=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule((function(){var r,i,a=e.state,c=!1,u=[],f=function(t){var r=(0,h.g5)(t);e.forward(r),a=(0,_.J)(e,(function(){return e.machine.transition(a,r,void 0,n||void 0)})),u.push.apply(u,(0,o.ev)([],(0,o.CR)(e.machine.config.predictableActionArguments?a.actions:a.actions.map((function(t){return(0,s.j1)(t,a)}))),!1)),c=c||!!a.changed};try{for(var l=(0,o.XA)(t),d=l.next();!d.done;d=l.next()){f(d.value)}}catch(v){r={error:v}}finally{try{d&&!d.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}a.changed=c,a.actions=u,e.update(a,(0,h.g5)(t[t.length-1]))}))}},t.prototype.sender=function(t){return this.send.bind(this,t)},t.prototype._nextState=function(t,e){var n=this;void 0===e&&(e=!!this.machine.config.predictableActionArguments&&this._exec);var r=(0,h.g5)(t);if(0===r.name.indexOf(c.Mg)&&!this.state.nextEvents.some((function(t){return 0===t.indexOf(c.Mg)})))throw r.data.data;return(0,_.J)(this,(function(){return n.machine.transition(n.state,r,void 0,e||void 0)}))},t.prototype.nextState=function(t){return this._nextState(t,!1)},t.prototype.forward=function(t){var e,n;try{for(var r=(0,o.XA)(this.forwardTo),i=r.next();!i.done;i=r.next()){var a=i.value,s=this.children.get(a);if(!s)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(a,"'."));s.send(t)}}catch(c){e={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.defer=function(t){var e=this;this.delayedEventsMap[t.id]=this.clock.setTimeout((function(){t.to?e.sendTo(t._event,t.to,!0):e.send(t._event)}),t.delay)},t.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},t.prototype.exec=function(t,e,n){void 0===n&&(n=this.machine.options.actions),this._exec(t,e.context,e._event,n)},t.prototype.removeChild=function(t){var e;this.children.delete(t),this.forwardTo.delete(t),null===(e=this.state)||void 0===e||delete e.children[t]},t.prototype.stopChild=function(t){var e=this.children.get(t);e&&(this.removeChild(t),(0,h.mf)(e.stop)&&e.stop())},t.prototype.spawn=function(t,e,n){if(this.status!==O.Running)return(0,v.Xg)(t,e);if((0,h.y8)(t))return this.spawnPromise(Promise.resolve(t),e);if((0,h.mf)(t))return this.spawnCallback(t,e);if((0,v.f3)(t))return this.spawnActor(t,e);if((0,h.bi)(t))return this.spawnObservable(t,e);if((0,h.O4)(t))return this.spawnMachine(t,(0,o.pi)((0,o.pi)({},n),{id:e}));if((0,h.HV)(t))return this.spawnBehavior(t,e);throw new Error('Unable to spawn entity "'.concat(e,'" of type "').concat(typeof t,'".'))},t.prototype.spawnMachine=function(e,n){var r=this;void 0===n&&(n={});var i=new t(e,(0,o.pi)((0,o.pi)({},this.options),{parent:this,id:n.id||e.id})),a=(0,o.pi)((0,o.pi)({},A),n);a.sync&&i.onTransition((function(t){r.send(c.Vx,{state:t,id:i.id})}));var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone((function(t){r.removeChild(i.id),r.send((0,h.g5)(t,{origin:i.id}))})).start(),s},t.prototype.spawnBehavior=function(t,e){var n=E(t,{id:e,parent:this});return this.children.set(e,n),n},t.prototype.spawnPromise=function(t,e){var n,r,i=this,o=!1;t.then((function(t){o||(r=t,i.removeChild(e),i.send((0,h.g5)((0,u.Sl)(e,t),{origin:e})))}),(function(t){if(!o){i.removeChild(e);var n=(0,u.vU)(e,t);try{i.send((0,h.g5)(n,{origin:e}))}catch(r){(0,h.v4)(t,r,e),i.devTools&&i.devTools.send(n,i.state),i.machine.strict&&i.stop()}}}));var a=((n={id:e,send:function(){},subscribe:function(e,n,r){var i=(0,h.zM)(e,n,r),o=!1;return t.then((function(t){o||(i.next(t),o||i.complete())}),(function(t){o||i.error(t)})),{unsubscribe:function(){return o=!0}}},stop:function(){o=!0},toJSON:function(){return{id:e}},getSnapshot:function(){return r}})[h.L$]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnCallback=function(t,e){var n,r,i,o=this,a=!1,s=new Set,c=new Set;try{i=t((function(t){r=t,c.forEach((function(e){return e(t)})),a||o.send((0,h.g5)(t,{origin:e}))}),(function(t){s.add(t)}))}catch(l){this.send((0,u.vU)(e,l))}if((0,h.y8)(i))return this.spawnPromise(i,e);var f=((n={id:e,send:function(t){return s.forEach((function(e){return e(t)}))},subscribe:function(t){var e=(0,h.zM)(t);return c.add(e.next),{unsubscribe:function(){c.delete(e.next)}}},stop:function(){a=!0,(0,h.mf)(i)&&i()},toJSON:function(){return{id:e}},getSnapshot:function(){return r}})[h.L$]=function(){return this},n);return this.children.set(e,f),f},t.prototype.spawnObservable=function(t,e){var n,r,i=this,o=t.subscribe((function(t){r=t,i.send((0,h.g5)(t,{origin:e}))}),(function(t){i.removeChild(e),i.send((0,h.g5)((0,u.vU)(e,t),{origin:e}))}),(function(){i.removeChild(e),i.send((0,h.g5)((0,u.Sl)(e),{origin:e}))})),a=((n={id:e,send:function(){},subscribe:function(e,n,r){return t.subscribe(e,n,r)},stop:function(){return o.unsubscribe()},getSnapshot:function(){return r},toJSON:function(){return{id:e}}})[h.L$]=function(){return this},n);return this.children.set(e,a),a},t.prototype.spawnActor=function(t,e){return this.children.set(e,t),t},t.prototype.spawnActivity=function(t){var e=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(e){var n=e(this.state.context,t);this.spawnEffect(t.id,n)}else f.M||(0,h.ZK)(!1,"No implementation found for activity '".concat(t.type,"'"))},t.prototype.spawnEffect=function(t,e){var n;this.children.set(t,((n={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:e||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}})[h.L$]=function(){return this},n))},t.prototype.attachDev=function(){var t=S();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var e="object"===typeof this.options.devTools?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect((0,o.pi)((0,o.pi)({name:this.id,autoPause:!0,stateSanitizer:function(t){return{value:t.value,context:t.context,actions:t.actions}}},e),{features:(0,o.pi)({jump:!1,skip:!1},e?e.features:void 0)}),this.machine),this.devTools.init(this.state)}w(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[h.L$]=function(){return this},t.prototype.getSnapshot=function(){return this.status===O.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,e){return setTimeout(t,e)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},t.interpret=j,t}();function j(t,e){return new M(t,e)}var k=r.useLayoutEffect;function T(t){var e=r.useRef();return e.current||(e.current={v:t()}),e.current.v}var N=function(){return N=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function D(t){return t}function L(t){for(var e=[],n=1;n0||"boolean"===typeof t.changed);return!(e.changed||n)}),[u]),l=(0,r.useCallback)((function(t){return u.subscribe(t).unsubscribe}),[u]),d=(0,i.useSyncExternalStoreWithSelector)(l,f,f,D,h);return(0,r.useEffect)((function(){var t=c.state;return u.start(t?s.ZM.create(t):void 0),function(){u.stop(),u.status=O.NotStarted}}),[]),[d,u.send,u]}},53250:function(t,e,n){var r=n(67294);var i="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!i(t,n)}catch(r){return!0}}var f="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=o({inst:{value:n,getSnapshot:e}}),i=r[0].inst,f=r[1];return s((function(){i.value=n,i.getSnapshot=e,u(i)&&f({inst:i})}),[t,n,e]),a((function(){return u(i)&&f({inst:i}),t((function(){u(i)&&f({inst:i})}))}),[t]),c(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:f},50139:function(t,e,n){var r=n(67294),i=n(61688);var o="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},a=i.useSyncExternalStore,s=r.useRef,c=r.useEffect,u=r.useMemo,f=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,i){var h=s(null);if(null===h.current){var l={hasValue:!1,value:null};h.current=l}else l=h.current;h=u((function(){function t(t){if(!c){if(c=!0,a=t,t=r(t),void 0!==i&&l.hasValue){var e=l.value;if(i(e,t))return s=e}return s=t}if(e=s,o(a,t))return e;var n=r(t);return void 0!==i&&i(e,n)?e:(a=t,s=n)}var a,s,c=!1,u=void 0===n?null:n;return[function(){return t(e())},null===u?void 0:function(){return t(u())}]}),[e,n,r,i]);var d=a(t,h[0],h[1]);return c((function(){l.hasValue=!0,l.value=d}),[d]),f(d),d}},61688:function(t,e,n){t.exports=n(53250)},52798:function(t,e,n){t.exports=n(50139)},98933:function(t,e,n){n.d(e,{Xg:function(){return c},f3:function(){return u},mu:function(){return s},vk:function(){return f}});var r=n(63056),i=n(89823),o=n(10797);function a(t){var e;return(e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}})[i.L$]=function(){return this},e}function s(t,e,n,r){var o,s=(0,i.j)(t.src),u=null===(o=null===e||void 0===e?void 0:e.options.services)||void 0===o?void 0:o[s.type],f=t.data?(0,i.QX)(t.data,n,r):void 0,h=u?c(u,t.id,f):a(t.id);return h.meta=t,h}function c(t,e,n){var r=a(e);if(r.deferred=!0,(0,i.O4)(t)){var s=r.state=(0,o.J)(void 0,(function(){return(n?t.withContext(n):t).initialState}));r.getSnapshot=function(){return s}}return r}function u(t){return function(t){try{return"function"===typeof t.send}catch(e){return!1}}(t)&&"id"in t}function f(t){var e;return(0,r.pi)(((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}})[i.L$]=function(){return this},e),t)}},4723:function(t,e,n){n.d(e,{C:function(){return S}});var r=n(63056),i=n(89823),o=n(59043),a=n(54911),s=n(3884),c=n(30375),u=n(14066),f=n(87353),h=n(56115),l=n(98933);function d(t){if("string"===typeof t){var e={type:t,toString:function(){return t}};return e}return t}function v(t){return(0,r.pi)((0,r.pi)({type:s.dw},t),{toJSON:function(){t.onDone,t.onError;var e=(0,r._T)(t,["onDone","onError"]);return(0,r.pi)((0,r.pi)({},e),{type:s.dw,src:d(t.src)})}})}var p="",y="*",g={},m=function(t){return"#"===t[0]},x=function(){function t(e,n,o,a){void 0===o&&(o="context"in e?e.context:void 0);var s,l=this;this.config=e,this._context=o,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign({actions:{},guards:{},services:{},activities:{},delays:{}},n),this.parent=null===a||void 0===a?void 0:a.parent,this.key=this.config.key||(null===a||void 0===a?void 0:a.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:f.iS),this.id=this.config.id||(0,r.ev)([this.machine.key],(0,r.CR)(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:null!==(s=this.config.schema)&&void 0!==s?s:{},this.description=this.config.description,u.M||(0,i.ZK)(!("parallel"in this.config),'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel?"Replace with `type: 'parallel'`":"Use `type: '".concat(this.type,"'`")," in the config for state node '").concat(this.id,"' instead.")),this.initial=this.config.initial,this.states=this.config.states?(0,i.Q8)(this.config.states,(function(e,n){var i,o=new t(e,{},void 0,{parent:l,key:n});return Object.assign(l.idMap,(0,r.pi)(((i={})[o.id]=o,i),o.idMap)),o})):g;var d=0;!function t(e){var n,i;e.order=d++;try{for(var o=(0,r.XA)((0,h.nI)(e)),a=o.next();!a.done;a=o.next()){t(a.value)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}(this),this.history=!0===this.config.history?"shallow":this.config.history||!1,this._transient=!!this.config.always||!!this.config.on&&(Array.isArray(this.config.on)?this.config.on.some((function(t){return t.event===p})):p in this.config.on),this.strict=!!this.config.strict,this.onEntry=(0,i.qo)(this.config.entry||this.config.onEntry).map((function(t){return(0,c.Q8)(t)})),this.onExit=(0,i.qo)(this.config.exit||this.config.onExit).map((function(t){return(0,c.Q8)(t)})),this.meta=this.config.meta,this.doneData="final"===this.type?this.config.data:void 0,this.invoke=(0,i.qo)(this.config.invoke).map((function(t,e){var n,o;if((0,i.O4)(t)){var a=(0,i.bx)(l.id,e);return l.machine.options.services=(0,r.pi)(((n={})[a]=t,n),l.machine.options.services),v({src:a,id:a})}if((0,i.HD)(t.src)){a=t.id||(0,i.bx)(l.id,e);return v((0,r.pi)((0,r.pi)({},t),{id:a,src:t.src}))}if((0,i.O4)(t.src)||(0,i.mf)(t.src)){a=t.id||(0,i.bx)(l.id,e);return l.machine.options.services=(0,r.pi)(((o={})[a]=t.src,o),l.machine.options.services),v((0,r.pi)((0,r.pi)({id:a},t),{src:a}))}var s=t.src;return v((0,r.pi)((0,r.pi)({id:(0,i.bx)(l.id,e)},t),{src:s}))})),this.activities=(0,i.qo)(this.config.activities).concat(this.invoke).map((function(t){return(0,c.XA)(t)})),this.transition=this.transition.bind(this),this.tags=(0,i.qo)(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||(0,h.ac)(this).forEach((function(t){return t.on}))},t.prototype.withConfig=function(e,n){var i=this.options,o=i.actions,a=i.activities,s=i.guards,c=i.services,u=i.delays;return new t(this.config,{actions:(0,r.pi)((0,r.pi)({},o),e.actions),activities:(0,r.pi)((0,r.pi)({},a),e.activities),guards:(0,r.pi)((0,r.pi)({},s),e.guards),services:(0,r.pi)((0,r.pi)({},c),e.services),delays:(0,r.pi)((0,r.pi)({},u),e.delays)},null!==n&&void 0!==n?n:this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return(0,i.mf)(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:(0,i.Q8)(this.states,(function(t){return t.definition})),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce((function(t,e){return t[e.eventType]=t[e.eventType]||[],t[e.eventType].push(e),t}),{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var e=t===p,n=this.transitions.filter((function(n){var r=n.eventType===t;return e?r:r||n.eventType===y}));return this.__cache.candidates[t]=n,n},t.prototype.getDelayedTransitions=function(){var t=this,e=this.config.after;if(!e)return[];var n=function(e,n){var r=(0,i.mf)(e)?"".concat(t.id,":delay[").concat(n,"]"):e,o=(0,c.e4)(r,t.id);return t.onEntry.push((0,c.lW)(o,{delay:e})),t.onExit.push((0,c.al)(o)),o};return((0,i.kJ)(e)?e.map((function(t,e){var i=n(t.delay,e);return(0,r.pi)((0,r.pi)({},t),{event:i})})):(0,i.xH)(Object.keys(e).map((function(t,o){var a=e[t],s=(0,i.HD)(a)?{target:a}:a,c=isNaN(+t)?t:+t,u=n(c,o);return(0,i.qo)(s).map((function(t){return(0,r.pi)((0,r.pi)({},t),{event:u,delay:c})}))})))).map((function(e){var n=e.delay;return(0,r.pi)((0,r.pi)({},t.formatTransition(e)),{delay:n})}))},t.prototype.getStateNodes=function(t){var e,n=this;if(!t)return[];var o=t instanceof a.ZM?t.value:(0,i.WM)(t,this.delimiter);if((0,i.HD)(o)){var s=this.getStateNode(o).initial;return void 0!==s?this.getStateNodes(((e={})[o]=s,e)):[this,this.states[o]]}var c=Object.keys(o),u=[this];return u.push.apply(u,(0,r.ev)([],(0,r.CR)((0,i.xH)(c.map((function(t){return n.getStateNode(t).getStateNodes(o[t])})))),!1)),u},t.prototype.handles=function(t){var e=(0,i.x6)(t);return this.events.includes(e)},t.prototype.resolveState=function(t){var e=t instanceof a.ZM?t:a.ZM.create(t),n=Array.from((0,h.P_)([],this.getStateNodes(e.value)));return new a.ZM((0,r.pi)((0,r.pi)({},e),{value:this.resolve(e.value),configuration:n,done:(0,h.Ij)(n,this),tags:(0,h.Oe)(n),machine:this.machine}))},t.prototype.transitionLeafNode=function(t,e,n){var r=this.getStateNode(t).next(e,n);return r&&r.transitions.length?r:this.next(e,n)},t.prototype.transitionCompoundNode=function(t,e,n){var r=Object.keys(t),i=this.getStateNode(r[0])._transition(t[r[0]],e,n);return i&&i.transitions.length?i:this.next(e,n)},t.prototype.transitionParallelNode=function(t,e,n){var o,a,s={};try{for(var c=(0,r.XA)(Object.keys(t)),u=c.next();!u.done;u=c.next()){var f=u.value,h=t[f];if(h){var l=this.getStateNode(f)._transition(h,e,n);l&&(s[f]=l)}}}catch(g){o={error:g}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}var d=Object.keys(s).map((function(t){return s[t]})),v=(0,i.xH)(d.map((function(t){return t.transitions})));if(!d.some((function(t){return t.transitions.length>0})))return this.next(e,n);var p=(0,i.xH)(d.map((function(t){return t.entrySet}))),y=(0,i.xH)(Object.keys(s).map((function(t){return s[t].configuration})));return{transitions:v,entrySet:p,exitSet:(0,i.xH)(d.map((function(t){return t.exitSet}))),configuration:y,source:e,actions:(0,i.xH)(Object.keys(s).map((function(t){return s[t].actions})))}},t.prototype._transition=function(t,e,n){return(0,i.HD)(t)?this.transitionLeafNode(t,e,n):1===Object.keys(t).length?this.transitionCompoundNode(t,e,n):this.transitionParallelNode(t,e,n)},t.prototype.getTransitionData=function(t,e){return this._transition(t.value,t,(0,i.g5)(e))},t.prototype.next=function(t,e){var n,o,a,s=this,c=e.name,u=[],f=[];try{for(var h=(0,r.XA)(this.getCandidates(c)),l=h.next();!l.done;l=h.next()){var d=l.value,v=d.cond,p=d.in,y=t.context,g=!p||((0,i.HD)(p)&&m(p)?t.matches((0,i.WM)(this.getStateNodeById(p).path,this.delimiter)):(0,i.W)((0,i.WM)(p,this.delimiter),(0,i.ET)(this.path.slice(0,-2))(t.value))),x=!1;try{x=!v||(0,i.vx)(this.machine,v,y,e,t)}catch(_){throw new Error("Unable to evaluate guard '".concat(v.name||v.type,"' in transition for event '").concat(c,"' in state node '").concat(this.id,"':\n").concat(_.message))}if(x&&g){void 0!==d.target&&(f=d.target),u.push.apply(u,(0,r.ev)([],(0,r.CR)(d.actions),!1)),a=d;break}}}catch(E){n={error:E}}finally{try{l&&!l.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}if(a){if(!f.length)return{transitions:[a],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var b=(0,i.xH)(f.map((function(e){return s.getRelativeStateNodes(e,t.historyValue)}))),S=!!a.internal,w=[];return S||f.forEach((function(t){w.push.apply(w,(0,r.ev)([],(0,r.CR)(s.getExternalReentryNodes(t)),!1))})),{transitions:[a],entrySet:w,exitSet:S?[]:[this],configuration:b,source:t,actions:u}}},t.prototype.getExternalReentryNodes=function(t){for(var e=[],n=(0,r.CR)(t.order>this.order?[t,this]:[this,t],2),i=n[0],o=n[1];i&&i!==o;)e.push(i),i=i.parent;return i!==o?[]:(e.push(o),e)},t.prototype.getActions=function(t,e,n,a,u,f,l){var d,v,p,y,g=this,m=(0,h.P_)([],f?this.getStateNodes(f.value):[this]);try{for(var x=(0,r.XA)(t),b=x.next();!b.done;b=x.next()){var S=b.value;(!(0,h.e$)(m,S)||(0,h.e$)(n.entrySet,S.parent)&&!(0,h.e$)(n.entrySet,S))&&n.entrySet.push(S)}}catch(T){d={error:T}}finally{try{b&&!b.done&&(v=x.return)&&v.call(x)}finally{if(d)throw d.error}}try{for(var w=(0,r.XA)(m),_=w.next();!_.done;_=w.next()){S=_.value;(0,h.e$)(t,S)&&!(0,h.e$)(n.exitSet,S.parent)||n.exitSet.push(S)}}catch(N){p={error:N}}finally{try{_&&!_.done&&(y=w.return)&&y.call(w)}finally{if(p)throw p.error}}var E=(0,i.xH)(n.entrySet.map((function(t){var e=[];if("final"!==t.type)return e;var r=t.parent;if(!r.parent)return e;e.push((0,c.aT)(t.id,t.doneData),(0,c.aT)(r.id,t.doneData?(0,i.QX)(t.doneData,a,u):void 0));var o=r.parent;return"parallel"===o.type&&(0,h.G)(o).every((function(t){return(0,h.Ij)(n.configuration,t)}))&&e.push((0,c.aT)(o.id)),e})));n.exitSet.sort((function(t,e){return e.order-t.order})),n.entrySet.sort((function(t,e){return t.order-e.order}));var O=new Set(n.entrySet),A=new Set(n.exitSet),M=Array.from(O).map((function(t){var e=t.onEntry,n=t.activities.map((function(t){return(0,c.BL)(t)}));return(0,c.AE)(l?(0,r.ev)((0,r.ev)([],(0,r.CR)(e),!1),(0,r.CR)(n),!1):(0,r.ev)((0,r.ev)([],(0,r.CR)(n),!1),(0,r.CR)(e),!1),g.machine.options.actions)})).concat([E.map(c.OU)]),j=Array.from(A).map((function(t){return(0,c.AE)((0,r.ev)((0,r.ev)([],(0,r.CR)(t.onExit),!1),(0,r.CR)(t.activities.map((function(t){return(0,c.sT)(t)}))),!1),g.machine.options.actions)})).concat([(0,c.AE)(n.actions,this.machine.options.actions)]).concat(M);if(e){var k=(0,c.AE)((0,i.xH)((0,r.ev)([],(0,r.CR)(t),!1).sort((function(t,e){return e.order-t.order})).map((function(t){return t.onExit}))),this.machine.options.actions).filter((function(t){return t.type!==s.OU&&(t.type!==s.lW||!!t.to&&t.to!==o.K.Internal)}));return j.concat([k])}return j},t.prototype.transition=function(t,e,n,o){void 0===t&&(t=this.initialState);var s,c=(0,i.g5)(e);if(t instanceof a.ZM)s=void 0===n?t:this.resolveState(a.ZM.from(t,n));else{var f=(0,i.HD)(t)?this.resolve((0,i.on)(this.getResolvedPath(t))):this.resolve(t),l=null!==n&&void 0!==n?n:this.machine.context;s=this.resolveState(a.ZM.from(f,l))}if(!u.M&&c.name===y)throw new Error("An event cannot have the wildcard type ('".concat(y,"')"));if(this.strict&&!this.events.includes(c.name)&&!(0,i.JQ)(c.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(c.name,"'"));var d=this._transition(s.value,s,c)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},v=(0,h.P_)([],this.getStateNodes(s.value)),p=d.configuration.length?(0,h.P_)(v,d.configuration):v;return d.configuration=(0,r.ev)([],(0,r.CR)(p),!1),this.resolveTransition(d,s,s.context,o,c)},t.prototype.resolveRaisedTransition=function(t,e,n,i){var o,a=t.actions;return(t=this.transition(t,e,void 0,i))._event=n,t.event=n.data,(o=t.actions).unshift.apply(o,(0,r.ev)([],(0,r.CR)(a),!1)),t},t.prototype.resolveTransition=function(t,e,n,u,f){var d,v,y,g,m=this;void 0===f&&(f=c.bf);var x=t.configuration,b=!e||t.transitions.length>0,S=b?t.configuration:e?e.configuration:[],w=(0,h.Ij)(S,this),_=b?(0,h.NA)(this.machine,x):void 0,E=e?e.historyValue?e.historyValue:t.source?this.machine.historyValue(e.value):void 0:void 0,O=this.getActions(new Set(S),w,t,n,f,e,u),A=e?(0,r.pi)({},e.activities):{};try{for(var M=(0,r.XA)(O),j=M.next();!j.done;j=M.next()){var k=j.value;try{for(var T=(y=void 0,(0,r.XA)(k)),N=T.next();!N.done;N=T.next()){var C=N.value;C.type===s.BL?A[C.activity.id||C.activity.type]=C:C.type===s.sT&&(A[C.activity.id||C.activity.type]=!1)}}catch(z){y={error:z}}finally{try{N&&!N.done&&(g=T.return)&&g.call(T)}finally{if(y)throw y.error}}}}catch(B){d={error:B}}finally{try{j&&!j.done&&(v=M.return)&&v.call(M)}finally{if(d)throw d.error}}var R=(0,r.CR)((0,c.yC)(this,e,n,f,O,u,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),P=R[0],D=R[1],L=(0,r.CR)((0,i.uK)(P,(function(t){return t.type===s.OU||t.type===s.lW&&t.to===o.K.Internal})),2),H=L[0],I=L[1],V=P.filter((function(t){var e;return t.type===s.BL&&(null===(e=t.activity)||void 0===e?void 0:e.type)===s.dw})),X=V.reduce((function(t,e){return t[e.activity.id]=(0,l.mu)(e.activity,m.machine,D,f),t}),e?(0,r.pi)({},e.children):{}),Z=new a.ZM({value:_||e.value,context:D,_event:f,_sessionid:e?e._sessionid:null,historyValue:_?E?(0,i.yv)(E,_):void 0:e?e.historyValue:void 0,history:!_||t.source?e:void 0,actions:_?I:[],activities:_?A:e?e.activities:{},events:[],configuration:S,transitions:t.transitions,children:X,done:w,tags:(0,h.Oe)(S),machine:this}),U=n!==D;Z.changed=f.name===s.Vx||U;var J=Z.history;J&&delete J.history;var K=!w&&(this._transient||x.some((function(t){return t._transient})));if(!b&&(!K||f.name===p))return Z;var Q=Z;if(!w)for(K&&(Q=this.resolveRaisedTransition(Q,{type:s.IA},f,u));H.length;){var $=H.shift();Q=this.resolveRaisedTransition(Q,$._event,f,u)}var q=Q.changed||(J?!!Q.actions.length||U||typeof J.value!==typeof Q.value||!(0,a.j_)(Q.value,J.value):void 0);return Q.changed=q,Q.history=J,Q},t.prototype.getStateNode=function(t){if(m(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var e=this.states[t];if(!e)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return e},t.prototype.getStateNodeById=function(t){var e=m(t)?t.slice("#".length):t;if(e===this.id)return this;var n=this.machine.idMap[e];if(!n)throw new Error("Child state node '#".concat(e,"' does not exist on machine '").concat(this.id,"'"));return n},t.prototype.getStateNodeByPath=function(t){if("string"===typeof t&&m(t))try{return this.getStateNodeById(t.slice(1))}catch(o){}for(var e=(0,i.Q9)(t,this.delimiter).slice(),n=this;e.length;){var r=e.shift();if(!r.length)break;n=n.getStateNode(r)}return n},t.prototype.resolve=function(t){var e,n=this;if(!t)return this.initialStateValue||g;switch(this.type){case"parallel":return(0,i.Q8)(this.initialStateValue,(function(e,r){return e?n.getStateNode(r).resolve(t[r]||e):g}));case"compound":if((0,i.HD)(t)){var r=this.getStateNode(t);return"parallel"===r.type||"compound"===r.type?((e={})[t]=r.initialStateValue,e):t}return Object.keys(t).length?(0,i.Q8)(t,(function(t,e){return t?n.getStateNode(e).resolve(t):g})):this.initialStateValue||{};default:return t||g}},t.prototype.getResolvedPath=function(t){if(m(t)){var e=this.machine.idMap[t.slice("#".length)];if(!e)throw new Error("Unable to find state node '".concat(t,"'"));return e.path}return(0,i.Q9)(t,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var t,e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;if("parallel"===this.type)e=(0,i.ib)(this.states,(function(t){return t.initialStateValue||g}),(function(t){return!("history"===t.type)}));else if(void 0!==this.initial){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));e=(0,h.N9)(this.states[this.initial])?this.initial:((t={})[this.initial]=this.states[this.initial].initialStateValue,t)}else e={};return this.__cache.initialStateValue=e,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(t,e){this._init();var n=this.getStateNodes(t);return this.resolveTransition({configuration:n,entrySet:n,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,null!==e&&void 0!==e?e:this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var t;if("history"===this.type){var e=this.config;t=(0,i.HD)(e.target)&&m(e.target)?(0,i.on)(this.machine.getStateNodeById(e.target).path.slice(this.path.length-1)):e.target}return t},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(t,e,n){return void 0===n&&(n=!0),n?"history"===t.type?t.resolveHistory(e):t.initialStateNodes:[t]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var t=this;if((0,h.N9)(this))return[this];if("compound"===this.type&&!this.initial)return u.M||(0,i.ZK)(!1,"Compound state node '".concat(this.id,"' has no initial state.")),[this];var e=(0,i.SA)(this.initialStateValue);return(0,i.xH)(e.map((function(e){return t.getFromRelativePath(e)})))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var e=(0,r.CR)(t),n=e[0],i=e.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(n,"' from node with no states"));var o=this.getStateNode(n);if("history"===o.type)return o.resolveHistory();if(!this.states[n])throw new Error("Child state '".concat(n,"' does not exist on '").concat(this.id,"'"));return this.states[n].getFromRelativePath(i)},t.prototype.historyValue=function(t){if(Object.keys(this.states).length)return{current:t||this.initialStateValue,states:(0,i.ib)(this.states,(function(e,n){if(!t)return e.historyValue();var r=(0,i.HD)(t)?void 0:t[n];return e.historyValue(r||e.initialStateValue)}),(function(t){return!t.history}))}},t.prototype.resolveHistory=function(t){var e=this;if("history"!==this.type)return[this];var n=this.parent;if(!t){var r=this.target;return r?(0,i.xH)((0,i.SA)(r).map((function(t){return n.getFromRelativePath(t)}))):n.initialStateNodes}var o=(0,i.gk)(n.path,"states")(t).current;return(0,i.HD)(o)?[n.getStateNode(o)]:(0,i.xH)((0,i.SA)(o).map((function(t){return"deep"===e.history?n.getFromRelativePath(t):[n.states[t[0]]]})))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var t=this,e=(0,i.xH)(Object.keys(this.states).map((function(e){return t.states[e].stateIds})));return[this.id].concat(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var t,e,n,i;if(this.__cache.events)return this.__cache.events;var o=this.states,a=new Set(this.ownEvents);if(o)try{for(var s=(0,r.XA)(Object.keys(o)),c=s.next();!c.done;c=s.next()){var u=o[c.value];if(u.states)try{for(var f=(n=void 0,(0,r.XA)(u.events)),h=f.next();!h.done;h=f.next()){var l=h.value;a.add("".concat(l))}}catch(d){n={error:d}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(a)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter((function(t){return!(!t.target&&!t.actions.length&&t.internal)})).map((function(t){return t.eventType})));return Array.from(t)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(t){var e=this;if(void 0!==t)return t.map((function(t){if(!(0,i.HD)(t))return t;var n=t[0]===e.delimiter;if(n&&!e.parent)return e.getStateNodeByPath(t.slice(1));var r=n?e.key+t:t;if(!e.parent)return e.getStateNodeByPath(r);try{return e.parent.getStateNodeByPath(r)}catch(o){throw new Error("Invalid transition definition for state node '".concat(e.id,"':\n").concat(o.message))}}))},t.prototype.formatTransition=function(t){var e=this,n=(0,i.rg)(t.target),o="internal"in t?t.internal:!n||n.some((function(t){return(0,i.HD)(t)&&t[0]===e.delimiter})),a=this.machine.options.guards,s=this.resolveTarget(n),u=(0,r.pi)((0,r.pi)({},t),{actions:(0,c.AE)((0,i.qo)(t.actions)),cond:(0,i.Qi)(t.cond,a),target:s,source:this,internal:o,eventType:t.event,toJSON:function(){return(0,r.pi)((0,r.pi)({},u),{target:u.target?u.target.map((function(t){return"#".concat(t.id)})):void 0,source:"#".concat(e.id)})}});return u},t.prototype.formatTransitions=function(){var t,e,n,o=this;if(this.config.on)if(Array.isArray(this.config.on))n=this.config.on;else{var a=this.config.on,s=y,f=a[s],h=void 0===f?[]:f,l=(0,r._T)(a,["*"]);n=(0,i.xH)(Object.keys(l).map((function(t){u.M||t!==p||(0,i.ZK)(!1,"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. "+'Please check the `on` configuration for "#'.concat(o.id,'".'));var e=(0,i.jh)(t,l[t]);return u.M||function(t,e,n){var r=n.slice(0,-1).some((function(t){return!("cond"in t)&&!("in"in t)&&((0,i.HD)(t.target)||(0,i.O4)(t.target))})),o=e===p?"the transient event":"event '".concat(e,"'");(0,i.ZK)(!r,"One or more transitions for ".concat(o," on state '").concat(t.id,"' are unreachable. ")+"Make sure that the default transition is the last one defined.")}(o,t,e),e})).concat((0,i.jh)(y,h)))}else n=[];var d=this.config.always?(0,i.jh)("",this.config.always):[],v=this.config.onDone?(0,i.jh)(String((0,c.aT)(this.id)),this.config.onDone):[];u.M||(0,i.ZK)(!(this.config.onDone&&!this.parent),'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id,'".'));var g=(0,i.xH)(this.invoke.map((function(t){var e=[];return t.onDone&&e.push.apply(e,(0,r.ev)([],(0,r.CR)((0,i.jh)(String((0,c.Sl)(t.id)),t.onDone)),!1)),t.onError&&e.push.apply(e,(0,r.ev)([],(0,r.CR)((0,i.jh)(String((0,c.vU)(t.id)),t.onError)),!1)),e}))),m=this.after,x=(0,i.xH)((0,r.ev)((0,r.ev)((0,r.ev)((0,r.ev)([],(0,r.CR)(v),!1),(0,r.CR)(g),!1),(0,r.CR)(n),!1),(0,r.CR)(d),!1).map((function(t){return(0,i.qo)(t).map((function(t){return o.formatTransition(t)}))})));try{for(var b=(0,r.XA)(m),S=b.next();!S.done;S=b.next()){var w=S.value;x.push(w)}}catch(_){t={error:_}}finally{try{S&&!S.done&&(e=b.return)&&e.call(b)}finally{if(t)throw t.error}}return x},t}(),b=!1;function S(t,e){return u.M||t.predictableActionArguments||b||(b=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new x(t,e)}},54911:function(t,e,n){n.d(e,{TL:function(){return f},ZM:function(){return l},j1:function(){return h},j_:function(){return u}});var r=n(63056),i=n(87353),o=n(89823),a=n(56115),s=n(30375),c=n(14066);function u(t,e){if(t===e)return!0;if(void 0===t||void 0===e)return!1;if((0,o.HD)(t)||(0,o.HD)(e))return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){return u(t[n],e[n])}))}function f(t){return"object"===typeof t&&null!==t&&("value"in t&&"_event"in t)}function h(t,e){var n=t.exec;return(0,r.pi)((0,r.pi)({},t),{exec:void 0!==n?function(){return n(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0})}var l=function(){function t(t){var e,n=this;this.actions=[],this.activities=i.qP,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||i.qP,this.meta=(0,a.xZ)(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=null!==(e=Array.isArray(t.tags)?new Set(t.tags):t.tags)&&void 0!==e?e:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return(0,a.nJ)(n.configuration)}})}return t.from=function(e,n){return e instanceof t?e.context!==n?new t({value:e.value,context:n,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):e:new t({value:e,context:n,_event:s.bf,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,n){if(e instanceof t){if(!e.actions.length)return e;var r=s.bf;return new t({value:e.value,context:n,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,n)},t.prototype.toStrings=function(t,e){var n=this;if(void 0===t&&(t=this.value),void 0===e&&(e="."),(0,o.HD)(t))return[t];var i=Object.keys(t);return i.concat.apply(i,(0,r.ev)([],(0,r.CR)(i.map((function(r){return n.toStrings(t[r],e).map((function(t){return r+e+t}))}))),!1))},t.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var e=t.tags;t.machine;var n=(0,r._T)(t,["configuration","transitions","tags","machine"]);return(0,r.pi)((0,r.pi)({},n),{tags:Array.from(e)})},t.prototype.matches=function(t){return(0,o.W)(t,this.value)},t.prototype.hasTag=function(t){return this.tags.has(t)},t.prototype.can=function(t){var e;c.M&&(0,o.ZK)(!!this.machine,"state.can(...) used outside of a machine-created State object; this will always return false.");var n=null===(e=this.machine)||void 0===e?void 0:e.getTransitionData(this,t);return!!(null===n||void 0===n?void 0:n.transitions.length)&&n.transitions.some((function(t){return void 0!==t.target||t.actions.length}))},t}()},63056:function(t,e,n){n.d(e,{CR:function(){return a},XA:function(){return o},_T:function(){return i},ev:function(){return s},pi:function(){return r}});var r=function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,i=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,f=/^[_A-Za-z$][_A-Za-z$0-9]*/,a=/^@[_A-Za-z$][_A-Za-z$0-9]*/,p=o(["and","or","not","is","isnt","in","instanceof","typeof"]),u=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],s=o(u.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));u=o(u);var l=/^('{3}|\"{3}|['\"])/,d=/^(\/{3}|\/)/,h=o(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function m(e,n){if(e.sol()){null===n.scope.align&&(n.scope.align=!1);var t=n.scope.offset;if(e.eatSpace()){var o=e.indentation();return o>t&&"coffee"==n.scope.type?"indent":o0&&y(e,n)}if(e.eatSpace())return null;var u=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=k,n.tokenize(e,n);if("#"===u)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var m=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(m=!0),e.match(/^-?\d+\.\d*/)&&(m=!0),e.match(/^-?\.\d+/)&&(m=!0),m)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(l))return n.tokenize=v(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(d)){if("/"!=e.current()||e.match(/^.*\//,!1))return n.tokenize=v(e.current(),!0,"string.special"),n.tokenize(e,n);e.backUp(1)}return e.match(c)||e.match(p)?"operator":e.match(i)?"punctuation":e.match(h)?"atom":e.match(a)||n.prop&&e.match(f)?"property":e.match(s)?"keyword":e.match(f)?"variable":(e.next(),r)}function v(e,n,t){return function(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\/\\]/),r.eat("\\")){if(r.next(),n&&r.eol())return t}else{if(r.match(e))return o.tokenize=m,t;r.eat(/['"\/]/)}return n&&(o.tokenize=m),t}}function k(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=m;break}e.eatWhile("#")}return"comment"}function g(e,n,t="coffee"){for(var r=0,o=!1,c=null,i=n.scope;i;i=i.prev)if("coffee"===i.type||"}"==i.type){r=i.offset+e.indentUnit;break}"coffee"!==t?(o=null,c=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:r,type:t,prev:n.scope,align:o,alignOffset:c}}function y(e,n){if(n.scope.prev){if("coffee"===n.scope.type){for(var t=e.indentation(),r=!1,o=n.scope;o;o=o.prev)if(t===o.offset){r=!0;break}if(!r)return!0;for(;n.scope.prev&&n.scope.offset!==t;)n.scope=n.scope.prev;return!1}return n.scope=n.scope.prev,!1}}const z={name:"coffeescript",startState:function(){return{tokenize:m,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var t=null===n.scope.align&&n.scope;t&&e.sol()&&(t.align=!1);var o=function(e,n){var t=n.tokenize(e,n),o=e.current();"return"===o&&(n.dedent=!0),(("->"===o||"=>"===o)&&e.eol()||"indent"===t)&&g(e,n);var c="[({".indexOf(o);if(-1!==c&&g(e,n,"])}".slice(c,c+1)),u.exec(o)&&g(e,n),"then"==o&&y(e,n),"dedent"===t&&y(e,n))return r;if(-1!==(c="])}".indexOf(o))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==o&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),"indent"==t||"dedent"==t?null:t}(e,n);return o&&"comment"!=o&&(t&&(t.align=!0),n.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,n){if(e.tokenize!=m)return 0;var t=e.scope,r=n&&"])}".indexOf(n.charAt(0))>-1;if(r)for(;"coffee"==t.type&&t.prev;)t=t.prev;var o=r&&t.type===n.charAt(0);return t.align?t.alignOffset-(o?1:0):(o?t.prev:t).offset},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9558.9bf5494ebdf03040.js b/static/web/_next/static/chunks/9558.9bf5494ebdf03040.js new file mode 100644 index 000000000..fcf2cec9d --- /dev/null +++ b/static/web/_next/static/chunks/9558.9bf5494ebdf03040.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9558],{29558:function(e,t,n){n.r(t),n.d(t,{coffeeScript:function(){return z}});var r="error";function o(e){return RegExp("^(("+e.join(")|(")+"))\\b")}var c=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,i=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,f=/^[_A-Za-z$][_A-Za-z$0-9]*/,a=/^@[_A-Za-z$][_A-Za-z$0-9]*/,p=o(["and","or","not","is","isnt","in","instanceof","typeof"]),u=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],s=o(u.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));u=o(u);var l=/^('{3}|\"{3}|['\"])/,d=/^(\/{3}|\/)/,h=o(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function m(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var n=t.scope.offset;if(e.eatSpace()){var o=e.indentation();return o>n&&"coffee"==t.scope.type?"indent":o0&&y(e,t)}if(e.eatSpace())return null;var u=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=k,t.tokenize(e,t);if("#"===u)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var m=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(m=!0),e.match(/^-?\d+\.\d*/)&&(m=!0),e.match(/^-?\.\d+/)&&(m=!0),m)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(l))return t.tokenize=v(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(d)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=v(e.current(),!0,"string.special"),t.tokenize(e,t);e.backUp(1)}return e.match(c)||e.match(p)?"operator":e.match(i)?"punctuation":e.match(h)?"atom":e.match(a)||t.prop&&e.match(f)?"property":e.match(s)?"keyword":e.match(f)?"variable":(e.next(),r)}function v(e,t,n){return function(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\/\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return o.tokenize=m,n;r.eat(/['"\/]/)}return t&&(o.tokenize=m),n}}function k(e,t){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=m;break}e.eatWhile("#")}return"comment"}function g(e,t,n="coffee"){for(var r=0,o=!1,c=null,i=t.scope;i;i=i.prev)if("coffee"===i.type||"}"==i.type){r=i.offset+e.indentUnit;break}"coffee"!==n?(o=null,c=e.column()+e.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:r,type:n,prev:t.scope,align:o,alignOffset:c}}function y(e,t){if(t.scope.prev){if("coffee"!==t.scope.type)return t.scope=t.scope.prev,!1;for(var n=e.indentation(),r=!1,o=t.scope;o;o=o.prev)if(n===o.offset){r=!0;break}if(!r)return!0;for(;t.scope.prev&&t.scope.offset!==n;)t.scope=t.scope.prev;return!1}}let z={name:"coffeescript",startState:function(){return{tokenize:m,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var n=null===t.scope.align&&t.scope;n&&e.sol()&&(n.align=!1);var o=function(e,t){var n=t.tokenize(e,t),o=e.current();"return"===o&&(t.dedent=!0),(("->"===o||"=>"===o)&&e.eol()||"indent"===n)&&g(e,t);var c="[({".indexOf(o);if(-1!==c&&g(e,t,"])}".slice(c,c+1)),u.exec(o)&&g(e,t),"then"==o&&y(e,t),"dedent"===n&&y(e,t))return r;if(-1!==(c="])}".indexOf(o))){for(;"coffee"==t.scope.type&&t.scope.prev;)t.scope=t.scope.prev;t.scope.type==o&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),"indent"==n||"dedent"==n?null:n}(e,t);return o&&"comment"!=o&&(n&&(n.align=!0),t.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,t){if(e.tokenize!=m)return 0;var n=e.scope,r=t&&"])}".indexOf(t.charAt(0))>-1;if(r)for(;"coffee"==n.type&&n.prev;)n=n.prev;var o=r&&n.type===t.charAt(0);return n.align?n.alignOffset-(o?1:0):(o?n.prev:n).offset},languageData:{commentTokens:{line:"#"}}}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9607.41f6b68d54b6cb21.js b/static/web/_next/static/chunks/9607.41f6b68d54b6cb21.js deleted file mode 100644 index 2aeacf4a8..000000000 --- a/static/web/_next/static/chunks/9607.41f6b68d54b6cb21.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9607],{54050:function(e,t,r){function a(e){var t=e.client||{},r=e.atoms||{false:!0,true:!0,null:!0},a=e.builtin||l(c),n=e.keywords||l(s),i=e.operatorChars||/^[*+\-%<>!=&|~^\/]/,o=e.support||{},u=e.hooks||{},d=e.dateSQL||{date:!0,time:!0,timestamp:!0},m=!1!==e.backslashStringEscapes,p=e.brackets||/^[\{}\(\)\[\]]/,g=e.punctuation||/^[;.,:]/;function h(e,s){var l=e.next();if(u[l]){var c=u[l](e,s);if(!1!==c)return c}if(o.hexNumber&&("0"==l&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==l||"X"==l)&&e.match(/^'[0-9a-fA-F]*'/)))return"number";if(o.binaryNumber&&(("b"==l||"B"==l)&&e.match(/^'[01]+'/)||"0"==l&&e.match(/^b[01]*/)))return"number";if(l.charCodeAt(0)>47&&l.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),o.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==l&&(e.eatSpace()||e.eol()||e.eat(";")))return"macroName";if("'"==l||'"'==l&&o.doubleQuote)return s.tokenize=b(l),s.tokenize(e,s);if((o.nCharCast&&("n"==l||"N"==l)||o.charsetCast&&"_"==l&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(o.escapeConstant&&("e"==l||"E"==l)&&("'"==e.peek()||'"'==e.peek()&&o.doubleQuote))return s.tokenize=function(e,t){return(t.tokenize=b(e.next(),!0))(e,t)},"keyword";if(o.commentSlashSlash&&"/"==l&&e.eat("/"))return e.skipToEnd(),"comment";if(o.commentHash&&"#"==l||"-"==l&&e.eat("-")&&(!o.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==l&&e.eat("*"))return s.tokenize=f(1),s.tokenize(e,s);if("."!=l){if(i.test(l))return e.eatWhile(i),"operator";if(p.test(l))return"bracket";if(g.test(l))return e.eatWhile(g),"punctuation";if("{"==l&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var m=e.current().toLowerCase();return d.hasOwnProperty(m)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":r.hasOwnProperty(m)?"atom":a.hasOwnProperty(m)?"type":n.hasOwnProperty(m)?"keyword":t.hasOwnProperty(m)?"builtin":null}return o.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:o.ODBCdotTable&&e.match(/^[\w\d_$#]+/)?"type":void 0}function b(e,t){return function(r,a){for(var n,i=!1;null!=(n=r.next());){if(n==e&&!i){a.tokenize=h;break}i=(m||t)&&!i&&"\\"==n}return"string"}}function f(e){return function(t,r){var a=t.match(/^.*?(\/\*|\*\/)/);return a?"/*"==a[1]?r.tokenize=f(e+1):r.tokenize=e>1?f(e-1):h:t.skipToEnd(),"comment"}}function _(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}return{name:"sql",startState:function(){return{tokenize:h,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==h&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var a=e.current();return"("==a?_(e,t,")"):"["==a?_(e,t,"]"):t.context&&t.context.type==a&&function(e){e.indent=e.context.indent,e.context=e.context.prev}(t),r},indent:function(e,t,r){var a=e.context;if(!a)return null;var n=t.charAt(0)==a.type;return a.align?a.col+(n?0:1):a.indent+(n?0:r.unit)},languageData:{commentTokens:{line:o.commentSlashSlash?"//":o.commentHash?"#":"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}function n(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null}function i(e){return e.eat("@")&&(e.match("session."),e.match("local."),e.match("global.")),e.eat("'")?(e.match(/^.*'/),"string.special"):e.eat('"')?(e.match(/^.*"/),"string.special"):e.eat("`")?(e.match(/^.*`/),"string.special"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"string.special":null}function o(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"string.special":null}r.r(t),r.d(t,{cassandra:function(){return h},esper:function(){return w},gpSQL:function(){return v},gql:function(){return y},hive:function(){return f},mariaDB:function(){return p},msSQL:function(){return d},mySQL:function(){return m},pgSQL:function(){return _},plSQL:function(){return b},sparkSQL:function(){return x},sql:function(){return a},sqlite:function(){return g},standardSQL:function(){return u}});var s="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function l(e){for(var t={},r=e.split(" "),a=0;a!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:l("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":i}}),m=a({client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":n,"\\":o}}),p=a({client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":n,"\\":o}}),g=a({client:l("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:l(s+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:l("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:l("date time timestamp datetime"),support:l("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":i,":":i,"?":i,$:i,'"':function(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null},"`":n}}),h=a({client:{},keywords:l("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:l("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:l("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:l("commentSlashSlash decimallessFloat"),hooks:{}}),b=a({client:l("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:l("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:l("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:l("date time timestamp"),support:l("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),f=a({keywords:l("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:l("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:l("date timestamp"),support:l("ODBCdotTable doubleQuote binaryNumber hexNumber")}),_=a({client:l("source"),keywords:l(s+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:l("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),y=a({keywords:l("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:l("false true"),builtin:l("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),v=a({client:l("source"),keywords:l("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:l("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),x=a({keywords:l("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:l("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:l("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable doubleQuote zerolessFloat")}),w=a({client:l("source"),keywords:l("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:l("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("time"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber")})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9607.c428674d5c072f92.js b/static/web/_next/static/chunks/9607.c428674d5c072f92.js new file mode 100644 index 000000000..1545cc953 --- /dev/null +++ b/static/web/_next/static/chunks/9607.c428674d5c072f92.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9607],{54050:function(e,t,r){function a(e){var t=e.client||{},r=e.atoms||{false:!0,true:!0,null:!0},a=e.builtin||l(c),n=e.keywords||l(s),i=e.operatorChars||/^[*+\-%<>!=&|~^\/]/,o=e.support||{},u=e.hooks||{},d=e.dateSQL||{date:!0,time:!0,timestamp:!0},m=!1!==e.backslashStringEscapes,p=e.brackets||/^[\{}\(\)\[\]]/,g=e.punctuation||/^[;.,:]/;function h(e,s){var l=e.next();if(u[l]){var c=u[l](e,s);if(!1!==c)return c}if(o.hexNumber&&("0"==l&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==l||"X"==l)&&e.match(/^'[0-9a-fA-F]*'/))||o.binaryNumber&&(("b"==l||"B"==l)&&e.match(/^'[01]+'/)||"0"==l&&e.match(/^b[01]*/)))return"number";if(l.charCodeAt(0)>47&&58>l.charCodeAt(0))return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),o.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==l&&(e.eatSpace()||e.eol()||e.eat(";")))return"macroName";if("'"==l||'"'==l&&o.doubleQuote)return s.tokenize=b(l),s.tokenize(e,s);if((o.nCharCast&&("n"==l||"N"==l)||o.charsetCast&&"_"==l&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(o.escapeConstant&&("e"==l||"E"==l)&&("'"==e.peek()||'"'==e.peek()&&o.doubleQuote))return s.tokenize=function(e,t){return(t.tokenize=b(e.next(),!0))(e,t)},"keyword";else if(o.commentSlashSlash&&"/"==l&&e.eat("/"))return e.skipToEnd(),"comment";else if(o.commentHash&&"#"==l||"-"==l&&e.eat("-")&&(!o.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";else if("/"==l&&e.eat("*"))return s.tokenize=function e(t){return function(r,a){var n=r.match(/^.*?(\/\*|\*\/)/);return n?"/*"==n[1]?a.tokenize=e(t+1):t>1?a.tokenize=e(t-1):a.tokenize=h:r.skipToEnd(),"comment"}}(1),s.tokenize(e,s);else if("."==l){if(o.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(e.match(/^\.+/))return null;if(o.ODBCdotTable&&e.match(/^[\w\d_$#]+/))return"type"}else{if(i.test(l))return e.eatWhile(i),"operator";if(p.test(l))return"bracket";if(g.test(l))return e.eatWhile(g),"punctuation";if("{"==l&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var m=e.current().toLowerCase();return d.hasOwnProperty(m)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":r.hasOwnProperty(m)?"atom":a.hasOwnProperty(m)?"type":n.hasOwnProperty(m)?"keyword":t.hasOwnProperty(m)?"builtin":null}}function b(e,t){return function(r,a){for(var n,i=!1;null!=(n=r.next());){if(n==e&&!i){a.tokenize=h;break}i=(m||t)&&!i&&"\\"==n}return"string"}}function f(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}return{name:"sql",startState:function(){return{tokenize:h,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==h&&e.eatSpace())return null;var r,a=t.tokenize(e,t);if("comment"==a)return a;t.context&&null==t.context.align&&(t.context.align=!0);var n=e.current();return"("==n?f(e,t,")"):"["==n?f(e,t,"]"):t.context&&t.context.type==n&&((r=t).indent=r.context.indent,r.context=r.context.prev),a},indent:function(e,t,r){var a=e.context;if(!a)return null;var n=t.charAt(0)==a.type;return a.align?a.col+(n?0:1):a.indent+(n?0:r.unit)},languageData:{commentTokens:{line:o.commentSlashSlash?"//":o.commentHash?"#":"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}function n(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null}function i(e){return(e.eat("@")&&(e.match("session."),e.match("local."),e.match("global.")),e.eat("'"))?(e.match(/^.*'/),"string.special"):e.eat('"')?(e.match(/^.*"/),"string.special"):e.eat("`")?(e.match(/^.*`/),"string.special"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"string.special":null}function o(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"string.special":null}r.r(t),r.d(t,{cassandra:function(){return h},esper:function(){return w},gpSQL:function(){return v},gql:function(){return y},hive:function(){return f},mariaDB:function(){return p},msSQL:function(){return d},mySQL:function(){return m},pgSQL:function(){return _},plSQL:function(){return b},sparkSQL:function(){return x},sql:function(){return a},sqlite:function(){return g},standardSQL:function(){return u}});var s="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function l(e){for(var t={},r=e.split(" "),a=0;a!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:l("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":i}}),m=a({client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":n,"\\":o}}),p=a({client:l("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:l(s+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":i,"`":n,"\\":o}}),g=a({client:l("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:l(s+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:l("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:l("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:l("date time timestamp datetime"),support:l("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":i,":":i,"?":i,$:i,'"':function(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"string.special";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"string.special":null},"`":n}}),h=a({client:{},keywords:l("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:l("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:l("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:l("commentSlashSlash decimallessFloat"),hooks:{}}),b=a({client:l("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:l("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:l("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:l("date time timestamp"),support:l("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),f=a({keywords:l("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:l("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:l("date timestamp"),support:l("ODBCdotTable doubleQuote binaryNumber hexNumber")}),_=a({client:l("source"),keywords:l(s+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:l("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),y=a({keywords:l("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:l("false true"),builtin:l("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),v=a({client:l("source"),keywords:l("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:l("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:l("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),x=a({keywords:l("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:l("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:l("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:l("date time timestamp"),support:l("ODBCdotTable doubleQuote zerolessFloat")}),w=a({client:l("source"),keywords:l("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:l("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:l("time"),support:l("decimallessFloat zerolessFloat binaryNumber hexNumber")})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9640-9faa47ae02e368a5.js b/static/web/_next/static/chunks/9640-9faa47ae02e368a5.js deleted file mode 100644 index 5135882a0..000000000 --- a/static/web/_next/static/chunks/9640-9faa47ae02e368a5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9640],{77891:function(e,n,t){t.d(n,{e:function(){return h}});var r=t(47568),s=t(70655),a=t(85893),i=t(85402),l=t(71577),o=t(21640),c=t(82911),u=t(84674),d=t(58827),h=function(e){var n=e.user,t=e.isEnabled,h=e.label,m=e.onClick;function f(){return f=(0,r.Z)((function(e){var n,r,a;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:n=e.id,r={userId:n,enabled:!t},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,(0,d.rQ)(d.NM,{data:r,method:"POST",auth:!0})];case 2:return[2,s.sent().success];case 3:return a=s.sent(),console.error(a),[3,4];case 4:return[2,!1]}}))})),f.apply(this,arguments)}var x=t?"ban":"unban",j=t?(0,a.jsx)(o.Z,{style:{color:"var(--ant-error)"}}):(0,a.jsx)(c.Z,{style:{color:"var(--ant-warning)"}}),b=(0,a.jsxs)(a.Fragment,{children:["Are you sure you want to ",x," ",(0,a.jsx)("strong",{children:n.displayName}),t?" and remove their messages?":"?"]});return(0,a.jsx)(l.Z,{onClick:function(){i.Z.confirm({title:"Confirm ".concat(x),content:b,onCancel:function(){},onOk:function(){return new Promise((function(e,t){var r=function(e){return f.apply(this,arguments)}(n);r?setTimeout((function(){e(r),null===m||void 0===m||m()}),3e3):t()}))},okType:"danger",okText:t?"Absolutely":null,icon:j})},size:"small",icon:t?(0,a.jsx)(u.Z,{twoToneColor:"#ff4d4f"}):null,className:"block-user-button",children:h||x})};h.defaultProps={label:"",onClick:null}},11085:function(e,n,t){t.d(n,{Z:function(){return A}});var r=t(29815),s=t(85893),a=t(67294),i=t(94199),l=t(85402),o=t(84485),c=t(25968),u=t(6226),d=t(27049),h=t(26713),m=t(45938),f=t(58091),x=t(96486),j=t(77891),b=t(47568),p=t(70655),y=t(71577),v=t(21640),g=t(82911),Z=t(84674),k=t(24478),C=t(58827),w=function(e){var n,t=e.user,r=e.onClick;function a(){return a=(0,b.Z)((function(e,n){var t,r,s;return(0,p.__generator)(this,(function(a){switch(a.label){case 0:t=e.id,r={userId:t,isModerator:n},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,C.rQ)(C.jr,{data:r,method:"POST",auth:!0})];case 2:return[2,a.sent().success];case 3:return s=a.sent(),console.error(s),[3,4];case 4:return[2,!1]}}))})),a.apply(this,arguments)}var i=null===(n=t.scopes)||void 0===n?void 0:n.includes("MODERATOR"),o=i?"remove moderator":"add moderator",c=i?(0,s.jsx)(v.Z,{style:{color:"var(--ant-error)"}}):(0,s.jsx)(g.Z,{style:{color:"var(--ant-warning)"}}),u=(0,s.jsxs)(s.Fragment,{children:["Are you sure you want to ",o," ",(0,s.jsx)("strong",{children:t.displayName}),"?"]});return(0,s.jsx)(y.Z,{onClick:function(){l.Z.confirm({title:"Confirm ".concat(o),content:u,onCancel:function(){},onOk:function(){return new Promise((function(e,n){var s=function(e,n){return a.apply(this,arguments)}(t,!i);s?setTimeout((function(){e(s),null===r||void 0===r||r()}),3e3):n()}))},okType:"danger",okText:i?"Yup!":null,icon:c})},size:"small",icon:i?(0,s.jsx)(Z.Z,{twoToneColor:"#ff4d4f"}):(0,s.jsx)(k.Z,{twoToneColor:"#22bb44"}),className:"block-user-button",children:o})};w.defaultProps={onClick:null};var T=t(41542),N=t(2766),A=function(e){var n=e.user,t=e.connectionInfo,b=e.children,p=(0,a.useState)(!1),y=p[0],v=p[1],g=function(){v(!1)},Z=n.displayName,k=n.createdAt,C=n.previousNames,A=n.nameChangedAt,D=n.disabledAt,P=t||{},O=P.connectedAt,_=P.messageCount,E=P.userAgent,I=null,M=C&&(0,r.Z)(C);C&&C.length>1&&A&&(I=new Date(A),M.reverse());var S=new Date(k),F=(0,f.Z)(S,"PP pp"),z=I?(0,m.Z)(I):null;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{title:(0,s.jsxs)(s.Fragment,{children:["Created at: ",F,".",(0,s.jsx)("br",{})," Click for more info."]}),placement:"bottomLeft",children:(0,s.jsx)("button",{type:"button","aria-label":"Display more details about this user",className:"user-item-container",onClick:function(){v(!0)},children:b})}),(0,s.jsx)(l.Z,{destroyOnClose:!0,width:600,cancelText:"Close",okButtonProps:{style:{display:"none"}},title:"User details: ".concat(Z),open:y,onOk:g,onCancel:g,children:(0,s.jsxs)("div",{className:"user-details",children:[(0,s.jsx)(o.Z.Title,{level:4,children:Z}),(0,s.jsxs)("p",{className:"created-at",children:["User created at ",F,"."]}),(0,s.jsxs)(c.Z,{gutter:16,children:[t&&(0,s.jsxs)(u.Z,{md:I?12:24,children:[(0,s.jsx)(o.Z.Title,{level:5,children:"This user is currently connected to Chat."}),(0,s.jsxs)("ul",{className:"connection-info",children:[(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Active for:"})," ",(0,m.Z)(new Date(O))]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"Messages sent:"})," ",_]}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"User Agent:"}),(0,s.jsx)("br",{}),(0,N.AB)(E)]})]})]}),I&&(0,s.jsxs)(u.Z,{md:t?12:24,children:[(0,s.jsx)(o.Z.Title,{level:5,children:"This user is also seen as:"}),(0,s.jsx)("ul",{className:"previous-names-list",children:(0,x.uniq)(M).map((function(e,n){return(0,s.jsxs)("li",{className:0===n?"latest":"",children:[(0,s.jsx)("span",{className:"user-name-item",children:e}),0===n?" (Changed ".concat(z," ago)"):""]})}))})]})]}),(0,s.jsx)(d.Z,{}),(0,s.jsxs)(h.Z,{direction:"horizontal",children:[D?(0,s.jsxs)(s.Fragment,{children:["This user was banned on ",(0,s.jsx)("code",{children:(0,T.u)(D)}),".",(0,s.jsx)("br",{}),(0,s.jsx)("br",{}),(0,s.jsx)(j.e,{label:"Unban this user",user:n,isEnabled:!1,onClick:g})]}):(0,s.jsx)(j.e,{label:"Ban this user",user:n,isEnabled:!0,onClick:g}),(0,s.jsx)(w,{user:n,onClick:g})]})]})})]})};A.defaultProps={connectionInfo:null}},41542:function(e,n,t){t.d(n,{K:function(){return c},u:function(){return o}});var r=t(85893),s=t(93626),a=t(58091),i=t(11085),l=t(77891);function o(e){return(0,a.Z)(new Date(e),"MMM d H:mma")}var c=function(e){var n=e.data,t=[{title:"Last Known Display Name",dataIndex:"displayName",key:"displayName",render:function(e,n){return(0,r.jsx)(i.Z,{user:n,children:(0,r.jsx)("span",{className:"display-name",children:e})})}},{title:"Created",dataIndex:"createdAt",key:"createdAt",render:function(e){return o(e)},sorter:function(e,n){return new Date(e.createdAt).getTime()-new Date(n.createdAt).getTime()},sortDirections:["descend","ascend"]},{title:"Disabled at",dataIndex:"disabledAt",key:"disabledAt",defaultSortOrder:"descend",render:function(e){return e?o(e):null},sorter:function(e,n){return new Date(e.disabledAt).getTime()-new Date(n.disabledAt).getTime()},sortDirections:["descend","ascend"]},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,r.jsx)(l.e,{user:n,isEnabled:!n.disabledAt})}}];return(0,r.jsx)(s.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:t,dataSource:n,size:"small",rowKey:"id"})}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9674.a7c00110a69614af.js b/static/web/_next/static/chunks/9674.a7c00110a69614af.js deleted file mode 100644 index ff1ea8941..000000000 --- a/static/web/_next/static/chunks/9674.a7c00110a69614af.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9674],{54907:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var a=n(87462),r=n(4942),s=n(18073),i=n(94184),o=n.n(i),c=n(74902),l=n(15671),u=n(43144),d=n(60136),p=n(33643),h=n(71002),v=n(67294),f=n(96774),m=n.n(f),y=n(50344),x=n(62874),g=n(97685),Z=v.forwardRef((function(e,t){var n,a=e.prefixCls,s=e.forceRender,i=e.className,c=e.style,l=e.children,u=e.isActive,d=e.role,p=v.useState(u||s),h=(0,g.Z)(p,2),f=h[0],m=h[1];return v.useEffect((function(){(s||u)&&m(!0)}),[s,u]),f?v.createElement("div",{ref:t,className:o()("".concat(a,"-content"),(n={},(0,r.Z)(n,"".concat(a,"-content-active"),u),(0,r.Z)(n,"".concat(a,"-content-inactive"),!u),n),i),style:c,role:d},v.createElement("div",{className:"".concat(a,"-content-box")},l)):null}));Z.displayName="PanelContent";var b=Z,C=function(e){(0,d.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,l.Z)(this,n);for(var a=arguments.length,r=new Array(a),s=0;s-1?t.splice(n,1):t.push(e)}a.setActiveKey(t)},a.getNewChild=function(e,t){if(!e)return null;var n=a.state.activeKey,r=a.props,s=r.prefixCls,i=r.openMotion,o=r.accordion,c=r.destroyInactivePanel,l=r.expandIcon,u=r.collapsible,d=e.key||String(t),p=e.props,h=p.header,f=p.headerClass,m=p.destroyInactivePanel,y=p.collapsible,x=null!==y&&void 0!==y?y:u,g={key:d,panelKey:d,header:h,headerClass:f,isActive:o?n[0]===d:n.indexOf(d)>-1,prefixCls:s,destroyInactivePanel:null!==m&&void 0!==m?m:c,openMotion:i,accordion:o,children:e.props.children,onItemClick:"disabled"===x?null:a.onClickItem,expandIcon:l,collapsible:x};return"string"===typeof e.type?e:(Object.keys(g).forEach((function(e){"undefined"===typeof g[e]&&delete g[e]})),v.cloneElement(e,g))},a.getItems=function(){var e=a.props.children;return(0,y.Z)(e).map(a.getNewChild)},a.setActiveKey=function(e){"activeKey"in a.props||a.setState({activeKey:e}),a.props.onChange(a.props.accordion?e[0]:e)};var r=e.activeKey,s=e.defaultActiveKey;return"activeKey"in e&&(s=r),a.state={activeKey:j(s)},a}return(0,u.Z)(n,[{key:"shouldComponentUpdate",value:function(e,t){return!m()(this.props,e)||!m()(this.state,t)}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,a=t.className,s=t.style,i=t.accordion,c=o()((e={},(0,r.Z)(e,n,!0),(0,r.Z)(e,a,!!a),e));return v.createElement("div",{className:c,style:s,role:i?"tablist":null},this.getItems())}}],[{key:"getDerivedStateFromProps",value:function(e){var t={};return"activeKey"in e&&(t.activeKey=j(e.activeKey)),t}}]),n}(v.Component);I.defaultProps={prefixCls:"rc-collapse",onChange:function(){},accordion:!1,destroyInactivePanel:!1},I.Panel=N;var k=I,w=(I.Panel,n(98423)),E=n(53124),A=n(33603),_=n(96159),P=function(e){var t,n=v.useContext(E.E_),i=n.getPrefixCls,c=n.direction,l=e.prefixCls,u=e.className,d=void 0===u?"":u,p=e.bordered,h=void 0===p||p,f=e.ghost,m=e.expandIconPosition,x=void 0===m?"start":m,g=i("collapse",l),Z=v.useMemo((function(){return"left"===x?"start":"right"===x?"end":x}),[x]),b=o()("".concat(g,"-icon-position-").concat(Z),(t={},(0,r.Z)(t,"".concat(g,"-borderless"),!h),(0,r.Z)(t,"".concat(g,"-rtl"),"rtl"===c),(0,r.Z)(t,"".concat(g,"-ghost"),!!f),t),d),C=(0,a.Z)((0,a.Z)({},A.ZP),{motionAppear:!1,leavedClassName:"".concat(g,"-content-hidden")});return v.createElement(k,(0,a.Z)({openMotion:C},e,{expandIcon:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.expandIcon,a=n?n(t):v.createElement(s.Z,{rotate:t.isActive?90:void 0});return(0,_.Tm)(a,(function(){return{className:o()(a.props.className,"".concat(g,"-arrow"))}}))},prefixCls:g,className:b}),function(){var t=e.children;return(0,y.Z)(t).map((function(e,t){var n;if(null===(n=e.props)||void 0===n?void 0:n.disabled){var r=e.key||String(t),s=e.props,i=s.disabled,o=s.collapsible,c=(0,a.Z)((0,a.Z)({},(0,w.Z)(e.props,["disabled"])),{key:r,collapsible:null!==o&&void 0!==o?o:i?"disabled":void 0});return(0,_.Tm)(e,c)}return e}))}())};P.Panel=function(e){var t=v.useContext(E.E_).getPrefixCls,n=e.prefixCls,s=e.className,i=void 0===s?"":s,c=e.showArrow,l=void 0===c||c,u=t("collapse",n),d=o()((0,r.Z)({},"".concat(u,"-no-arrow"),!l),i);return v.createElement(k.Panel,(0,a.Z)({},e,{prefixCls:u,className:d}))};var S=P},11382:function(e,t,n){"use strict";var a=n(87462),r=n(4942),s=n(97685),i=n(94184),o=n.n(i),c=n(23279),l=n.n(c),u=n(98423),d=n(67294),p=n(53124),h=n(96159),v=n(93355),f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0?"error":void 0,onSearch:_}),(0,a.jsx)(c.Z,{ghost:!0,children:(0,a.jsxs)(m,{header:"Learn more about using IndieAuth to authenticate with chat.",children:[(0,a.jsx)("p",{children:"IndieAuth allows for a completely independent and decentralized way of identifying yourself using your own domain."}),(0,a.jsxs)("p",{children:["If you run an Owncast instance, you can use that domain here. Otherwise,"," ",(0,a.jsx)(y,{href:"https://indieauth.net/#providers",children:"learn more about how you can support IndieAuth"}),"."]})]},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},g=n(71577),Z=n(55237),b=n.n(Z);var C=c.Z.Panel,N=function(e){var t=e.authenticated,n=e.displayName,r=e.accessToken,s=(0,v.useState)(null),l=s[0],f=s[1],m=(0,v.useState)(!1),y=m[0],x=m[1],Z=(0,v.useState)(!1),N=Z[0],j=Z[1],I=(0,v.useState)(""),k=I[0],w=I[1],E=(0,v.useState)(""),A=E[0],_=E[1],P=(0,v.useState)(!1),S=P[0],T=P[1],K=t?(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:"You are already authenticated"}),". However, you can add other domains or log in as a different user."]}):(0,a.jsxs)("span",{children:["Receive a direct message on the Fediverse to link your account to"," ",(0,a.jsx)("strong",{children:n}),", or login as a previously linked chat user."]}),O=l;O&&O.includes("url does not support indieauth")&&(O="The provided URL is either invalid or does not support IndieAuth.");var F=function(e){j(function(e){var t=e.replace(/^@+/,"");return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}(e))},M=function(){var e=(0,i.Z)((function(e,t){var n;return(0,o.__generator)(this,(function(a){switch(a.label){case 0:return[4,fetch(e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)})];case 1:return[4,a.sent().json()];case 2:return(n=a.sent()).message&&(f(n.message),x(!1)),[2]}}))}));return function(t,n){return e.apply(this,arguments)}}(),R=function(){var e=(0,i.Z)((function(){var e,t,n;return(0,o.__generator)(this,(function(a){switch(a.label){case 0:x(!0),e="/api/auth/fediverse/verify?accessToken=".concat(r),t={code:A},a.label=1;case 1:return a.trys.push([1,3,,4]),[4,M(e,t)];case 2:return a.sent(),window.location.href="/",[3,4];case 3:return n=a.sent(),console.error(n),f(n),[3,4];case 4:return x(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),L=function(){var e=(0,i.Z)((function(){var e,t,n,a;return(0,o.__generator)(this,(function(s){switch(s.label){case 0:if(!N)return[2];x(!0),f(null),e="/api/auth/fediverse?accessToken=".concat(r),t=k.replace(/^@+/,""),n={account:t},s.label=1;case 1:return s.trys.push([1,3,,4]),[4,M(e,n)];case 2:return s.sent(),T(!0),[3,4];case 3:return a=s.sent(),console.error(a),f(a),[3,4];case 4:return x(!1),[2]}}))}));return function(){return e.apply(this,arguments)}}(),U=(0,a.jsxs)("div",{children:["Paste in the code that was sent to your Fediverse account. If you did not receive a code, make sure you can accept direct messages.",(0,a.jsxs)("div",{className:b().codeInputContainer,children:[(0,a.jsx)(h.Z,{value:A,onChange:function(e){return _(e.target.value)},className:b().codeInput,placeholder:"123456",maxLength:6}),(0,a.jsx)(g.Z,{type:"primary",onClick:R,disabled:A.length<6,className:b().submitButton,children:"Verify Code"})]})]}),z=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:"Your Fediverse Account"}),(0,a.jsx)(h.Z.Search,{addonBefore:"@",onInput:function(e){w(e.target.value),F(e.target.value)},value:k,placeholder:"youraccount@yourserver.com",status:!N&&k.length>0?"error":void 0,onSearch:L})]});return(0,a.jsx)(u.Z,{spinning:y,children:(0,a.jsxs)(d.Z,{direction:"vertical",children:[K,O&&(0,a.jsx)(p.Z,{message:"Error",description:O,type:"error",showIcon:!0}),S?U:z,(0,a.jsx)(c.Z,{ghost:!0,children:(0,a.jsx)(C,{header:"Learn more about using the Fediverse to authenticate with chat.",children:(0,a.jsx)("p",{children:"xxxxxx"})},"header")}),(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"Note"}),": This is for authentication purposes only, and no personal information will be accessed or stored."]})]})})},j="/_next/static/media/fediverse-black.0b51c805.png",I="/_next/static/media/indieauth.38c52a3d.png",k=n(67211),w=n.n(k),E=n(1899),A=function(){var e=(0,s.sJ)(E.L4),t=(0,s.sJ)(E.FI),n=(0,s.sJ)(E.db);if(!n)return null;var i=n.displayName,o=[{label:(0,a.jsxs)("span",{className:w().tabContent,children:[(0,a.jsx)("img",{className:w().icon,src:I,alt:"IndieAuth"}),"IndieAuth"]}),key:"1",children:(0,a.jsx)(x,{authenticated:e,displayName:i,accessToken:t})},{label:(0,a.jsxs)("span",{className:w().tabContent,children:[(0,a.jsx)("img",{className:w().icon,src:j,alt:"Fediverse auth"}),"FediAuth"]}),key:"2",children:(0,a.jsx)(N,{authenticated:e,displayName:i,accessToken:t})}];return(0,a.jsx)("div",{children:(0,a.jsx)(r.Z,{defaultActiveKey:"1",items:o,type:"card",size:"small",renderTabBar:null})})}},67211:function(e){e.exports={tabContent:"AuthModal_tabContent__KgMU3",icon:"AuthModal_icon__kpEuV"}},55237:function(e){e.exports={codeInputContainer:"FediAuthModal_codeInputContainer__M_dAD",codeInput:"FediAuthModal_codeInput__dIE6u",submitButton:"FediAuthModal_submitButton__iuF9R"}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9713.f1d5b41171c6487d.js b/static/web/_next/static/chunks/9713.f1d5b41171c6487d.js new file mode 100644 index 000000000..9dcb49b6a --- /dev/null +++ b/static/web/_next/static/chunks/9713.f1d5b41171c6487d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9713],{9713:function(e,n,t){function r(e){for(var n={},t=e.split(" "),r=0;r*\/]/.test(o))return t="select-op",null;else if("."==o&&e.match(/^-?[_a-z][_a-z0-9-]*/i))return t="qualifier","qualifier";else if(/[:;{}\[\]\(\)]/.test(o))return t=o,null;else return e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(r.tokenize=v),t="variable","variableName.function"):/[\w\\\-]/.test(o)?(e.eatWhile(/[\w\\\-]/),t="word","property"):(t=null,null)}function y(e){return function(r,o){for(var n,i=!1;null!=(n=r.next());){if(n==e&&!i){")"==e&&r.backUp(1);break}i=!i&&"\\"==n}return n!=e&&(i||")"==e)||(o.tokenize=null),t="string","string"}}function v(e,r){return e.next(),e.match(/^\s*[\"\')]/,!1)?r.tokenize=null:r.tokenize=y(")"),t="(",null}function x(e,t,r){this.type=e,this.indent=t,this.prev=r}function z(e,t,r,o){return e.context=new x(r,t.indentation()+(!1===o?0:t.indentUnit),e.context),r}function q(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function j(e,t,r){return S[r.context.type](e,t,r)}function K(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return j(e,t,r)}function _(e){var t=e.current().toLowerCase();r=f.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var S={};return S.top=function(e,t,o){if("{"==e)return z(o,t,"block");if("}"==e&&o.context.prev)return q(o);if(b&&/@component/i.test(e))return z(o,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return z(o,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return z(o,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return o.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";else if(e&&"@"==e.charAt(0))return z(o,t,"at");else if("hash"==e)r="builtin";else if("word"==e)r="tag";else if("variable-definition"==e)return"maybeprop";else if("interpolation"==e)return z(o,t,"interpolation");else if(":"==e)return"pseudo";else if(h&&"("==e)return z(o,t,"parens");return o.context.type},S.block=function(e,t,o){if("word"==e){var n=t.current().toLowerCase();return c.hasOwnProperty(n)?(r="property","maybeprop"):d.hasOwnProperty(n)?(r=k?"string.special":"property","maybeprop"):h?(r=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r="error","maybeprop")}return"meta"==e?"block":h||"hash"!=e&&"qualifier"!=e?S.top(e,t,o):(r="error","block")},S.maybeprop=function(e,t,r){return":"==e?z(r,t,"prop"):j(e,t,r)},S.prop=function(e,t,o){if(";"==e)return q(o);if("{"==e&&h)return z(o,t,"propBlock");if("}"==e||"{"==e)return K(e,t,o);if("("==e)return z(o,t,"parens");if("hash"!=e||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())){if("word"==e)_(t);else if("interpolation"==e)return z(o,t,"interpolation")}else r="error";return"prop"},S.propBlock=function(e,t,o){return"}"==e?q(o):"word"==e?(r="property","maybeprop"):o.context.type},S.parens=function(e,t,r){return"{"==e||"}"==e?K(e,t,r):")"==e?q(r):"("==e?z(r,t,"parens"):"interpolation"==e?z(r,t,"interpolation"):("word"==e&&_(t),"parens")},S.pseudo=function(e,t,o){return"meta"==e?"pseudo":"word"==e?(r="variableName.constant",o.context.type):j(e,t,o)},S.documentTypes=function(e,t,o){return"word"==e&&i.hasOwnProperty(t.current())?(r="tag",o.context.type):S.atBlock(e,t,o)},S.atBlock=function(e,t,o){if("("==e)return z(o,t,"atBlock_parens");if("}"==e||";"==e)return K(e,t,o);if("{"==e)return q(o)&&z(o,t,h?"block":"top");if("interpolation"==e)return z(o,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();r="only"==n||"not"==n||"and"==n||"or"==n?"keyword":a.hasOwnProperty(n)?"attribute":l.hasOwnProperty(n)?"property":s.hasOwnProperty(n)?"keyword":c.hasOwnProperty(n)?"property":d.hasOwnProperty(n)?k?"string.special":"property":f.hasOwnProperty(n)?"atom":m.hasOwnProperty(n)?"keyword":"error"}return o.context.type},S.atComponentBlock=function(e,t,o){return"}"==e?K(e,t,o):"{"==e?q(o)&&z(o,t,h?"block":"top",!1):("word"==e&&(r="error"),o.context.type)},S.atBlock_parens=function(e,t,r){return")"==e?q(r):"{"==e||"}"==e?K(e,t,r,2):S.atBlock(e,t,r)},S.restricted_atBlock_before=function(e,t,o){return"{"==e?z(o,t,"restricted_atBlock"):"word"==e&&"@counter-style"==o.stateArg?(r="variable","restricted_atBlock_before"):j(e,t,o)},S.restricted_atBlock=function(e,t,o){return"}"==e?(o.stateArg=null,q(o)):"word"==e?(r=("@font-face"!=o.stateArg||u.hasOwnProperty(t.current().toLowerCase()))&&("@counter-style"!=o.stateArg||p.hasOwnProperty(t.current().toLowerCase()))?"property":"error","maybeprop"):"restricted_atBlock"},S.keyframes=function(e,t,o){return"word"==e?(r="variable","keyframes"):"{"==e?z(o,t,"top"):j(e,t,o)},S.at=function(e,t,o){return";"==e?q(o):"{"==e||"}"==e?K(e,t,o):("word"==e?r="tag":"hash"==e&&(r="builtin"),"at")},S.interpolation=function(e,t,o){return"}"==e?q(o):"{"==e||";"==e?K(e,t,o):("word"==e?r="variable":"variable"!=e&&"("!=e&&")"!=e&&(r="error"),"interpolation")},{name:e.name,startState:function(){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new x(o?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var n=(o.tokenize||w)(e,o);return n&&"object"==typeof n&&(t=n[1],n=n[0]),r=n,"comment"!=t&&(o.state=S[o.state](t,e,o)),r},indent:function(e,t,r){var o=e.context,n=t&&t.charAt(0),i=o.indent;return"prop"==o.type&&("}"==n||")"==n)&&(o=o.prev),o.prev&&("}"==n&&("block"==o.type||"top"==o.type||"interpolation"==o.type||"restricted_atBlock"==o.type)?i=(o=o.prev).indent:(")"==n&&("parens"==o.type||"atBlock_parens"==o.type)||"{"==n&&("at"==o.type||"atBlock"==o.type))&&(i=Math.max(0,o.indent-r.unit))),i},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:g,block:{open:"/*",close:"*/"}},autocomplete:P}}}function n(e){for(var t={},r=0;r|<|==|>=|<=|\\+|-|\\!=|/|\\*|%|and|or|not|;|\\{|\\}|:"),u=/^::?[a-zA-Z_][\w\-]*/;function p(e){return!e.peek()||e.match(/\s+$/,!1)}function m(e,t){let r=e.peek();return")"===r?(e.next(),t.tokenizer=w,"operator"):"("===r?(e.next(),e.eatSpace(),"operator"):"'"===r||'"'===r?(t.tokenizer=h(e.next()),"string"):(t.tokenizer=h(")",!1),"string")}function f(e,t){return function(r,o){return r.sol()&&r.indentation()<=e?(o.tokenizer=w,w(r,o)):(t&&r.skipTo("*/")?(r.next(),r.next(),o.tokenizer=w):r.skipToEnd(),"comment")}}function h(e,t){return null==t&&(t=!0),function r(o,n){let i=o.next(),a=o.peek(),l=o.string.charAt(o.pos-2);return"\\"!==i&&a===e||i===e&&"\\"!==l?(i!==e&&t&&o.next(),p(o)&&(n.cursorHalf=0),n.tokenizer=w,"string"):"#"===i&&"{"===a?(n.tokenizer=g(r),o.next(),"operator"):"string"}}function g(e){return function(t,r){return"}"===t.peek()?(t.next(),r.tokenizer=e,"operator"):w(t,r)}}function b(e,t){if(0==e.indentCount){e.indentCount++;let r=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:r})}}function k(e){1!=e.scopes.length&&e.scopes.shift()}function w(e,t){let r=e.peek();if(e.match("/*"))return t.tokenizer=f(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=f(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=g(w),"operator";if('"'===r||"'"===r)return e.next(),t.tokenizer=h(r),"string";if(t.cursorHalf){if("#"===r&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||e.match(/^-?[0-9\.]+/))return p(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return p(e)&&(t.cursorHalf=0),"unit";if(e.match(c))return p(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,p(e)&&(t.cursorHalf=0),"atom";if("$"===r)return e.next(),e.eatWhile(/[\w-]/),p(e)&&(t.cursorHalf=0),"variable-2";if("!"===r)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(d))return p(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return(p(e)&&(t.cursorHalf=0),o=e.current().toLowerCase(),l.has(o))?"atom":a.has(o)?"keyword":i.has(o)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(p(e))return t.cursorHalf=0,null}else{if("-"===r&&e.match(/^-\w+-/))return"meta";if("."===r){if(e.next(),e.match(/^[\w-]+/))return b(t,e),"qualifier";if("#"===e.peek())return b(t,e),"tag"}if("#"===r){if(e.next(),e.match(/^[\w-]+/))return b(t,e),"builtin";if("#"===e.peek())return b(t,e),"tag"}if("$"===r)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(c))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,"atom";if("="===r&&e.match(/^=[\w-]+/))return b(t,e),"meta";if("+"===r&&e.match(/^\+[\w-]+/))return"meta";if("@"===r&&e.match("@extend")&&!e.match(/\s*[\w]/)&&k(t),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return b(t,e),"def";if("@"===r)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){o=e.current().toLowerCase();let n=t.prevProp+"-"+o;return i.has(n)?"property":i.has(o)?(t.prevProp=o,"property"):s.has(o)?"property":"tag"}return e.match(/ *:/,!1)?(b(t,e),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):(e.match(/ *,/,!1)||b(t,e),"tag")}if(":"===r)return e.match(u)?"type":(e.next(),t.cursorHalf=1,"operator")}return e.match(d)?"operator":(e.next(),null)}let y={name:"sass",startState:function(){return{tokenizer:w,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,t){let r=function(e,t){e.sol()&&(t.indentCount=0);let r=t.tokenizer(e,t),o=e.current();if(("@return"===o||"}"===o)&&k(t),null!==r){let n=e.pos-o.length+e.indentUnit*t.indentCount,i=[];for(let a=0;a*\/]/.test(r)?w(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?w("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?w(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=x),w("variableName.function","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),w("property","word")):w(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),w("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?w("def","variable-definition"):w("variableName","variable")):e.match(/^\w+-/)?w("meta","meta"):void 0}function v(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),w("string","string")}}function x(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=v(")"),w(null,"(")}function z(e,t,r){this.type=e,this.indent=t,this.prev=r}function j(e,t,r,o){return e.context=new z(r,t.indentation()+(!1===o?0:t.indentUnit),e.context),r}function C(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function K(e,t,r){return S[r.context.type](e,t,r)}function _(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return K(e,t,r)}function H(e){var t=e.current().toLowerCase();r=h.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var S={top:function(e,t,o){if("{"==e)return j(o,t,"block");if("}"==e&&o.context.prev)return C(o);if(b&&/@component/i.test(e))return j(o,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return j(o,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return j(o,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return o.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return j(o,t,"at");if("hash"==e)r="builtin";else if("word"==e)r="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return j(o,t,"interpolation");if(":"==e)return"pseudo";if(f&&"("==e)return j(o,t,"parens")}return o.context.type},block:function(e,t,o){if("word"==e){var n=t.current().toLowerCase();return c.hasOwnProperty(n)?(r="property","maybeprop"):d.hasOwnProperty(n)?(r=k?"string.special":"property","maybeprop"):f?(r=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r="error","maybeprop")}return"meta"==e?"block":f||"hash"!=e&&"qualifier"!=e?S.top(e,t,o):(r="error","block")},maybeprop:function(e,t,r){return":"==e?j(r,t,"prop"):K(e,t,r)},prop:function(e,t,o){if(";"==e)return C(o);if("{"==e&&f)return j(o,t,"propBlock");if("}"==e||"{"==e)return _(e,t,o);if("("==e)return j(o,t,"parens");if("hash"!=e||/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t.current())){if("word"==e)H(t);else if("interpolation"==e)return j(o,t,"interpolation")}else r="error";return"prop"},propBlock:function(e,t,o){return"}"==e?C(o):"word"==e?(r="property","maybeprop"):o.context.type},parens:function(e,t,r){return"{"==e||"}"==e?_(e,t,r):")"==e?C(r):"("==e?j(r,t,"parens"):"interpolation"==e?j(r,t,"interpolation"):("word"==e&&H(t),"parens")},pseudo:function(e,t,o){return"meta"==e?"pseudo":"word"==e?(r="variableName.constant",o.context.type):K(e,t,o)},documentTypes:function(e,t,o){return"word"==e&&i.hasOwnProperty(t.current())?(r="tag",o.context.type):S.atBlock(e,t,o)},atBlock:function(e,t,o){if("("==e)return j(o,t,"atBlock_parens");if("}"==e||";"==e)return _(e,t,o);if("{"==e)return C(o)&&j(o,t,f?"block":"top");if("interpolation"==e)return j(o,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();r="only"==n||"not"==n||"and"==n||"or"==n?"keyword":a.hasOwnProperty(n)?"attribute":l.hasOwnProperty(n)?"property":s.hasOwnProperty(n)?"keyword":c.hasOwnProperty(n)?"property":d.hasOwnProperty(n)?k?"string.special":"property":h.hasOwnProperty(n)?"atom":m.hasOwnProperty(n)?"keyword":"error"}return o.context.type},atComponentBlock:function(e,t,o){return"}"==e?_(e,t,o):"{"==e?C(o)&&j(o,t,f?"block":"top",!1):("word"==e&&(r="error"),o.context.type)},atBlock_parens:function(e,t,r){return")"==e?C(r):"{"==e||"}"==e?_(e,t,r,2):S.atBlock(e,t,r)},restricted_atBlock_before:function(e,t,o){return"{"==e?j(o,t,"restricted_atBlock"):"word"==e&&"@counter-style"==o.stateArg?(r="variable","restricted_atBlock_before"):K(e,t,o)},restricted_atBlock:function(e,t,o){return"}"==e?(o.stateArg=null,C(o)):"word"==e?(r="@font-face"==o.stateArg&&!u.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==o.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,o){return"word"==e?(r="variable","keyframes"):"{"==e?j(o,t,"top"):K(e,t,o)},at:function(e,t,o){return";"==e?C(o):"{"==e||"}"==e?_(e,t,o):("word"==e?r="tag":"hash"==e&&(r="builtin"),"at")},interpolation:function(e,t,o){return"}"==e?C(o):"{"==e||";"==e?_(e,t,o):("word"==e?r="variable":"variable"!=e&&"("!=e&&")"!=e&&(r="error"),"interpolation")}};return{name:e.name,startState:function(){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new z(o?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var n=(o.tokenize||y)(e,o);return n&&"object"==typeof n&&(t=n[1],n=n[0]),r=n,"comment"!=t&&(o.state=S[o.state](t,e,o)),r},indent:function(e,t,r){var o=e.context,n=t&&t.charAt(0),i=o.indent;return"prop"!=o.type||"}"!=n&&")"!=n||(o=o.prev),o.prev&&("}"!=n||"block"!=o.type&&"top"!=o.type&&"interpolation"!=o.type&&"restricted_atBlock"!=o.type?(")"!=n||"parens"!=o.type&&"atBlock_parens"!=o.type)&&("{"!=n||"at"!=o.type&&"atBlock"!=o.type)||(i=Math.max(0,o.indent-r.unit)):i=(o=o.prev).indent),i},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:g,block:{open:"/*",close:"*/"}},autocomplete:P}}}function n(e){for(var t={},r=0;r","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"].join("|"));let d,u=/^::?[a-zA-Z_][\w\-]*/;function p(e){return!e.peek()||e.match(/\s+$/,!1)}function m(e,t){let r=e.peek();return")"===r?(e.next(),t.tokenizer=w,"operator"):"("===r?(e.next(),e.eatSpace(),"operator"):"'"===r||'"'===r?(t.tokenizer=f(e.next()),"string"):(t.tokenizer=f(")",!1),"string")}function h(e,t){return function(r,o){return r.sol()&&r.indentation()<=e?(o.tokenizer=w,w(r,o)):(t&&r.skipTo("*/")?(r.next(),r.next(),o.tokenizer=w):r.skipToEnd(),"comment")}}function f(e,t){return null==t&&(t=!0),function r(o,n){let i=o.next(),a=o.peek(),l=o.string.charAt(o.pos-2);return"\\"!==i&&a===e||i===e&&"\\"!==l?(i!==e&&t&&o.next(),p(o)&&(n.cursorHalf=0),n.tokenizer=w,"string"):"#"===i&&"{"===a?(n.tokenizer=g(r),o.next(),"operator"):"string"}}function g(e){return function(t,r){return"}"===t.peek()?(t.next(),r.tokenizer=e,"operator"):w(t,r)}}function b(e,t){if(0==e.indentCount){e.indentCount++;let r=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:r})}}function k(e){1!=e.scopes.length&&e.scopes.shift()}function w(e,t){let r=e.peek();if(e.match("/*"))return t.tokenizer=h(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=h(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=g(w),"operator";if('"'===r||"'"===r)return e.next(),t.tokenizer=f(r),"string";if(t.cursorHalf){if("#"===r&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return p(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return p(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return p(e)&&(t.cursorHalf=0),"unit";if(e.match(s))return p(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,p(e)&&(t.cursorHalf=0),"atom";if("$"===r)return e.next(),e.eatWhile(/[\w-]/),p(e)&&(t.cursorHalf=0),"variable-2";if("!"===r)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(c))return p(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return p(e)&&(t.cursorHalf=0),d=e.current().toLowerCase(),a.has(d)?"atom":i.has(d)?"keyword":n.has(d)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(p(e))return t.cursorHalf=0,null}else{if("-"===r&&e.match(/^-\w+-/))return"meta";if("."===r){if(e.next(),e.match(/^[\w-]+/))return b(t,e),"qualifier";if("#"===e.peek())return b(t,e),"tag"}if("#"===r){if(e.next(),e.match(/^[\w-]+/))return b(t,e),"builtin";if("#"===e.peek())return b(t,e),"tag"}if("$"===r)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(s))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=m,"atom";if("="===r&&e.match(/^=[\w-]+/))return b(t,e),"meta";if("+"===r&&e.match(/^\+[\w-]+/))return"meta";if("@"===r&&e.match("@extend")&&(e.match(/\s*[\w]/)||k(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return b(t,e),"def";if("@"===r)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){d=e.current().toLowerCase();let r=t.prevProp+"-"+d;return n.has(r)?"property":n.has(d)?(t.prevProp=d,"property"):l.has(d)?"property":"tag"}return e.match(/ *:/,!1)?(b(t,e),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):(e.match(/ *,/,!1)||b(t,e),"tag")}if(":"===r)return e.match(u)?"type":(e.next(),t.cursorHalf=1,"operator")}return e.match(c)?"operator":(e.next(),null)}const y={name:"sass",startState:function(){return{tokenizer:w,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,t){let r=function(e,t){e.sol()&&(t.indentCount=0);let r=t.tokenizer(e,t),o=e.current();if("@return"!==o&&"}"!==o||k(t),null!==r){let r=e.pos-o.length+e.indentUnit*t.indentCount,n=[];for(let e=0;et[e]||-1}],tokenPrec:0}),$=n.qp.define({name:"wast",parser:Q.configure({props:[n.uj.add({App:(0,n.vw)({closing:")",align:!1})}),n.x0.add({App:n.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,r.Gv)({Keyword:r.pJ.keyword,Type:r.pJ.typeName,Number:r.pJ.number,String:r.pJ.string,Identifier:r.pJ.variableName,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,"( )":r.pJ.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function s(){return new n.ri($)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/9972.fd259588474eb11b.js b/static/web/_next/static/chunks/9972.fd259588474eb11b.js new file mode 100644 index 000000000..ebdec20d0 --- /dev/null +++ b/static/web/_next/static/chunks/9972.fd259588474eb11b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9972],{9972:function(e,c,O){O.r(c),O.d(c,{wast:function(){return a},wastLanguage:function(){return $}});var n=O(59119),r=O(35524),t=O(53105);let o={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},Q=t.WQ.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["opened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+V~-OP!]!^-R~-WQP~OY-RZ~-R~-ciX~qr-^st-^tu-^uv-^vw-^wx-^z{-^{|-^}!O-^!O!P-^!P!Q-^!Q![-^![!]-^!^!_-^!_!`-^!`!a-^!a!b-^!b!c-^!c!}-^#Q#R-^#R#S-^#S#T-^#T#o-^#p#q-^#r#s-^",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:e=>o[e]||-1}],tokenPrec:0}),$=n.qp.define({name:"wast",parser:Q.configure({props:[n.uj.add({App:(0,n.vw)({closing:")",align:!1})}),n.x0.add({App:n.Dv,BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,r.Gv)({Keyword:r.pJ.keyword,Type:r.pJ.typeName,Number:r.pJ.number,String:r.pJ.string,Identifier:r.pJ.variableName,LineComment:r.pJ.lineComment,BlockComment:r.pJ.blockComment,"( )":r.pJ.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function a(){return new n.ri($)}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d2094a0f-43945b499b1f7318.js b/static/web/_next/static/chunks/d2094a0f-43945b499b1f7318.js new file mode 100644 index 000000000..667d91734 --- /dev/null +++ b/static/web/_next/static/chunks/d2094a0f-43945b499b1f7318.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8700],{96391:function(e,t,r){r.d(t,{BU:function(){return tD},CX:function(){return ts},F3:function(){return ew},UE:function(){return tm},mH:function(){return tM},vt:function(){return eI}});var a=r(6907),n=r.n(a),o=r(23279),i=r.n(o),s=r(23493),l=r.n(s),d=r(67294),c=r(12615),u=r(77493),f=r(18156),v=r(73935);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var g=0;class m{constructor(){this.id="".concat(g++)}}var w=new WeakMap,b=new WeakMap,M=new WeakMap,x=new WeakMap,k=new WeakMap,y=new WeakMap,L=new WeakMap,E=new WeakMap,D=new WeakMap,C=new WeakMap,O=new WeakMap,F=new WeakMap,B=new WeakMap,S=new WeakMap,P=new WeakMap,R=new WeakMap,N=new WeakMap,T=new WeakMap,W=new WeakMap,j=new WeakMap,A=new WeakMap,q=Symbol("placeholder"),I=Symbol("mark-placeholder"),Y=globalThis.Text,$=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,U=e=>z(e)&&8===e.nodeType,_=e=>z(e)&&1===e.nodeType,z=e=>{var t=$(e);return!!t&&e instanceof t.Node},V=e=>{var t=e&&e.anchorNode&&$(e.anchorNode);return!!t&&e instanceof t.Selection},H=e=>z(e)&&3===e.nodeType,K=e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length,X=e=>{var[t,r]=e;if(_(t)&&t.childNodes.length){var a=r===t.childNodes.length,n=a?r-1:r;for([t,n]=Q(t,n,a?"backward":"forward"),a=n!!(window.document.activeElement&&window.document.activeElement.shadowRoot),Q=(e,t,r)=>{for(var{childNodes:a}=e,n=a[t],o=t,i=!1,s=!1;(U(n)||_(n)&&0===n.childNodes.length||_(n)&&"false"===n.getAttribute("contenteditable"))&&(!i||!s);){if(o>=a.length){i=!0,o=t-1,r="backward";continue}if(o<0){s=!0,o=t+1,r="forward";continue}n=a[o],t=o,o+="forward"===r?1:-1}return[n,t]},Z=(e,t,r)=>{var[a]=Q(e,t,r);return a},G=e=>{var t="";if(H(e)&&e.nodeValue)return e.nodeValue;if(_(e)){for(var r of Array.from(e.childNodes))t+=G(r);var a=getComputedStyle(e).getPropertyValue("display");("block"===a||"list"===a||"BR"===e.tagName)&&(t+="\n")}return t},ee=/data-slate-fragment="(.+?)"/m,et=e=>{var[,t]=e.getData("text/html").match(ee)||[];return t},er=(e,t,r)=>{var{target:a}=t;if(_(a)&&a.matches('[contentEditable="false"]'))return!1;var{document:n}=ew.getWindow(e);if(n.contains(a))return ew.hasDOMNode(e,a,{editable:!0});var o=r.find(e=>{var{addedNodes:t,removedNodes:r}=e;for(var n of t)if(n===a||n.contains(a))return!0;for(var o of r)if(o===a||o.contains(a))return!0});return!!o&&o!==t&&er(e,o,r)},ea=parseInt(d.version.split(".")[0],10)>=17,en="undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,eo="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),ei="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),es="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),el="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),ed="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),ec="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),eu="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ef="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),ev="undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),ep="undefined"!=typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),eh="undefined"!=typeof navigator&&/.*Wechat/.test(navigator.userAgent),eg=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),em=!eu&&!ed&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,ew={isComposing:e=>!!F.get(e),getWindow(e){var t=M.get(e);if(!t)throw Error("Unable to find a host window element for this editor");return t},findKey(e,t){var r=E.get(t);return r||(r=new m,E.set(t,r)),r},findPath(e,t){for(var r=[],a=t;;){var n=b.get(a);if(null==n){if(u.ML.isEditor(a))return r;break}var o=w.get(a);if(null==o)break;r.unshift(o),a=n}throw Error("Unable to find the path for Slate node: ".concat(u.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=ew.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&null!=r.getSelection?r:t.ownerDocument},isFocused:e=>!!O.get(e),isReadOnly:e=>!!C.get(e),blur(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!1),r.activeElement===t&&t.blur()},focus(e){var t=ew.toDOMNode(e,e),r=ew.findDocumentOrShadowRoot(e);O.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,r=ew.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),t&&u.YR.deselect(e)},hasDOMNode(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:n=!1}=a,o=ew.toDOMNode(e,e);try{r=_(t)?t:t.parentElement}catch(i){if(!i.message.includes('Permission denied to access property "nodeType"'))throw i}return!!r&&r.closest("[data-slate-editor]")===o&&(!n||!!r.isContentEditable||"boolean"==typeof r.isContentEditable&&r.closest('[contenteditable="false"]')===o||!!r.getAttribute("data-slate-zero-width"))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,r){e.setFragmentData(t,r)},toDOMNode(e,t){var r=D.get(e),a=u.ML.isEditor(t)?x.get(e):null==r?void 0:r.get(ew.findKey(e,t));if(!a)throw Error("Cannot resolve a DOM node from Slate node: ".concat(u.o4.stringify(t)));return a},toDOMPoint(e,t){var[r]=u.ML.node(e,t.path),a=ew.toDOMNode(e,r);u.ML.void(e,{at:t})&&(t={path:t.path,offset:0});for(var n=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),o=0,i=0;i{if(ei&&!a&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\uFEFF"!==e.textContext){e.textContent.startsWith("\uFEFF")&&(e.textContent=e.textContent.slice(1));return}e.parentNode.removeChild(e)}),d=b.textContent.length,m=l}}else if(h){for(var M=h.querySelectorAll("[data-slate-leaf]"),x=0;x{d-=e.textContent.length})):d=1}m&&d===m.textContent.length&&ei&&"z"===m.getAttribute("data-slate-zero-width")&&null!==(c=m.textContent)&&void 0!==c&&c.startsWith("\uFEFF")&&(s.hasAttribute("data-slate-zero-width")||es&&null!==(f=m.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&d--}if(ei&&!l&&!a){var y=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(y&&ew.hasDOMNode(e,y,{editable:!0})){var L=ew.toSlateNode(e,y),{path:E,offset:D}=u.ML.start(e,ew.findPath(e,L));return y.querySelector("[data-slate-leaf]")||(D=i),{path:E,offset:D}}}if(!l){if(n)return null;throw Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var C=ew.toSlateNode(e,l),O=ew.findPath(e,C);return{path:O,offset:d}},toSlateRange(e,t,r){var a,n,o,i,s,{exactMatch:l,suppressThrow:d}=r;if((V(t)?t.anchorNode:t.startContainer)&&(V(t)?(a=t.anchorNode,n=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=ec&&J()?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(a=t.startContainer,n=t.startOffset,o=t.endContainer,i=t.endOffset,s=t.collapsed)),null==a||null==o||null==n||null==i)throw Error("Cannot resolve a Slate range from DOM range: ".concat(t));var c=ew.toSlatePoint(e,[a,n],{exactMatch:l,suppressThrow:d});if(!c)return null;var f=s?c:ew.toSlatePoint(e,[o,i],{exactMatch:l,suppressThrow:d});if(!f)return null;var v={anchor:c,focus:f};return u.e6.isExpanded(v)&&u.e6.isForward(v)&&_(o)&&u.ML.void(e,{at:v.focus,mode:"highest"})&&(v=u.ML.unhangRange(e,v,{voids:!0})),v},hasRange(e,t){var{anchor:r,focus:a}=t;return u.ML.hasPath(e,r.path)&&u.ML.hasPath(e,a.path)},androidScheduleFlush(e){var t;null===(t=P.get(e))||void 0===t||t()},androidPendingDiffs:e=>T.get(e)},eb=eg?d.useLayoutEffect:d.useEffect,eM=["anchor","focus"],ex=["anchor","focus"],ek=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(r=>t.hasOwnProperty(r)&&e[r]===t[r]),ey=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r{var{isLast:t,leaf:r,parent:a,text:n}=e,o=eO(),i=ew.findPath(o,n),s=u.y$.parent(i),l=!0===r[I];return o.isVoid(a)?d.createElement(eD,{length:u.NB.string(a).length}):""!==r.text||a.children[a.children.length-1]!==n||o.isInline(a)||""!==u.ML.string(o,s)?""===r.text?d.createElement(eD,{isMarkPlaceholder:l}):t&&"\n"===r.text.slice(-1)?d.createElement(eE,{isTrailing:!0,text:r.text}):d.createElement(eE,{text:r.text}):d.createElement(eD,{isLineBreak:!0,isMarkPlaceholder:l})},eE=e=>{var{text:t,isTrailing:r=!1}=e,a=(0,d.useRef)(null),n=()=>"".concat(null!=t?t:"").concat(r?"\n":"");return(eb(()=>{var e=n();a.current&&a.current.textContent!==e&&(a.current.textContent=e)}),a.current)?d.createElement("span",{"data-slate-string":!0,ref:a}):d.createElement("span",{"data-slate-string":!0,ref:a},n())},eD=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:a=!1}=e,n={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return a&&(n["data-slate-mark-placeholder"]=!0),d.createElement("span",Object.assign({},n),ei&&r?null:"\uFEFF",r?d.createElement("br",null):null)},eC=(0,d.createContext)(null),eO=()=>{var e=(0,d.useContext)(eC);if(!e)throw Error("The `useSlateStatic` hook must be used inside the component's context.");return e},eF=e=>{var{leaf:t,isLast:r,text:a,parent:n,renderPlaceholder:o,renderLeaf:i=e=>d.createElement(eS,Object.assign({},e))}=e,s=(0,d.useRef)(null),l=eO();(0,d.useEffect)(()=>{var e=null==s?void 0:s.current,t=ew.toDOMNode(l,l);if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),k.set(l,e),()=>{t.style.minHeight="auto",k.delete(l)}},[s,t]);var c=d.createElement(eL,{isLast:r,leaf:t,parent:n,text:a});if(t[q]){var u={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:s}};c=d.createElement(d.Fragment,null,o(u),c)}return i({attributes:{"data-slate-leaf":!0},children:c,leaf:t,text:a})},eB=d.memo(eF,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&u.xv.equals(t.leaf,e.leaf)&&t.leaf[q]===e.leaf[q]),eS=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r)},eP=e=>{for(var{decorations:t,isLast:r,parent:a,renderPlaceholder:n,renderLeaf:o,text:i}=e,s=eO(),l=(0,d.useRef)(null),c=u.xv.decorations(i,t),f=ew.findKey(s,i),v=[],p=0;p{var e=D.get(s);l.current?(null==e||e.set(f,l.current),L.set(i,l.current),y.set(l.current,i)):(null==e||e.delete(f),L.delete(i))}),d.createElement("span",{"data-slate-node":"text",ref:l},v)},eR=d.memo(eP,(e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&ey(t.decorations,e.decorations)),eN=e=>{var{decorations:t,element:r,renderElement:a=e=>d.createElement(eW,Object.assign({},e)),renderPlaceholder:o,renderLeaf:i,selection:s}=e,l=eO(),c=eU(),f=l.isInline(r),v=ew.findKey(l,r),p=(0,d.useCallback)(e=>{var t=D.get(l);e?(null==t||t.set(v,e),L.set(r,e),y.set(e,r)):(null==t||t.delete(v),L.delete(r))},[l,v,r]),h=eY({decorations:t,node:r,renderElement:a,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:p};if(f&&(g["data-slate-inline"]=!0),!f&&u.ML.hasInlines(l,r)){var m=u.NB.string(r),M=n()(m);"rtl"===M&&(g.dir=M)}if(u.ML.isVoid(l,r)){g["data-slate-void"]=!0,!c&&f&&(g.contentEditable=!1);var[[x]]=u.NB.texts(r);h=d.createElement(f?"span":"div",{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},d.createElement(eR,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:x})),w.set(x,0),b.set(x,r)}return a({attributes:g,children:h,element:r})},eT=d.memo(eN,(e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ey(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&u.e6.equals(e.selection,t.selection))),eW=e=>{var{attributes:t,children:r,element:a}=e,n=eO().isInline(a)?"span":"div";return d.createElement(n,Object.assign({},t,{style:{position:"relative"}}),r)},ej=(0,d.createContext)(()=>[]),eA=()=>(0,d.useContext)(ej),eq=(0,d.createContext)(!1),eI=()=>(0,d.useContext)(eq),eY=e=>{for(var{decorations:t,node:r,renderElement:a,renderPlaceholder:n,renderLeaf:o,selection:i}=e,s=eA(),l=eO(),c=ew.findPath(l,r),f=[],v=u.W_.isElement(r)&&!l.isInline(r)&&u.ML.hasInlines(l,r),p=0;p(0,d.useContext)(e$),e_=(0,d.createContext)(null),ez=()=>{var e=(0,d.useContext)(e_);if(!e)throw Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t},eV={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},eH={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},eK={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},eX=e=>{var t=eV[e],r=eH[e],a=eK[e],n=t&&(0,f.TB)(t),o=r&&(0,f.TB)(r),i=a&&(0,f.TB)(a);return e=>!!(n&&n(e)||eo&&o&&o(e)||!eo&&i&&i(e))},eJ={isBold:eX("bold"),isCompose:eX("compose"),isMoveBackward:eX("moveBackward"),isMoveForward:eX("moveForward"),isDeleteBackward:eX("deleteBackward"),isDeleteForward:eX("deleteForward"),isDeleteLineBackward:eX("deleteLineBackward"),isDeleteLineForward:eX("deleteLineForward"),isDeleteWordBackward:eX("deleteWordBackward"),isDeleteWordForward:eX("deleteWordForward"),isExtendBackward:eX("extendBackward"),isExtendForward:eX("extendForward"),isExtendLineBackward:eX("extendLineBackward"),isExtendLineForward:eX("extendLineForward"),isItalic:eX("italic"),isMoveLineBackward:eX("moveLineBackward"),isMoveLineForward:eX("moveLineForward"),isMoveWordBackward:eX("moveWordBackward"),isMoveWordForward:eX("moveWordForward"),isRedo:eX("redo"),isSoftBreak:eX("insertSoftBreak"),isSplitBlock:eX("splitBlock"),isTransposeCharacter:eX("transposeCharacter"),isUndo:eX("undo")},eQ=(e,t)=>{var r=[],a=()=>{r=[]},n=a=>{if(t.current){var n=a.filter(t=>er(e,t,a));r.push(...n)}};return{registerMutations:n,restoreDOM:function(){r.reverse().forEach(e=>{if("characterData"===e.type){e.target.textContent=e.oldValue;return}e.removedNodes.forEach(t=>{e.target.insertBefore(t,e.nextSibling)}),e.addedNodes.forEach(t=>{e.target.removeChild(t)})}),a()},clear:a}},eZ={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class eG extends d.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,eZ)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=eQ(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,r,a,n=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();return null!=n&&n.length&&(null===(a=this.manager)||void 0===a||a.registerMutations(n)),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(r=this.manager)||void 0===r||r.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}eG.contextType=eC;var e0=ei?eG:e=>{var{children:t}=e;return d.createElement(d.Fragment,null,t)};function e1(e,t){var{start:r,end:a,text:n}=t,o=e.slice(r,a),i=function(e,t){for(var r=Math.min(e.length,t.length),a=0;au.ML.isBlock(e,t),at:r});if(!o)return null;for(;a>n.text.length;){var i=u.ML.next(e,{at:r,match:u.xv.isText});if(!i||!u.y$.isDescendant(i[1],o[1]))return null;a-=n.text.length,n=i[0],r=i[1]}return{path:r,offset:a}}function e2(e,t){var r=e6(e,t.anchor);if(!r)return null;if(u.e6.isCollapsed(t))return{anchor:r,focus:r};var a=e6(e,t.focus);return a?{anchor:r,focus:a}:null}function e9(e,t,r){var a=T.get(e),n=null==a?void 0:a.find(e=>{var{path:r}=e;return u.y$.equals(r,t.path)});if(!n||t.offset<=n.diff.start)return u.E9.transform(t,r,{affinity:"backward"});var{diff:o}=n;if(t.offset<=o.start+o.text.length){var i={path:t.path,offset:o.start},s=u.E9.transform(i,r,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-o.start}:null}var l={path:t.path,offset:t.offset-o.text.length+o.end-o.start},d=u.E9.transform(l,r,{affinity:"backward"});return d?"split_node"===r.type&&u.y$.equals(r.path,t.path)&&l.offsetd.createElement(d.Fragment,null,eY(e)),ts=e=>{var t,r,a,o,{autoFocus:s,decorate:c=td,onDOMBeforeInput:f,placeholder:v,readOnly:g=!1,renderElement:m,renderLeaf:w,renderPlaceholder:b=e=>d.createElement(tl,Object.assign({},e)),scrollSelectionIntoView:E=tc,style:D={},as:S="div"}=e,Y=h(e,tr),U=ez(),[H,X]=(0,d.useState)(!1),J=(0,d.useRef)(null),Q=(0,d.useRef)([]),{onUserInput:Z,receivedUserInput:G}=(t=eO(),r=(0,d.useRef)(!1),a=(0,d.useRef)(0),o=(0,d.useCallback)(()=>{if(!r.current){r.current=!0;var e=ew.getWindow(t);e.cancelAnimationFrame(a.current),a.current=e.requestAnimationFrame(()=>{r.current=!1})}},[]),(0,d.useEffect)(()=>()=>cancelAnimationFrame(a.current),[]),{receivedUserInput:r,onUserInput:o}),[,ee]=(0,d.useReducer)(e=>e+1,0);A.set(U,ee),C.set(U,g);var et=(0,d.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,d.useEffect)(()=>{J.current&&s&&J.current.focus()},[s]);var ea=(0,d.useCallback)(l()(()=>{if((ei||!ew.isComposing(U))&&(!et.isUpdatingSelection||null!=ed&&ed.isFlushing())&&!et.isDraggingInternally){var e=ew.findDocumentOrShadowRoot(U),{activeElement:t}=e,r=ew.toDOMNode(U,U),a=e.getSelection();if(t===r?(et.latestElement=t,O.set(U,!0)):O.delete(U),!a)return u.YR.deselect(U);var{anchorNode:n,focusNode:o}=a,i=tf(U,n)||tv(U,n),s=tf(U,o)||tv(U,o);if(i&&s){var l=ew.toSlateRange(U,a,{exactMatch:!1,suppressThrow:!0});l&&(ew.isComposing(U)||null!=ed&&ed.hasPendingChanges()||null!=ed&&ed.isFlushing()?null==ed||ed.handleUserSelect(l):u.YR.select(U,l))}!g||i&&s||u.YR.deselect(U)}},100),[g]),eo=(0,d.useMemo)(()=>i()(ea,0),[ea]),ed=function(e){var t,{node:r}=e,a=h(e,e8);if(!ei)return null;var n=eO(),o=(t=(0,d.useRef)(!1),(0,d.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),t.current),[i]=(0,d.useState)(()=>(function(e){var{editor:t,scheduleOnDOMSelectionChange:r,onDOMSelectionChange:a}=e,n=!1,o=null,i=null,s=null,l=0,d=!1,c=()=>{var e=j.get(t);if(j.delete(t),e){var{selection:r}=t,a=e2(t,e);!a||r&&u.e6.equals(a,r)||u.YR.select(t,a)}},f=()=>{var e=W.get(t);if(W.delete(t),e){if(e.at){var r=u.E9.isPoint(e.at)?e6(t,e.at):e2(t,e.at);if(!r)return;var a=u.ML.range(t,r);t.selection&&u.e6.equals(t.selection,a)||u.YR.select(t,r)}e.run()}},v=()=>{if(i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null),!x()&&!M()){c();return}n||(n=!0,setTimeout(()=>n=!1)),M()&&(n="action");var e=t.selection&&u.ML.rangeRef(t,t.selection,{affinity:"forward"});N.set(t,t.marks),e5("flush",W.get(t),T.get(t));for(var o=!!(null!==(l=T.get(t))&&void 0!==l&&l.length);v=null===(p=T.get(t))||void 0===p?void 0:p[0];){var l,v,p,h,g=R.get(t);void 0!==g&&(R.delete(t),t.marks=g),g&&!1===d&&(d=null);var m=function(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}(v);t.selection&&u.e6.equals(t.selection,m)||u.YR.select(t,m),v.diff.text?u.ML.insertText(t,v.diff.text):u.ML.deleteFragment(t),T.set(t,null===(h=T.get(t))||void 0===h?void 0:h.filter(e=>{var{id:t}=e;return t!==v.id})),!function(e,t){var{path:r,diff:a}=t;if(!u.ML.hasPath(e,r))return!1;var n=u.NB.get(e,r);if(!u.xv.isText(n))return!1;if(a.start!==n.text.length||0===a.text.length)return n.text.slice(a.start,a.start+a.text.length)===a.text;var o=u.y$.next(r);if(!u.ML.hasPath(e,o))return!1;var i=u.NB.get(e,o);return u.xv.isText(i)&&i.text.startsWith(a.text)}(t,v)&&(o=!1,W.delete(t),N.delete(t),n="action",j.delete(t),r.cancel(),a.cancel(),null==e||e.unref())}var w=null==e?void 0:e.unref();if(!w||j.get(t)||t.selection&&u.e6.equals(w,t.selection)||u.YR.select(t,w),M()){f();return}o&&r(),r.flush(),a.flush(),c();var b=N.get(t);N.delete(t),void 0!==b&&(t.marks=b,t.onChange())},p=e=>{o&&clearTimeout(o),o=setTimeout(()=>{F.set(t,!1),v()},25)},h=e=>{F.set(t,!0),o&&(clearTimeout(o),o=null)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=k.get(t);if(r){if(x()||e){r.style.display="none";return}r.style.removeProperty("display")}},m=(e,r)=>{var a,n,o,i,s,d,c,f,v,p=null!==(v=T.get(t))&&void 0!==v?v:[];T.set(t,p);var h=u.NB.leaf(t,e),m=p.findIndex(t=>u.y$.equals(t.path,e));if(m<0){e1(h.text,r)&&p.push({path:e,diff:r,id:l++}),g();return}var w=(a=h.text,o=Math.min((n=p[m].diff).start,r.start),i=Math.max(0,Math.min(n.start+n.text.length,r.end)-r.start),s=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;ae.slice(0,t.start)+t.text+e.slice(t.end),e)}(a,n,r),d=Math.max(r.start+r.text.length,n.start+n.text.length+(n.start+n.text.length>r.start?r.text.length:0)-i),c=s.slice(o,d),f=Math.max(n.end,r.end-n.text.length+(n.end-n.start)),e1(a,{start:o,end:f,text:c}));if(!w){p.splice(m,1),g();return}p[m]=e4(e4({},p[m]),{},{diff:w})},w=function(e){var{at:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d=!1,j.delete(t),r.cancel(),a.cancel(),M()&&v(),W.set(t,{at:n,run:e}),s=setTimeout(v)},b=e=>{i&&(clearTimeout(i),i=null);var{inputType:r}=e,a=null,n=e.dataTransfer||e.data||void 0;!1!==d&&"insertText"!==r&&"insertCompositionText"!==r&&(d=!1);var[o]=e.getTargetRanges();o&&(a=ew.toSlateRange(t,o,{exactMatch:!1,suppressThrow:!0}));var s=ew.getWindow(t).getSelection();if(!a&&s&&(o=s,a=ew.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0})),a=null!==(M=a)&&void 0!==M?M:t.selection){if(u.e6.isExpanded(a)&&r.startsWith("delete")){var[l,c]=u.e6.edges(a);if(u.NB.leaf(t,l.path).text.length===l.offset&&0===c.offset){var f=u.ML.next(t,{at:l.path,match:u.xv.isText});f&&u.y$.equals(f[1],c.path)&&(a={anchor:c,focus:c})}}if(u.e6.isExpanded(a)&&r.startsWith("delete")){if(u.y$.equals(a.anchor.path,a.focus.path)){var[v,p]=u.e6.edges(a);return m(a.anchor.path,{text:"",end:p.offset,start:v.offset})}var h=r.endsWith("Backward")?"backward":"forward";return w(()=>u.ML.deleteFragment(t,{direction:h}),{at:a})}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return w(()=>u.ML.deleteFragment(t),{at:a});case"deleteContent":case"deleteContentForward":var{anchor:g}=a;if(u.e6.isCollapsed(a)){var b=u.NB.leaf(t,g.path);if(g.offsetu.ML.deleteForward(t),{at:a});case"deleteContentBackward":var M,x,{anchor:k}=a;if((V(o)?o.isCollapsed:!!(null!==(x=o)&&void 0!==x&&x.collapsed))&&u.e6.isCollapsed(a)&&k.offset>0)return m(k.path,{text:"",start:k.offset-1,end:k.offset});return w(()=>u.ML.deleteBackward(t),{at:a});case"deleteEntireSoftLine":return w(()=>{u.ML.deleteBackward(t,{unit:"line"}),u.ML.deleteForward(t,{unit:"line"})},{at:a});case"deleteHardLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"block"}),{at:a});case"deleteSoftLineBackward":return w(()=>u.ML.deleteBackward(t,{unit:"line"}),{at:a});case"deleteHardLineForward":return w(()=>u.ML.deleteForward(t,{unit:"block"}),{at:a});case"deleteSoftLineForward":return w(()=>u.ML.deleteForward(t,{unit:"line"}),{at:a});case"deleteWordBackward":return w(()=>u.ML.deleteBackward(t,{unit:"word"}),{at:a});case"deleteWordForward":return w(()=>u.ML.deleteForward(t,{unit:"word"}),{at:a});case"insertLineBreak":return w(()=>u.ML.insertSoftBreak(t),{at:a});case"insertParagraph":return w(()=>u.ML.insertBreak(t),{at:a});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if((null==n?void 0:n.constructor.name)==="DataTransfer")return w(()=>ew.insertData(t,n),{at:a});if("string"==typeof n&&n.includes("\n"))return w(()=>u.ML.insertSoftBreak(t),{at:u.e6.end(a)});var y=null!=n?n:"";if(R.get(t)&&(y=y.replace("\uFEFF","")),u.y$.equals(a.anchor.path,a.focus.path)){var[L,E]=u.e6.edges(a),D={start:L.offset,end:E.offset,text:y};if(y&&d&&"insertCompositionText"===r){var O=d.start+d.text.search(/\S|$/);D.start+D.text.search(/\S|$/)===O+1&&D.end===d.start+d.text.length?(D.start-=1,d=null,C()):d=!1}else d="insertText"===r&&(null===d?D:!!(d&&u.e6.isCollapsed(a))&&d.end+d.text.length===L.offset&&e4(e4({},d),{},{text:d.text+y}));m(L.path,D);return}return w(()=>u.ML.insertText(t,y),{at:a})}}},M=()=>!!W.get(t),x=()=>{var e;return!!(null!==(e=T.get(t))&&void 0!==e&&e.length)},y=()=>M()||x(),L=e=>{j.set(t,e),i&&(clearTimeout(i),i=null);var{selection:r}=t;if(e){var a=!r||!u.y$.equals(r.anchor.path,e.anchor.path),n=!r||!u.y$.equals(r.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(a&&d||n)&&(d=!1),(a||!x())&&(i=setTimeout(v,200))}},E=()=>{(M()||!x())&&v()},D=e=>{x()||(g(!0),setTimeout(g))},C=()=>{M()||(s=setTimeout(v))},O=e=>{if(!(x()||M())&&e.some(r=>er(t,r,e))){var r;null===(r=A.get(t))||void 0===r||r()}};return{flush:v,scheduleFlush:C,hasPendingDiffs:x,hasPendingAction:M,hasPendingChanges:y,isFlushing:()=>n,handleUserSelect:L,handleCompositionEnd:p,handleCompositionStart:h,handleDOMBeforeInput:b,handleKeyDown:D,handleDomMutations:O,handleInput:E}})(function(e){for(var t=1;tnew MutationObserver(t));eb(()=>{a.takeRecords()}),(0,d.useEffect)(()=>{if(!e.current)throw Error("Failed to attach MutationObserver, `node` is undefined");return a.observe(e.current,r),()=>a.disconnect()},[])}(r,i.handleDomMutations,tt),P.set(n,i.scheduleFlush),o&&i.flush(),i}({node:J,onDOMSelectionChange:ea,scheduleOnDOMSelectionChange:eo});eb(()=>{J.current&&(e=$(J.current))?(M.set(U,e),x.set(U,J.current),L.set(U,J.current),y.set(J.current,U)):L.delete(U);var e,{selection:t}=U,r=ew.findDocumentOrShadowRoot(U).getSelection();if(!(!r||!ew.isFocused(U)||null!=ed&&ed.hasPendingAction())){var a=e=>{var a="None"!==r.type;if(t||a){var n=x.get(U),o=!1;if(n.contains(r.anchorNode)&&n.contains(r.focusNode)&&(o=!0),a&&o&&t&&!e){var i=ew.toSlateRange(U,r,{exactMatch:!0,suppressThrow:!0});if(i&&u.e6.equals(i,t)){if(!et.hasMarkPlaceholder)return;var s,{anchorNode:l}=r;if(null!=l&&null!==(s=l.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(t&&!ew.hasRange(U,t)){U.selection=ew.toSlateRange(U,r,{exactMatch:!1,suppressThrow:!0});return}et.isUpdatingSelection=!0;var d=t&&ew.toDOMRange(U,t);return d?(u.e6.isBackward(t)?r.setBaseAndExtent(d.endContainer,d.endOffset,d.startContainer,d.startOffset):r.setBaseAndExtent(d.startContainer,d.startOffset,d.endContainer,d.endOffset),E(U,d)):r.removeAllRanges(),d}},n=a(),o=(null==ed?void 0:ed.isFlushing())==="action";if(!ei||!o){setTimeout(()=>{n&&es&&ew.toDOMNode(U,U).focus(),et.isUpdatingSelection=!1});return}var i=null,s=requestAnimationFrame(()=>{if(o){var e=e=>{try{ew.toDOMNode(U,U).focus(),a(e)}catch(t){}};e(),i=setTimeout(()=>{e(!0),et.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(s),i&&clearTimeout(i)}}});var eu=(0,d.useCallback)(e=>{if(Z(),!g&&tf(U,e.target)&&!th(e,f)){if(ed)return ed.handleDOMBeforeInput(e);eo.flush(),ea.flush();var{selection:t}=U,{inputType:r}=e,a=e.dataTransfer||e.data||void 0,n="insertCompositionText"===r||"deleteCompositionText"===r;if(!(n&&ew.isComposing(U))){var o=!1;if("insertText"===r&&t&&u.e6.isCollapsed(t)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==t.anchor.offset){o=!0,U.marks&&(o=!1);var{anchor:i}=t,[s,l]=ew.toDOMPoint(U,i),d=null===(p=s.parentElement)||void 0===p?void 0:p.closest("a"),c=ew.getWindow(U);if(o&&d&&ew.hasDOMNode(U,d)){var v,p,h,m,w=null==c?void 0:c.document.createTreeWalker(d,NodeFilter.SHOW_TEXT).lastChild();w===s&&(null===(m=w.textContent)||void 0===m?void 0:m.length)===l&&(o=!1)}if(o&&s.parentElement&&(null==c?void 0:null===(h=c.getComputedStyle(s.parentElement))||void 0===h?void 0:h.whiteSpace)==="pre"){var b=u.ML.above(U,{at:i.path,match:e=>u.ML.isBlock(U,e)});b&&u.NB.string(b[0]).includes(" ")&&(o=!1)}}if(!r.startsWith("delete")||r.startsWith("deleteBy")){var[M]=e.getTargetRanges();if(M){var x=ew.toSlateRange(U,M,{exactMatch:!1,suppressThrow:!1});if(!t||!u.e6.equals(t,x)){o=!1;var k=!n&&U.selection&&u.ML.rangeRef(U,U.selection);u.YR.select(U,x),k&&B.set(U,k)}}}if(!n){if(o||e.preventDefault(),t&&u.e6.isExpanded(t)&&r.startsWith("delete")){var y=r.endsWith("Backward")?"backward":"forward";u.ML.deleteFragment(U,{direction:y});return}switch(r){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":u.ML.deleteFragment(U);break;case"deleteContent":case"deleteContentForward":u.ML.deleteForward(U);break;case"deleteContentBackward":u.ML.deleteBackward(U);break;case"deleteEntireSoftLine":u.ML.deleteBackward(U,{unit:"line"}),u.ML.deleteForward(U,{unit:"line"});break;case"deleteHardLineBackward":u.ML.deleteBackward(U,{unit:"block"});break;case"deleteSoftLineBackward":u.ML.deleteBackward(U,{unit:"line"});break;case"deleteHardLineForward":u.ML.deleteForward(U,{unit:"block"});break;case"deleteSoftLineForward":u.ML.deleteForward(U,{unit:"line"});break;case"deleteWordBackward":u.ML.deleteBackward(U,{unit:"word"});break;case"deleteWordForward":u.ML.deleteForward(U,{unit:"word"});break;case"insertLineBreak":u.ML.insertSoftBreak(U);break;case"insertParagraph":u.ML.insertBreak(U);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===r&&ew.isComposing(U)&&(X(!1),F.set(U,!1)),(null==a?void 0:a.constructor.name)==="DataTransfer"?ew.insertData(U,a):"string"==typeof a&&(o?Q.current.push(()=>u.ML.insertText(U,a)):u.ML.insertText(U,a))}var L=null===(v=B.get(U))||void 0===v?void 0:v.unref();B.delete(U),!L||U.selection&&u.e6.equals(U.selection,L)||u.YR.select(U,L)}}}},[g,f]);eb(()=>(J.current&&em&&J.current.addEventListener("beforeinput",eu),()=>{J.current&&em&&J.current.removeEventListener("beforeinput",eu)}),[eu]),eb(()=>{var e=ew.getWindow(U);return e.document.addEventListener("selectionchange",eo),()=>{e.document.removeEventListener("selectionchange",eo)}},[eo]);var eM=c([U,[]]);if(v&&1===U.children.length&&1===Array.from(u.NB.texts(U)).length&&""===u.NB.string(U)&&!H){var ex=u.ML.start(U,[]);eM.push({[q]:!0,placeholder:v,anchor:ex,focus:ex})}var{marks:ek}=U;if(et.hasMarkPlaceholder=!1,U.selection&&u.e6.isCollapsed(U.selection)&&ek){var{anchor:ey}=U.selection,eL=u.NB.leaf(U,ey.path),eE=h(eL,ta);if(!u.xv.equals(eL,ek,{loose:!0})){et.hasMarkPlaceholder=!0;var eD=Object.fromEntries(Object.keys(eE).map(e=>[e,null]));eM.push(to(to(to({[I]:!0},eD),ek),{},{anchor:ey,focus:ey}))}}return(0,d.useEffect)(()=>{setTimeout(()=>{var{selection:e}=U;if(e){var{anchor:t}=e,r=u.NB.leaf(U,t.path);if(ek&&!u.xv.equals(r,ek,{loose:!0})){R.set(U,ek);return}}R.delete(U)})}),d.createElement(e$.Provider,{value:g},d.createElement(ej.Provider,{value:c},d.createElement(e0,{node:J,receivedUserInput:G},d.createElement(S,Object.assign({role:g?void 0:"textbox","aria-multiline":!g||void 0},Y,{spellCheck:(!!em||!eg)&&Y.spellCheck,autoCorrect:em||!eg?Y.autoCorrect:"false",autoCapitalize:em||!eg?Y.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!g,zindex:-1,suppressContentEditableWarning:!0,ref:J,style:to({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},D),onBeforeInput:(0,d.useCallback)(e=>{if(!em&&!g&&!tp(e,Y.onBeforeInput)&&tf(U,e.target)&&(e.preventDefault(),!ew.isComposing(U))){var t=e.data;u.ML.insertText(U,t)}},[g]),onInput:(0,d.useCallback)(e=>{if(ed){ed.handleInput();return}for(var t of Q.current)t();Q.current=[]},[]),onBlur:(0,d.useCallback)(e=>{if(!(g||et.isUpdatingSelection||!tf(U,e.target)||tp(e,Y.onBlur))){var t=ew.findDocumentOrShadowRoot(U);if(et.latestElement!==t.activeElement){var{relatedTarget:r}=e;if(!(r===ew.toDOMNode(U,U)||_(r)&&r.hasAttribute("data-slate-spacer"))){if(null!=r&&z(r)&&ew.hasDOMNode(U,r)){var a=ew.toSlateNode(U,r);if(u.W_.isElement(a)&&!U.isVoid(a))return}if(el){var n=t.getSelection();null==n||n.removeAllRanges()}O.delete(U)}}}},[g,Y.onBlur]),onClick:(0,d.useCallback)(e=>{if(tu(U,e.target)&&!tp(e,Y.onClick)&&z(e.target)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.hasPath(U,r)&&u.NB.get(U,r)===t){if(3===e.detail&&r.length>=1){var a=r;if(!u.ML.isBlock(U,t)){var n,o=u.ML.above(U,{match:e=>u.ML.isBlock(U,e),at:r});a=null!==(n=null==o?void 0:o[1])&&void 0!==n?n:r.slice(0,1)}var i=u.ML.range(U,a);u.YR.select(U,i);return}if(!g){var s=u.ML.start(U,r),l=u.ML.end(U,r),d=u.ML.void(U,{at:s}),c=u.ML.void(U,{at:l});if(d&&c&&u.y$.equals(d[1],c[1])){var f=u.ML.range(U,s);u.YR.select(U,f)}}}}},[g,Y.onClick]),onCompositionEnd:(0,d.useCallback)(e=>{if(tf(U,e.target)&&(ew.isComposing(U)&&(X(!1),F.set(U,!1)),null==ed||ed.handleCompositionEnd(e),!tp(e,Y.onCompositionEnd)&&!ei&&!el&&!ef&&!en&&!ev&&!eh&&!ep&&e.data)){var t=R.get(U);R.delete(U),void 0!==t&&(N.set(U,U.marks),U.marks=t),u.ML.insertText(U,e.data);var r=N.get(U);N.delete(U),void 0!==r&&(U.marks=r)}},[Y.onCompositionEnd]),onCompositionUpdate:(0,d.useCallback)(e=>{!tf(U,e.target)||tp(e,Y.onCompositionUpdate)||ew.isComposing(U)||(X(!0),F.set(U,!0))},[Y.onCompositionUpdate]),onCompositionStart:(0,d.useCallback)(e=>{if(tf(U,e.target)&&(null==ed||ed.handleCompositionStart(e),!tp(e,Y.onCompositionStart)&&!ei)){X(!0);var{selection:t}=U;if(t){if(u.e6.isExpanded(t)){u.ML.deleteFragment(U);return}var r=u.ML.above(U,{match:e=>u.ML.isInline(U,e),mode:"highest"});if(r){var[,a]=r;if(u.ML.isEnd(U,t.anchor,a)){var n=u.ML.after(U,a);u.YR.setSelection(U,{anchor:n,focus:n})}}}}},[Y.onCompositionStart]),onCopy:(0,d.useCallback)(e=>{tf(U,e.target)&&!tp(e,Y.onCopy)&&(e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"copy"))},[Y.onCopy]),onCut:(0,d.useCallback)(e=>{if(!g&&tf(U,e.target)&&!tp(e,Y.onCut)){e.preventDefault(),ew.setFragmentData(U,e.clipboardData,"cut");var{selection:t}=U;if(t){if(u.e6.isExpanded(t))u.ML.deleteFragment(U);else{var r=u.NB.parent(U,t.anchor.path);u.ML.isVoid(U,r)&&u.YR.delete(U)}}}},[g,Y.onCut]),onDragOver:(0,d.useCallback)(e=>{if(tu(U,e.target)&&!tp(e,Y.onDragOver)){var t=ew.toSlateNode(U,e.target);u.ML.isVoid(U,t)&&e.preventDefault()}},[Y.onDragOver]),onDragStart:(0,d.useCallback)(e=>{if(!g&&tu(U,e.target)&&!tp(e,Y.onDragStart)){var t=ew.toSlateNode(U,e.target),r=ew.findPath(U,t);if(u.ML.isVoid(U,t)||u.ML.void(U,{at:r,voids:!0})){var a=u.ML.range(U,r);u.YR.select(U,a)}et.isDraggingInternally=!0,ew.setFragmentData(U,e.dataTransfer,"drag")}},[g,Y.onDragStart]),onDrop:(0,d.useCallback)(e=>{if(!g&&tu(U,e.target)&&!tp(e,Y.onDrop)){e.preventDefault();var t=U.selection,r=ew.findEventRange(U,e),a=e.dataTransfer;u.YR.select(U,r),et.isDraggingInternally&&t&&!u.e6.equals(t,r)&&!u.ML.void(U,{at:r,voids:!0})&&u.YR.delete(U,{at:t}),ew.insertData(U,a),ew.isFocused(U)||ew.focus(U)}et.isDraggingInternally=!1},[g,Y.onDrop]),onDragEnd:(0,d.useCallback)(e=>{!g&&et.isDraggingInternally&&Y.onDragEnd&&tu(U,e.target)&&Y.onDragEnd(e),et.isDraggingInternally=!1},[g,Y.onDragEnd]),onFocus:(0,d.useCallback)(e=>{if(!g&&!et.isUpdatingSelection&&tf(U,e.target)&&!tp(e,Y.onFocus)){var t=ew.toDOMNode(U,U),r=ew.findDocumentOrShadowRoot(U);if(et.latestElement=r.activeElement,es&&e.target!==t){t.focus();return}O.set(U,!0)}},[g,Y.onFocus]),onKeyDown:(0,d.useCallback)(e=>{if(!g&&tf(U,e.target)){null==ed||ed.handleKeyDown(e);var{nativeEvent:t}=e;if(ew.isComposing(U)&&!1===t.isComposing&&(F.set(U,!1),X(!1)),!(tp(e,Y.onKeyDown)||ew.isComposing(U))){var{selection:r}=U,a=U.children[null!==r?r.focus.path[0]:0],o="rtl"===n()(u.NB.string(a));if(eJ.isRedo(t)){e.preventDefault(),"function"==typeof U.redo&&U.redo();return}if(eJ.isUndo(t)){e.preventDefault(),"function"==typeof U.undo&&U.undo();return}if(eJ.isMoveLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",reverse:!0});return}if(eJ.isMoveLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line"});return}if(eJ.isExtendLineBackward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus",reverse:!0});return}if(eJ.isExtendLineForward(t)){e.preventDefault(),u.YR.move(U,{unit:"line",edge:"focus"});return}if(eJ.isMoveBackward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:!o}):u.YR.collapse(U,{edge:"start"});return}if(eJ.isMoveForward(t)){e.preventDefault(),r&&u.e6.isCollapsed(r)?u.YR.move(U,{reverse:o}):u.YR.collapse(U,{edge:"end"});return}if(eJ.isMoveWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:!o});return}if(eJ.isMoveWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(U,{edge:"focus"}),u.YR.move(U,{unit:"word",reverse:o});return}if(em){if((ec||el)&&r&&(eJ.isDeleteBackward(t)||eJ.isDeleteForward(t))&&u.e6.isCollapsed(r)){var i=u.NB.parent(U,r.anchor.path);if(u.W_.isElement(i)&&u.ML.isVoid(U,i)&&(u.ML.isInline(U,i)||u.ML.isBlock(U,i))){e.preventDefault(),u.ML.deleteBackward(U,{unit:"block"});return}}}else{if(eJ.isBold(t)||eJ.isItalic(t)||eJ.isTransposeCharacter(t)){e.preventDefault();return}if(eJ.isSoftBreak(t)){e.preventDefault(),u.ML.insertSoftBreak(U);return}if(eJ.isSplitBlock(t)){e.preventDefault(),u.ML.insertBreak(U);return}if(eJ.isDeleteBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U);return}if(eJ.isDeleteForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U);return}if(eJ.isDeleteLineBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"line"});return}if(eJ.isDeleteLineForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"line"});return}if(eJ.isDeleteWordBackward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"backward"}):u.ML.deleteBackward(U,{unit:"word"});return}if(eJ.isDeleteWordForward(t)){e.preventDefault(),r&&u.e6.isExpanded(r)?u.ML.deleteFragment(U,{direction:"forward"}):u.ML.deleteForward(U,{unit:"word"});return}}}}},[g,Y.onKeyDown]),onPaste:(0,d.useCallback)(e=>{!g&&tf(U,e.target)&&!tp(e,Y.onPaste)&&(!em||K(e.nativeEvent))&&(e.preventDefault(),ew.insertData(U,e.clipboardData))},[g,Y.onPaste])}),d.createElement(ti,{decorations:eM,node:U,renderElement:m,renderPlaceholder:b,renderLeaf:w,selection:U.selection})))))},tl=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r,ei&&d.createElement("br",null))},td=()=>[],tc=(e,t)=>{if(!e.selection||e.selection&&u.e6.isCollapsed(e.selection)){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),(0,c.Z)(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},tu=(e,t)=>z(t)&&ew.hasDOMNode(e,t),tf=(e,t)=>z(t)&&ew.hasDOMNode(e,t,{editable:!0}),tv=(e,t)=>{if(C.get(e))return!1;var r=tu(e,t)&&ew.toSlateNode(e,t);return u.ML.isVoid(e,r)},tp=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.isDefaultPrevented()||e.isPropagationStopped()},th=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.defaultPrevented},tg=(0,d.createContext)(!1),tm=()=>(0,d.useContext)(tg),tw=(0,d.createContext)({}),tb=["editor","children","onChange","value"],tM=e=>{var t,r,a,n,{editor:o,children:i,onChange:s,value:l}=e,c=h(e,tb),f=(0,d.useRef)(!1),[v,p]=d.useState(()=>{if(!u.NB.isNodeList(l))throw Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(u.o4.stringify(l)));if(!u.ML.isEditor(o))throw Error("[Slate] editor is invalid! you passed:"+"".concat(u.o4.stringify(o)));return o.children=l,Object.assign(o,c),{v:0,editor:o}}),{selectorContext:g,onChange:m}=(t=(0,d.useRef)([]).current,r=(0,d.useRef)({editor:o}).current,a=(0,d.useCallback)(e=>{r.editor=e,t.forEach(t=>t(e))},[]),n=(0,d.useMemo)(()=>({getSlate:()=>r.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})}),[t,r]),{selectorContext:n,onChange:a}),w=(0,d.useCallback)(()=>{s&&s(o.children),p(e=>({v:e.v+1,editor:o})),m(o)},[s]);S.set(o,w),(0,d.useEffect)(()=>()=>{S.set(o,()=>{}),f.current=!0},[]);var[b,M]=(0,d.useState)(ew.isFocused(o));return(0,d.useEffect)(()=>{M(ew.isFocused(o))}),eb(()=>{var e=()=>M(ew.isFocused(o));return ea?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})},[]),d.createElement(tw.Provider,{value:g},d.createElement(e_.Provider,{value:v},d.createElement(eC.Provider,{value:v.editor},d.createElement(tg.Provider,{value:b},i))))},tx=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},tk=(e,t,r)=>{var a=ew.toDOMRange(e,t).getBoundingClientRect(),n=ew.toDOMRange(e,r).getBoundingClientRect();return tx(a,n)&&tx(n,a)},ty=(e,t)=>{var r=u.ML.range(e,u.e6.end(t)),a=Array.from(u.ML.positions(e,{at:t})),n=0,o=a.length,i=Math.floor(o/2);if(tk(e,u.ML.range(e,a[n]),r))return u.ML.range(e,a[n],r);if(a.length<2)return u.ML.range(e,a[a.length-1],r);for(;i!==a.length&&i!==n;)tk(e,u.ML.range(e,a[i]),r)?o=i:n=i,i=Math.floor((n+o)/2);return u.ML.range(e,a[o],r)};function tL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function tE(e){for(var t=1;t{var t=e,{apply:r,onChange:a,deleteBackward:n,addMark:o,removeMark:i}=t;return D.set(t,new WeakMap),t.addMark=(e,r)=>{var a,n;null===(a=P.get(t))||void 0===a||a(),!R.get(t)&&null!==(n=T.get(t))&&void 0!==n&&n.length&&R.set(t,null),N.delete(t),o(e,r)},t.removeMark=e=>{var r;!R.get(t)&&null!==(r=T.get(t))&&void 0!==r&&r.length&&R.set(t,null),N.delete(t),i(e)},t.deleteBackward=e=>{if("line"!==e)return n(e);if(t.selection&&u.e6.isCollapsed(t.selection)){var r=u.ML.above(t,{match:e=>u.ML.isBlock(t,e),at:t.selection});if(r){var[,a]=r,o=u.ML.range(t,a,t.selection.anchor),i=ty(t,o);u.e6.isCollapsed(i)||u.YR.delete(t,{at:i})}}},t.apply=e=>{var a,n=[],o=T.get(t);if(null!=o&&o.length){var i=o.map(t=>(function(e,t){var{path:r,diff:a,id:n}=e;switch(t.type){case"insert_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset<=a.start)return{diff:{start:t.text.length+a.start,end:t.text.length+a.end,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end+t.text.length,text:a.text},id:n,path:r};case"remove_text":if(!u.y$.equals(t.path,r)||t.offset>=a.end)return e;if(t.offset+t.text.length<=a.start)return{diff:{start:a.start-t.text.length,end:a.end-t.text.length,text:a.text},id:n,path:r};return{diff:{start:a.start,end:a.end-t.text.length,text:a.text},id:n,path:r};case"split_node":if(!u.y$.equals(t.path,r)||t.position>=a.end)return{diff:a,id:n,path:u.y$.transform(r,t,{affinity:"backward"})};if(t.position>a.start)return{diff:{start:a.start,end:Math.min(t.position,a.end),text:a.text},id:n,path:r};return{diff:{start:a.start-t.position,end:a.end-t.position,text:a.text},id:n,path:u.y$.transform(r,t,{affinity:"forward"})};case"merge_node":if(!u.y$.equals(t.path,r))return{diff:a,id:n,path:u.y$.transform(r,t)};return{diff:{start:a.start+t.position,end:a.end+t.position,text:a.text},id:n,path:u.y$.transform(r,t)}}var o=u.y$.transform(r,t);return o?{diff:a,path:o,id:n}:null})(t,e)).filter(Boolean);T.set(t,i)}var s=j.get(t);s&&j.set(t,e3(t,s,e));var l=W.get(t);if(null!=l&&l.at){var d=u.E9.isPoint(null==l?void 0:l.at)?e9(t,l.at,e):e3(t,l.at,e);W.set(t,d?tE(tE({},l),{},{at:d}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":n.push(...tC(t,e.path));break;case"set_selection":null===(a=B.get(t))||void 0===a||a.unref(),B.delete(t);break;case"insert_node":case"remove_node":n.push(...tC(t,u.y$.parent(e.path)));break;case"merge_node":n.push(...tC(t,u.y$.previous(e.path)));break;case"move_node":n.push(...tC(t,u.y$.common(u.y$.parent(e.path),u.y$.parent(e.newPath))))}for(var[c,f]of(r(e),n)){var[v]=u.ML.node(t,c);E.set(v,f)}},t.setFragmentData=e=>{var{selection:r}=t;if(r){var[a,n]=u.e6.edges(r),o=u.ML.void(t,{at:a.path}),i=u.ML.void(t,{at:n.path});if(!u.e6.isCollapsed(r)||o){var s=ew.toDOMRange(t,r),l=s.cloneContents(),d=l.childNodes[0];if(l.childNodes.forEach(e=>{e.textContent&&""!==e.textContent.trim()&&(d=e)}),i){var[c]=i,f=s.cloneRange(),v=ew.toDOMNode(t,c);f.setEndAfter(v),l=f.cloneContents()}if(o&&(d=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach(e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""}),H(d)){var p=d.ownerDocument.createElement("span");p.style.whiteSpace="pre",p.appendChild(d),l.appendChild(p),d=p}var h=JSON.stringify(t.getFragment()),g=window.btoa(encodeURIComponent(h));d.setAttribute("data-slate-fragment",g),e.setData("application/x-slate-fragment",g);var m=l.ownerDocument.createElement("div");return m.appendChild(l),m.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(m),e.setData("text/html",m.innerHTML),e.setData("text/plain",G(m)),l.ownerDocument.body.removeChild(m),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var r=e.getData("application/x-slate-fragment")||et(e);if(r){var a=JSON.parse(decodeURIComponent(window.atob(r)));return t.insertFragment(a),!0}return!1},t.insertTextData=e=>{var r=e.getData("text/plain");if(r){var a=r.split(/\r\n|\r|\n/),n=!1;for(var o of a)n&&u.YR.splitNodes(t,{always:!0}),t.insertText(o),n=!0;return!0}return!1},t.onChange=()=>{v.unstable_batchedUpdates(()=>{var e=S.get(t);e&&e(),a()})},t},tC=(e,t)=>{var r=[];for(var[a,n]of u.ML.levels(e,{at:t})){var o=ew.findKey(e,a);r.push([n,o])}return r}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d2094a0f-ffb6824e6aa18418.js b/static/web/_next/static/chunks/d2094a0f-ffb6824e6aa18418.js deleted file mode 100644 index d5add97c8..000000000 --- a/static/web/_next/static/chunks/d2094a0f-ffb6824e6aa18418.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8700],{96391:function(e,t,r){r.d(t,{BU:function(){return Ft},CX:function(){return vt},F3:function(){return ve},UE:function(){return yt},mH:function(){return Dt},vt:function(){return Ne}});var a=r(6907),n=r.n(a),o=r(23279),i=r.n(o),s=r(23493),l=r.n(s),d=r(67294),c=r(12615),u=r(77493),f=r(18156),v=r(73935);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var g=0;class m{constructor(){this.id="".concat(g++)}}var w=new WeakMap,M=new WeakMap,b=new WeakMap,x=new WeakMap,k=new WeakMap,y=new WeakMap,L=new WeakMap,C=new WeakMap,D=new WeakMap,E=new WeakMap,O=new WeakMap,B=new WeakMap,S=new WeakMap,F=new WeakMap,P=new WeakMap,R=new WeakMap,N=new WeakMap,T=new WeakMap,W=new WeakMap,j=new WeakMap,A=new WeakMap,I=Symbol("placeholder"),q=Symbol("mark-placeholder"),Y=globalThis.Text,U=e=>e&&e.ownerDocument&&e.ownerDocument.defaultView||null,$=e=>_(e)&&1===e.nodeType,_=e=>{var t=U(e);return!!t&&e instanceof t.Node},z=e=>{var t=e&&e.anchorNode&&U(e.anchorNode);return!!t&&e instanceof t.Selection},V=e=>_(e)&&3===e.nodeType,K=(e,t,r)=>{for(var a,{childNodes:n}=e,o=n[t],i=t,s=!1,l=!1;(_(a=o)&&8===a.nodeType||$(o)&&0===o.childNodes.length||$(o)&&"false"===o.getAttribute("contenteditable"))&&(!s||!l);)i>=n.length?(s=!0,i=t-1,r="backward"):i<0?(l=!0,i=t+1,r="forward"):(o=n[i],t=i,i+="forward"===r?1:-1);return[o,t]},H=(e,t,r)=>{var[a]=K(e,t,r);return a},X=e=>{var t="";if(V(e)&&e.nodeValue)return e.nodeValue;if($(e)){for(var r of Array.from(e.childNodes))t+=X(r);var a=getComputedStyle(e).getPropertyValue("display");"block"!==a&&"list"!==a&&"BR"!==e.tagName||(t+="\n")}return t},J=/data-slate-fragment="(.+?)"/m,Q=(e,t,r)=>{var{target:a}=t;if($(a)&&a.matches('[contentEditable="false"]'))return!1;var{document:n}=ve.getWindow(e);if(n.contains(a))return ve.hasDOMNode(e,a,{editable:!0});var o=r.find((e=>{var{addedNodes:t,removedNodes:r}=e;for(var n of t)if(n===a||n.contains(a))return!0;for(var o of r)if(o===a||o.contains(a))return!0}));return!(!o||o===t)&&Q(e,o,r)},Z=parseInt(d.version.split(".")[0],10)>=17,G="undefined"!==typeof navigator&&"undefined"!==typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ee="undefined"!==typeof navigator&&/Mac OS X/.test(navigator.userAgent),te="undefined"!==typeof navigator&&/Android/.test(navigator.userAgent),re="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),ae="undefined"!==typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),ne="undefined"!==typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),oe="undefined"!==typeof navigator&&/Chrome/i.test(navigator.userAgent),ie="undefined"!==typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),se="undefined"!==typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),le="undefined"!==typeof navigator&&/.*QQBrowser/.test(navigator.userAgent),de="undefined"!==typeof navigator&&/.*UCBrowser/.test(navigator.userAgent),ce="undefined"!==typeof navigator&&/.*Wechat/.test(navigator.userAgent),ue=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),fe=!ie&&!ne&&"undefined"!==typeof globalThis&&globalThis.InputEvent&&"function"===typeof globalThis.InputEvent.prototype.getTargetRanges,ve={isComposing:e=>!!B.get(e),getWindow(e){var t=b.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey(e,t){var r=C.get(t);return r||(r=new m,C.set(t,r)),r},findPath(e,t){for(var r=[],a=t;;){var n=M.get(a);if(null==n){if(u.ML.isEditor(a))return r;break}var o=w.get(a);if(null==o)break;r.unshift(o),a=n}throw new Error("Unable to find the path for Slate node: ".concat(u.o4.stringify(t)))},findDocumentOrShadowRoot(e){var t=ve.toDOMNode(e,e),r=t.getRootNode();return(r instanceof Document||r instanceof ShadowRoot)&&null!=r.getSelection?r:t.ownerDocument},isFocused:e=>!!O.get(e),isReadOnly:e=>!!E.get(e),blur(e){var t=ve.toDOMNode(e,e),r=ve.findDocumentOrShadowRoot(e);O.set(e,!1),r.activeElement===t&&t.blur()},focus(e){var t=ve.toDOMNode(e,e),r=ve.findDocumentOrShadowRoot(e);O.set(e,!0),r.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,r=ve.findDocumentOrShadowRoot(e).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),t&&u.YR.deselect(e)},hasDOMNode(e,t){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:n=!1}=a,o=ve.toDOMNode(e,e);try{r=$(t)?t:t.parentElement}catch(i){if(!i.message.includes('Permission denied to access property "nodeType"'))throw i}return!!r&&(r.closest("[data-slate-editor]")===o&&(!(n&&!r.isContentEditable)||("boolean"===typeof r.isContentEditable&&r.closest('[contenteditable="false"]')===o||!!r.getAttribute("data-slate-zero-width"))))},insertData(e,t){e.insertData(t)},insertFragmentData:(e,t)=>e.insertFragmentData(t),insertTextData:(e,t)=>e.insertTextData(t),setFragmentData(e,t,r){e.setFragmentData(t,r)},toDOMNode(e,t){var r=D.get(e),a=u.ML.isEditor(t)?x.get(e):null===r||void 0===r?void 0:r.get(ve.findKey(e,t));if(!a)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(u.o4.stringify(t)));return a},toDOMPoint(e,t){var r,[a]=u.ML.node(e,t.path),n=ve.toDOMNode(e,a);u.ML.void(e,{at:t})&&(t={path:t.path,offset:0});for(var o=Array.from(n.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),i=0,s=0;s{var[t,r]=e;if($(t)&&t.childNodes.length){var a=r===t.childNodes.length,n=a?r-1:r;for([t,n]=K(t,n,a?"backward":"forward"),a=n{te&&!a&&e.hasAttribute("data-slate-zero-width")&&e.textContent.length>0&&"\ufeff"!==e.textContext?e.textContent.startsWith("\ufeff")&&(e.textContent=e.textContent.slice(1)):e.parentNode.removeChild(e)})),d=M.textContent.length,m=l}}else if(p){for(var b=p.querySelectorAll("[data-slate-leaf]"),x=0;x{d-=e.textContent.length}))):d=1}m&&d===m.textContent.length&&te&&"z"===m.getAttribute("data-slate-zero-width")&&null!==(c=m.textContent)&&void 0!==c&&c.startsWith("\ufeff")&&(s.hasAttribute("data-slate-zero-width")||re&&null!==(f=m.textContent)&&void 0!==f&&f.endsWith("\n\n"))&&d--}if(te&&!l&&!a){var y=s.hasAttribute("data-slate-node")?s:s.closest("[data-slate-node]");if(y&&ve.hasDOMNode(e,y,{editable:!0})){var L=ve.toSlateNode(e,y),{path:C,offset:D}=u.ML.start(e,ve.findPath(e,L));return y.querySelector("[data-slate-leaf]")||(D=i),{path:C,offset:D}}}if(!l){if(n)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var E=ve.toSlateNode(e,l);return{path:ve.findPath(e,E),offset:d}},toSlateRange(e,t,r){var a,n,o,i,s,{exactMatch:l,suppressThrow:d}=r;if((z(t)?t.anchorNode:t.startContainer)&&(z(t)?(a=t.anchorNode,n=t.anchorOffset,o=t.focusNode,i=t.focusOffset,s=oe&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(a=t.startContainer,n=t.startOffset,o=t.endContainer,i=t.endOffset,s=t.collapsed)),null==a||null==o||null==n||null==i)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));var c=ve.toSlatePoint(e,[a,n],{exactMatch:l,suppressThrow:d});if(!c)return null;var f=s?c:ve.toSlatePoint(e,[o,i],{exactMatch:l,suppressThrow:d});if(!f)return null;var v={anchor:c,focus:f};return u.e6.isExpanded(v)&&u.e6.isForward(v)&&$(o)&&u.ML.void(e,{at:v.focus,mode:"highest"})&&(v=u.ML.unhangRange(e,v,{voids:!0})),v},hasRange(e,t){var{anchor:r,focus:a}=t;return u.ML.hasPath(e,r.path)&&u.ML.hasPath(e,a.path)},androidScheduleFlush(e){var t;null===(t=P.get(e))||void 0===t||t()},androidPendingDiffs:e=>T.get(e)},he=ue?d.useLayoutEffect:d.useEffect,pe=["anchor","focus"],ge=["anchor","focus"],me=(e,t)=>Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every((r=>t.hasOwnProperty(r)&&e[r]===t[r])),we=(e,t)=>{if(e.length!==t.length)return!1;for(var r=0;r{var{isLast:t,leaf:r,parent:a,text:n}=e,o=ye(),i=ve.findPath(o,n),s=u.y$.parent(i),l=!0===r[q];return o.isVoid(a)?d.createElement(xe,{length:u.NB.string(a).length}):""!==r.text||a.children[a.children.length-1]!==n||o.isInline(a)||""!==u.ML.string(o,s)?""===r.text?d.createElement(xe,{isMarkPlaceholder:l}):t&&"\n"===r.text.slice(-1)?d.createElement(be,{isTrailing:!0,text:r.text}):d.createElement(be,{text:r.text}):d.createElement(xe,{isLineBreak:!0,isMarkPlaceholder:l})},be=e=>{var{text:t,isTrailing:r=!1}=e,a=(0,d.useRef)(null),n=()=>"".concat(null!==t&&void 0!==t?t:"").concat(r?"\n":"");return he((()=>{var e=n();a.current&&a.current.textContent!==e&&(a.current.textContent=e)})),a.current?d.createElement("span",{"data-slate-string":!0,ref:a}):d.createElement("span",{"data-slate-string":!0,ref:a},n())},xe=e=>{var{length:t=0,isLineBreak:r=!1,isMarkPlaceholder:a=!1}=e,n={"data-slate-zero-width":r?"n":"z","data-slate-length":t};return a&&(n["data-slate-mark-placeholder"]=!0),d.createElement("span",Object.assign({},n),te&&r?null:"\ufeff",r?d.createElement("br",null):null)},ke=(0,d.createContext)(null),ye=()=>{var e=(0,d.useContext)(ke);if(!e)throw new Error("The `useSlateStatic` hook must be used inside the component's context.");return e},Le=e=>{var{leaf:t,isLast:r,text:a,parent:n,renderPlaceholder:o,renderLeaf:i=(e=>d.createElement(De,Object.assign({},e)))}=e,s=(0,d.useRef)(null),l=ye();(0,d.useEffect)((()=>{var e=null===s||void 0===s?void 0:s.current,t=ve.toDOMNode(l,l);if(e&&t)return t.style.minHeight="".concat(e.clientHeight,"px"),k.set(l,e),()=>{t.style.minHeight="auto",k.delete(l)}}),[s,t]);var c=d.createElement(Me,{isLast:r,leaf:t,parent:n,text:a});if(t[I]){var u={children:t.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none"},contentEditable:!1,ref:s}};c=d.createElement(d.Fragment,null,o(u),c)}return i({attributes:{"data-slate-leaf":!0},children:c,leaf:t,text:a})},Ce=d.memo(Le,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.renderPlaceholder===e.renderPlaceholder&&t.text===e.text&&u.xv.equals(t.leaf,e.leaf)&&t.leaf[I]===e.leaf[I])),De=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r)},Ee=e=>{for(var{decorations:t,isLast:r,parent:a,renderPlaceholder:n,renderLeaf:o,text:i}=e,s=ye(),l=(0,d.useRef)(null),c=u.xv.decorations(i,t),f=ve.findKey(s,i),v=[],h=0;h{var e=D.get(s);l.current?(null===e||void 0===e||e.set(f,l.current),L.set(i,l.current),y.set(l.current,i)):(null===e||void 0===e||e.delete(f),L.delete(i))})),d.createElement("span",{"data-slate-node":"text",ref:l},v)},Oe=d.memo(Ee,((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&we(t.decorations,e.decorations))),Be=e=>{var{decorations:t,element:r,renderElement:a=(e=>d.createElement(Fe,Object.assign({},e))),renderPlaceholder:o,renderLeaf:i,selection:s}=e,l=ye(),c=je(),f=l.isInline(r),v=ve.findKey(l,r),h=(0,d.useCallback)((e=>{var t=D.get(l);e?(null===t||void 0===t||t.set(v,e),L.set(r,e),y.set(e,r)):(null===t||void 0===t||t.delete(v),L.delete(r))}),[l,v,r]),p=Te({decorations:t,node:r,renderElement:a,renderPlaceholder:o,renderLeaf:i,selection:s}),g={"data-slate-node":"element",ref:h};if(f&&(g["data-slate-inline"]=!0),!f&&u.ML.hasInlines(l,r)){var m=u.NB.string(r),b=n()(m);"rtl"===b&&(g.dir=b)}if(u.ML.isVoid(l,r)){g["data-slate-void"]=!0,!c&&f&&(g.contentEditable=!1);var x=f?"span":"div",[[k]]=u.NB.texts(r);p=d.createElement(x,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},d.createElement(Oe,{renderPlaceholder:o,decorations:[],isLast:!1,parent:r,text:k})),w.set(k,0),M.set(k,r)}return a({attributes:g,children:p,element:r})},Se=d.memo(Be,((e,t)=>e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&we(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&u.e6.equals(e.selection,t.selection)))),Fe=e=>{var{attributes:t,children:r,element:a}=e,n=ye().isInline(a)?"span":"div";return d.createElement(n,Object.assign({},t,{style:{position:"relative"}}),r)},Pe=(0,d.createContext)((()=>[])),Re=(0,d.createContext)(!1),Ne=()=>(0,d.useContext)(Re),Te=e=>{for(var{decorations:t,node:r,renderElement:a,renderPlaceholder:n,renderLeaf:o,selection:i}=e,s=(0,d.useContext)(Pe),l=ye(),c=ve.findPath(l,r),f=[],v=u.W_.isElement(r)&&!l.isInline(r)&&u.ML.hasInlines(l,r),h=0;h(0,d.useContext)(We),Ae=(0,d.createContext)(null),Ie={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},qe={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},Ye={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Ue=e=>{var t=Ie[e],r=qe[e],a=Ye[e],n=t&&(0,f.TB)(t),o=r&&(0,f.TB)(r),i=a&&(0,f.TB)(a);return e=>!(!n||!n(e))||(!!(ee&&o&&o(e))||!(ee||!i||!i(e)))},$e={isBold:Ue("bold"),isCompose:Ue("compose"),isMoveBackward:Ue("moveBackward"),isMoveForward:Ue("moveForward"),isDeleteBackward:Ue("deleteBackward"),isDeleteForward:Ue("deleteForward"),isDeleteLineBackward:Ue("deleteLineBackward"),isDeleteLineForward:Ue("deleteLineForward"),isDeleteWordBackward:Ue("deleteWordBackward"),isDeleteWordForward:Ue("deleteWordForward"),isExtendBackward:Ue("extendBackward"),isExtendForward:Ue("extendForward"),isExtendLineBackward:Ue("extendLineBackward"),isExtendLineForward:Ue("extendLineForward"),isItalic:Ue("italic"),isMoveLineBackward:Ue("moveLineBackward"),isMoveLineForward:Ue("moveLineForward"),isMoveWordBackward:Ue("moveWordBackward"),isMoveWordForward:Ue("moveWordForward"),isRedo:Ue("redo"),isSoftBreak:Ue("insertSoftBreak"),isSplitBlock:Ue("splitBlock"),isTransposeCharacter:Ue("transposeCharacter"),isUndo:Ue("undo")},_e={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class ze extends d.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var e,{node:t}=this.props;if(!t.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");null===(e=this.mutationObserver)||void 0===e||e.observe(t.current,_e)}componentDidMount(){var{receivedUserInput:e}=this.props,t=this.context;this.manager=((e,t)=>{var r=[],a=()=>{r=[]};return{registerMutations:a=>{if(t.current){var n=a.filter((t=>Q(e,t,a)));r.push(...n)}},restoreDOM:function(){r.reverse().forEach((e=>{"characterData"!==e.type?(e.removedNodes.forEach((t=>{e.target.insertBefore(t,e.nextSibling)})),e.addedNodes.forEach((t=>{e.target.removeChild(t)}))):e.target.textContent=e.oldValue})),a()},clear:a}})(t,e),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var e,t,r,a,n=null===(e=this.mutationObserver)||void 0===e?void 0:e.takeRecords();null!==n&&void 0!==n&&n.length&&(null===(a=this.manager)||void 0===a||a.registerMutations(n));return null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(r=this.manager)||void 0===r||r.restoreDOM(),null}componentDidUpdate(){var e;null===(e=this.manager)||void 0===e||e.clear(),this.observe()}componentWillUnmount(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}render(){return this.props.children}}ze.contextType=ke;var Ve=te?ze:e=>{var{children:t}=e;return d.createElement(d.Fragment,null,t)};function Ke(e,t){var{path:r,diff:a}=t;if(!u.ML.hasPath(e,r))return!1;var n=u.NB.get(e,r);if(!u.xv.isText(n))return!1;if(a.start!==n.text.length||0===a.text.length)return n.text.slice(a.start,a.start+a.text.length)===a.text;var o=u.y$.next(r);if(!u.ML.hasPath(e,o))return!1;var i=u.NB.get(e,o);return u.xv.isText(i)&&i.text.startsWith(a.text)}function He(e,t){var{start:r,end:a,text:n}=t,o=e.slice(r,a),i=function(e,t){for(var r=Math.min(e.length,t.length),a=0;a1?t-1:0),a=1;ae.slice(0,t.start)+t.text+e.slice(t.end)),e)}(e,t,r),i=Math.max(r.start+r.text.length,t.start+t.text.length+(t.start+t.text.length>r.start?r.text.length:0)-n),s=o.slice(a,i);return He(e,{start:a,end:Math.max(t.end,r.end-t.text.length+(t.end-t.start)),text:s})}function Je(e){var{path:t,diff:r}=e;return{anchor:{path:t,offset:r.start},focus:{path:t,offset:r.end}}}function Qe(e,t){var{path:r,offset:a}=t;if(!u.ML.hasPath(e,r))return null;var n=u.NB.get(e,r);if(!u.xv.isText(n))return null;var o=u.ML.above(e,{match:t=>u.ML.isBlock(e,t),at:r});if(!o)return null;for(;a>n.text.length;){var i=u.ML.next(e,{at:r,match:u.xv.isText});if(!i||!u.y$.isDescendant(i[1],o[1]))return null;a-=n.text.length,n=i[0],r=i[1]}return{path:r,offset:a}}function Ze(e,t){var r=Qe(e,t.anchor);if(!r)return null;if(u.e6.isCollapsed(t))return{anchor:r,focus:r};var a=Qe(e,t.focus);return a?{anchor:r,focus:a}:null}function Ge(e,t,r){var a=T.get(e),n=null===a||void 0===a?void 0:a.find((e=>{var{path:r}=e;return u.y$.equals(r,t.path)}));if(!n||t.offset<=n.diff.start)return u.E9.transform(t,r,{affinity:"backward"});var{diff:o}=n;if(t.offset<=o.start+o.text.length){var i={path:t.path,offset:o.start},s=u.E9.transform(i,r,{affinity:"backward"});return s?{path:s.path,offset:s.offset+t.offset-o.start}:null}var l={path:t.path,offset:t.offset-o.text.length+o.end-o.start},d=u.E9.transform(l,r,{affinity:"backward"});return d?"split_node"===r.type&&u.y$.equals(r.path,t.path)&&l.offset{var e=j.get(t);if(j.delete(t),e){var{selection:r}=t,a=Ze(t,e);!a||r&&u.e6.equals(a,r)||u.YR.select(t,a)}},f=()=>{var e;if(i&&(clearTimeout(i),i=null),s&&(clearTimeout(s),s=null),m()||g()){n||(n=!0,setTimeout((()=>n=!1))),g()&&(n="action");var o=t.selection&&u.ML.rangeRef(t,t.selection,{affinity:"forward"});N.set(t,t.marks),W.get(t),T.get(t);for(var l,f=!(null===(e=T.get(t))||void 0===e||!e.length);l=null===(v=T.get(t))||void 0===v?void 0:v[0];){var v,h,p=R.get(t);void 0!==p&&(R.delete(t),t.marks=p),p&&!1===d&&(d=null);var w=Je(l);t.selection&&u.e6.equals(t.selection,w)||u.YR.select(t,w),l.diff.text?u.ML.insertText(t,l.diff.text):u.ML.deleteFragment(t),T.set(t,null===(h=T.get(t))||void 0===h?void 0:h.filter((e=>{var{id:t}=e;return t!==l.id}))),Ke(t,l)||(f=!1,W.delete(t),N.delete(t),n="action",j.delete(t),r.cancel(),a.cancel(),null===o||void 0===o||o.unref())}var M=null===o||void 0===o?void 0:o.unref();if(!M||j.get(t)||t.selection&&u.e6.equals(M,t.selection)||u.YR.select(t,M),g())(()=>{var e=W.get(t);if(W.delete(t),e){if(e.at){var r=u.E9.isPoint(e.at)?Qe(t,e.at):Ze(t,e.at);if(!r)return;var a=u.ML.range(t,r);t.selection&&u.e6.equals(t.selection,a)||u.YR.select(t,r)}e.run()}})();else{f&&r(),r.flush(),a.flush(),c();var b=N.get(t);N.delete(t),void 0!==b&&(t.marks=b,t.onChange())}}else c()},v=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=k.get(t);r&&(m()||e?r.style.display="none":r.style.removeProperty("display"))},h=(e,r)=>{var a,n=null!==(a=T.get(t))&&void 0!==a?a:[];T.set(t,n);var o=u.NB.leaf(t,e),i=n.findIndex((t=>u.y$.equals(t.path,e)));if(i<0)return He(o.text,r)&&n.push({path:e,diff:r,id:l++}),void v();var s=Xe(o.text,n[i].diff,r);if(!s)return n.splice(i,1),void v();n[i]=rt(rt({},n[i]),{},{diff:s})},p=function(e){var{at:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d=!1,j.delete(t),r.cancel(),a.cancel(),g()&&f(),W.set(t,{at:n,run:e}),s=setTimeout(f)},g=()=>!!W.get(t),m=()=>{var e;return!(null===(e=T.get(t))||void 0===e||!e.length)},w=()=>{g()||(s=setTimeout(f))};return{flush:f,scheduleFlush:w,hasPendingDiffs:m,hasPendingAction:g,hasPendingChanges:()=>g()||m(),isFlushing:()=>n,handleUserSelect:e=>{j.set(t,e),i&&(clearTimeout(i),i=null);var{selection:r}=t;if(e){var a=!r||!u.y$.equals(r.anchor.path,e.anchor.path),n=!r||!u.y$.equals(r.anchor.path.slice(0,-1),e.anchor.path.slice(0,-1));(a&&d||n)&&(d=!1),!a&&m()||(i=setTimeout(f,200))}},handleCompositionEnd:e=>{o&&clearTimeout(o),o=setTimeout((()=>{B.set(t,!1),f()}),25)},handleCompositionStart:e=>{B.set(t,!0),o&&(clearTimeout(o),o=null)},handleDOMBeforeInput:e=>{var r;i&&(clearTimeout(i),i=null);var{inputType:a}=e,n=null,o=e.dataTransfer||e.data||void 0;!1!==d&&"insertText"!==a&&"insertCompositionText"!==a&&(d=!1);var[s]=e.getTargetRanges();s&&(n=ve.toSlateRange(t,s,{exactMatch:!1,suppressThrow:!0}));var l=ve.getWindow(t).getSelection();if(!n&&l&&(s=l,n=ve.toSlateRange(t,l,{exactMatch:!1,suppressThrow:!0})),n=null!==(r=n)&&void 0!==r?r:t.selection){if(u.e6.isExpanded(n)&&a.startsWith("delete")){var[c,f]=u.e6.edges(n);if(u.NB.leaf(t,c.path).text.length===c.offset&&0===f.offset){var v=u.ML.next(t,{at:c.path,match:u.xv.isText});v&&u.y$.equals(v[1],f.path)&&(n={anchor:f,focus:f})}}if(u.e6.isExpanded(n)&&a.startsWith("delete")){if(u.y$.equals(n.anchor.path,n.focus.path)){var[g,m]=u.e6.edges(n);return h(n.anchor.path,{text:"",end:m.offset,start:g.offset})}var M=a.endsWith("Backward")?"backward":"forward";return p((()=>u.ML.deleteFragment(t,{direction:M})),{at:n})}switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return p((()=>u.ML.deleteFragment(t)),{at:n});case"deleteContent":case"deleteContentForward":var{anchor:b}=n;if(u.e6.isCollapsed(n)){var x=u.NB.leaf(t,b.path);if(b.offsetu.ML.deleteForward(t)),{at:n});case"deleteContentBackward":var k,{anchor:y}=n;return(z(s)?s.isCollapsed:!(null===(k=s)||void 0===k||!k.collapsed))&&u.e6.isCollapsed(n)&&y.offset>0?h(y.path,{text:"",start:y.offset-1,end:y.offset}):p((()=>u.ML.deleteBackward(t)),{at:n});case"deleteEntireSoftLine":return p((()=>{u.ML.deleteBackward(t,{unit:"line"}),u.ML.deleteForward(t,{unit:"line"})}),{at:n});case"deleteHardLineBackward":return p((()=>u.ML.deleteBackward(t,{unit:"block"})),{at:n});case"deleteSoftLineBackward":return p((()=>u.ML.deleteBackward(t,{unit:"line"})),{at:n});case"deleteHardLineForward":return p((()=>u.ML.deleteForward(t,{unit:"block"})),{at:n});case"deleteSoftLineForward":return p((()=>u.ML.deleteForward(t,{unit:"line"})),{at:n});case"deleteWordBackward":return p((()=>u.ML.deleteBackward(t,{unit:"word"})),{at:n});case"deleteWordForward":return p((()=>u.ML.deleteForward(t,{unit:"word"})),{at:n});case"insertLineBreak":return p((()=>u.ML.insertSoftBreak(t)),{at:n});case"insertParagraph":return p((()=>u.ML.insertBreak(t)),{at:n});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("DataTransfer"===(null===o||void 0===o?void 0:o.constructor.name))return p((()=>ve.insertData(t,o)),{at:n});if("string"===typeof o&&o.includes("\n"))return p((()=>u.ML.insertSoftBreak(t)),{at:u.e6.end(n)});var L=null!==o&&void 0!==o?o:"";if(R.get(t)&&(L=L.replace("\ufeff","")),u.y$.equals(n.anchor.path,n.focus.path)){var[C,D]=u.e6.edges(n),E={start:C.offset,end:D.offset,text:L};if(L&&d&&"insertCompositionText"===a){var O=d.start+d.text.search(/\S|$/);E.start+E.text.search(/\S|$/)===O+1&&E.end===d.start+d.text.length?(E.start-=1,d=null,w()):d=!1}else d="insertText"===a&&(null===d?E:!(!d||!u.e6.isCollapsed(n)||d.end+d.text.length!==C.offset)&&rt(rt({},d),{},{text:d.text+L}));return void h(C.path,E)}return p((()=>u.ML.insertText(t,L)),{at:n})}}},handleKeyDown:e=>{m()||(v(!0),setTimeout(v))},handleDomMutations:e=>{var r;m()||g()||e.some((r=>Q(t,r,e)))&&(null===(r=A.get(t))||void 0===r||r())},handleInput:()=>{!g()&&m()||f()}}}var nt=["node"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}var it={subtree:!0,childList:!0,characterData:!0};function st(e){var{node:t}=e,r=p(e,nt);if(!te)return null;var a=ye(),n=function(){var e=(0,d.useRef)(!1);return(0,d.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),e.current}(),[o]=(0,d.useState)((()=>at(function(e){for(var t=1;tnew MutationObserver(t)));he((()=>{a.takeRecords()})),(0,d.useEffect)((()=>{if(!e.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return a.observe(e.current,r),()=>a.disconnect()}),[])}(t,o.handleDomMutations,it),P.set(a,o.scheduleFlush),n&&o.flush(),o}var lt=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as"],dt=["text"];function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function ut(e){for(var t=1;td.createElement(d.Fragment,null,Te(e)),vt=e=>{var{autoFocus:t,decorate:r=pt,onDOMBeforeInput:a,placeholder:o,readOnly:s=!1,renderElement:c,renderLeaf:f,renderPlaceholder:v=(e=>d.createElement(ht,Object.assign({},e))),scrollSelectionIntoView:h=gt,style:g={},as:m="div"}=e,w=p(e,lt),M=(()=>{var e=(0,d.useContext)(Ae);if(!e)throw new Error("The `useSlate` hook must be used inside the component's context.");var{editor:t}=e;return t})(),[k,C]=(0,d.useState)(!1),D=(0,d.useRef)(null),F=(0,d.useRef)([]),{onUserInput:P,receivedUserInput:T}=function(){var e=ye(),t=(0,d.useRef)(!1),r=(0,d.useRef)(0),a=(0,d.useCallback)((()=>{if(!t.current){t.current=!0;var a=ve.getWindow(e);a.cancelAnimationFrame(r.current),r.current=a.requestAnimationFrame((()=>{t.current=!1}))}}),[]);return(0,d.useEffect)((()=>()=>cancelAnimationFrame(r.current)),[]),{receivedUserInput:t,onUserInput:a}}(),[,W]=(0,d.useReducer)((e=>e+1),0);A.set(M,W),E.set(M,s);var j=(0,d.useMemo)((()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1})),[]);(0,d.useEffect)((()=>{D.current&&t&&D.current.focus()}),[t]);var Y=(0,d.useCallback)(l()((()=>{if((te||!ve.isComposing(M))&&(!j.isUpdatingSelection||null!==V&&void 0!==V&&V.isFlushing())&&!j.isDraggingInternally){var e=ve.findDocumentOrShadowRoot(M),{activeElement:t}=e,r=ve.toDOMNode(M,M),a=e.getSelection();if(t===r?(j.latestElement=t,O.set(M,!0)):O.delete(M),!a)return u.YR.deselect(M);var{anchorNode:n,focusNode:o}=a,i=wt(M,n)||Mt(M,n),l=wt(M,o)||Mt(M,o);if(i&&l){var d=ve.toSlateRange(M,a,{exactMatch:!1,suppressThrow:!0});d&&(ve.isComposing(M)||null!==V&&void 0!==V&&V.hasPendingChanges()||null!==V&&void 0!==V&&V.isFlushing()?null===V||void 0===V||V.handleUserSelect(d):u.YR.select(M,d))}!s||i&&l||u.YR.deselect(M)}}),100),[s]),z=(0,d.useMemo)((()=>i()(Y,0)),[Y]),V=st({node:D,onDOMSelectionChange:Y,scheduleOnDOMSelectionChange:z});he((()=>{var e;D.current&&(e=U(D.current))?(b.set(M,e),x.set(M,D.current),L.set(M,D.current),y.set(D.current,M)):L.delete(M);var{selection:t}=M,r=ve.findDocumentOrShadowRoot(M).getSelection();if(r&&ve.isFocused(M)&&(null===V||void 0===V||!V.hasPendingAction())){var a=e=>{var a="None"!==r.type;if(t||a){var n=x.get(M),o=!1;if(n.contains(r.anchorNode)&&n.contains(r.focusNode)&&(o=!0),a&&o&&t&&!e){var i=ve.toSlateRange(M,r,{exactMatch:!0,suppressThrow:!0});if(i&&u.e6.equals(i,t)){var s;if(!j.hasMarkPlaceholder)return;var{anchorNode:l}=r;if(null!==l&&void 0!==l&&null!==(s=l.parentElement)&&void 0!==s&&s.hasAttribute("data-slate-mark-placeholder"))return}}if(!t||ve.hasRange(M,t)){j.isUpdatingSelection=!0;var d=t&&ve.toDOMRange(M,t);return d?(u.e6.isBackward(t)?r.setBaseAndExtent(d.endContainer,d.endOffset,d.startContainer,d.startOffset):r.setBaseAndExtent(d.startContainer,d.startOffset,d.endContainer,d.endOffset),h(M,d)):r.removeAllRanges(),d}M.selection=ve.toSlateRange(M,r,{exactMatch:!1,suppressThrow:!0})}},n=a(),o="action"===(null===V||void 0===V?void 0:V.isFlushing());if(te&&o){var i=null,s=requestAnimationFrame((()=>{if(o){var e=e=>{try{ve.toDOMNode(M,M).focus(),a(e)}catch(t){}};e(),i=setTimeout((()=>{e(!0),j.isUpdatingSelection=!1}))}}));return()=>{cancelAnimationFrame(s),i&&clearTimeout(i)}}setTimeout((()=>{n&&re&&ve.toDOMNode(M,M).focus();j.isUpdatingSelection=!1}))}}));var K=(0,d.useCallback)((e=>{if(P(),!s&&wt(M,e.target)&&!xt(e,a)){var t;if(V)return V.handleDOMBeforeInput(e);z.flush(),Y.flush();var{selection:r}=M,{inputType:n}=e,o=e.dataTransfer||e.data||void 0,i="insertCompositionText"===n||"deleteCompositionText"===n;if(i&&ve.isComposing(M))return;var l=!1;if("insertText"===n&&r&&u.e6.isCollapsed(r)&&e.data&&1===e.data.length&&/[a-z ]/i.test(e.data)&&0!==r.anchor.offset){var d,c;l=!0,M.marks&&(l=!1);var{anchor:f}=r,[v,h]=ve.toDOMPoint(M,f),p=null===(d=v.parentElement)||void 0===d?void 0:d.closest("a"),g=ve.getWindow(M);if(l&&p&&ve.hasDOMNode(M,p)){var m,w=null===g||void 0===g?void 0:g.document.createTreeWalker(p,NodeFilter.SHOW_TEXT).lastChild();w===v&&(null===(m=w.textContent)||void 0===m?void 0:m.length)===h&&(l=!1)}if(l&&v.parentElement&&"pre"===(null===g||void 0===g||null===(c=g.getComputedStyle(v.parentElement))||void 0===c?void 0:c.whiteSpace)){var b=u.ML.above(M,{at:f.path,match:e=>u.ML.isBlock(M,e)});b&&u.NB.string(b[0]).includes("\t")&&(l=!1)}}if(!n.startsWith("delete")||n.startsWith("deleteBy")){var[x]=e.getTargetRanges();if(x){var k=ve.toSlateRange(M,x,{exactMatch:!1,suppressThrow:!1});if(!r||!u.e6.equals(r,k)){l=!1;var y=!i&&M.selection&&u.ML.rangeRef(M,M.selection);u.YR.select(M,k),y&&S.set(M,y)}}}if(i)return;if(l||e.preventDefault(),r&&u.e6.isExpanded(r)&&n.startsWith("delete")){var L=n.endsWith("Backward")?"backward":"forward";return void u.ML.deleteFragment(M,{direction:L})}switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":u.ML.deleteFragment(M);break;case"deleteContent":case"deleteContentForward":u.ML.deleteForward(M);break;case"deleteContentBackward":u.ML.deleteBackward(M);break;case"deleteEntireSoftLine":u.ML.deleteBackward(M,{unit:"line"}),u.ML.deleteForward(M,{unit:"line"});break;case"deleteHardLineBackward":u.ML.deleteBackward(M,{unit:"block"});break;case"deleteSoftLineBackward":u.ML.deleteBackward(M,{unit:"line"});break;case"deleteHardLineForward":u.ML.deleteForward(M,{unit:"block"});break;case"deleteSoftLineForward":u.ML.deleteForward(M,{unit:"line"});break;case"deleteWordBackward":u.ML.deleteBackward(M,{unit:"word"});break;case"deleteWordForward":u.ML.deleteForward(M,{unit:"word"});break;case"insertLineBreak":u.ML.insertSoftBreak(M);break;case"insertParagraph":u.ML.insertBreak(M);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":"insertFromComposition"===n&&ve.isComposing(M)&&(C(!1),B.set(M,!1)),"DataTransfer"===(null===o||void 0===o?void 0:o.constructor.name)?ve.insertData(M,o):"string"===typeof o&&(l?F.current.push((()=>u.ML.insertText(M,o))):u.ML.insertText(M,o))}var D=null===(t=S.get(M))||void 0===t?void 0:t.unref();S.delete(M),!D||M.selection&&u.e6.equals(M.selection,D)||u.YR.select(M,D)}}),[s,a]);he((()=>(D.current&&fe&&D.current.addEventListener("beforeinput",K),()=>{D.current&&fe&&D.current.removeEventListener("beforeinput",K)})),[K]),he((()=>{var e=ve.getWindow(M);return e.document.addEventListener("selectionchange",z),()=>{e.document.removeEventListener("selectionchange",z)}}),[z]);var H=r([M,[]]);if(o&&1===M.children.length&&1===Array.from(u.NB.texts(M)).length&&""===u.NB.string(M)&&!k){var X=u.ML.start(M,[]);H.push({[I]:!0,placeholder:o,anchor:X,focus:X})}var{marks:J}=M;if(j.hasMarkPlaceholder=!1,M.selection&&u.e6.isCollapsed(M.selection)&&J){var{anchor:Q}=M.selection,Z=u.NB.leaf(M,Q.path),ee=p(Z,dt);if(!u.xv.equals(Z,J,{loose:!0})){j.hasMarkPlaceholder=!0;var ne=Object.fromEntries(Object.keys(ee).map((e=>[e,null])));H.push(ut(ut(ut({[q]:!0},ne),J),{},{anchor:Q,focus:Q}))}}return(0,d.useEffect)((()=>{setTimeout((()=>{var{selection:e}=M;if(e){var{anchor:t}=e,r=u.NB.leaf(M,t.path);if(J&&!u.xv.equals(r,J,{loose:!0}))return void R.set(M,J)}R.delete(M)}))})),d.createElement(We.Provider,{value:s},d.createElement(Pe.Provider,{value:r},d.createElement(Ve,{node:D,receivedUserInput:T},d.createElement(m,Object.assign({role:s?void 0:"textbox","aria-multiline":!s||void 0},w,{spellCheck:!(!fe&&ue)&&w.spellCheck,autoCorrect:fe||!ue?w.autoCorrect:"false",autoCapitalize:fe||!ue?w.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!s,zindex:-1,suppressContentEditableWarning:!0,ref:D,style:ut({position:"relative",outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},g),onBeforeInput:(0,d.useCallback)((e=>{if(!fe&&!s&&!bt(e,w.onBeforeInput)&&wt(M,e.target)&&(e.preventDefault(),!ve.isComposing(M))){var t=e.data;u.ML.insertText(M,t)}}),[s]),onInput:(0,d.useCallback)((e=>{if(V)V.handleInput();else{for(var t of F.current)t();F.current=[]}}),[]),onBlur:(0,d.useCallback)((e=>{if(!s&&!j.isUpdatingSelection&&wt(M,e.target)&&!bt(e,w.onBlur)){var t=ve.findDocumentOrShadowRoot(M);if(j.latestElement!==t.activeElement){var{relatedTarget:r}=e;if(r!==ve.toDOMNode(M,M)&&(!$(r)||!r.hasAttribute("data-slate-spacer"))){if(null!=r&&_(r)&&ve.hasDOMNode(M,r)){var a=ve.toSlateNode(M,r);if(u.W_.isElement(a)&&!M.isVoid(a))return}if(ae){var n=t.getSelection();null===n||void 0===n||n.removeAllRanges()}O.delete(M)}}}}),[s,w.onBlur]),onClick:(0,d.useCallback)((e=>{if(mt(M,e.target)&&!bt(e,w.onClick)&&_(e.target)){var t=ve.toSlateNode(M,e.target),r=ve.findPath(M,t);if(!u.ML.hasPath(M,r)||u.NB.get(M,r)!==t)return;if(3===e.detail&&r.length>=1){var a=r;if(!u.ML.isBlock(M,t)){var n,o=u.ML.above(M,{match:e=>u.ML.isBlock(M,e),at:r});a=null!==(n=null===o||void 0===o?void 0:o[1])&&void 0!==n?n:r.slice(0,1)}var i=u.ML.range(M,a);return void u.YR.select(M,i)}if(s)return;var l=u.ML.start(M,r),d=u.ML.end(M,r),c=u.ML.void(M,{at:l}),f=u.ML.void(M,{at:d});if(c&&f&&u.y$.equals(c[1],f[1])){var v=u.ML.range(M,l);u.YR.select(M,v)}}}),[s,w.onClick]),onCompositionEnd:(0,d.useCallback)((e=>{if(wt(M,e.target)){if(ve.isComposing(M)&&(C(!1),B.set(M,!1)),null===V||void 0===V||V.handleCompositionEnd(e),bt(e,w.onCompositionEnd)||te)return;if(!ae&&!se&&!G&&!le&&!ce&&!de&&e.data){var t=R.get(M);R.delete(M),void 0!==t&&(N.set(M,M.marks),M.marks=t),u.ML.insertText(M,e.data);var r=N.get(M);N.delete(M),void 0!==r&&(M.marks=r)}}}),[w.onCompositionEnd]),onCompositionUpdate:(0,d.useCallback)((e=>{wt(M,e.target)&&!bt(e,w.onCompositionUpdate)&&(ve.isComposing(M)||(C(!0),B.set(M,!0)))}),[w.onCompositionUpdate]),onCompositionStart:(0,d.useCallback)((e=>{if(wt(M,e.target)){if(null===V||void 0===V||V.handleCompositionStart(e),bt(e,w.onCompositionStart)||te)return;C(!0);var{selection:t}=M;if(t){if(u.e6.isExpanded(t))return void u.ML.deleteFragment(M);var r=u.ML.above(M,{match:e=>u.ML.isInline(M,e),mode:"highest"});if(r){var[,a]=r;if(u.ML.isEnd(M,t.anchor,a)){var n=u.ML.after(M,a);u.YR.setSelection(M,{anchor:n,focus:n})}}}}}),[w.onCompositionStart]),onCopy:(0,d.useCallback)((e=>{wt(M,e.target)&&!bt(e,w.onCopy)&&(e.preventDefault(),ve.setFragmentData(M,e.clipboardData,"copy"))}),[w.onCopy]),onCut:(0,d.useCallback)((e=>{if(!s&&wt(M,e.target)&&!bt(e,w.onCut)){e.preventDefault(),ve.setFragmentData(M,e.clipboardData,"cut");var{selection:t}=M;if(t)if(u.e6.isExpanded(t))u.ML.deleteFragment(M);else{var r=u.NB.parent(M,t.anchor.path);u.ML.isVoid(M,r)&&u.YR.delete(M)}}}),[s,w.onCut]),onDragOver:(0,d.useCallback)((e=>{if(mt(M,e.target)&&!bt(e,w.onDragOver)){var t=ve.toSlateNode(M,e.target);u.ML.isVoid(M,t)&&e.preventDefault()}}),[w.onDragOver]),onDragStart:(0,d.useCallback)((e=>{if(!s&&mt(M,e.target)&&!bt(e,w.onDragStart)){var t=ve.toSlateNode(M,e.target),r=ve.findPath(M,t);if(u.ML.isVoid(M,t)||u.ML.void(M,{at:r,voids:!0})){var a=u.ML.range(M,r);u.YR.select(M,a)}j.isDraggingInternally=!0,ve.setFragmentData(M,e.dataTransfer,"drag")}}),[s,w.onDragStart]),onDrop:(0,d.useCallback)((e=>{if(!s&&mt(M,e.target)&&!bt(e,w.onDrop)){e.preventDefault();var t=M.selection,r=ve.findEventRange(M,e),a=e.dataTransfer;u.YR.select(M,r),j.isDraggingInternally&&(!t||u.e6.equals(t,r)||u.ML.void(M,{at:r,voids:!0})||u.YR.delete(M,{at:t})),ve.insertData(M,a),ve.isFocused(M)||ve.focus(M)}j.isDraggingInternally=!1}),[s,w.onDrop]),onDragEnd:(0,d.useCallback)((e=>{!s&&j.isDraggingInternally&&w.onDragEnd&&mt(M,e.target)&&w.onDragEnd(e),j.isDraggingInternally=!1}),[s,w.onDragEnd]),onFocus:(0,d.useCallback)((e=>{if(!s&&!j.isUpdatingSelection&&wt(M,e.target)&&!bt(e,w.onFocus)){var t=ve.toDOMNode(M,M),r=ve.findDocumentOrShadowRoot(M);if(j.latestElement=r.activeElement,re&&e.target!==t)return void t.focus();O.set(M,!0)}}),[s,w.onFocus]),onKeyDown:(0,d.useCallback)((e=>{if(!s&&wt(M,e.target)){null===V||void 0===V||V.handleKeyDown(e);var{nativeEvent:t}=e;if(ve.isComposing(M)&&!1===t.isComposing&&(B.set(M,!1),C(!1)),bt(e,w.onKeyDown)||ve.isComposing(M))return;var{selection:r}=M,a=M.children[null!==r?r.focus.path[0]:0],o="rtl"===n()(u.NB.string(a));if($e.isRedo(t)){e.preventDefault();var i=M;return void("function"===typeof i.redo&&i.redo())}if($e.isUndo(t)){e.preventDefault();var l=M;return void("function"===typeof l.undo&&l.undo())}if($e.isMoveLineBackward(t))return e.preventDefault(),void u.YR.move(M,{unit:"line",reverse:!0});if($e.isMoveLineForward(t))return e.preventDefault(),void u.YR.move(M,{unit:"line"});if($e.isExtendLineBackward(t))return e.preventDefault(),void u.YR.move(M,{unit:"line",edge:"focus",reverse:!0});if($e.isExtendLineForward(t))return e.preventDefault(),void u.YR.move(M,{unit:"line",edge:"focus"});if($e.isMoveBackward(t))return e.preventDefault(),void(r&&u.e6.isCollapsed(r)?u.YR.move(M,{reverse:!o}):u.YR.collapse(M,{edge:"start"}));if($e.isMoveForward(t))return e.preventDefault(),void(r&&u.e6.isCollapsed(r)?u.YR.move(M,{reverse:o}):u.YR.collapse(M,{edge:"end"}));if($e.isMoveWordBackward(t))return e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(M,{edge:"focus"}),void u.YR.move(M,{unit:"word",reverse:!o});if($e.isMoveWordForward(t))return e.preventDefault(),r&&u.e6.isExpanded(r)&&u.YR.collapse(M,{edge:"focus"}),void u.YR.move(M,{unit:"word",reverse:o});if(fe){if((oe||ae)&&r&&($e.isDeleteBackward(t)||$e.isDeleteForward(t))&&u.e6.isCollapsed(r)){var d=u.NB.parent(M,r.anchor.path);if(u.W_.isElement(d)&&u.ML.isVoid(M,d)&&(u.ML.isInline(M,d)||u.ML.isBlock(M,d)))return e.preventDefault(),void u.ML.deleteBackward(M,{unit:"block"})}}else{if($e.isBold(t)||$e.isItalic(t)||$e.isTransposeCharacter(t))return void e.preventDefault();if($e.isSoftBreak(t))return e.preventDefault(),void u.ML.insertSoftBreak(M);if($e.isSplitBlock(t))return e.preventDefault(),void u.ML.insertBreak(M);if($e.isDeleteBackward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"backward"}):u.ML.deleteBackward(M));if($e.isDeleteForward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"forward"}):u.ML.deleteForward(M));if($e.isDeleteLineBackward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"backward"}):u.ML.deleteBackward(M,{unit:"line"}));if($e.isDeleteLineForward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"forward"}):u.ML.deleteForward(M,{unit:"line"}));if($e.isDeleteWordBackward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"backward"}):u.ML.deleteBackward(M,{unit:"word"}));if($e.isDeleteWordForward(t))return e.preventDefault(),void(r&&u.e6.isExpanded(r)?u.ML.deleteFragment(M,{direction:"forward"}):u.ML.deleteForward(M,{unit:"word"}))}}}),[s,w.onKeyDown]),onPaste:(0,d.useCallback)((e=>{s||!wt(M,e.target)||bt(e,w.onPaste)||fe&&!(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||(e.preventDefault(),ve.insertData(M,e.clipboardData))}),[s,w.onPaste])}),d.createElement(ft,{decorations:H,node:M,renderElement:c,renderPlaceholder:v,renderLeaf:f,selection:M.selection})))))},ht=e=>{var{attributes:t,children:r}=e;return d.createElement("span",Object.assign({},t),r,te&&d.createElement("br",null))},pt=()=>[],gt=(e,t)=>{if(!e.selection||e.selection&&u.e6.isCollapsed(e.selection)){var r=t.startContainer.parentElement;r.getBoundingClientRect=t.getBoundingClientRect.bind(t),(0,c.Z)(r,{scrollMode:"if-needed"}),delete r.getBoundingClientRect}},mt=(e,t)=>_(t)&&ve.hasDOMNode(e,t),wt=(e,t)=>_(t)&&ve.hasDOMNode(e,t,{editable:!0}),Mt=(e,t)=>{if(E.get(e))return!1;var r=mt(e,t)&&ve.toSlateNode(e,t);return u.ML.isVoid(e,r)},bt=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.isDefaultPrevented()||e.isPropagationStopped()},xt=(e,t)=>{if(!t)return!1;var r=t(e);return null!=r?r:e.defaultPrevented},kt=(0,d.createContext)(!1),yt=()=>(0,d.useContext)(kt);var Lt=(0,d.createContext)({});var Ct=["editor","children","onChange","value"],Dt=e=>{var{editor:t,children:r,onChange:a,value:n}=e,o=p(e,Ct),i=(0,d.useRef)(!1),[s,l]=d.useState((()=>{if(!u.NB.isNodeList(n))throw new Error("[Slate] value is invalid! Expected a list of elements"+"but got: ".concat(u.o4.stringify(n)));if(!u.ML.isEditor(t))throw new Error("[Slate] editor is invalid! you passed:"+"".concat(u.o4.stringify(t)));return t.children=n,Object.assign(t,o),{v:0,editor:t}})),{selectorContext:c,onChange:f}=function(e){var t=(0,d.useRef)([]).current,r=(0,d.useRef)({editor:e}).current,a=(0,d.useCallback)((e=>{r.editor=e,t.forEach((t=>t(e)))}),[]);return{selectorContext:(0,d.useMemo)((()=>({getSlate:()=>r.editor,addEventListener:e=>(t.push(e),()=>{t.splice(t.indexOf(e),1)})})),[t,r]),onChange:a}}(t),v=(0,d.useCallback)((()=>{a&&a(t.children),l((e=>({v:e.v+1,editor:t}))),f(t)}),[a]);F.set(t,v),(0,d.useEffect)((()=>()=>{F.set(t,(()=>{})),i.current=!0}),[]);var[h,g]=(0,d.useState)(ve.isFocused(t));return(0,d.useEffect)((()=>{g(ve.isFocused(t))})),he((()=>{var e=()=>g(ve.isFocused(t));return Z?(document.addEventListener("focusin",e),document.addEventListener("focusout",e),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",e)}):(document.addEventListener("focus",e,!0),document.addEventListener("blur",e,!0),()=>{document.removeEventListener("focus",e,!0),document.removeEventListener("blur",e,!0)})}),[]),d.createElement(Lt.Provider,{value:c},d.createElement(Ae.Provider,{value:s},d.createElement(ke.Provider,{value:s.editor},d.createElement(kt.Provider,{value:h},r))))},Et=(e,t)=>{var r=(t.top+t.bottom)/2;return e.top<=r&&e.bottom>=r},Ot=(e,t,r)=>{var a=ve.toDOMRange(e,t).getBoundingClientRect(),n=ve.toDOMRange(e,r).getBoundingClientRect();return Et(a,n)&&Et(n,a)};function Bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function St(e){for(var t=1;t{var t=e,{apply:r,onChange:a,deleteBackward:n,addMark:o,removeMark:i}=t;return D.set(t,new WeakMap),t.addMark=(e,r)=>{var a,n;null===(a=P.get(t))||void 0===a||a(),!R.get(t)&&null!==(n=T.get(t))&&void 0!==n&&n.length&&R.set(t,null),N.delete(t),o(e,r)},t.removeMark=e=>{var r;!R.get(t)&&null!==(r=T.get(t))&&void 0!==r&&r.length&&R.set(t,null),N.delete(t),i(e)},t.deleteBackward=e=>{if("line"!==e)return n(e);if(t.selection&&u.e6.isCollapsed(t.selection)){var r=u.ML.above(t,{match:e=>u.ML.isBlock(t,e),at:t.selection});if(r){var[,a]=r,o=u.ML.range(t,a,t.selection.anchor),i=((e,t)=>{var r=u.ML.range(e,u.e6.end(t)),a=Array.from(u.ML.positions(e,{at:t})),n=0,o=a.length,i=Math.floor(o/2);if(Ot(e,u.ML.range(e,a[n]),r))return u.ML.range(e,a[n],r);if(a.length<2)return u.ML.range(e,a[a.length-1],r);for(;i!==a.length&&i!==n;)Ot(e,u.ML.range(e,a[i]),r)?o=i:n=i,i=Math.floor((n+o)/2);return u.ML.range(e,a[o],r)})(t,o);u.e6.isCollapsed(i)||u.YR.delete(t,{at:i})}}},t.apply=e=>{var a=[],n=T.get(t);if(null!==n&&void 0!==n&&n.length){var o=n.map((t=>function(e,t){var{path:r,diff:a,id:n}=e;switch(t.type){case"insert_text":return!u.y$.equals(t.path,r)||t.offset>=a.end?e:t.offset<=a.start?{diff:{start:t.text.length+a.start,end:t.text.length+a.end,text:a.text},id:n,path:r}:{diff:{start:a.start,end:a.end+t.text.length,text:a.text},id:n,path:r};case"remove_text":return!u.y$.equals(t.path,r)||t.offset>=a.end?e:t.offset+t.text.length<=a.start?{diff:{start:a.start-t.text.length,end:a.end-t.text.length,text:a.text},id:n,path:r}:{diff:{start:a.start,end:a.end-t.text.length,text:a.text},id:n,path:r};case"split_node":return!u.y$.equals(t.path,r)||t.position>=a.end?{diff:a,id:n,path:u.y$.transform(r,t,{affinity:"backward"})}:t.position>a.start?{diff:{start:a.start,end:Math.min(t.position,a.end),text:a.text},id:n,path:r}:{diff:{start:a.start-t.position,end:a.end-t.position,text:a.text},id:n,path:u.y$.transform(r,t,{affinity:"forward"})};case"merge_node":return u.y$.equals(t.path,r)?{diff:{start:a.start+t.position,end:a.end+t.position,text:a.text},id:n,path:u.y$.transform(r,t)}:{diff:a,id:n,path:u.y$.transform(r,t)}}var o=u.y$.transform(r,t);return o?{diff:a,path:o,id:n}:null}(t,e))).filter(Boolean);T.set(t,o)}var i=j.get(t);i&&j.set(t,et(t,i,e));var s=W.get(t);if(null!==s&&void 0!==s&&s.at){var l=u.E9.isPoint(null===s||void 0===s?void 0:s.at)?Ge(t,s.at,e):et(t,s.at,e);W.set(t,l?St(St({},s),{},{at:l}):null)}switch(e.type){case"insert_text":case"remove_text":case"set_node":case"split_node":a.push(...Pt(t,e.path));break;case"set_selection":var d;null===(d=S.get(t))||void 0===d||d.unref(),S.delete(t);break;case"insert_node":case"remove_node":a.push(...Pt(t,u.y$.parent(e.path)));break;case"merge_node":var c=u.y$.previous(e.path);a.push(...Pt(t,c));break;case"move_node":var f=u.y$.common(u.y$.parent(e.path),u.y$.parent(e.newPath));a.push(...Pt(t,f))}for(var[v,h]of(r(e),a)){var[p]=u.ML.node(t,v);C.set(p,h)}},t.setFragmentData=e=>{var{selection:r}=t;if(r){var[a,n]=u.e6.edges(r),o=u.ML.void(t,{at:a.path}),i=u.ML.void(t,{at:n.path});if(!u.e6.isCollapsed(r)||o){var s=ve.toDOMRange(t,r),l=s.cloneContents(),d=l.childNodes[0];if(l.childNodes.forEach((e=>{e.textContent&&""!==e.textContent.trim()&&(d=e)})),i){var[c]=i,f=s.cloneRange(),v=ve.toDOMNode(t,c);f.setEndAfter(v),l=f.cloneContents()}if(o&&(d=l.querySelector("[data-slate-spacer]")),Array.from(l.querySelectorAll("[data-slate-zero-width]")).forEach((e=>{var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":""})),V(d)){var h=d.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(d),l.appendChild(h),d=h}var p=t.getFragment(),g=JSON.stringify(p),m=window.btoa(encodeURIComponent(g));d.setAttribute("data-slate-fragment",m),e.setData("application/x-slate-fragment",m);var w=l.ownerDocument.createElement("div");return w.appendChild(l),w.setAttribute("hidden","true"),l.ownerDocument.body.appendChild(w),e.setData("text/html",w.innerHTML),e.setData("text/plain",X(w)),l.ownerDocument.body.removeChild(w),e}}},t.insertData=e=>{t.insertFragmentData(e)||t.insertTextData(e)},t.insertFragmentData=e=>{var r=e.getData("application/x-slate-fragment")||(e=>{var t=e.getData("text/html"),[,r]=t.match(J)||[];return r})(e);if(r){var a=decodeURIComponent(window.atob(r)),n=JSON.parse(a);return t.insertFragment(n),!0}return!1},t.insertTextData=e=>{var r=e.getData("text/plain");if(r){var a=r.split(/\r\n|\r|\n/),n=!1;for(var o of a)n&&u.YR.splitNodes(t,{always:!0}),t.insertText(o),n=!0;return!0}return!1},t.onChange=()=>{v.unstable_batchedUpdates((()=>{var e=F.get(t);e&&e(),a()}))},t},Pt=(e,t)=>{var r=[];for(var[a,n]of u.ML.levels(e,{at:t})){var o=ve.findKey(e,a);r.push([n,o])}return r}}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d3048c20-405c7c1a8bffb46c.js b/static/web/_next/static/chunks/d3048c20-405c7c1a8bffb46c.js deleted file mode 100644 index def90e09a..000000000 --- a/static/web/_next/static/chunks/d3048c20-405c7c1a8bffb46c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1272],{77493:function(u,e,t){t.d(e,{E9:function(){return Cu},Jh:function(){return h},ML:function(){return K},NB:function(){return tu},W_:function(){return J},YR:function(){return zu},e6:function(){return fu},o4:function(){return du},xv:function(){return mu},y$:function(){return ou}});var r=t(45628),n=t(12902);function a(u,e,t){return e in u?Object.defineProperty(u,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):u[e]=t,u}var o=new WeakMap,i=new WeakMap,D=new WeakMap,s=new WeakMap,C=new WeakMap,l=new WeakMap,B=new WeakMap;function c(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function f(u){for(var e=1;e{var u={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:e=>{for(var t of K.pathRefs(u))iu.transform(t,e);for(var r of K.pointRefs(u))lu.transform(r,e);for(var n of K.rangeRefs(u))hu.transform(n,e);var a,s,C=o.get(u)||[],l=i.get(u)||new Set,B=u=>{if(u){var e=u.join(",");s.has(e)||(s.add(e),a.push(u))}};if(ou.operationCanTransformPath(e))for(var c of(a=[],s=new Set,C)){B(ou.transform(c,e))}else a=C,s=l;var f=u.getDirtyPaths(e);for(var h of f)B(h);o.set(u,a),i.set(u,s),zu.transform(u,e),u.operations.push(e),K.normalize(u),"set_selection"===e.type&&(u.marks=null),D.get(u)||(D.set(u,!0),Promise.resolve().then((()=>{D.set(u,!1),u.onChange(),u.operations=[]})))},addMark:(e,t)=>{var{selection:r}=u;if(r)if(fu.isExpanded(r))zu.setNodes(u,{[e]:t},{match:mu.isText,split:!0});else{var n=f(f({},K.marks(u)||{}),{},{[e]:t});u.marks=n,D.get(u)||u.onChange()}},deleteBackward:e=>{var{selection:t}=u;t&&fu.isCollapsed(t)&&zu.delete(u,{unit:e,reverse:!0})},deleteForward:e=>{var{selection:t}=u;t&&fu.isCollapsed(t)&&zu.delete(u,{unit:e})},deleteFragment:e=>{var{selection:t}=u;t&&fu.isExpanded(t)&&zu.delete(u,{reverse:"backward"===e})},getFragment:()=>{var{selection:e}=u;return e?tu.fragment(u,e):[]},insertBreak:()=>{zu.splitNodes(u,{always:!0})},insertSoftBreak:()=>{zu.splitNodes(u,{always:!0})},insertFragment:e=>{zu.insertFragment(u,e)},insertNode:e=>{zu.insertNodes(u,e)},insertText:e=>{var{selection:t,marks:r}=u;if(t){if(r){var n=f({text:e},r);zu.insertNodes(u,n)}else zu.insertText(u,e);u.marks=null}},normalizeNode:e=>{var[t,r]=e;if(!mu.isText(t))if(J.isElement(t)&&0===t.children.length){zu.insertNodes(u,{text:""},{at:r.concat(0),voids:!0})}else for(var n=!K.isEditor(t)&&(J.isElement(t)&&(u.isInline(t)||0===t.children.length||mu.isText(t.children[0])||u.isInline(t.children[0]))),a=0,o=0;o{var{selection:t}=u;if(t)if(fu.isExpanded(t))zu.unsetNodes(u,e,{match:mu.isText,split:!0});else{var r=f({},K.marks(u)||{});delete r[e],u.marks=r,D.get(u)||u.onChange()}},getDirtyPaths:u=>{switch(u.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=u;return ou.levels(e);case"insert_node":var{node:t,path:r}=u,n=ou.levels(r),a=mu.isText(t)?[]:Array.from(tu.nodes(t),(u=>{var[,e]=u;return r.concat(e)}));return[...n,...a];case"merge_node":var{path:o}=u;return[...ou.ancestors(o),ou.previous(o)];case"move_node":var{path:i,newPath:D}=u;if(ou.equals(i,D))return[];var s=[],C=[];for(var l of ou.ancestors(i)){var B=ou.transform(l,u);s.push(B)}for(var c of ou.ancestors(D)){var f=ou.transform(c,u);C.push(f)}var h=C[C.length-1],A=D[D.length-1],d=h.concat(A);return[...s,...C,d];case"remove_node":var{path:F}=u;return[...ou.ancestors(F)];case"split_node":var{path:v}=u;return[...ou.levels(v),ou.next(v)];default:return[]}}};return u};function A(u,e){if(null==u)return{};var t,r,n=function(u,e){if(null==u)return{};var t,r,n={},a=Object.keys(u);for(r=0;r=0||(n[t]=u[t]);return n}(u,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(u);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(u,t)&&(n[t]=u[t])}return n}var d,F=function(u){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=!e,r=e?y(u):u,n=d.None,a=d.None,o=0,i=null;for(var D of r){var s=D.codePointAt(0);if(!s)break;var C=S(D,s);if([n,a]=t?[a,C]:[C,n],q(n,d.ZWJ)&&q(a,d.ExtPict)&&!L(t?u.substring(0,o):u.substring(0,u.length-o)))break;if(q(n,d.RI)&&q(a,d.RI)&&!(i=null!==i?!i:!!t||W(u.substring(0,u.length-o))))break;if(n!==d.None&&a!==d.None&&V(n,a))break;o+=D.length}return o||1},v=/\s/,E=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,p=/['\u2018\u2019]/,g=(u,e,t)=>{if(t){var r=u.length-e;return[u.slice(r,u.length),u.slice(0,r)]}return[u.slice(0,e),u.slice(e)]},m=function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(v.test(e))return!1;if(p.test(e)){var n=F(t,r),[a,o]=g(t,n,r);if(u(a,o,r))return!0}return!E.test(e)},y=function*(u){for(var e=u.length-1,t=0;tu>=55296&&u<=56319,b=u=>u>=56320&&u<=57343;!function(u){u[u.None=0]="None",u[u.Extend=1]="Extend",u[u.ZWJ=2]="ZWJ",u[u.RI=4]="RI",u[u.Prepend=8]="Prepend",u[u.SpacingMark=16]="SpacingMark",u[u.L=32]="L",u[u.V=64]="V",u[u.T=128]="T",u[u.LV=256]="LV",u[u.LVT=512]="LVT",u[u.ExtPict=1024]="ExtPict",u[u.Any=2048]="Any"}(d||(d={}));var x=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE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\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,O=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,P=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,k=/^[\u1100-\u115F\uA960-\uA97C]$/,j=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,N=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,_=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,T=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\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uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,R=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,S=(u,e)=>{var t=d.Any;return-1!==u.search(x)&&(t|=d.Extend),8205===e&&(t|=d.ZWJ),e>=127462&&e<=127487&&(t|=d.RI),-1!==u.search(O)&&(t|=d.Prepend),-1!==u.search(P)&&(t|=d.SpacingMark),-1!==u.search(k)&&(t|=d.L),-1!==u.search(j)&&(t|=d.V),-1!==u.search(N)&&(t|=d.T),-1!==u.search(_)&&(t|=d.LV),-1!==u.search(T)&&(t|=d.LVT),-1!==u.search(R)&&(t|=d.ExtPict),t};function q(u,e){return 0!==(u&e)}var I=[[d.L,d.L|d.V|d.LV|d.LVT],[d.LV|d.V,d.V|d.T],[d.LVT|d.T,d.T],[d.Any,d.Extend|d.ZWJ],[d.Any,d.SpacingMark],[d.Prepend,d.Any],[d.ZWJ,d.ExtPict],[d.RI,d.RI]];function V(u,e){return-1===I.findIndex((t=>q(u,t[0])&&q(e,t[1])))}var z=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1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D81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,L=u=>-1!==u.search(z),M=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,W=u=>{var e=u.match(M);return null!==e&&e[0].length/2%2===1},$=u=>(0,r.P)(u)&&tu.isNodeList(u.children)&&!K.isEditor(u),J={isAncestor:u=>(0,r.P)(u)&&tu.isNodeList(u.children),isElement:$,isElementList:u=>Array.isArray(u)&&u.every((u=>J.isElement(u))),isElementProps:u=>void 0!==u.children,isElementType:function(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return $(u)&&u[t]===e},matches(u,e){for(var t in e)if("children"!==t&&u[t]!==e[t])return!1;return!0}},Z=["text"],U=["text"];function Y(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function G(u){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{voids:t=!1,mode:r="lowest",at:n=u.selection,match:a}=e;if(n){var o=K.path(u,n),i="lowest"===r;for(var[D,s]of K.levels(u,{at:o,voids:t,match:a,reverse:i}))if(!mu.isText(D)&&!ou.equals(o,s))return[D,s]}},addMark(u,e,t){u.addMark(e,t)},after(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={anchor:K.point(u,e,{edge:"end"}),focus:K.end(u,[])},{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:n}))){if(o>a)break;0!==o&&(t=i),o++}return t},before(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={anchor:K.start(u,[]),focus:K.point(u,e,{edge:"start"})},{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:n,reverse:!0}))){if(o>a)break;0!==o&&(t=i),o++}return t},deleteBackward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteBackward(t)},deleteForward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteForward(t)},deleteFragment(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:t="forward"}=e;u.deleteFragment(t)},edges:(u,e)=>[K.start(u,e),K.end(u,e)],end:(u,e)=>K.point(u,e,{edge:"end"}),first(u,e){var t=K.path(u,e,{edge:"start"});return K.node(u,t)},fragment(u,e){var t=K.range(u,e);return tu.fragment(u,t)},hasBlocks:(u,e)=>e.children.some((e=>K.isBlock(u,e))),hasInlines:(u,e)=>e.children.some((e=>mu.isText(e)||K.isInline(u,e))),hasTexts:(u,e)=>e.children.every((u=>mu.isText(u))),insertBreak(u){u.insertBreak()},insertSoftBreak(u){u.insertSoftBreak()},insertFragment(u,e){u.insertFragment(e)},insertNode(u,e){u.insertNode(e)},insertText(u,e){u.insertText(e)},isBlock:(u,e)=>J.isElement(e)&&!u.isInline(e),isEditor(u){var e=H.get(u);if(void 0!==e)return e;if(!(0,r.P)(u))return!1;var t="function"===typeof u.addMark&&"function"===typeof u.apply&&"function"===typeof u.deleteBackward&&"function"===typeof u.deleteForward&&"function"===typeof u.deleteFragment&&"function"===typeof u.insertBreak&&"function"===typeof u.insertSoftBreak&&"function"===typeof u.insertFragment&&"function"===typeof u.insertNode&&"function"===typeof u.insertText&&"function"===typeof u.isInline&&"function"===typeof u.isVoid&&"function"===typeof u.normalizeNode&&"function"===typeof u.onChange&&"function"===typeof u.removeMark&&"function"===typeof u.getDirtyPaths&&(null===u.marks||(0,r.P)(u.marks))&&(null===u.selection||fu.isRange(u.selection))&&tu.isNodeList(u.children)&&au.isOperationList(u.operations);return H.set(u,t),t},isEnd(u,e,t){var r=K.end(u,t);return Cu.equals(e,r)},isEdge:(u,e,t)=>K.isStart(u,e,t)||K.isEnd(u,e,t),isEmpty(u,e){var{children:t}=e,[r]=t;return 0===t.length||1===t.length&&mu.isText(r)&&""===r.text&&!u.isVoid(e)},isInline:(u,e)=>J.isElement(e)&&u.isInline(e),isNormalizing(u){var e=s.get(u);return void 0===e||e},isStart(u,e,t){if(0!==e.offset)return!1;var r=K.start(u,t);return Cu.equals(e,r)},isVoid:(u,e)=>J.isElement(e)&&u.isVoid(e),last(u,e){var t=K.path(u,e,{edge:"end"});return K.node(u,t)},leaf(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[tu.leaf(u,r),r]},*levels(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,reverse:r=!1,voids:n=!1}=e,{match:a}=e;if(null==a&&(a=()=>!0),t){var o=[],i=K.path(u,t);for(var[D,s]of tu.levels(u,i))if(a(D,s)&&(o.push([D,s]),!n&&K.isVoid(u,D)))break;r&&o.reverse(),yield*o}},marks(u){var{marks:e,selection:t}=u;if(!t)return null;if(e)return e;if(fu.isExpanded(t)){var[r]=K.nodes(u,{match:mu.isText});if(r){var[n]=r;return A(n,Z)}return{}}var{anchor:a}=t,{path:o}=a,[i]=K.leaf(u,o);if(0===a.offset){var D=K.previous(u,{at:o,match:mu.isText}),s=K.above(u,{match:e=>K.isBlock(u,e)});if(D&&s){var[C,l]=D,[,B]=s;ou.isAncestor(B,l)&&(i=C)}}return A(i,U)},next(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:a=u.selection}=e;if(a){var o=K.after(u,a,{voids:r});if(o){var[,i]=K.last(u,[]),D=[o.path,i];if(ou.isPath(a)&&0===a.length)throw new Error("Cannot get the next node from the root node!");if(null==n)if(ou.isPath(a)){var[s]=K.parent(u,a);n=u=>s.children.includes(u)}else n=()=>!0;var[C]=K.nodes(u,{at:D,match:n,mode:t,voids:r});return C}}},node(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[tu.get(u,r),r]},*nodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,mode:r="all",universal:n=!1,reverse:a=!1,voids:o=!1}=e,{match:i}=e;if(i||(i=()=>!0),t){var D,s;if(Q.isSpan(t))D=t[0],s=t[1];else{var C=K.path(u,t,{edge:"start"}),l=K.path(u,t,{edge:"end"});D=a?l:C,s=a?C:l}var B,c=tu.nodes(u,{reverse:a,from:D,to:s,pass:e=>{var[t]=e;return!o&&K.isVoid(u,t)}}),f=[];for(var[h,A]of c){var d=B&&0===ou.compare(A,B[1]);if("highest"!==r||!d)if(i(h,A))if("lowest"===r&&d)B=[h,A];else{var F="lowest"===r?B:[h,A];F&&(n?f.push(F):yield F),B=[h,A]}else if(n&&!d&&mu.isText(h))return}"lowest"===r&&B&&(n?f.push(B):yield B),n&&(yield*f)}},normalize(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:t=!1}=e,r=u=>o.get(u)||[],n=u=>{var e=r(u).pop(),t=e.join(",");return(u=>i.get(u)||new Set)(u).delete(t),e};if(K.isNormalizing(u)){if(t){var a=Array.from(tu.nodes(u),(u=>{var[,e]=u;return e})),D=new Set(a.map((u=>u.join(","))));o.set(u,a),i.set(u,D)}0!==r(u).length&&K.withoutNormalizing(u,(()=>{for(var e of r(u))if(tu.has(u,e)){var t=K.node(u,e),[a,o]=t;J.isElement(a)&&0===a.children.length&&u.normalizeNode(t)}for(var i=42*r(u).length,D=0;0!==r(u).length;){if(D>i)throw new Error("\n Could not completely normalize the editor after ".concat(i," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=n(u);if(tu.has(u,s)){var C=K.node(u,s);u.normalizeNode(C)}D++}}))}},parent(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t),n=ou.parent(r);return K.node(u,n)},path(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:n}=t;if(ou.isPath(e))if("start"===n){var[,a]=tu.first(u,e);e=a}else if("end"===n){var[,o]=tu.last(u,e);e=o}return fu.isRange(e)&&(e="start"===n?fu.start(e):"end"===n?fu.end(e):ou.common(e.anchor.path,e.focus.path)),Cu.isPoint(e)&&(e=e.path),null!=r&&(e=e.slice(0,r)),e},hasPath:(u,e)=>tu.has(u,e),pathRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pathRefs(u).delete(n),n.current=null,e}};return K.pathRefs(u).add(n),n},pathRefs(u){var e=C.get(u);return e||(e=new Set,C.set(u,e)),e},point(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=t;if(ou.isPath(e)){var n;if("end"===r){var[,a]=tu.last(u,e);n=a}else{var[,o]=tu.first(u,e);n=o}var i=tu.get(u,n);if(!mu.isText(i))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(e,"] because it has no ").concat(r," text node."));return{path:n,offset:"end"===r?i.text.length:0}}if(fu.isRange(e)){var[D,s]=fu.edges(e);return"start"===r?D:s}return e},pointRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pointRefs(u).delete(n),n.current=null,e}};return K.pointRefs(u).add(n),n},pointRefs(u){var e=l.get(u);return e||(e=new Set,l.set(u,e)),e},*positions(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,unit:r="offset",reverse:n=!1,voids:a=!1}=e;if(t){var o=K.range(u,t),[i,D]=fu.edges(o),s=n?D:i,C=!1,l="",B=0,c=0,f=0;for(var[h,A]of K.nodes(u,{at:t,reverse:n,voids:a})){if(J.isElement(h)){if(!a&&u.isVoid(h)){yield K.start(u,A);continue}if(u.isInline(h))continue;if(K.hasInlines(u,h)){var d=ou.isAncestor(A,D.path)?D:K.end(u,A),v=ou.isAncestor(A,i.path)?i:K.start(u,A);l=K.string(u,{anchor:v,focus:d},{voids:a}),C=!0}}if(mu.isText(h)){var E=ou.equals(A,s.path);for(E?(c=n?s.offset:h.text.length-s.offset,f=s.offset):(c=h.text.length,f=n?c:0),(E||C||"offset"===r)&&(yield{path:A,offset:f},C=!1);;){if(0===B){if(""===l)break;B=p(l,r,n),l=g(l,B,n)[1]}if(f=n?f-B:f+B,(c-=B)<0){B=-c;break}B=0,yield{path:A,offset:f}}}}}function p(u,e,t){return"character"===e?F(u,t):"word"===e?function(u){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=0,r=!1;u.length>0;){var n=F(u,e),[a,o]=g(u,n,e);if(m(a,o,e))r=!0,t+=n;else{if(r)break;t+=n}u=o}return t}(u,t):"line"===e||"block"===e?u.length:1}},previous(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:a=u.selection}=e;if(a){var o=K.before(u,a,{voids:r});if(o){var[,i]=K.first(u,[]),D=[o.path,i];if(ou.isPath(a)&&0===a.length)throw new Error("Cannot get the previous node from the root node!");if(null==n)if(ou.isPath(a)){var[s]=K.parent(u,a);n=u=>s.children.includes(u)}else n=()=>!0;var[C]=K.nodes(u,{reverse:!0,at:D,match:n,mode:t,voids:r});return C}}},range:(u,e,t)=>fu.isRange(e)&&!t?e:{anchor:K.start(u,e),focus:K.end(u,t||e)},rangeRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.rangeRefs(u).delete(n),n.current=null,e}};return K.rangeRefs(u).add(n),n},rangeRefs(u){var e=B.get(u);return e||(e=new Set,B.set(u,e)),e},removeMark(u,e){u.removeMark(e)},setNormalizing(u,e){s.set(u,e)},start:(u,e)=>K.point(u,e,{edge:"start"}),string(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,n=K.range(u,e),[a,o]=fu.edges(n),i="";for(var[D,s]of K.nodes(u,{at:n,match:mu.isText,voids:r})){var C=D.text;ou.equals(s,o.path)&&(C=C.slice(0,o.offset)),ou.equals(s,a.path)&&(C=C.slice(a.offset)),i+=C}return i},unhangRange(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,[n,a]=fu.edges(e);if(0!==n.offset||0!==a.offset||fu.isCollapsed(e))return e;var o=K.above(u,{at:a,match:e=>K.isBlock(u,e)}),i=o?o[1]:[],D={anchor:K.start(u,n),focus:a},s=!0;for(var[C,l]of K.nodes(u,{at:D,match:mu.isText,reverse:!0,voids:r}))if(s)s=!1;else if(""!==C.text||ou.isBefore(l,i)){a={path:l,offset:C.text.length};break}return{anchor:n,focus:a}},void(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return K.above(u,G(G({},e),{},{match:e=>K.isVoid(u,e)}))},withoutNormalizing(u,e){var t=K.isNormalizing(u);K.setNormalizing(u,!1);try{e()}finally{K.setNormalizing(u,t)}K.normalize(u)}},Q={isSpan:u=>Array.isArray(u)&&2===u.length&&u.every(ou.isPath)},X=["children"],uu=["text"],eu=new WeakMap,tu={ancestor(u,e){var t=tu.get(u,e);if(mu.isText(t))throw new Error("Cannot get the ancestor node at path [".concat(e,"] because it refers to a text node instead: ").concat(du.stringify(t)));return t},*ancestors(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ou.ancestors(e,t)){var n=[tu.ancestor(u,r),r];yield n}},child(u,e){if(mu.isText(u))throw new Error("Cannot get the child of a text node: ".concat(du.stringify(u)));var t=u.children[e];if(null==t)throw new Error("Cannot get child at index `".concat(e,"` in node: ").concat(du.stringify(u)));return t},*children(u,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=t,n=tu.ancestor(u,e),{children:a}=n,o=r?a.length-1:0;r?o>=0:o1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of tu.nodes(u,e))0!==r.length&&(yield[t,r])},*elements(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of tu.nodes(u,e))J.isElement(t)&&(yield[t,r])},extractProps:u=>J.isAncestor(u)?A(u,X):A(u,uu),first(u,e){for(var t=e.slice(),r=tu.get(u,t);r&&!mu.isText(r)&&0!==r.children.length;)r=r.children[0],t.push(0);return[r,t]},fragment(u,e){if(mu.isText(u))throw new Error("Cannot get a fragment starting from a root text node: ".concat(du.stringify(u)));return(0,n.Uy)({children:u.children},(u=>{var[t,r]=fu.edges(e),n=tu.nodes(u,{reverse:!0,pass:u=>{var[,t]=u;return!fu.includes(e,t)}});for(var[,a]of n){if(!fu.includes(e,a)){var o=tu.parent(u,a),i=a[a.length-1];o.children.splice(i,1)}if(ou.equals(a,r.path)){var D=tu.leaf(u,a);D.text=D.text.slice(0,r.offset)}if(ou.equals(a,t.path)){var s=tu.leaf(u,a);s.text=s.text.slice(t.offset)}}K.isEditor(u)&&(u.selection=null)})).children},get(u,e){for(var t=u,r=0;rmu.isText(u)||J.isElement(u)||K.isEditor(u),isNodeList(u){if(!Array.isArray(u))return!1;var e=eu.get(u);if(void 0!==e)return e;var t=u.every((u=>tu.isNode(u)));return eu.set(u,t),t},last(u,e){for(var t=e.slice(),r=tu.get(u,t);r&&!mu.isText(r)&&0!==r.children.length;){var n=r.children.length-1;r=r.children[n],t.push(n)}return[r,t]},leaf(u,e){var t=tu.get(u,e);if(!mu.isText(t))throw new Error("Cannot get the leaf node at path [".concat(e,"] because it refers to a non-leaf node: ").concat(du.stringify(t)));return t},*levels(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ou.levels(e,t)){var n=tu.get(u,r);yield[n,r]}},matches:(u,e)=>J.isElement(u)&&J.isElementProps(e)&&J.matches(u,e)||mu.isText(u)&&mu.isTextProps(e)&&mu.matches(u,e),*nodes(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:t,reverse:r=!1}=e,{from:n=[],to:a}=e,o=new Set,i=[],D=u;!a||!(r?ou.isBefore(i,a):ou.isAfter(i,a));)if(o.has(D)||(yield[D,i]),o.has(D)||mu.isText(D)||0===D.children.length||null!=t&&!1!==t([D,i])){if(0===i.length)break;if(!r){var s=ou.next(i);if(tu.has(u,s)){i=s,D=tu.get(u,i);continue}}if(r&&0!==i[i.length-1])i=ou.previous(i),D=tu.get(u,i);else i=ou.parent(i),D=tu.get(u,i),o.add(D)}else{o.add(D);var C=r?D.children.length-1:0;ou.isAncestor(i,n)&&(C=n[i.length]),i=i.concat(C),D=tu.get(u,i)}},parent(u,e){var t=ou.parent(e),r=tu.get(u,t);if(mu.isText(r))throw new Error("Cannot get the parent of path [".concat(e,"] because it does not exist in the root."));return r},string:u=>mu.isText(u)?u.text:u.children.map(tu.string).join(""),*texts(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of tu.nodes(u,e))mu.isText(t)&&(yield[t,r])}};function ru(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function nu(u){for(var e=1;eau.isOperation(u)&&u.type.endsWith("_node"),isOperation(u){if(!(0,r.P)(u))return!1;switch(u.type){case"insert_node":case"remove_node":return ou.isPath(u.path)&&tu.isNode(u.node);case"insert_text":case"remove_text":return"number"===typeof u.offset&&"string"===typeof u.text&&ou.isPath(u.path);case"merge_node":return"number"===typeof u.position&&ou.isPath(u.path)&&(0,r.P)(u.properties);case"move_node":return ou.isPath(u.path)&&ou.isPath(u.newPath);case"set_node":return ou.isPath(u.path)&&(0,r.P)(u.properties)&&(0,r.P)(u.newProperties);case"set_selection":return null===u.properties&&fu.isRange(u.newProperties)||null===u.newProperties&&fu.isRange(u.properties)||(0,r.P)(u.properties)&&(0,r.P)(u.newProperties);case"split_node":return ou.isPath(u.path)&&"number"===typeof u.position&&(0,r.P)(u.properties);default:return!1}},isOperationList:u=>Array.isArray(u)&&u.every((u=>au.isOperation(u))),isSelectionOperation:u=>au.isOperation(u)&&u.type.endsWith("_selection"),isTextOperation:u=>au.isOperation(u)&&u.type.endsWith("_text"),inverse(u){switch(u.type){case"insert_node":return nu(nu({},u),{},{type:"remove_node"});case"insert_text":return nu(nu({},u),{},{type:"remove_text"});case"merge_node":return nu(nu({},u),{},{type:"split_node",path:ou.previous(u.path)});case"move_node":var{newPath:e,path:t}=u;if(ou.equals(e,t))return u;if(ou.isSibling(t,e))return nu(nu({},u),{},{path:e,newPath:t});var r=ou.transform(t,u),n=ou.transform(ou.next(t),u);return nu(nu({},u),{},{path:r,newPath:n});case"remove_node":return nu(nu({},u),{},{type:"insert_node"});case"remove_text":return nu(nu({},u),{},{type:"insert_text"});case"set_node":var{properties:a,newProperties:o}=u;return nu(nu({},u),{},{properties:o,newProperties:a});case"set_selection":var{properties:i,newProperties:D}=u;return nu(nu({},u),{},null==i?{properties:D,newProperties:null}:null==D?{properties:null,newProperties:i}:{properties:D,newProperties:i});case"split_node":return nu(nu({},u),{},{type:"merge_node",path:ou.next(u.path)})}}},ou={ancestors(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=ou.levels(u,e);return r=t?r.slice(1):r.slice(0,-1)},common(u,e){for(var t=[],r=0;re[r])return 1}return 0},endsAfter(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),a=u[t],o=e[t];return ou.equals(r,n)&&a>o},endsAt(u,e){var t=u.length,r=u.slice(0,t),n=e.slice(0,t);return ou.equals(r,n)},endsBefore(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),a=u[t],o=e[t];return ou.equals(r,n)&&au.length===e.length&&u.every(((u,t)=>u===e[t])),hasPrevious:u=>u[u.length-1]>0,isAfter:(u,e)=>1===ou.compare(u,e),isAncestor:(u,e)=>u.length-1===ou.compare(u,e),isChild:(u,e)=>u.length===e.length+1&&0===ou.compare(u,e),isCommon:(u,e)=>u.length<=e.length&&0===ou.compare(u,e),isDescendant:(u,e)=>u.length>e.length&&0===ou.compare(u,e),isParent:(u,e)=>u.length+1===e.length&&0===ou.compare(u,e),isPath:u=>Array.isArray(u)&&(0===u.length||"number"===typeof u[0]),isSibling(u,e){if(u.length!==e.length)return!1;var t=u.slice(0,-1),r=e.slice(0,-1);return u[u.length-1]!==e[e.length-1]&&ou.equals(t,r)},levels(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=[],n=0;n<=u.length;n++)r.push(u.slice(0,n));return t&&r.reverse(),r},next(u){if(0===u.length)throw new Error("Cannot get the next path of a root path [".concat(u,"], because it has no next index."));var e=u[u.length-1];return u.slice(0,-1).concat(e+1)},operationCanTransformPath(u){switch(u.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(u){if(0===u.length)throw new Error("Cannot get the parent path of the root path [".concat(u,"]."));return u.slice(0,-1)},previous(u){if(0===u.length)throw new Error("Cannot get the previous path of a root path [".concat(u,"], because it has no previous index."));var e=u[u.length-1];if(e<=0)throw new Error("Cannot get the previous path of a first child path [".concat(u,"] because it would result in a negative index."));return u.slice(0,-1).concat(e-1)},relative(u,e){if(!ou.isAncestor(e,u)&&!ou.equals(u,e))throw new Error("Cannot get the relative path of [".concat(u,"] inside ancestor [").concat(e,"], because it is not above or equal to the path."));return u.slice(e.length)},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!u)return null;var r=[...u],{affinity:n="forward"}=t;if(0===u.length)return r;switch(e.type){case"insert_node":var{path:a}=e;(ou.equals(a,r)||ou.endsBefore(a,r)||ou.isAncestor(a,r))&&(r[a.length-1]+=1);break;case"remove_node":var{path:o}=e;if(ou.equals(o,r)||ou.isAncestor(o,r))return null;ou.endsBefore(o,r)&&(r[o.length-1]-=1);break;case"merge_node":var{path:i,position:D}=e;ou.equals(i,r)||ou.endsBefore(i,r)?r[i.length-1]-=1:ou.isAncestor(i,r)&&(r[i.length-1]-=1,r[i.length]+=D);break;case"split_node":var{path:s,position:C}=e;if(ou.equals(s,r)){if("forward"===n)r[r.length-1]+=1;else if("backward"!==n)return null}else ou.endsBefore(s,r)?r[s.length-1]+=1:ou.isAncestor(s,r)&&u[s.length]>=C&&(r[s.length-1]+=1,r[s.length]-=C);break;case"move_node":var{path:l,newPath:B}=e;if(ou.equals(l,B))return r;if(ou.isAncestor(l,r)||ou.equals(l,r)){var c=B.slice();return ou.endsBefore(l,B)&&l.lengthe.offset?1:0:t},isAfter:(u,e)=>1===Cu.compare(u,e),isBefore:(u,e)=>-1===Cu.compare(u,e),equals:(u,e)=>u.offset===e.offset&&ou.equals(u.path,e.path),isPoint:u=>(0,r.P)(u)&&"number"===typeof u.offset&&ou.isPath(u.path),transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,n.Uy)(u,(u=>{if(null===u)return null;var{affinity:r="forward"}=t,{path:n,offset:a}=u;switch(e.type){case"insert_node":case"move_node":u.path=ou.transform(n,e,t);break;case"insert_text":ou.equals(e.path,n)&&(e.offset1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,{anchor:r,focus:n}=u;return fu.isBackward(u)===t?[r,n]:[n,r]},end(u){var[,e]=fu.edges(u);return e},equals:(u,e)=>Cu.equals(u.anchor,e.anchor)&&Cu.equals(u.focus,e.focus),includes(u,e){if(fu.isRange(e)){if(fu.includes(u,e.anchor)||fu.includes(u,e.focus))return!0;var[t,r]=fu.edges(u),[n,a]=fu.edges(e);return Cu.isBefore(t,n)&&Cu.isAfter(r,a)}var[o,i]=fu.edges(u),D=!1,s=!1;return Cu.isPoint(e)?(D=Cu.compare(e,o)>=0,s=Cu.compare(e,i)<=0):(D=ou.compare(e,o.path)>=0,s=ou.compare(e,i.path)<=0),D&&s},intersection(u,e){var t=A(u,Bu),[r,n]=fu.edges(u),[o,i]=fu.edges(e),D=Cu.isBefore(r,o)?o:r,s=Cu.isBefore(n,i)?n:i;return Cu.isBefore(s,D)?null:function(u){for(var e=1;e!fu.isCollapsed(u),isForward:u=>!fu.isBackward(u),isRange:u=>(0,r.P)(u)&&Cu.isPoint(u.anchor)&&Cu.isPoint(u.focus),*points(u){yield[u.anchor,"anchor"],yield[u.focus,"focus"]},start(u){var[e]=fu.edges(u);return e},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,n.Uy)(u,(u=>{if(null===u)return null;var r,n,{affinity:a="inward"}=t;if("inward"===a){var o=fu.isCollapsed(u);fu.isForward(u)?(r="forward",n=o?r:"backward"):(r="backward",n=o?r:"forward")}else"outward"===a?fu.isForward(u)?(r="backward",n="forward"):(r="forward",n="backward"):(r=a,n=a);var i=Cu.transform(u.anchor,e,{affinity:r}),D=Cu.transform(u.focus,e,{affinity:n});if(!i||!D)return null;u.anchor=i,u.focus=D}))}},hu={transform(u,e){var{current:t,affinity:r}=u;if(null!=t){var n=fu.transform(t,e,{affinity:r});u.current=n,null==n&&u.unref()}}},Au=void 0,du={setScrubber(u){Au=u},stringify:u=>JSON.stringify(u,Au)},Fu=(u,e)=>{for(var t in u){var n=u[t],a=e[t];if((0,r.P)(n)&&(0,r.P)(a)){if(!Fu(n,a))return!1}else if(Array.isArray(n)&&Array.isArray(a)){if(n.length!==a.length)return!1;for(var o=0;o2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=t;function n(u){return A(u,vu)}return Fu(r?n(u):u,r?n(e):e)},isText:u=>(0,r.P)(u)&&"string"===typeof u.text,isTextList:u=>Array.isArray(u)&&u.every((u=>mu.isText(u))),isTextProps:u=>void 0!==u.text,matches(u,e){for(var t in e)if("text"!==t&&(!u.hasOwnProperty(t)||u[t]!==e[t]))return!1;return!0},decorations(u,e){var t=[gu({},u)];for(var r of e){var n=A(r,Eu),[a,o]=fu.edges(r),i=[],D=0,s=a.offset,C=o.offset;for(var l of t){var{length:B}=l.text,c=D;if(D+=B,s<=c&&D<=C)Object.assign(l,n),i.push(l);else if(s!==C&&(s===D||C===c)||s>D||Cc){var v=s-c;h=gu(gu({},f),{},{text:f.text.slice(0,v)}),f=gu(gu({},f),{},{text:f.text.slice(v)})}Object.assign(f,n),h&&i.push(h),i.push(f),d&&i.push(d)}}t=i}return t}};function yu(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function wu(u){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,(()=>{var{hanging:r=!1,voids:n=!1,mode:a="lowest"}=t,{at:o,match:i,select:D}=t;if(tu.isNode(e)&&(e=[e]),0!==e.length){var[s]=e;if(o||(o=u.selection?u.selection:u.children.length>0?K.end(u,[]):[0],D=!0),null==D&&(D=!1),fu.isRange(o))if(r||(o=K.unhangRange(u,o)),fu.isCollapsed(o))o=o.anchor;else{var[,C]=fu.edges(o),l=K.pointRef(u,C);zu.delete(u,{at:o}),o=l.unref()}if(Cu.isPoint(o)){null==i&&(i=mu.isText(s)?u=>mu.isText(u):u.isInline(s)?e=>mu.isText(e)||K.isInline(u,e):e=>K.isBlock(u,e));var[B]=K.nodes(u,{at:o.path,match:i,mode:a,voids:n});if(!B)return;var[,c]=B,f=K.pathRef(u,c),h=K.isEnd(u,o,c);zu.splitNodes(u,{at:o,match:i,mode:a,voids:n});var A=f.unref();o=h?ou.next(A):A}var d=ou.parent(o),F=o[o.length-1];if(n||!K.void(u,{at:d})){for(var v of e){var E=d.concat(F);F++,u.apply({type:"insert_node",path:E,node:v}),o=ou.next(o)}if(o=ou.previous(o),D){var p=K.end(u,o);p&&zu.select(u,p)}}}}))},liftNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{at:t=u.selection,mode:r="lowest",voids:n=!1}=e,{match:a}=e;if(null==a&&(a=ou.isPath(t)?_u(u,t):e=>K.isBlock(u,e)),t){var o=K.nodes(u,{at:t,match:a,mode:r,voids:n}),i=Array.from(o,(e=>{var[,t]=e;return K.pathRef(u,t)}));for(var D of i){var s=D.unref();if(s.length<2)throw new Error("Cannot lift node at a path [".concat(s,"] because it has a depth of less than `2`."));var C=K.node(u,ou.parent(s)),[l,B]=C,c=s[s.length-1],{length:f}=l.children;if(1===f){var h=ou.next(B);zu.moveNodes(u,{at:s,to:h,voids:n}),zu.removeNodes(u,{at:B,voids:n})}else if(0===c)zu.moveNodes(u,{at:s,to:B,voids:n});else if(c===f-1){var A=ou.next(B);zu.moveNodes(u,{at:s,to:A,voids:n})}else{var d=ou.next(s),F=ou.next(B);zu.splitNodes(u,{at:d,voids:n}),zu.moveNodes(u,{at:s,to:F,voids:n})}}}}))},mergeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{match:t,at:r=u.selection}=e,{hanging:n=!1,voids:a=!1,mode:o="lowest"}=e;if(r){if(null==t)if(ou.isPath(r)){var[i]=K.parent(u,r);t=u=>i.children.includes(u)}else t=e=>K.isBlock(u,e);if(!n&&fu.isRange(r)&&(r=K.unhangRange(u,r)),fu.isRange(r))if(fu.isCollapsed(r))r=r.anchor;else{var[,D]=fu.edges(r),s=K.pointRef(u,D);zu.delete(u,{at:r}),r=s.unref(),null==e.at&&zu.select(u,r)}var[C]=K.nodes(u,{at:r,match:t,voids:a,mode:o}),l=K.previous(u,{at:r,match:t,voids:a,mode:o});if(C&&l){var[B,c]=C,[f,h]=l;if(0!==c.length&&0!==h.length){var d,F,v=ou.next(h),E=ou.common(c,h),p=ou.isSibling(c,h),g=Array.from(K.levels(u,{at:c}),(u=>{var[e]=u;return e})).slice(E.length).slice(0,-1),m=K.above(u,{at:c,mode:"highest",match:e=>g.includes(e)&&ju(u,e)}),y=m&&K.pathRef(u,m[1]);if(mu.isText(B)&&mu.isText(f)){var w=A(B,bu);F=f.text.length,d=w}else{if(!J.isElement(B)||!J.isElement(f))throw new Error("Cannot merge the node at path [".concat(c,"] with the previous sibling because it is not the same kind: ").concat(du.stringify(B)," ").concat(du.stringify(f)));w=A(B,xu);F=f.children.length,d=w}p||zu.moveNodes(u,{at:c,to:v,voids:a}),y&&zu.removeNodes(u,{at:y.current,voids:a}),J.isElement(f)&&K.isEmpty(u,f)||mu.isText(f)&&""===f.text&&0!==h[h.length-1]?zu.removeNodes(u,{at:h,voids:a}):u.apply({type:"merge_node",path:v,position:F,properties:d}),y&&y.unref()}}}}))},moveNodes(u,e){K.withoutNormalizing(u,(()=>{var{to:t,at:r=u.selection,mode:n="lowest",voids:a=!1}=e,{match:o}=e;if(r){null==o&&(o=ou.isPath(r)?_u(u,r):e=>K.isBlock(u,e));var i=K.pathRef(u,t),D=K.nodes(u,{at:r,match:o,mode:n,voids:a}),s=Array.from(D,(e=>{var[,t]=e;return K.pathRef(u,t)}));for(var C of s){var l=C.unref(),B=i.current;0!==l.length&&u.apply({type:"move_node",path:l,newPath:B}),i.current&&ou.isSibling(B,l)&&ou.isAfter(B,l)&&(i.current=ou.next(i.current))}i.unref()}}))},removeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{hanging:t=!1,voids:r=!1,mode:n="lowest"}=e,{at:a=u.selection,match:o}=e;if(a){null==o&&(o=ou.isPath(a)?_u(u,a):e=>K.isBlock(u,e)),!t&&fu.isRange(a)&&(a=K.unhangRange(u,a));var i=K.nodes(u,{at:a,match:o,mode:n,voids:r}),D=Array.from(i,(e=>{var[,t]=e;return K.pathRef(u,t)}));for(var s of D){var C=s.unref();if(C){var[l]=K.node(u,C);u.apply({type:"remove_node",path:C,node:l})}}}}))},setNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,(()=>{var{match:r,at:n=u.selection,compare:a,merge:o}=t,{hanging:i=!1,mode:D="lowest",split:s=!1,voids:C=!1}=t;if(n){if(null==r&&(r=ou.isPath(n)?_u(u,n):e=>K.isBlock(u,e)),!i&&fu.isRange(n)&&(n=K.unhangRange(u,n)),s&&fu.isRange(n)){if(fu.isCollapsed(n)&&K.leaf(u,n.anchor)[0].text.length>0)return;var l=K.rangeRef(u,n,{affinity:"inward"}),[B,c]=fu.edges(n),f="lowest"===D?"lowest":"highest",h=K.isEnd(u,c,c.path);zu.splitNodes(u,{at:c,match:r,mode:f,voids:C,always:!h});var A=K.isStart(u,B,B.path);zu.splitNodes(u,{at:B,match:r,mode:f,voids:C,always:!A}),n=l.unref(),null==t.at&&zu.select(u,n)}for(var[d,F]of(a||(a=(u,e)=>u!==e),K.nodes(u,{at:n,match:r,mode:D,voids:C}))){var v={},E={};if(0!==F.length){var p=!1;for(var g in e)"children"!==g&&"text"!==g&&a(e[g],d[g])&&(p=!0,d.hasOwnProperty(g)&&(v[g]=d[g]),o?null!=e[g]&&(E[g]=o(d[g],e[g])):null!=e[g]&&(E[g]=e[g]));p&&u.apply({type:"set_node",path:F,properties:v,newProperties:E})}}}}))},splitNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{mode:t="lowest",voids:r=!1}=e,{match:n,at:a=u.selection,height:o=0,always:i=!1}=e;if(null==n&&(n=e=>K.isBlock(u,e)),fu.isRange(a)&&(a=Nu(u,a)),ou.isPath(a)){var D=a,s=K.point(u,D),[C]=K.parent(u,D);n=u=>u===C,o=s.path.length-D.length+1,a=s,i=!0}if(a){var l,B=K.pointRef(u,a,{affinity:"backward"});try{var[c]=K.nodes(u,{at:a,match:n,mode:t,voids:r});if(!c)return;var f=K.void(u,{at:a,mode:"highest"});if(!r&&f){var[h,A]=f;if(J.isElement(h)&&u.isInline(h)){var d=K.after(u,A);if(!d){var F=ou.next(A);zu.insertNodes(u,{text:""},{at:F,voids:r}),d=K.point(u,F)}a=d,i=!0}o=a.path.length-A.length+1,i=!0}l=K.pointRef(u,a);var v=a.path.length-o,[,E]=c,p=a.path.slice(0,v),g=0===o?a.offset:a.path[v]+0;for(var[m,y]of K.levels(u,{at:p,reverse:!0,voids:r})){var w=!1;if(y.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(e)||(e=[e]);var r={};for(var n of e)r[n]=null;zu.setNodes(u,r,t)},unwrapNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{mode:t="lowest",split:r=!1,voids:n=!1}=e,{at:a=u.selection,match:o}=e;if(a){null==o&&(o=ou.isPath(a)?_u(u,a):e=>K.isBlock(u,e)),ou.isPath(a)&&(a=K.range(u,a));var i=fu.isRange(a)?K.rangeRef(u,a):null,D=K.nodes(u,{at:a,match:o,mode:t,voids:n}),s=Array.from(D,(e=>{var[,t]=e;return K.pathRef(u,t)})).reverse(),C=function(e){var t=e.unref(),[a]=K.node(u,t),o=K.range(u,t);r&&i&&(o=fu.intersection(i.current,o)),zu.liftNodes(u,{at:o,match:u=>J.isAncestor(a)&&a.children.includes(u),voids:n})};for(var l of s)C(l);i&&i.unref()}}))},wrapNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,(()=>{var{mode:r="lowest",split:n=!1,voids:a=!1}=t,{match:o,at:i=u.selection}=t;if(i){if(null==o&&(o=ou.isPath(i)?_u(u,i):u.isInline(e)?e=>K.isInline(u,e)||mu.isText(e):e=>K.isBlock(u,e)),n&&fu.isRange(i)){var[D,s]=fu.edges(i),C=K.rangeRef(u,i,{affinity:"inward"});zu.splitNodes(u,{at:s,match:o,voids:a}),zu.splitNodes(u,{at:D,match:o,voids:a}),i=C.unref(),null==t.at&&zu.select(u,i)}var l=Array.from(K.nodes(u,{at:i,match:u.isInline(e)?e=>K.isBlock(u,e):u=>K.isEditor(u),mode:"lowest",voids:a}));for(var[,B]of l){var c=fu.isRange(i)?fu.intersection(i,K.range(u,B)):i;if(c){var f=Array.from(K.nodes(u,{at:c,match:o,mode:r,voids:a}));if(f.length>0)if("continue"===function(){var[t]=f,r=f[f.length-1],[,n]=t,[,o]=r;if(0===n.length&&0===o.length)return"continue";var i=ou.equals(n,o)?ou.parent(n):ou.common(n,o),D=K.range(u,n,o),s=K.node(u,i),[C]=s,l=i.length+1,B=ou.next(o.slice(0,l)),c=Pu(Pu({},e),{},{children:[]});zu.insertNodes(u,c,{at:B,voids:a}),zu.moveNodes(u,{at:D,match:u=>J.isAncestor(C)&&C.children.includes(u),to:B.concat(0),voids:a})}())continue}}}}))}},ju=(u,e)=>{if(J.isElement(e)){var t=e;return!!K.isVoid(u,e)||1===t.children.length&&ju(u,t.children[0])}return!K.isEditor(e)},Nu=(u,e)=>{if(fu.isCollapsed(e))return e.anchor;var[,t]=fu.edges(e),r=K.pointRef(u,t);return zu.delete(u,{at:e}),r.unref()},_u=(u,e)=>{var[t]=K.node(u,e);return u=>u===t};function Tu(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function Ru(u){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{edge:t="anchor"}=e,{selection:r}=u;if(r)if("anchor"===t)zu.select(u,r.anchor);else if("focus"===t)zu.select(u,r.focus);else if("start"===t){var[n]=fu.edges(r);zu.select(u,n)}else if("end"===t){var[,a]=fu.edges(r);zu.select(u,a)}},deselect(u){var{selection:e}=u;e&&u.apply({type:"set_selection",properties:e,newProperties:null})},move(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:t}=u,{distance:r=1,unit:n="character",reverse:a=!1}=e,{edge:o=null}=e;if(t){"start"===o&&(o=fu.isBackward(t)?"focus":"anchor"),"end"===o&&(o=fu.isBackward(t)?"anchor":"focus");var{anchor:i,focus:D}=t,s={distance:r,unit:n},C={};if(null==o||"anchor"===o){var l=a?K.before(u,i,s):K.after(u,i,s);l&&(C.anchor=l)}if(null==o||"focus"===o){var B=a?K.before(u,D,s):K.after(u,D,s);B&&(C.focus=B)}zu.setSelection(u,C)}},select(u,e){var{selection:t}=u;if(e=K.range(u,e),t)zu.setSelection(u,e);else{if(!fu.isRange(e))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(du.stringify(e)));u.apply({type:"set_selection",properties:t,newProperties:e})}},setPoint(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=u,{edge:n="both"}=t;if(r){"start"===n&&(n=fu.isBackward(r)?"focus":"anchor"),"end"===n&&(n=fu.isBackward(r)?"anchor":"focus");var{anchor:a,focus:o}=r,i="anchor"===n?a:o;zu.setSelection(u,{["anchor"===n?"anchor":"focus"]:Ru(Ru({},i),e)})}},setSelection(u,e){var{selection:t}=u,r={},n={};if(t){for(var a in e)("anchor"===a&&null!=e.anchor&&!Cu.equals(e.anchor,t.anchor)||"focus"===a&&null!=e.focus&&!Cu.equals(e.focus,t.focus)||"anchor"!==a&&"focus"!==a&&e[a]!==t[a])&&(r[a]=t[a],n[a]=e[a]);Object.keys(r).length>0&&u.apply({type:"set_selection",properties:r,newProperties:n})}}},qu={delete(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,(()=>{var{reverse:t=!1,unit:r="character",distance:n=1,voids:a=!1}=e,{at:o=u.selection,hanging:i=!1}=e;if(o){var D=!1;if(fu.isRange(o)&&fu.isCollapsed(o)&&(D=!0,o=o.anchor),Cu.isPoint(o)){var s=K.void(u,{at:o,mode:"highest"});if(!a&&s){var[,C]=s;o=C}else{var l={unit:r,distance:n};o={anchor:o,focus:t?K.before(u,o,l)||K.start(u,[]):K.after(u,o,l)||K.end(u,[])},i=!0}}if(ou.isPath(o))zu.removeNodes(u,{at:o,voids:a});else if(!fu.isCollapsed(o)){if(!i){var[,B]=fu.edges(o),c=K.end(u,[]);Cu.equals(B,c)||(o=K.unhangRange(u,o,{voids:a}))}var[f,h]=fu.edges(o),A=K.above(u,{match:e=>K.isBlock(u,e),at:f,voids:a}),d=K.above(u,{match:e=>K.isBlock(u,e),at:h,voids:a}),F=A&&d&&!ou.equals(A[1],d[1]),v=ou.equals(f.path,h.path),E=a?null:K.void(u,{at:f,mode:"highest"}),p=a?null:K.void(u,{at:h,mode:"highest"});if(E){var g=K.before(u,f);g&&A&&ou.isAncestor(A[1],g.path)&&(f=g)}if(p){var m=K.after(u,h);m&&d&&ou.isAncestor(d[1],m.path)&&(h=m)}var y,w=[];for(var b of K.nodes(u,{at:o,voids:a})){var[x,O]=b;y&&0===ou.compare(O,y)||(!a&&K.isVoid(u,x)||!ou.isCommon(O,f.path)&&!ou.isCommon(O,h.path))&&(w.push(b),y=O)}var P=Array.from(w,(e=>{var[,t]=e;return K.pathRef(u,t)})),k=K.pointRef(u,f),j=K.pointRef(u,h),N="";if(!v&&!E){var _=k.current,[T]=K.leaf(u,_),{path:R}=_,{offset:S}=f,q=T.text.slice(S);q.length>0&&(u.apply({type:"remove_text",path:R,offset:S,text:q}),N=q)}if(P.reverse().map((u=>u.unref())).filter((u=>null!==u)).forEach((e=>zu.removeNodes(u,{at:e,voids:a}))),!p){var I=j.current,[V]=K.leaf(u,I),{path:z}=I,L=v?f.offset:0,M=V.text.slice(L,h.offset);M.length>0&&(u.apply({type:"remove_text",path:z,offset:L,text:M}),N=M)}!v&&F&&j.current&&k.current&&zu.mergeNodes(u,{at:j.current,hanging:!0,voids:a}),D&&t&&"character"===r&&N.length>1&&N.match(/[\u0E00-\u0E7F]+/)&&zu.insertText(u,N.slice(0,N.length-n));var W=k.unref(),$=j.unref(),J=t?W||$:$||W;null==e.at&&J&&zu.select(u,J)}}}))},insertFragment(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,(()=>{var{hanging:r=!1,voids:n=!1}=t,{at:a=u.selection}=t;if(e.length&&a){if(fu.isRange(a))if(r||(a=K.unhangRange(u,a)),fu.isCollapsed(a))a=a.anchor;else{var[,o]=fu.edges(a);if(!n&&K.void(u,{at:o}))return;var i=K.pointRef(u,o);zu.delete(u,{at:a}),a=i.unref()}else ou.isPath(a)&&(a=K.start(u,a));if(n||!K.void(u,{at:a})){var D=K.above(u,{at:a,match:e=>K.isInline(u,e),mode:"highest",voids:n});if(D){var[,s]=D;if(K.isEnd(u,a,s))a=K.after(u,s);else if(K.isStart(u,a,s)){a=K.before(u,s)}}var C=K.above(u,{match:e=>K.isBlock(u,e),at:a,voids:n}),[,l]=C,B=K.isStart(u,a,l),c=K.isEnd(u,a,l),f=B&&c,h=!B||B&&c,A=!c,[,d]=tu.first({children:e},[]),[,F]=tu.last({children:e},[]),v=[],E=e=>{var[t,r]=e;return!(0===r.length)&&(!!f||!(h&&ou.isAncestor(r,d)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t))&&!(A&&ou.isAncestor(r,F)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)))};for(var p of tu.nodes({children:e},{pass:E}))E(p)&&v.push(p);var g=[],m=[],y=[],w=!0,b=!1;for(var[x]of v)J.isElement(x)&&!u.isInline(x)?(w=!1,b=!0,m.push(x)):w?g.push(x):y.push(x);var[O]=K.nodes(u,{at:a,match:e=>mu.isText(e)||K.isInline(u,e),mode:"highest",voids:n}),[,P]=O,k=K.isStart(u,a,P),j=K.isEnd(u,a,P),N=K.pathRef(u,c&&!y.length?ou.next(l):l),_=K.pathRef(u,j?ou.next(P):P);zu.splitNodes(u,{at:a,match:e=>b?K.isBlock(u,e):mu.isText(e)||K.isInline(u,e),mode:b?"lowest":"highest",always:b&&(!B||g.length>0)&&(!c||y.length>0),voids:n});var T,R=K.pathRef(u,!k||k&&j?ou.next(P):P);if(zu.insertNodes(u,g,{at:R.current,match:e=>mu.isText(e)||K.isInline(u,e),mode:"highest",voids:n}),f&&!g.length&&m.length&&!y.length&&zu.delete(u,{at:l,voids:n}),zu.insertNodes(u,m,{at:N.current,match:e=>K.isBlock(u,e),mode:"lowest",voids:n}),zu.insertNodes(u,y,{at:_.current,match:e=>mu.isText(e)||K.isInline(u,e),mode:"highest",voids:n}),!t.at)if(y.length>0&&_.current?T=ou.previous(_.current):m.length>0&&N.current?T=ou.previous(N.current):R.current&&(T=ou.previous(R.current)),T){var S=K.end(u,T);zu.select(u,S)}R.unref(),N.unref(),_.unref()}}}))},insertText(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,(()=>{var{voids:r=!1}=t,{at:n=u.selection}=t;if(n){if(ou.isPath(n)&&(n=K.range(u,n)),fu.isRange(n))if(fu.isCollapsed(n))n=n.anchor;else{var a=fu.end(n);if(!r&&K.void(u,{at:a}))return;var o=fu.start(n),i=K.pointRef(u,o),D=K.pointRef(u,a);zu.delete(u,{at:n,voids:r});var s=i.unref(),C=D.unref();n=s||C,zu.setSelection(u,{anchor:n,focus:n})}if(r||!K.void(u,{at:n})){var{path:l,offset:B}=n;e.length>0&&u.apply({type:"insert_text",path:l,offset:B,text:e})}}}))}};function Iu(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable}))),t.push.apply(t,r)}return t}function Vu(u){for(var e=1;e{switch(t.type){case"insert_node":var{path:r,node:n}=t,a=tu.parent(u,r),o=r[r.length-1];if(o>a.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(a.children.splice(o,0,n),e)for(var[i,D]of fu.points(e))e[D]=Cu.transform(i,t);break;case"insert_text":var{path:s,offset:C,text:l}=t;if(0===l.length)break;var B=tu.leaf(u,s),c=B.text.slice(0,C),f=B.text.slice(C);if(B.text=c+l+f,e)for(var[h,A]of fu.points(e))e[A]=Cu.transform(h,t);break;case"merge_node":var{path:d}=t,F=tu.get(u,d),v=ou.previous(d),E=tu.get(u,v),p=tu.parent(u,d),g=d[d.length-1];if(mu.isText(F)&&mu.isText(E))E.text+=F.text;else{if(mu.isText(F)||mu.isText(E))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(d,"] to nodes of different interfaces: ").concat(du.stringify(F)," ").concat(du.stringify(E)));E.children.push(...F.children)}if(p.children.splice(g,1),e)for(var[m,y]of fu.points(e))e[y]=Cu.transform(m,t);break;case"move_node":var{path:w,newPath:b}=t;if(ou.isAncestor(w,b))throw new Error("Cannot move a path [".concat(w,"] to new path [").concat(b,"] because the destination is inside itself."));var x=tu.get(u,w),O=tu.parent(u,w),P=w[w.length-1];O.children.splice(P,1);var k=ou.transform(w,t),j=tu.get(u,ou.parent(k)),N=k[k.length-1];if(j.children.splice(N,0,x),e)for(var[_,T]of fu.points(e))e[T]=Cu.transform(_,t);break;case"remove_node":var{path:R}=t,S=R[R.length-1];if(tu.parent(u,R).children.splice(S,1),e)for(var[q,I]of fu.points(e)){var V=Cu.transform(q,t);if(null!=e&&null!=V)e[I]=V;else{var z=void 0,L=void 0;for(var[M,W]of tu.texts(u)){if(-1!==ou.compare(W,R)){L=[M,W];break}z=[M,W]}var $=!1;z&&L&&($=ou.equals(L[1],R)?!ou.hasPrevious(L[1]):ou.common(z[1],R).length{var u={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange(){},apply(e){for(var t of K.pathRefs(u))uo.transform(t,e);for(var r of K.pointRefs(u))uB.transform(r,e);for(var n of K.rangeRefs(u))uA.transform(n,e);var D,a,o=i.get(u)||[],B=s.get(u)||new Set,l=u=>{if(u){var e=u.join(",");a.has(e)||(a.add(e),D.push(u))}};if(ua.operationCanTransformPath(e))for(var c of(D=[],a=new Set,o))l(ua.transform(c,e));else D=o,a=B;var f=u.getDirtyPaths(e);for(var A of f)l(A);i.set(u,D),s.set(u,a),uI.transform(u,e),u.operations.push(e),K.normalize(u),"set_selection"===e.type&&(u.marks=null),C.get(u)||(C.set(u,!0),Promise.resolve().then(()=>{C.set(u,!1),u.onChange(),u.operations=[]}))},addMark(e,t){var{selection:r}=u;if(r){if(uf.isExpanded(r))uI.setNodes(u,{[e]:t},{match:um.isText,split:!0});else{var n=h(h({},K.marks(u)||{}),{},{[e]:t});u.marks=n,C.get(u)||u.onChange()}}},deleteBackward(e){var{selection:t}=u;t&&uf.isCollapsed(t)&&uI.delete(u,{unit:e,reverse:!0})},deleteForward(e){var{selection:t}=u;t&&uf.isCollapsed(t)&&uI.delete(u,{unit:e})},deleteFragment(e){var{selection:t}=u;t&&uf.isExpanded(t)&&uI.delete(u,{reverse:"backward"===e})},getFragment(){var{selection:e}=u;return e?ut.fragment(u,e):[]},insertBreak(){uI.splitNodes(u,{always:!0})},insertSoftBreak(){uI.splitNodes(u,{always:!0})},insertFragment(e){uI.insertFragment(u,e)},insertNode(e){uI.insertNodes(u,e)},insertText(e){var{selection:t,marks:r}=u;if(t){if(r){var n=h({text:e},r);uI.insertNodes(u,n)}else uI.insertText(u,e);u.marks=null}},normalizeNode(e){var[t,r]=e;if(!um.isText(t)){if(J.isElement(t)&&0===t.children.length){uI.insertNodes(u,{text:""},{at:r.concat(0),voids:!0});return}for(var n=!K.isEditor(t)&&J.isElement(t)&&(u.isInline(t)||0===t.children.length||um.isText(t.children[0])||u.isInline(t.children[0])),D=0,a=0;a{var[,e]=u;return r.concat(e)})];case"merge_node":var{path:n}=u;return[...ua.ancestors(n),ua.previous(n)];case"move_node":var{path:D,newPath:a}=u;if(ua.equals(D,a))return[];var o=[],i=[];for(var s of ua.ancestors(D)){var C=ua.transform(s,u);o.push(C)}for(var B of ua.ancestors(a)){var l=ua.transform(B,u);i.push(l)}var c=i[i.length-1],f=a[a.length-1];return[...o,...i,c.concat(f)];case"remove_node":var{path:A}=u;return[...ua.ancestors(A)];case"split_node":var{path:h}=u;return[...ua.levels(h),ua.next(h)];default:return[]}}};return u};function E(u,e){if(null==u)return{};var t,r,n=function(u,e){if(null==u)return{};var t,r,n={},D=Object.keys(u);for(r=0;r=0||(n[t]=u[t]);return n}(u,e);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(u);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(u,t)&&(n[t]=u[t])}return n}var d=function(u){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=!e,r=e?w(u):u,D=n.None,a=n.None,o=0,i=null;for(var s of r){var C,B,l,c,f,A,h,F,E=s.codePointAt(0);if(!E)break;var d=I(s,E);if([D,a]=t?[a,d]:[d,D],(D&n.ZWJ)!=0&&(a&n.ExtPict)!=0&&!(t?L(u.substring(0,o)):L(u.substring(0,u.length-o)))||(D&n.RI)!=0&&(a&n.RI)!=0&&!(i=null!==i?!i:!!t||W(u.substring(0,u.length-o)))||D!==n.None&&a!==n.None&&function(u,e){return -1===V.findIndex(t=>(u&t[0])!=0&&(e&t[1])!=0)}(D,a))break;o+=s.length}return o||1},p=/\s/,v=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,g=/['\u2018\u2019]/,m=function(u){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=0,r=!1;u.length>0;){var n=d(u,e),[D,a]=y(u,n,e);if(b(D,a,e))r=!0,t+=n;else if(r)break;else t+=n;u=a}return t},y=(u,e,t)=>{if(t){var r=u.length-e;return[u.slice(r,u.length),u.slice(0,r)]}return[u.slice(0,e),u.slice(e)]},b=function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(p.test(e))return!1;if(g.test(e)){var n=d(t,r),[D,a]=y(t,n,r);if(u(D,a,r))return!0}return!v.test(e)},w=function*(u){for(var e=u.length-1,t=0;tu>=55296&&u<=56319,O=u=>u>=56320&&u<=57343;(r=n||(n={}))[r.None=0]="None",r[r.Extend=1]="Extend",r[r.ZWJ=2]="ZWJ",r[r.RI=4]="RI",r[r.Prepend=8]="Prepend",r[r.SpacingMark=16]="SpacingMark",r[r.L=32]="L",r[r.V=64]="V",r[r.T=128]="T",r[r.LV=256]="LV",r[r.LVT=512]="LVT",r[r.ExtPict=1024]="ExtPict",r[r.Any=2048]="Any";var P=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\u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\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,k=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,j=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,N=/^[\u1100-\u115F\uA960-\uA97C]$/,_=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,T=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,R=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,S=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,q=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,I=(u,e)=>{var t=n.Any;return -1!==u.search(P)&&(t|=n.Extend),8205===e&&(t|=n.ZWJ),e>=127462&&e<=127487&&(t|=n.RI),-1!==u.search(k)&&(t|=n.Prepend),-1!==u.search(j)&&(t|=n.SpacingMark),-1!==u.search(N)&&(t|=n.L),-1!==u.search(_)&&(t|=n.V),-1!==u.search(T)&&(t|=n.T),-1!==u.search(R)&&(t|=n.LV),-1!==u.search(S)&&(t|=n.LVT),-1!==u.search(q)&&(t|=n.ExtPict),t},V=[[n.L,n.L|n.V|n.LV|n.LVT],[n.LV|n.V,n.V|n.T],[n.LVT|n.T,n.T],[n.Any,n.Extend|n.ZWJ],[n.Any,n.SpacingMark],[n.Prepend,n.Any],[n.ZWJ,n.ExtPict],[n.RI,n.RI]],z=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA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CAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,L=u=>-1!==u.search(z),M=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,W=u=>{var e=u.match(M);return null!==e&&e[0].length/2%2==1},$=u=>(0,D.P)(u)&&ut.isNodeList(u.children)&&!K.isEditor(u),J={isAncestor:u=>(0,D.P)(u)&&ut.isNodeList(u.children),isElement:$,isElementList:u=>Array.isArray(u)&&u.every(u=>J.isElement(u)),isElementProps:u=>void 0!==u.children,isElementType:function(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return $(u)&&u[t]===e},matches(u,e){for(var t in e)if("children"!==t&&u[t]!==e[t])return!1;return!0}},Z=["text"],U=["text"];function Y(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function G(u){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},{voids:t=!1,mode:r="lowest",at:n=u.selection,match:D}=e;if(n){var a=K.path(u,n);for(var[o,i]of K.levels(u,{at:a,voids:t,match:D,reverse:"lowest"===r}))if(!um.isText(o)&&!ua.equals(a,i))return[o,i]}},addMark(u,e,t){u.addMark(e,t)},after(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=K.point(u,e,{edge:"end"}),D=K.end(u,[]),{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:{anchor:n,focus:D}}))){if(o>a)break;0!==o&&(t=i),o++}return t},before(u,e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=K.start(u,[]),D=K.point(u,e,{edge:"start"}),{distance:a=1}=r,o=0;for(var i of K.positions(u,G(G({},r),{},{at:{anchor:n,focus:D},reverse:!0}))){if(o>a)break;0!==o&&(t=i),o++}return t},deleteBackward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteBackward(t)},deleteForward(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:t="character"}=e;u.deleteForward(t)},deleteFragment(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{direction:t="forward"}=e;u.deleteFragment(t)},edges:(u,e)=>[K.start(u,e),K.end(u,e)],end:(u,e)=>K.point(u,e,{edge:"end"}),first(u,e){var t=K.path(u,e,{edge:"start"});return K.node(u,t)},fragment(u,e){var t=K.range(u,e);return ut.fragment(u,t)},hasBlocks:(u,e)=>e.children.some(e=>K.isBlock(u,e)),hasInlines:(u,e)=>e.children.some(e=>um.isText(e)||K.isInline(u,e)),hasTexts:(u,e)=>e.children.every(u=>um.isText(u)),insertBreak(u){u.insertBreak()},insertSoftBreak(u){u.insertSoftBreak()},insertFragment(u,e){u.insertFragment(e)},insertNode(u,e){u.insertNode(e)},insertText(u,e){u.insertText(e)},isBlock:(u,e)=>J.isElement(e)&&!u.isInline(e),isEditor(u){var e=H.get(u);if(void 0!==e)return e;if(!(0,D.P)(u))return!1;var t="function"==typeof u.addMark&&"function"==typeof u.apply&&"function"==typeof u.deleteBackward&&"function"==typeof u.deleteForward&&"function"==typeof u.deleteFragment&&"function"==typeof u.insertBreak&&"function"==typeof u.insertSoftBreak&&"function"==typeof u.insertFragment&&"function"==typeof u.insertNode&&"function"==typeof u.insertText&&"function"==typeof u.isInline&&"function"==typeof u.isVoid&&"function"==typeof u.normalizeNode&&"function"==typeof u.onChange&&"function"==typeof u.removeMark&&"function"==typeof u.getDirtyPaths&&(null===u.marks||(0,D.P)(u.marks))&&(null===u.selection||uf.isRange(u.selection))&&ut.isNodeList(u.children)&&uD.isOperationList(u.operations);return H.set(u,t),t},isEnd(u,e,t){var r=K.end(u,t);return uC.equals(e,r)},isEdge:(u,e,t)=>K.isStart(u,e,t)||K.isEnd(u,e,t),isEmpty(u,e){var{children:t}=e,[r]=t;return 0===t.length||1===t.length&&um.isText(r)&&""===r.text&&!u.isVoid(e)},isInline:(u,e)=>J.isElement(e)&&u.isInline(e),isNormalizing(u){var e=B.get(u);return void 0===e||e},isStart(u,e,t){if(0!==e.offset)return!1;var r=K.start(u,t);return uC.equals(e,r)},isVoid:(u,e)=>J.isElement(e)&&u.isVoid(e),last(u,e){var t=K.path(u,e,{edge:"end"});return K.node(u,t)},leaf(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[ut.leaf(u,r),r]},*levels(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,reverse:r=!1,voids:n=!1}=e,{match:D}=e;if(null==D&&(D=()=>!0),t){var a=[],o=K.path(u,t);for(var[i,s]of ut.levels(u,o))if(D(i,s)&&(a.push([i,s]),!n&&K.isVoid(u,i)))break;r&&a.reverse(),yield*a}},marks(u){var{marks:e,selection:t}=u;if(!t)return null;if(e)return e;if(uf.isExpanded(t)){var[r]=K.nodes(u,{match:um.isText});if(!r)return{};var[n]=r;return E(n,Z)}var{anchor:D}=t,{path:a}=D,[o]=K.leaf(u,a);if(0===D.offset){var i=K.previous(u,{at:a,match:um.isText}),s=K.above(u,{match:e=>K.isBlock(u,e)});if(i&&s){var[C,B]=i,[,l]=s;ua.isAncestor(l,B)&&(o=C)}}return E(o,U)},next(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=K.after(u,D,{voids:r});if(a){var[,o]=K.last(u,[]),i=[a.path,o];if(ua.isPath(D)&&0===D.length)throw Error("Cannot get the next node from the root node!");if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=K.nodes(u,{at:i,match:n,mode:t,voids:r});return C}}},node(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t);return[ut.get(u,r),r]},*nodes(u){var e,t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:D=u.selection,mode:a="all",universal:o=!1,reverse:i=!1,voids:s=!1}=n,{match:C}=n;if(C||(C=()=>!0),D){if(Q.isSpan(D))e=D[0],t=D[1];else{var B=K.path(u,D,{edge:"start"}),l=K.path(u,D,{edge:"end"});e=i?l:B,t=i?B:l}var c=ut.nodes(u,{reverse:i,from:e,to:t,pass(e){var[t]=e;return!s&&K.isVoid(u,t)}}),f=[];for(var[A,h]of c){var F=r&&0===ua.compare(h,r[1]);if("highest"!==a||!F){if(!C(A,h)){if(o&&!F&&um.isText(A))return;continue}if("lowest"===a&&F){r=[A,h];continue}var E="lowest"===a?r:[A,h];E&&(o?f.push(E):yield E),r=[A,h]}}"lowest"===a&&r&&(o?f.push(r):yield r),o&&(yield*f)}},normalize(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:t=!1}=e,r=u=>i.get(u)||[],n=u=>s.get(u)||new Set,D=u=>{var e=r(u).pop(),t=e.join(",");return n(u).delete(t),e};if(K.isNormalizing(u)){if(t){var a=Array.from(ut.nodes(u),u=>{var[,e]=u;return e}),o=new Set(a.map(u=>u.join(",")));i.set(u,a),s.set(u,o)}0!==r(u).length&&K.withoutNormalizing(u,()=>{for(var e of r(u))if(ut.has(u,e)){var t=K.node(u,e),[n,a]=t;J.isElement(n)&&0===n.children.length&&u.normalizeNode(t)}for(var o=42*r(u).length,i=0;0!==r(u).length;){if(i>o)throw Error("\n Could not completely normalize the editor after ".concat(o," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var s=D(u);if(ut.has(u,s)){var C=K.node(u,s);u.normalizeNode(C)}i++}})}},parent(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=K.path(u,e,t),n=ua.parent(r);return K.node(u,n)},path(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:n}=t;if(ua.isPath(e)){if("start"===n){var[,D]=ut.first(u,e);e=D}else if("end"===n){var[,a]=ut.last(u,e);e=a}}return uf.isRange(e)&&(e="start"===n?uf.start(e):"end"===n?uf.end(e):ua.common(e.anchor.path,e.focus.path)),uC.isPoint(e)&&(e=e.path),null!=r&&(e=e.slice(0,r)),e},hasPath:(u,e)=>ut.has(u,e),pathRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pathRefs(u).delete(n),n.current=null,e}};return K.pathRefs(u).add(n),n},pathRefs(u){var e=l.get(u);return e||(e=new Set,l.set(u,e)),e},point(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=t;if(ua.isPath(e)){if("end"===r){var n,[,D]=ut.last(u,e);n=D}else{var[,a]=ut.first(u,e);n=a}var o=ut.get(u,n);if(!um.isText(o))throw Error("Cannot get the ".concat(r," point in the node at path [").concat(e,"] because it has no ").concat(r," text node."));return{path:n,offset:"end"===r?o.text.length:0}}if(uf.isRange(e)){var[i,s]=uf.edges(e);return"start"===r?i:s}return e},pointRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.pointRefs(u).delete(n),n.current=null,e}};return K.pointRefs(u).add(n),n},pointRefs(u){var e=c.get(u);return e||(e=new Set,c.set(u,e)),e},*positions(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:t=u.selection,unit:r="offset",reverse:n=!1,voids:D=!1}=e;if(t){var a=K.range(u,t),[o,i]=uf.edges(a),s=n?i:o,C=!1,B="",l=0,c=0,f=0;for(var[A,h]of K.nodes(u,{at:t,reverse:n,voids:D})){if(J.isElement(A)){if(!D&&u.isVoid(A)){yield K.start(u,h);continue}if(u.isInline(A))continue;if(K.hasInlines(u,A)){var F=ua.isAncestor(h,i.path)?i:K.end(u,h),E=ua.isAncestor(h,o.path)?o:K.start(u,h);B=K.string(u,{anchor:E,focus:F},{voids:D}),C=!0}}if(um.isText(A)){var p,v=ua.equals(h,s.path);for(v?(c=n?s.offset:A.text.length-s.offset,f=s.offset):(c=A.text.length,f=n?c:0),(v||C||"offset"===r)&&(yield{path:h,offset:f},C=!1);;){if(0===l){if(""===B)break;p=B,l="character"===r?d(p,n):"word"===r?m(p,n):"line"===r||"block"===r?p.length:1,B=y(B,l,n)[1]}if(f=n?f-l:f+l,(c-=l)<0){l=-c;break}l=0,yield{path:h,offset:f}}}}}},previous(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:t="lowest",voids:r=!1}=e,{match:n,at:D=u.selection}=e;if(D){var a=K.before(u,D,{voids:r});if(a){var[,o]=K.first(u,[]),i=[a.path,o];if(ua.isPath(D)&&0===D.length)throw Error("Cannot get the previous node from the root node!");if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=()=>!0}var[C]=K.nodes(u,{reverse:!0,at:i,match:n,mode:t,voids:r});return C}}},range:(u,e,t)=>uf.isRange(e)&&!t?e:{anchor:K.start(u,e),focus:K.end(u,t||e)},rangeRef(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=t,n={current:e,affinity:r,unref(){var{current:e}=n;return K.rangeRefs(u).delete(n),n.current=null,e}};return K.rangeRefs(u).add(n),n},rangeRefs(u){var e=f.get(u);return e||(e=new Set,f.set(u,e)),e},removeMark(u,e){u.removeMark(e)},setNormalizing(u,e){B.set(u,e)},start:(u,e)=>K.point(u,e,{edge:"start"}),string(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,n=K.range(u,e),[D,a]=uf.edges(n),o="";for(var[i,s]of K.nodes(u,{at:n,match:um.isText,voids:r})){var C=i.text;ua.equals(s,a.path)&&(C=C.slice(0,a.offset)),ua.equals(s,D.path)&&(C=C.slice(D.offset)),o+=C}return o},unhangRange(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=t,[n,D]=uf.edges(e);if(0!==n.offset||0!==D.offset||uf.isCollapsed(e))return e;var a=K.above(u,{at:D,match:e=>K.isBlock(u,e)}),o=a?a[1]:[],i={anchor:K.start(u,n),focus:D},s=!0;for(var[C,B]of K.nodes(u,{at:i,match:um.isText,reverse:!0,voids:r})){if(s){s=!1;continue}if(""!==C.text||ua.isBefore(B,o)){D={path:B,offset:C.text.length};break}}return{anchor:n,focus:D}},void(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return K.above(u,G(G({},e),{},{match:e=>K.isVoid(u,e)}))},withoutNormalizing(u,e){var t=K.isNormalizing(u);K.setNormalizing(u,!1);try{e()}finally{K.setNormalizing(u,t)}K.normalize(u)}},Q={isSpan:u=>Array.isArray(u)&&2===u.length&&u.every(ua.isPath)},X=["children"],uu=["text"],ue=new WeakMap,ut={ancestor(u,e){var t=ut.get(u,e);if(um.isText(t))throw Error("Cannot get the ancestor node at path [".concat(e,"] because it refers to a text node instead: ").concat(uF.stringify(t)));return t},*ancestors(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ua.ancestors(e,t))yield[ut.ancestor(u,r),r]},child(u,e){if(um.isText(u))throw Error("Cannot get the child of a text node: ".concat(uF.stringify(u)));var t=u.children[e];if(null==t)throw Error("Cannot get child at index `".concat(e,"` in node: ").concat(uF.stringify(u)));return t},*children(u,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=t,n=ut.ancestor(u,e),{children:D}=n,a=r?D.length-1:0;r?a>=0:a1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))0!==r.length&&(yield[t,r])},*elements(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))J.isElement(t)&&(yield[t,r])},extractProps(u){if(J.isAncestor(u)){var e=E(u,X);return e}var e=E(u,uu);return e},first(u,e){for(var t=e.slice(),r=ut.get(u,t);r&&!um.isText(r)&&0!==r.children.length;)r=r.children[0],t.push(0);return[r,t]},fragment(u,e){if(um.isText(u))throw Error("Cannot get a fragment starting from a root text node: ".concat(uF.stringify(u)));return(0,a.Uy)({children:u.children},u=>{var[t,r]=uf.edges(e),n=ut.nodes(u,{reverse:!0,pass(u){var[,t]=u;return!uf.includes(e,t)}});for(var[,D]of n){if(!uf.includes(e,D)){var a=ut.parent(u,D),o=D[D.length-1];a.children.splice(o,1)}if(ua.equals(D,r.path)){var i=ut.leaf(u,D);i.text=i.text.slice(0,r.offset)}if(ua.equals(D,t.path)){var s=ut.leaf(u,D);s.text=s.text.slice(t.offset)}}K.isEditor(u)&&(u.selection=null)}).children},get(u,e){for(var t=u,r=0;rum.isText(u)||J.isElement(u)||K.isEditor(u),isNodeList(u){if(!Array.isArray(u))return!1;var e=ue.get(u);if(void 0!==e)return e;var t=u.every(u=>ut.isNode(u));return ue.set(u,t),t},last(u,e){for(var t=e.slice(),r=ut.get(u,t);r&&!um.isText(r)&&0!==r.children.length;){var n=r.children.length-1;r=r.children[n],t.push(n)}return[r,t]},leaf(u,e){var t=ut.get(u,e);if(!um.isText(t))throw Error("Cannot get the leaf node at path [".concat(e,"] because it refers to a non-leaf node: ").concat(uF.stringify(t)));return t},*levels(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of ua.levels(e,t))yield[ut.get(u,r),r]},matches:(u,e)=>J.isElement(u)&&J.isElementProps(e)&&J.matches(u,e)||um.isText(u)&&um.isTextProps(e)&&um.matches(u,e),*nodes(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:t,reverse:r=!1}=e,{from:n=[],to:D}=e,a=new Set,o=[],i=u;!(D&&(r?ua.isBefore(o,D):ua.isAfter(o,D)));){if(a.has(i)||(yield[i,o]),!a.has(i)&&!um.isText(i)&&0!==i.children.length&&(null==t||!1===t([i,o]))){a.add(i);var s=r?i.children.length-1:0;ua.isAncestor(o,n)&&(s=n[o.length]),o=o.concat(s),i=ut.get(u,o);continue}if(0===o.length)break;if(!r){var C=ua.next(o);if(ut.has(u,C)){o=C,i=ut.get(u,o);continue}}if(r&&0!==o[o.length-1]){o=ua.previous(o),i=ut.get(u,o);continue}o=ua.parent(o),i=ut.get(u,o),a.add(i)}},parent(u,e){var t=ua.parent(e),r=ut.get(u,t);if(um.isText(r))throw Error("Cannot get the parent of path [".concat(e,"] because it does not exist in the root."));return r},string:u=>um.isText(u)?u.text:u.children.map(ut.string).join(""),*texts(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[t,r]of ut.nodes(u,e))um.isText(t)&&(yield[t,r])}};function ur(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function un(u){for(var e=1;euD.isOperation(u)&&u.type.endsWith("_node"),isOperation(u){if(!(0,D.P)(u))return!1;switch(u.type){case"insert_node":case"remove_node":return ua.isPath(u.path)&&ut.isNode(u.node);case"insert_text":case"remove_text":return"number"==typeof u.offset&&"string"==typeof u.text&&ua.isPath(u.path);case"merge_node":return"number"==typeof u.position&&ua.isPath(u.path)&&(0,D.P)(u.properties);case"move_node":return ua.isPath(u.path)&&ua.isPath(u.newPath);case"set_node":return ua.isPath(u.path)&&(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"set_selection":return null===u.properties&&uf.isRange(u.newProperties)||null===u.newProperties&&uf.isRange(u.properties)||(0,D.P)(u.properties)&&(0,D.P)(u.newProperties);case"split_node":return ua.isPath(u.path)&&"number"==typeof u.position&&(0,D.P)(u.properties);default:return!1}},isOperationList:u=>Array.isArray(u)&&u.every(u=>uD.isOperation(u)),isSelectionOperation:u=>uD.isOperation(u)&&u.type.endsWith("_selection"),isTextOperation:u=>uD.isOperation(u)&&u.type.endsWith("_text"),inverse(u){switch(u.type){case"insert_node":return un(un({},u),{},{type:"remove_node"});case"insert_text":return un(un({},u),{},{type:"remove_text"});case"merge_node":return un(un({},u),{},{type:"split_node",path:ua.previous(u.path)});case"move_node":var{newPath:e,path:t}=u;if(ua.equals(e,t))return u;if(ua.isSibling(t,e))return un(un({},u),{},{path:e,newPath:t});var r=ua.transform(t,u),n=ua.transform(ua.next(t),u);return un(un({},u),{},{path:r,newPath:n});case"remove_node":return un(un({},u),{},{type:"insert_node"});case"remove_text":return un(un({},u),{},{type:"insert_text"});case"set_node":var{properties:D,newProperties:a}=u;return un(un({},u),{},{properties:a,newProperties:D});case"set_selection":var{properties:o,newProperties:i}=u;if(null==o)return un(un({},u),{},{properties:i,newProperties:null});if(null==i)return un(un({},u),{},{properties:null,newProperties:o});return un(un({},u),{},{properties:i,newProperties:o});case"split_node":return un(un({},u),{},{type:"merge_node",path:ua.next(u.path)})}}},ua={ancestors(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=ua.levels(u,e);return t?r.slice(1):r.slice(0,-1)},common(u,e){for(var t=[],r=0;re[r])return 1}return 0},endsAfter(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return ua.equals(r,n)&&D>a},endsAt(u,e){var t=u.length,r=u.slice(0,t),n=e.slice(0,t);return ua.equals(r,n)},endsBefore(u,e){var t=u.length-1,r=u.slice(0,t),n=e.slice(0,t),D=u[t],a=e[t];return ua.equals(r,n)&&Du.length===e.length&&u.every((u,t)=>u===e[t]),hasPrevious:u=>u[u.length-1]>0,isAfter:(u,e)=>1===ua.compare(u,e),isAncestor:(u,e)=>u.length-1===ua.compare(u,e),isChild:(u,e)=>u.length===e.length+1&&0===ua.compare(u,e),isCommon:(u,e)=>u.length<=e.length&&0===ua.compare(u,e),isDescendant:(u,e)=>u.length>e.length&&0===ua.compare(u,e),isParent:(u,e)=>u.length+1===e.length&&0===ua.compare(u,e),isPath:u=>Array.isArray(u)&&(0===u.length||"number"==typeof u[0]),isSibling(u,e){if(u.length!==e.length)return!1;var t=u.slice(0,-1),r=e.slice(0,-1);return u[u.length-1]!==e[e.length-1]&&ua.equals(t,r)},levels(u){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,r=[],n=0;n<=u.length;n++)r.push(u.slice(0,n));return t&&r.reverse(),r},next(u){if(0===u.length)throw Error("Cannot get the next path of a root path [".concat(u,"], because it has no next index."));var e=u[u.length-1];return u.slice(0,-1).concat(e+1)},operationCanTransformPath(u){switch(u.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(u){if(0===u.length)throw Error("Cannot get the parent path of the root path [".concat(u,"]."));return u.slice(0,-1)},previous(u){if(0===u.length)throw Error("Cannot get the previous path of a root path [".concat(u,"], because it has no previous index."));var e=u[u.length-1];if(e<=0)throw Error("Cannot get the previous path of a first child path [".concat(u,"] because it would result in a negative index."));return u.slice(0,-1).concat(e-1)},relative(u,e){if(!ua.isAncestor(e,u)&&!ua.equals(u,e))throw Error("Cannot get the relative path of [".concat(u,"] inside ancestor [").concat(e,"], because it is not above or equal to the path."));return u.slice(e.length)},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!u)return null;var r=[...u],{affinity:n="forward"}=t;if(0===u.length)return r;switch(e.type){case"insert_node":var{path:D}=e;(ua.equals(D,r)||ua.endsBefore(D,r)||ua.isAncestor(D,r))&&(r[D.length-1]+=1);break;case"remove_node":var{path:a}=e;if(ua.equals(a,r)||ua.isAncestor(a,r))return null;ua.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:o,position:i}=e;ua.equals(o,r)||ua.endsBefore(o,r)?r[o.length-1]-=1:ua.isAncestor(o,r)&&(r[o.length-1]-=1,r[o.length]+=i);break;case"split_node":var{path:s,position:C}=e;if(ua.equals(s,r)){if("forward"===n)r[r.length-1]+=1;else if("backward"!==n)return null}else ua.endsBefore(s,r)?r[s.length-1]+=1:ua.isAncestor(s,r)&&u[s.length]>=C&&(r[s.length-1]+=1,r[s.length]-=C);break;case"move_node":var{path:B,newPath:l}=e;if(ua.equals(B,l))break;if(ua.isAncestor(B,r)||ua.equals(B,r)){var c=l.slice();return ua.endsBefore(B,l)&&B.lengthe.offset?1:0:t},isAfter:(u,e)=>1===uC.compare(u,e),isBefore:(u,e)=>-1===uC.compare(u,e),equals:(u,e)=>u.offset===e.offset&&ua.equals(u.path,e.path),isPoint:u=>(0,D.P)(u)&&"number"==typeof u.offset&&ua.isPath(u.path),transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var{affinity:r="forward"}=t,{path:n,offset:D}=u;switch(e.type){case"insert_node":case"move_node":u.path=ua.transform(n,e,t);break;case"insert_text":ua.equals(e.path,n)&&(e.offset1&&void 0!==arguments[1]?arguments[1]:{},{reverse:t=!1}=e,{anchor:r,focus:n}=u;return uf.isBackward(u)===t?[r,n]:[n,r]},end(u){var[,e]=uf.edges(u);return e},equals:(u,e)=>uC.equals(u.anchor,e.anchor)&&uC.equals(u.focus,e.focus),includes(u,e){if(uf.isRange(e)){if(uf.includes(u,e.anchor)||uf.includes(u,e.focus))return!0;var[t,r]=uf.edges(u),[n,D]=uf.edges(e);return uC.isBefore(t,n)&&uC.isAfter(r,D)}var[a,o]=uf.edges(u),i=!1,s=!1;return uC.isPoint(e)?(i=uC.compare(e,a)>=0,s=0>=uC.compare(e,o)):(i=ua.compare(e,a.path)>=0,s=0>=ua.compare(e,o.path)),i&&s},intersection(u,e){var t=E(u,ul),[r,n]=uf.edges(u),[D,a]=uf.edges(e),i=uC.isBefore(r,D)?D:r,s=uC.isBefore(n,a)?n:a;return uC.isBefore(s,i)?null:function(u){for(var e=1;e!uf.isCollapsed(u),isForward:u=>!uf.isBackward(u),isRange:u=>(0,D.P)(u)&&uC.isPoint(u.anchor)&&uC.isPoint(u.focus),*points(u){yield[u.anchor,"anchor"],yield[u.focus,"focus"]},start(u){var[e]=uf.edges(u);return e},transform(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.Uy)(u,u=>{if(null===u)return null;var r,n,{affinity:D="inward"}=t;if("inward"===D){var a=uf.isCollapsed(u);uf.isForward(u)?(r="forward",n=a?r:"backward"):(r="backward",n=a?r:"forward")}else"outward"===D?uf.isForward(u)?(r="backward",n="forward"):(r="forward",n="backward"):(r=D,n=D);var o=uC.transform(u.anchor,e,{affinity:r}),i=uC.transform(u.focus,e,{affinity:n});if(!o||!i)return null;u.anchor=o,u.focus=i})}},uA={transform(u,e){var{current:t,affinity:r}=u;if(null!=t){var n=uf.transform(t,e,{affinity:r});u.current=n,null==n&&u.unref()}}},uh=void 0,uF={setScrubber(u){uh=u},stringify:u=>JSON.stringify(u,uh)},uE=(u,e)=>{for(var t in u){var r=u[t],n=e[t];if((0,D.P)(r)&&(0,D.P)(n)){if(!uE(r,n))return!1}else if(Array.isArray(r)&&Array.isArray(n)){if(r.length!==n.length)return!1;for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=t;return uE(r?E(u,ud):u,r?E(e,ud):e)},isText:u=>(0,D.P)(u)&&"string"==typeof u.text,isTextList:u=>Array.isArray(u)&&u.every(u=>um.isText(u)),isTextProps:u=>void 0!==u.text,matches(u,e){for(var t in e)if("text"!==t&&(!u.hasOwnProperty(t)||u[t]!==e[t]))return!1;return!0},decorations(u,e){var t=[ug({},u)];for(var r of e){var n=E(r,up),[D,a]=uf.edges(r),o=[],i=0,s=D.offset,C=a.offset;for(var B of t){var{length:l}=B.text,c=i;if(i+=l,s<=c&&i<=C){Object.assign(B,n),o.push(B);continue}if(s!==C&&(s===i||C===c)||s>i||Cc){var d=s-c;A=ug(ug({},f),{},{text:f.text.slice(0,d)}),f=ug(ug({},f),{},{text:f.text.slice(d)})}Object.assign(f,n),A&&o.push(A),o.push(f),h&&o.push(h)}t=o}return t}};function uy(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function ub(u){for(var e=1;e{switch(t.type){case"insert_node":var{path:r,node:n}=t,D=ut.parent(u,r),a=r[r.length-1];if(a>D.children.length)throw Error('Cannot apply an "insert_node" operation at path ['.concat(r,"] because the destination is past the end of the node."));if(D.children.splice(a,0,n),e)for(var[o,i]of uf.points(e))e[i]=uC.transform(o,t);break;case"insert_text":var{path:s,offset:C,text:B}=t;if(0===B.length)break;var l=ut.leaf(u,s),c=l.text.slice(0,C),f=l.text.slice(C);if(l.text=c+B+f,e)for(var[A,h]of uf.points(e))e[h]=uC.transform(A,t);break;case"merge_node":var{path:F}=t,E=ut.get(u,F),d=ua.previous(F),p=ut.get(u,d),v=ut.parent(u,F),g=F[F.length-1];if(um.isText(E)&&um.isText(p))p.text+=E.text;else if(um.isText(E)||um.isText(p))throw Error('Cannot apply a "merge_node" operation at path ['.concat(F,"] to nodes of different interfaces: ").concat(uF.stringify(E)," ").concat(uF.stringify(p)));else p.children.push(...E.children);if(v.children.splice(g,1),e)for(var[m,y]of uf.points(e))e[y]=uC.transform(m,t);break;case"move_node":var{path:b,newPath:w}=t;if(ua.isAncestor(b,w))throw Error("Cannot move a path [".concat(b,"] to new path [").concat(w,"] because the destination is inside itself."));var x=ut.get(u,b),O=ut.parent(u,b),P=b[b.length-1];O.children.splice(P,1);var k=ua.transform(b,t),j=ut.get(u,ua.parent(k)),N=k[k.length-1];if(j.children.splice(N,0,x),e)for(var[_,T]of uf.points(e))e[T]=uC.transform(_,t);break;case"remove_node":var{path:R}=t,S=R[R.length-1];if(ut.parent(u,R).children.splice(S,1),e)for(var[q,I]of uf.points(e)){var V=uC.transform(q,t);if(null!=e&&null!=V)e[I]=V;else{var z=void 0,L=void 0;for(var[M,W]of ut.texts(u))if(-1===ua.compare(W,R))z=[M,W];else{L=[M,W];break}var $=!1;z&&L&&($=ua.equals(L[1],R)?!ua.hasPrevious(L[1]):ua.common(z[1],R).lengthJ.isElement(e)?!!K.isVoid(u,e)||1===e.children.length&&uj(u,e.children[0]):!K.isEditor(e),uN=(u,e)=>{if(uf.isCollapsed(e))return e.anchor;var[,t]=uf.edges(e),r=K.pointRef(u,t);return uI.delete(u,{at:e}),r.unref()},u_=(u,e)=>{var[t]=K.node(u,e);return u=>u===t};function uT(u,e){var t=Object.keys(u);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(u);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(u,e).enumerable})),t.push.apply(t,r)}return t}function uR(u){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{hanging:r=!1,voids:n=!1,mode:D="lowest"}=t,{at:a,match:o,select:i}=t;if(ut.isNode(e)&&(e=[e]),0!==e.length){var[s]=e;if(a||(a=u.selection?u.selection:u.children.length>0?K.end(u,[]):[0],i=!0),null==i&&(i=!1),uf.isRange(a)){if(r||(a=K.unhangRange(u,a)),uf.isCollapsed(a))a=a.anchor;else{var[,C]=uf.edges(a),B=K.pointRef(u,C);uI.delete(u,{at:a}),a=B.unref()}}if(uC.isPoint(a)){null==o&&(o=um.isText(s)?u=>um.isText(u):u.isInline(s)?e=>um.isText(e)||K.isInline(u,e):e=>K.isBlock(u,e));var[l]=K.nodes(u,{at:a.path,match:o,mode:D,voids:n});if(!l)return;var[,c]=l,f=K.pathRef(u,c),A=K.isEnd(u,a,c);uI.splitNodes(u,{at:a,match:o,mode:D,voids:n});var h=f.unref();a=A?ua.next(h):h}var F=ua.parent(a),E=a[a.length-1];if(!(!n&&K.void(u,{at:F}))){for(var d of e){var p=F.concat(E);E++,u.apply({type:"insert_node",path:p,node:d}),a=ua.next(a)}if(a=ua.previous(a),i){var v=K.end(u,a);v&&uI.select(u,v)}}}})},liftNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{at:t=u.selection,mode:r="lowest",voids:n=!1}=e,{match:D}=e;if(null==D&&(D=ua.isPath(t)?u_(u,t):e=>K.isBlock(u,e)),t){var a=Array.from(K.nodes(u,{at:t,match:D,mode:r,voids:n}),e=>{var[,t]=e;return K.pathRef(u,t)});for(var o of a){var i=o.unref();if(i.length<2)throw Error("Cannot lift node at a path [".concat(i,"] because it has a depth of less than `2`."));var[s,C]=K.node(u,ua.parent(i)),B=i[i.length-1],{length:l}=s.children;if(1===l){var c=ua.next(C);uI.moveNodes(u,{at:i,to:c,voids:n}),uI.removeNodes(u,{at:C,voids:n})}else if(0===B)uI.moveNodes(u,{at:i,to:C,voids:n});else if(B===l-1){var f=ua.next(C);uI.moveNodes(u,{at:i,to:f,voids:n})}else{var A=ua.next(i),h=ua.next(C);uI.splitNodes(u,{at:A,voids:n}),uI.moveNodes(u,{at:i,to:h,voids:n})}}}})},mergeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,r,{match:n,at:D=u.selection}=e,{hanging:a=!1,voids:o=!1,mode:i="lowest"}=e;if(D){if(null==n){if(ua.isPath(D)){var[s]=K.parent(u,D);n=u=>s.children.includes(u)}else n=e=>K.isBlock(u,e)}if(!a&&uf.isRange(D)&&(D=K.unhangRange(u,D)),uf.isRange(D)){if(uf.isCollapsed(D))D=D.anchor;else{var[,C]=uf.edges(D),B=K.pointRef(u,C);uI.delete(u,{at:D}),D=B.unref(),null==e.at&&uI.select(u,D)}}var[l]=K.nodes(u,{at:D,match:n,voids:o,mode:i}),c=K.previous(u,{at:D,match:n,voids:o,mode:i});if(l&&c){var[f,A]=l,[h,F]=c;if(0!==A.length&&0!==F.length){var d=ua.next(F),p=ua.common(A,F),v=ua.isSibling(A,F),g=Array.from(K.levels(u,{at:A}),u=>{var[e]=u;return e}).slice(p.length).slice(0,-1),m=K.above(u,{at:A,mode:"highest",match:e=>g.includes(e)&&uj(u,e)}),y=m&&K.pathRef(u,m[1]);if(um.isText(f)&&um.isText(h)){var b=E(f,ux);r=h.text.length,t=b}else if(J.isElement(f)&&J.isElement(h)){var b=E(f,uO);r=h.children.length,t=b}else throw Error("Cannot merge the node at path [".concat(A,"] with the previous sibling because it is not the same kind: ").concat(uF.stringify(f)," ").concat(uF.stringify(h)));v||uI.moveNodes(u,{at:A,to:d,voids:o}),y&&uI.removeNodes(u,{at:y.current,voids:o}),J.isElement(h)&&K.isEmpty(u,h)||um.isText(h)&&""===h.text&&0!==F[F.length-1]?uI.removeNodes(u,{at:F,voids:o}):u.apply({type:"merge_node",path:d,position:r,properties:t}),y&&y.unref()}}}})},moveNodes(u,e){K.withoutNormalizing(u,()=>{var{to:t,at:r=u.selection,mode:n="lowest",voids:D=!1}=e,{match:a}=e;if(r){null==a&&(a=ua.isPath(r)?u_(u,r):e=>K.isBlock(u,e));var o=K.pathRef(u,t),i=Array.from(K.nodes(u,{at:r,match:a,mode:n,voids:D}),e=>{var[,t]=e;return K.pathRef(u,t)});for(var s of i){var C=s.unref(),B=o.current;0!==C.length&&u.apply({type:"move_node",path:C,newPath:B}),o.current&&ua.isSibling(B,C)&&ua.isAfter(B,C)&&(o.current=ua.next(o.current))}o.unref()}})},removeNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{hanging:t=!1,voids:r=!1,mode:n="lowest"}=e,{at:D=u.selection,match:a}=e;if(D){null==a&&(a=ua.isPath(D)?u_(u,D):e=>K.isBlock(u,e)),!t&&uf.isRange(D)&&(D=K.unhangRange(u,D));var o=Array.from(K.nodes(u,{at:D,match:a,mode:n,voids:r}),e=>{var[,t]=e;return K.pathRef(u,t)});for(var i of o){var s=i.unref();if(s){var[C]=K.node(u,s);u.apply({type:"remove_node",path:s,node:C})}}}})},setNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{match:r,at:n=u.selection,compare:D,merge:a}=t,{hanging:o=!1,mode:i="lowest",split:s=!1,voids:C=!1}=t;if(n){if(null==r&&(r=ua.isPath(n)?u_(u,n):e=>K.isBlock(u,e)),!o&&uf.isRange(n)&&(n=K.unhangRange(u,n)),s&&uf.isRange(n)){if(uf.isCollapsed(n)&&K.leaf(u,n.anchor)[0].text.length>0)return;var B=K.rangeRef(u,n,{affinity:"inward"}),[l,c]=uf.edges(n),f="lowest"===i?"lowest":"highest",A=K.isEnd(u,c,c.path);uI.splitNodes(u,{at:c,match:r,mode:f,voids:C,always:!A});var h=K.isStart(u,l,l.path);uI.splitNodes(u,{at:l,match:r,mode:f,voids:C,always:!h}),n=B.unref(),null==t.at&&uI.select(u,n)}for(var[F,E]of(D||(D=(u,e)=>u!==e),K.nodes(u,{at:n,match:r,mode:i,voids:C}))){var d={},p={};if(0!==E.length){var v=!1;for(var g in e)"children"!==g&&"text"!==g&&D(e[g],F[g])&&(v=!0,F.hasOwnProperty(g)&&(d[g]=F[g]),a?null!=e[g]&&(p[g]=a(F[g],e[g])):null!=e[g]&&(p[g]=e[g]));v&&u.apply({type:"set_node",path:E,properties:d,newProperties:p})}}}})},splitNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,{mode:r="lowest",voids:n=!1}=e,{match:D,at:a=u.selection,height:o=0,always:i=!1}=e;if(null==D&&(D=e=>K.isBlock(u,e)),uf.isRange(a)&&(a=uN(u,a)),ua.isPath(a)){var s=a,C=K.point(u,s),[B]=K.parent(u,s);D=u=>u===B,o=C.path.length-s.length+1,a=C,i=!0}if(a){var l=K.pointRef(u,a,{affinity:"backward"});try{var[c]=K.nodes(u,{at:a,match:D,mode:r,voids:n});if(!c)return;var f=K.void(u,{at:a,mode:"highest"});if(!n&&f){var[A,h]=f;if(J.isElement(A)&&u.isInline(A)){var F=K.after(u,h);if(!F){var E=ua.next(h);uI.insertNodes(u,{text:""},{at:E,voids:n}),F=K.point(u,E)}a=F,i=!0}o=a.path.length-h.length+1,i=!0}t=K.pointRef(u,a);var d=a.path.length-o,[,p]=c,v=a.path.slice(0,d),g=0===o?a.offset:a.path[d]+0;for(var[m,y]of K.levels(u,{at:v,reverse:!0,voids:n})){var b=!1;if(y.length2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(e)||(e=[e]);var r={};for(var n of e)r[n]=null;uI.setNodes(u,r,t)},unwrapNodes(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var{mode:t="lowest",split:r=!1,voids:n=!1}=e,{at:D=u.selection,match:a}=e;if(D){null==a&&(a=ua.isPath(D)?u_(u,D):e=>K.isBlock(u,e)),ua.isPath(D)&&(D=K.range(u,D));var o=uf.isRange(D)?K.rangeRef(u,D):null,i=Array.from(K.nodes(u,{at:D,match:a,mode:t,voids:n}),e=>{var[,t]=e;return K.pathRef(u,t)}).reverse();for(var s of i)!function(e){var t=e.unref(),[D]=K.node(u,t),a=K.range(u,t);r&&o&&(a=uf.intersection(o.current,a)),uI.liftNodes(u,{at:a,match:u=>J.isAncestor(D)&&D.children.includes(u),voids:n})}(s);o&&o.unref()}})},wrapNodes(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{mode:r="lowest",split:n=!1,voids:D=!1}=t,{match:a,at:o=u.selection}=t;if(o){if(null==a&&(a=ua.isPath(o)?u_(u,o):u.isInline(e)?e=>K.isInline(u,e)||um.isText(e):e=>K.isBlock(u,e)),n&&uf.isRange(o)){var[i,s]=uf.edges(o),C=K.rangeRef(u,o,{affinity:"inward"});uI.splitNodes(u,{at:s,match:a,voids:D}),uI.splitNodes(u,{at:i,match:a,voids:D}),o=C.unref(),null==t.at&&uI.select(u,o)}var B=Array.from(K.nodes(u,{at:o,match:u.isInline(e)?e=>K.isBlock(u,e):u=>K.isEditor(u),mode:"lowest",voids:D}));for(var[,l]of B){var c=uf.isRange(o)?uf.intersection(o,K.range(u,l)):o;if(c){var f=Array.from(K.nodes(u,{at:c,match:a,mode:r,voids:D}));if(f.length>0&&"continue"===function(){var[t]=f,r=f[f.length-1],[,n]=t,[,a]=r;if(0===n.length&&0===a.length)return"continue";var o=ua.equals(n,a)?ua.parent(n):ua.common(n,a),i=K.range(u,n,a),[s]=K.node(u,o),C=o.length+1,B=ua.next(a.slice(0,C)),l=uk(uk({},e),{},{children:[]});uI.insertNodes(u,l,{at:B,voids:D}),uI.moveNodes(u,{at:i,match:u=>J.isAncestor(s)&&s.children.includes(u),to:B.concat(0),voids:D})}())continue}}}})}}),{collapse(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:t="anchor"}=e,{selection:r}=u;if(r){if("anchor"===t)uI.select(u,r.anchor);else if("focus"===t)uI.select(u,r.focus);else if("start"===t){var[n]=uf.edges(r);uI.select(u,n)}else if("end"===t){var[,D]=uf.edges(r);uI.select(u,D)}}},deselect(u){var{selection:e}=u;e&&u.apply({type:"set_selection",properties:e,newProperties:null})},move(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:t}=u,{distance:r=1,unit:n="character",reverse:D=!1}=e,{edge:a=null}=e;if(t){"start"===a&&(a=uf.isBackward(t)?"focus":"anchor"),"end"===a&&(a=uf.isBackward(t)?"anchor":"focus");var{anchor:o,focus:i}=t,s={distance:r,unit:n},C={};if(null==a||"anchor"===a){var B=D?K.before(u,o,s):K.after(u,o,s);B&&(C.anchor=B)}if(null==a||"focus"===a){var l=D?K.before(u,i,s):K.after(u,i,s);l&&(C.focus=l)}uI.setSelection(u,C)}},select(u,e){var{selection:t}=u;if(e=K.range(u,e),t){uI.setSelection(u,e);return}if(!uf.isRange(e))throw Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(uF.stringify(e)));u.apply({type:"set_selection",properties:t,newProperties:e})},setPoint(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{selection:r}=u,{edge:n="both"}=t;if(r){"start"===n&&(n=uf.isBackward(r)?"focus":"anchor"),"end"===n&&(n=uf.isBackward(r)?"anchor":"focus");var{anchor:D,focus:a}=r,o="anchor"===n?D:a;uI.setSelection(u,{["anchor"===n?"anchor":"focus"]:uR(uR({},o),e)})}},setSelection(u,e){var{selection:t}=u,r={},n={};if(t){for(var D in e)("anchor"!==D||null==e.anchor||uC.equals(e.anchor,t.anchor))&&("focus"!==D||null==e.focus||uC.equals(e.focus,t.focus))&&("anchor"===D||"focus"===D||e[D]===t[D])||(r[D]=t[D],n[D]=e[D]);Object.keys(r).length>0&&u.apply({type:"set_selection",properties:r,newProperties:n})}}}),{delete(u){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};K.withoutNormalizing(u,()=>{var t,{reverse:r=!1,unit:n="character",distance:D=1,voids:a=!1}=e,{at:o=u.selection,hanging:i=!1}=e;if(o){var s=!1;if(uf.isRange(o)&&uf.isCollapsed(o)&&(s=!0,o=o.anchor),uC.isPoint(o)){var C=K.void(u,{at:o,mode:"highest"});if(!a&&C){var[,B]=C;o=B}else{var l={unit:n,distance:D},c=r?K.before(u,o,l)||K.start(u,[]):K.after(u,o,l)||K.end(u,[]);o={anchor:o,focus:c},i=!0}}if(ua.isPath(o)){uI.removeNodes(u,{at:o,voids:a});return}if(!uf.isCollapsed(o)){if(!i){var[,f]=uf.edges(o),A=K.end(u,[]);uC.equals(f,A)||(o=K.unhangRange(u,o,{voids:a}))}var[h,F]=uf.edges(o),E=K.above(u,{match:e=>K.isBlock(u,e),at:h,voids:a}),d=K.above(u,{match:e=>K.isBlock(u,e),at:F,voids:a}),p=E&&d&&!ua.equals(E[1],d[1]),v=ua.equals(h.path,F.path),g=a?null:K.void(u,{at:h,mode:"highest"}),m=a?null:K.void(u,{at:F,mode:"highest"});if(g){var y=K.before(u,h);y&&E&&ua.isAncestor(E[1],y.path)&&(h=y)}if(m){var b=K.after(u,F);b&&d&&ua.isAncestor(d[1],b.path)&&(F=b)}var w=[];for(var x of K.nodes(u,{at:o,voids:a})){var[O,P]=x;(!t||0!==ua.compare(P,t))&&(!a&&K.isVoid(u,O)||!ua.isCommon(P,h.path)&&!ua.isCommon(P,F.path))&&(w.push(x),t=P)}var k=Array.from(w,e=>{var[,t]=e;return K.pathRef(u,t)}),j=K.pointRef(u,h),N=K.pointRef(u,F),_="";if(!v&&!g){var T=j.current,[R]=K.leaf(u,T),{path:S}=T,{offset:q}=h,I=R.text.slice(q);I.length>0&&(u.apply({type:"remove_text",path:S,offset:q,text:I}),_=I)}if(k.reverse().map(u=>u.unref()).filter(u=>null!==u).forEach(e=>uI.removeNodes(u,{at:e,voids:a})),!m){var V=N.current,[z]=K.leaf(u,V),{path:L}=V,M=v?h.offset:0,W=z.text.slice(M,F.offset);W.length>0&&(u.apply({type:"remove_text",path:L,offset:M,text:W}),_=W)}!v&&p&&N.current&&j.current&&uI.mergeNodes(u,{at:N.current,hanging:!0,voids:a}),s&&r&&"character"===n&&_.length>1&&_.match(/[\u0E00-\u0E7F]+/)&&uI.insertText(u,_.slice(0,_.length-D));var $=j.unref(),J=N.unref(),Z=r?$||J:J||$;null==e.at&&Z&&uI.select(u,Z)}}})},insertFragment(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var r,{hanging:n=!1,voids:D=!1}=t,{at:a=u.selection}=t;if(e.length&&a){if(uf.isRange(a)){if(n||(a=K.unhangRange(u,a)),uf.isCollapsed(a))a=a.anchor;else{var[,o]=uf.edges(a);if(!D&&K.void(u,{at:o}))return;var i=K.pointRef(u,o);uI.delete(u,{at:a}),a=i.unref()}}else ua.isPath(a)&&(a=K.start(u,a));if(!(!D&&K.void(u,{at:a}))){var s=K.above(u,{at:a,match:e=>K.isInline(u,e),mode:"highest",voids:D});if(s){var[,C]=s;K.isEnd(u,a,C)?a=K.after(u,C):K.isStart(u,a,C)&&(a=K.before(u,C))}var[,B]=K.above(u,{match:e=>K.isBlock(u,e),at:a,voids:D}),l=K.isStart(u,a,B),c=K.isEnd(u,a,B),f=l&&c,A=!l||l&&c,h=!c,[,F]=ut.first({children:e},[]),[,E]=ut.last({children:e},[]),d=[],p=e=>{var[t,r]=e;return 0!==r.length&&(!!f||!(A&&ua.isAncestor(r,F)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)||h&&ua.isAncestor(r,E)&&J.isElement(t)&&!u.isVoid(t)&&!u.isInline(t)))};for(var v of ut.nodes({children:e},{pass:p}))p(v)&&d.push(v);var g=[],m=[],y=[],b=!0,w=!1;for(var[x]of d)J.isElement(x)&&!u.isInline(x)?(b=!1,w=!0,m.push(x)):b?g.push(x):y.push(x);var[O]=K.nodes(u,{at:a,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),[,P]=O,k=K.isStart(u,a,P),j=K.isEnd(u,a,P),N=K.pathRef(u,c&&!y.length?ua.next(B):B),_=K.pathRef(u,j?ua.next(P):P);uI.splitNodes(u,{at:a,match:e=>w?K.isBlock(u,e):um.isText(e)||K.isInline(u,e),mode:w?"lowest":"highest",always:w&&(!l||g.length>0)&&(!c||y.length>0),voids:D});var T=K.pathRef(u,!k||k&&j?ua.next(P):P);if(uI.insertNodes(u,g,{at:T.current,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),f&&!g.length&&m.length&&!y.length&&uI.delete(u,{at:B,voids:D}),uI.insertNodes(u,m,{at:N.current,match:e=>K.isBlock(u,e),mode:"lowest",voids:D}),uI.insertNodes(u,y,{at:_.current,match:e=>um.isText(e)||K.isInline(u,e),mode:"highest",voids:D}),!t.at&&(y.length>0&&_.current?r=ua.previous(_.current):m.length>0&&N.current?r=ua.previous(N.current):T.current&&(r=ua.previous(T.current)),r)){var R=K.end(u,r);uI.select(u,R)}T.unref(),N.unref(),_.unref()}}})},insertText(u,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};K.withoutNormalizing(u,()=>{var{voids:r=!1}=t,{at:n=u.selection}=t;if(n){if(ua.isPath(n)&&(n=K.range(u,n)),uf.isRange(n)){if(uf.isCollapsed(n))n=n.anchor;else{var D=uf.end(n);if(!r&&K.void(u,{at:D}))return;var a=uf.start(n),o=K.pointRef(u,a),i=K.pointRef(u,D);uI.delete(u,{at:n,voids:r});var s=o.unref(),C=i.unref();n=s||C,uI.setSelection(u,{anchor:n,focus:n})}}if(!(!r&&K.void(u,{at:n}))){var{path:B,offset:l}=n;e.length>0&&u.apply({type:"insert_text",path:B,offset:l,text:e})}}})}})}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d6e1aeb5-10235c1a69554191.js b/static/web/_next/static/chunks/d6e1aeb5-10235c1a69554191.js new file mode 100644 index 000000000..ba67ecb00 --- /dev/null +++ b/static/web/_next/static/chunks/d6e1aeb5-10235c1a69554191.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2544],{85215:function(e,t,i){for(var n,r,a,s,o,l,u,d,c,h,p,f=i(58908),m=i.n(f),g=i(89144),_=i.n(g),v=i(87462),y=i(27537),T=i.n(y),b=i(97326),S=i(94578),k=i(75974),C=i.n(k),E=i(9603),w=i.n(E),I=i(13407),x=i.n(I),P=i(5647),A=i(60136),L=i(80779),O=i(9323),D=i(92260),M=i(8485),R=i(60562),U=i(12955),B=i(84221),N=i.n(B),F=i(68925),j=i(86185),H=i(51489),q="7.20.3",V={},W=function(e,t){return V[e]=V[e]||[],t&&(V[e]=V[e].concat(t)),V[e]},z=function(e,t){W(e,t)},G=function(e,t){var i=W(e).indexOf(t);return!(i<=-1)&&(V[e]=V[e].slice(),V[e].splice(i,1),!0)},K=function(e,t){W(e,[].concat(t).map(function(t){return function i(){return G(e,i),t.apply(void 0,arguments)}}))},Z={prefixed:!0},Q=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],X=Q[0],Y=0;Y0?o:0)}if(m().console){var l=m().console[e];l||"debug"!==e||(l=m().console.info||m().console.log),l&&a&&s.test(e)&&l[Array.isArray(n)?"apply":"call"](m().console,n)}},r.createLogger=function(i){return e(t+": "+i)},r.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},r.level=function(e){if("string"==typeof e){if(!r.levels.hasOwnProperty(e))throw Error('"'+e+'" in not a valid log level');n=e}return n},r.history=function(){return J?[].concat(J):[]},r.history.filter=function(e){return(J||[]).filter(function(t){return RegExp(".*"+e+".*").test(t[0])})},r.history.clear=function(){J&&(J.length=0)},r.history.disable=function(){null!==J&&(J.length=0,J=null)},r.history.enable=function(){null===J&&(J=[])},r.error=function(){for(var e=arguments.length,t=Array(e),r=0;r1?t-1:0),n=1;n=0)throw Error("class has illegal whitespace characters")}function eO(){return _()===m().document}function eD(e){return es(e)&&1===e.nodeType}function eM(){try{return m().parent!==m().self}catch(e){return!0}}function eR(e){return function(t,i){if(!eA(t))return _()[e](null);eA(i)&&(i=_().querySelector(i));var n=eD(i)?i:_();return n[e]&&n[e](t)}}function eU(e,t,i,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===i&&(i={});var r=_().createElement(e);return Object.getOwnPropertyNames(t).forEach(function(e){var i=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(ee.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+i+"."),r.setAttribute(e,i)):"textContent"===e?eB(r,i):(r[e]!==i||"tabIndex"===e)&&(r[e]=i)}),Object.getOwnPropertyNames(i).forEach(function(e){r.setAttribute(e,i[e])}),n&&e2(r,n),r}function eB(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function eN(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function eF(e,t){return(eL(t),e.classList)?e.classList.contains(t):RegExp("(^|\\s)"+t+"($|\\s)").test(e.className)}function ej(e,t){return e.classList?e.classList.add(t):eF(e,t)||(e.className=(e.className+" "+t).trim()),e}function eH(e,t){return e?(e.classList?e.classList.remove(t):(eL(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e):(ee.warn("removeClass was called with an element that doesn't exist"),null)}function eq(e,t,i){var n=eF(e,t);if("function"==typeof i&&(i=i(e,t)),"boolean"!=typeof i&&(i=!n),i!==n)return i?ej(e,t):eH(e,t),e}function eV(e,t){Object.getOwnPropertyNames(t).forEach(function(i){var n=t[i];null==n||!1===n?e.removeAttribute(i):e.setAttribute(i,!0===n?"":n)})}function eW(e){var t={};if(e&&e.attributes&&e.attributes.length>0)for(var i=e.attributes,n=i.length-1;n>=0;n--){var r=i[n].name,a=i[n].value;("boolean"==typeof e[r]||-1!==",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+r+","))&&(a=null!==a),t[r]=a}return t}function ez(e,t){return e.getAttribute(t)}function eG(e,t,i){e.setAttribute(t,i)}function eK(e,t){e.removeAttribute(t)}function eZ(){_().body.focus(),_().onselectstart=function(){return!1}}function eQ(){_().onselectstart=function(){return!0}}function eX(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach(function(e){void 0!==t[e]&&(i[e]=t[e])}),i.height||(i.height=parseFloat(el(e,"height"))),i.width||(i.width=parseFloat(el(e,"width"))),i}}function eY(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,i=e.offsetHeight,n=0,r=0;e.offsetParent&&e!==_()[Z.fullscreenElement];)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:n,top:r,width:t,height:i}}function e$(e,t){var i={x:0,y:0};if(eI)for(var n=e;n&&"html"!==n.nodeName.toLowerCase();){var r=el(n,"transform");if(/^matrix/.test(r)){var a=r.slice(7,-1).split(/,\s/).map(Number);i.x+=a[4],i.y+=a[5]}else if(/^matrix3d/.test(r)){var s=r.slice(9,-1).split(/,\s/).map(Number);i.x+=s[12],i.y+=s[13]}n=n.parentNode}var o={},l=eY(t.target),u=eY(e),d=u.width,c=u.height,h=t.offsetY-(u.top-l.top),p=t.offsetX-(u.left-l.left);return t.changedTouches&&(p=t.changedTouches[0].pageX-u.left,h=t.changedTouches[0].pageY+u.top,eI&&(p-=i.x,h-=i.y)),o.y=1-Math.max(0,Math.min(1,h/c)),o.x=Math.max(0,Math.min(1,p/d)),o}function eJ(e){return es(e)&&3===e.nodeType}function e0(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function e1(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return("function"==typeof e&&(e=e()),eD(e)||eJ(e))?e:"string"==typeof e&&/\S/.test(e)?_().createTextNode(e):void 0}).filter(function(e){return e})}function e2(e,t){return e1(t).forEach(function(t){return e.appendChild(t)}),e}function e8(e,t){return e2(e0(e),t)}function e4(e){return void 0===e.button&&void 0===e.buttons||0===e.button&&void 0===e.buttons||"mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons}var e5=eR("querySelector"),e3=eR("querySelectorAll"),e6=Object.freeze({__proto__:null,isReal:eO,isEl:eD,isInFrame:eM,createEl:eU,textContent:eB,prependTo:eN,hasClass:eF,addClass:ej,removeClass:eH,toggleClass:eq,setAttributes:eV,getAttributes:eW,getAttribute:ez,setAttribute:eG,removeAttribute:eK,blockTextSelection:eZ,unblockTextSelection:eQ,getBoundingClientRect:eX,findPosition:eY,getPointerPosition:e$,isTextNode:eJ,emptyEl:e0,normalizeContent:e1,appendContent:e2,insertContent:e8,isSingleLeftClick:e4,$:e5,$$:e3}),e7=!1,e9=function(){if(!1!==l.options.autoSetup){var e=Array.prototype.slice.call(_().getElementsByTagName("video")),t=Array.prototype.slice.call(_().getElementsByTagName("audio")),i=Array.prototype.slice.call(_().getElementsByTagName("video-js")),n=e.concat(t,i);if(n&&n.length>0)for(var r=0,a=n.length;r-1&&(r={passive:!0}),e.addEventListener(t,n.dispatcher,r)}else e.attachEvent&&e.attachEvent("on"+t,n.dispatcher)}}function th(e,t,i){if(ta.has(e)){var n=ta.get(e);if(n.handlers){if(Array.isArray(t))return to(th,e,t,i);var r=function(e,t){n.handlers[t]=[],ts(e,t)};if(void 0===t){for(var a in n.handlers)Object.prototype.hasOwnProperty.call(n.handlers||{},a)&&r(e,a);return}var s=n.handlers[t];if(s){if(!i){r(e,t);return}if(i.guid)for(var o=0;o=t&&(e.apply(void 0,arguments),i=n)}},ty=function(e,t,i,n){void 0===n&&(n=m());var r,a=function(){n.clearTimeout(r),r=null},s=function(){var a=this,s=arguments,o=function(){r=null,o=null,i||e.apply(a,s)};!r&&i&&e.apply(a,s),n.clearTimeout(r),r=n.setTimeout(o,t)};return s.cancel=a,s},tT=function(){};tT.prototype.allowedEvents_={},tT.prototype.on=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},tc(this,e,t),this.addEventListener=i},tT.prototype.addEventListener=tT.prototype.on,tT.prototype.off=function(e,t){th(this,e,t)},tT.prototype.removeEventListener=tT.prototype.off,tT.prototype.one=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},tf(this,e,t),this.addEventListener=i},tT.prototype.any=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},tm(this,e,t),this.addEventListener=i},tT.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=tl(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),tp(this,e)},tT.prototype.dispatchEvent=tT.prototype.trigger,tT.prototype.queueTrigger=function(e){var t=this;c||(c=new Map);var i=e.type||e,n=c.get(this);n||(n=new Map,c.set(this,n));var r=n.get(i);n.delete(i),m().clearTimeout(r);var a=m().setTimeout(function(){0===n.size&&(n=null,c.delete(t)),t.trigger(e)},0);n.set(i,a)};var tb=function(e){return"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},tS=function(e){return e instanceof tT||!!e.eventBusEl_&&["on","one","off","trigger"].every(function(t){return"function"==typeof e[t]})},tk=function(e,t){tS(e)?t():(e.eventedCallbacks||(e.eventedCallbacks=[]),e.eventedCallbacks.push(t))},tC=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},tE=function(e,t,i){if(!e||!e.nodeName&&!tS(e))throw Error("Invalid target for "+tb(t)+"#"+i+"; must be a DOM node or evented object.")},tw=function(e,t,i){if(!tC(e))throw Error("Invalid event type for "+tb(t)+"#"+i+"; must be a non-empty string or array.")},tI=function(e,t,i){if("function"!=typeof e)throw Error("Invalid listener for "+tb(t)+"#"+i+"; must be a function.")},tx=function(e,t,i){var n,r,a,s=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return s?(n=e.eventBusEl_,t.length>=3&&t.shift(),r=t[0],a=t[1]):(n=t[0],r=t[1],a=t[2]),tE(n,e,i),tw(r,e,i),tI(a,e,i),{isTargetingSelf:s,target:n,type:r,listener:a=t_(e,a)}},tP=function(e,t,i,n){tE(e,e,t),e.nodeName?tg[t](e,i,n):e[t](i,n)},tA={on:function(){for(var e=this,t=arguments.length,i=Array(t),n=0;n=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e&&(this.options_=tU(this.options_,e)),this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,i){return eU(e,t,i)},t.localize=function(e,t,i){void 0===i&&(i=e);var n=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),a=r&&r[n],s=n&&n.split("-")[0],o=r&&r[s],l=i;return a&&a[e]?l=a[e]:o&&o[e]&&(l=o[e]),t&&(l=l.replace(/\{(\d+)\}/g,function(e,i){var n=t[i-1],r=n;return void 0===n&&(r=e),r})),l},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=Array(e),i=0;i=0;i--)if(this.children_[i]===e){t=!0,this.children_.splice(i,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[tR(e.name())]=null,this.childNameIndex_[tM(e.name())]=null;var n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,i=this.options_.children;if(i){var n,r=this.options_,a=function(e){var i=e.name,n=e.opts;if(void 0!==r[i]&&(n=r[i]),!1!==n){!0===n&&(n={}),n.playerOptions=t.options_.playerOptions;var a=t.addChild(i,n);a&&(t[i]=a)}},s=e.getComponent("Tech");(n=Array.isArray(i)?i:Object.keys(i)).concat(Object.keys(this.options_).filter(function(e){return!n.some(function(t){return"string"==typeof t?e===t:e===t.name})})).map(function(e){var n,r;return"string"==typeof e?r=i[n=e]||t.options_[n]||{}:(n=e.name,r=e),{name:n,opts:r}}).filter(function(t){var i=e.getComponent(t.opts.componentClass||tR(t.name));return i&&!s.isTech(i)}).forEach(a)}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e){if(!this.isReady_){this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e);return}t?e.call(this):this.setTimeout(e,1)}},t.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},t.$=function(e,t){return e5(e,t||this.contentEl())},t.$$=function(e,t){return e3(e,t||this.contentEl())},t.hasClass=function(e){return eF(this.el_,e)},t.addClass=function(e){ej(this.el_,e)},t.removeClass=function(e){eH(this.el_,e)},t.toggleClass=function(e,t){eq(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return ez(this.el_,e)},t.setAttribute=function(e,t){eG(this.el_,e,t)},t.removeAttribute=function(e){eK(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,i){if(void 0!==t){(null===t||t!=t)&&(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:"auto"===t?this.el_.style[e]="":this.el_.style[e]=t+"px",i||this.trigger("componentresize");return}if(!this.el_)return 0;var n=this.el_.style[e],r=n.indexOf("px");return -1!==r?parseInt(n.slice(0,r),10):parseInt(this.el_["offset"+tR(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw Error("currentDimension only accepts width or height value");if(0===(t=parseFloat(t=el(this.el_,e)))||isNaN(t)){var i="offset"+tR(e);t=this.el_[i]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(T().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,i=null;this.on("touchstart",function(n){1===n.touches.length&&(i={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=m().performance.now(),e=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)e=!1;else if(i){var n=t.touches[0].pageX-i.pageX,r=t.touches[0].pageY-i.pageY;Math.sqrt(n*n+r*r)>10&&(e=!1)}});var n=function(){e=!1};this.on("touchleave",n),this.on("touchcancel",n),this.on("touchend",function(n){i=null,!0===e&&m().performance.now()-t<200&&(n.preventDefault(),this.trigger("tap"))})},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=t_(this.player(),this.player().reportUserActivity);this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var i=function(i){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",i),this.on("touchcancel",i)}},t.setTimeout=function(e,t){var i,n=this;return e=t_(this,e),this.clearTimersOnDispose_(),i=m().setTimeout(function(){n.setTimeoutIds_.has(i)&&n.setTimeoutIds_.delete(i),e()},t),this.setTimeoutIds_.add(i),i},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),m().clearTimeout(e)),e},t.setInterval=function(e,t){e=t_(this,e),this.clearTimersOnDispose_();var i=m().setInterval(e,t);return this.setIntervalIds_.add(i),i},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),m().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,i=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=t_(this,e),t=m().requestAnimationFrame(function(){i.rafIds_.has(t)&&i.rafIds_.delete(t),e()}),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var i=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=t_(this,t);var n=this.requestAnimationFrame(function(){t(),i.namedRafs_.has(e)&&i.namedRafs_.delete(e)});return this.namedRafs_.set(e,n),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),m().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach(function(t){var i=t[0],n=t[1];e[i].forEach(function(t,i){return e[n](i)})}),e.clearingTimersOnDispose_=!1}))},e.registerComponent=function(t,i){if("string"!=typeof t||!t)throw Error('Illegal component name, "'+t+'"; must be a non-empty string.');var n=e.getComponent("Tech"),r=n&&n.isTech(i),a=e===i||e.prototype.isPrototypeOf(i.prototype);if(r||!a)throw Error('Illegal component, "'+t+'"; '+(r?"techs must be registered using Tech.registerTech()":"must be a Component subclass")+".");t=tR(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var o=s.players,l=Object.keys(o);if(o&&l.length>0&&l.map(function(e){return o[e]}).every(Boolean))throw Error("Can not register Player component after player has been created.")}return e.components_[t]=i,e.components_[tM(t)]=i,i},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function tq(e,t,i,n){return!function(e,t,i){if("number"!=typeof t||t<0||t>i)throw Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+i+").")}(e,n,i.length-1),i[n][t]}function tV(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw Error("This TimeRanges object is empty")},end:function(){throw Error("This TimeRanges object is empty")}}:{length:e.length,start:tq.bind(null,"start",0,e),end:tq.bind(null,"end",1,e)},m().Symbol&&m().Symbol.iterator&&(t[m().Symbol.iterator]=function(){return(e||[]).values()}),t}function tW(e,t){return Array.isArray(e)?tV(e):void 0===e||void 0===t?tV():tV([[e,t]])}function tz(e,t){var i,n,r=0;if(!t)return 0;e&&e.length||(e=tW(0,0));for(var a=0;at&&(n=t),r+=n-i;return r/t}function tG(e){if(e instanceof tG)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:es(e)&&("number"==typeof e.code&&(this.code=e.code),ea(this,e)),this.message||(this.message=tG.defaultMessages[this.code]||"")}tH.prototype.supportsRaf_="function"==typeof m().requestAnimationFrame&&"function"==typeof m().cancelAnimationFrame,tH.registerComponent("Component",tH),tG.prototype.code=0,tG.prototype.message="",tG.prototype.status=null,tG.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],tG.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var tK=0;tK=0;n--)if(t[n].enabled){t2(t,t[n]);break}return(i=e.call(this,t)||this).changing_=!1,i}(0,S.Z)(t,e);var i=t.prototype;return i.addTrack=function(t){var i=this;t.enabled&&t2(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){i.changing_||(i.changing_=!0,t2(i,t),i.changing_=!1,i.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},i.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(t0),t4=function(e,t){for(var i=0;i=0;n--)if(t[n].selected){t4(t,t[n]);break}return(i=e.call(this,t)||this).changing_=!1,Object.defineProperty((0,b.Z)(i),"selectedIndex",{get:function(){for(var e=0;e0&&(m().console&&m().console.groupCollapsed&&m().console.groupCollapsed("Text Track parsing errors for "+t.src),n.forEach(function(e){return ee.error(e)}),m().console&&m().console.groupEnd&&m().console.groupEnd()),i.flush()},ic=function(e,t){var i={uri:e},n=il(e);n&&(i.cors=n);var r="use-credentials"===t.tech_.crossOrigin();r&&(i.withCredentials=r),w()(i,t_(this,function(e,i,n){if(e)return ee.error(e,i);t.loaded_=!0,"function"!=typeof m().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],function(e){if("vttjserror"===e.type){ee.error("vttjs failed to load, stopping trying to process "+t.src);return}return id(n,t)}):id(n,t)}))},ih=function(e){function t(t){if(void 0===t&&(t={}),!t.tech)throw Error("A tech was not provided.");var i,n=tU(t,{kind:it[t.kind]||"subtitles",language:t.language||t.srclang||""}),r=ii[n.mode]||"disabled",a=n.default;("metadata"===n.kind||"chapters"===n.kind)&&(r="hidden"),(i=e.call(this,n)||this).tech_=n.tech,i.cues_=[],i.activeCues_=[],i.preload_=!1!==i.tech_.preloadTextTracks;var s=new t7(i.cues_),o=new t7(i.activeCues_),l=!1;i.timeupdateHandler=t_((0,b.Z)(i),function(e){if(void 0===e&&(e={}),!this.tech_.isDisposed()){if(!this.tech_.isReady_){"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler));return}this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}});var u=function(){i.stopTracking()};return i.tech_.one("dispose",u),"disabled"!==r&&i.startTracking(),Object.defineProperties((0,b.Z)(i),{default:{get:function(){return a},set:function(){}},mode:{get:function(){return r},set:function(e){ii[e]&&r!==e&&(r=e,this.preload_||"disabled"===r||0!==this.cues.length||ic(this.src,this),this.stopTracking(),"disabled"!==r&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?s:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return o;for(var e=this.tech_.currentTime(),t=[],i=0,n=this.cues.length;i=e?t.push(r):r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e&&t.push(r)}if(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var a=0;a0){this.trigger("vttjsloaded");return}var t=_().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",function(){t.onload=null,t.onerror=null}),m().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)}},i.emulateTextTracks=function(){var e=this,t=this.textTracks(),i=this.remoteTextTracks(),n=function(e){return t.addTrack(e.track)},r=function(e){return t.removeTrack(e.track)};i.on("addtrack",n),i.on("removetrack",r),this.addWebVttScript_();var a=function(){return e.trigger("texttrackchange")},s=function(){a();for(var e=0;e=0;r--){var a=e[r];a[t]&&a[t](n,i)}}(e,i,o,s),o}var iE={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},iw={setCurrentTime:1,setMuted:1,setVolume:1},iI={play:1,pause:1};function ix(e){return function(t,i){return t===ik?ik:i[e]?i[e](t):t}}var iP={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},iA=function(e){return void 0===e&&(e=""),iP[io(e).toLowerCase()]||""},iL=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var i=e.cache_.sources.filter(function(e){return e.src===t});if(i.length)return i[0].type;for(var n=e.$$("source"),r=0;r0;this.player_.tech(!0)&&!((eb||ev)&&t)&&this.player_.tech(!0).focus(),this.player_.paused()?tQ(this.player_.play()):this.player_.pause()}},t}(iR);tH.registerComponent("PosterImage",iU);var iB="#222",iN="#ccc",iF={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function ij(e,t){var i;if(4===e.length)i=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else if(7===e.length)i=e.slice(1);else throw Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");return"rgba("+parseInt(i.slice(0,2),16)+","+parseInt(i.slice(2,4),16)+","+parseInt(i.slice(4,6),16)+","+t+")"}function iH(e,t,i){try{e.style[t]=i}catch(n){return}}var iq=function(e){function t(t,i,n){r=e.call(this,t,i,n)||this;var r,a=function(e){return r.updateDisplay(e)};return t.on("loadstart",function(e){return r.toggleDisplay(e)}),t.on("texttrackchange",a),t.on("loadedmetadata",function(e){return r.preselectTrack(e)}),t.ready(t_((0,b.Z)(r),function(){if(t.tech_&&t.tech_.featuresNativeTextTracks){this.hide();return}t.on("fullscreenchange",a),t.on("playerresize",a),m().addEventListener("orientationchange",a),t.on("dispose",function(){return m().removeEventListener("orientationchange",a)});for(var e=this.options_.playerOptions.tracks||[],i=0;i0;tQ(t),this.player_.tech(!0)&&!((eb||ev)&&i)&&this.player_.tech(!0).focus();return}var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(!r){this.player_.tech(!0).focus();return}var a=function(){return r.focus()};tZ(t)?t.then(a,function(){}):this.setTimeout(a,1)},i.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},i.handleMouseDown=function(e){this.mouseused_=!0},t}(iW);iz.prototype.controlText_="Play Video",tH.registerComponent("BigPlayButton",iz);var iG=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).controlText(i&&i.controlText||n.localize("Close")),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},i.handleKeyDown=function(t){T().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(iW);tH.registerComponent("CloseButton",iG);var iK=function(e){function t(t,i){var n;return void 0===i&&(i={}),n=e.call(this,t,i)||this,i.replay=void 0===i.replay||i.replay,n.on(t,"play",function(e){return n.handlePlay(e)}),n.on(t,"pause",function(e){return n.handlePause(e)}),i.replay&&n.on(t,"ended",function(e){return n.handleEnded(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){this.player_.paused()?tQ(this.player_.play()):this.player_.pause()},i.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},i.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},i.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},i.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",function(e){return t.handleSeeked(e)})},t}(iW);iK.prototype.controlText_="Play",tH.registerComponent("PlayToggle",iK);var iZ=function(e,t){var i=Math.floor((e=e<0?0:e)%60),n=Math.floor(e/60%60),r=Math.floor(e/3600);return(isNaN(e)||e===1/0)&&(r=n=i="-"),n=(((r=r>0||Math.floor(t/3600)>0?r+":":"")||Math.floor(t/60%60)>=10)&&n<10?"0"+n:n)+":",r+n+(i=i<10?"0"+i:i)},iQ=iZ;function iX(e,t){return void 0===t&&(t=e),iQ(e,t)}var iY=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,["timeupdate","ended"],function(e){return n.updateContent(e)}),n.updateTextNode_(),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=this.buildCSSClass(),i=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),n=eU("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+"\xa0"},{role:"presentation"});return i.appendChild(n),this.contentEl_=eU("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),i.appendChild(this.contentEl_),i},i.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},i.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=iX(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,ee.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=_().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}}))},i.updateContent=function(e){},t}(tH);iY.prototype.labelText_="Time",iY.prototype.controlText_="Time",tH.registerComponent("TimeDisplay",iY);var i$=function(e){function t(){return e.apply(this,arguments)||this}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-current-time"},i.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(iY);i$.prototype.labelText_="Current Time",i$.prototype.controlText_="Current Time",tH.registerComponent("CurrentTimeDisplay",i$);var iJ=function(e){function t(t,i){n=e.call(this,t,i)||this;var n,r=function(e){return n.updateContent(e)};return n.on(t,"durationchange",r),n.on(t,"loadstart",r),n.on(t,"loadedmetadata",r),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-duration"},i.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(iY);iJ.prototype.labelText_="Duration",iJ.prototype.controlText_="Duration",tH.registerComponent("DurationDisplay",iJ);var i0=function(e){function t(){return e.apply(this,arguments)||this}return(0,S.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),i=e.prototype.createEl.call(this,"div"),n=e.prototype.createEl.call(this,"span",{textContent:"/"});return i.appendChild(n),t.appendChild(i),t},t}(tH);tH.registerComponent("TimeDivider",i0);var i1=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"durationchange",function(e){return n.updateContent(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-remaining-time"},i.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(eU("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},i.updateContent=function(e){var t;"number"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(iY);i1.prototype.labelText_="Remaining Time",i1.prototype.controlText_="Remaining Time",tH.registerComponent("RemainingTimeDisplay",i1);var i2=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).updateShowing(),n.on(n.player(),"durationchange",function(e){return n.updateShowing(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=eU("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(eU("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+"\xa0"})),this.contentEl_.appendChild(_().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},i.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},i.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(tH);tH.registerComponent("LiveDisplay",i2);var i8=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).updateLiveEdgeStatus(),n.player_.liveTracker&&(n.updateLiveEdgeStatusHandler_=function(e){return n.updateLiveEdgeStatus(e)},n.on(n.player_.liveTracker,"liveedgechange",n.updateLiveEdgeStatusHandler_)),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=eU("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},i.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},i.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},i.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(iW);i8.prototype.controlText_="Seek to live, currently playing live",tH.registerComponent("SeekToLive",i8);var i4=function(e,t,i){return Math.min(i,Math.max(t,isNaN(e=Number(e))?t:e))},i5=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).handleMouseDown_=function(e){return n.handleMouseDown(e)},n.handleMouseUp_=function(e){return n.handleMouseUp(e)},n.handleKeyDown_=function(e){return n.handleKeyDown(e)},n.handleClick_=function(e){return n.handleClick(e)},n.handleMouseMove_=function(e){return n.handleMouseMove(e)},n.update_=function(e){return n.update(e)},n.bar=n.getChild(n.options_.barName),n.vertical(!!n.options_.vertical),n.enable(),n}(0,S.Z)(t,e);var i=t.prototype;return i.enabled=function(){return this.enabled_},i.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},i.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},i.createEl=function(t,i,n){return void 0===i&&(i={}),void 0===n&&(n={}),i.className=i.className+" vjs-slider",i=ea({tabIndex:0},i),n=ea({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),e.prototype.createEl.call(this,t,i,n)},i.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||ey||e.preventDefault(),eZ(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},i.handleMouseMove=function(e){},i.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;eQ(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},i.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",function(){var i=e.vertical()?"height":"width";e.bar.el().style[i]=(100*t).toFixed(2)+"%"})),t}},i.getProgress=function(){return Number(i4(this.getPercent(),0,1).toFixed(4))},i.calculateDistance=function(e){var t=e$(this.el_,e);return this.vertical()?t.y:t.x},i.handleKeyDown=function(t){T().isEventKey(t,"Left")||T().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):T().isEventKey(t,"Right")||T().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},i.handleClick=function(e){e.stopPropagation(),e.preventDefault()},i.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(tH);tH.registerComponent("Slider",i5);var i3=function(e,t){return i4(e/t*100,0,100).toFixed(2)+"%"},i6=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).partEls_=[],n.on(t,"progress",function(e){return n.update(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),i=eU("span",{className:"vjs-control-text"}),n=eU("span",{textContent:this.localize("Loaded")}),r=_().createTextNode(": ");return this.percentageEl_=eU("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(i),i.appendChild(n),i.appendChild(r),i.appendChild(this.percentageEl_),t},i.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},i.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",function(){var e=t.player_.liveTracker,i=t.player_.buffered(),n=e&&e.isLive()?e.seekableEnd():t.player_.duration(),r=t.player_.bufferedEnd(),a=t.partEls_,s=i3(r,n);t.percent_!==s&&(t.el_.style.width=s,eB(t.percentageEl_,s),t.percent_=s);for(var o=0;oi.length;c--)t.el_.removeChild(a[c-1]);a.length=i.length})},t}(tH);tH.registerComponent("LoadProgressBar",i6);var i7=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=tv(t_((0,b.Z)(n),n.update),30),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},i.update=function(e,t,i){var n=eY(this.el_),r=eX(this.player_.el()),a=e.width*t;if(r&&n){var s=e.left-r.left+a,o=e.width-a+(r.right-e.right),l=n.width/2;sn.width&&(l=n.width),l=Math.round(l),this.el_.style.right="-"+l+"px",this.write(i)}},i.write=function(e){eB(this.el_,e)},i.updateTime=function(e,t,i,n){var r=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",function(){var a,s=r.player_.duration();if(r.player_.liveTracker&&r.player_.liveTracker.isLive()){var o=r.player_.liveTracker.liveWindow(),l=o-t*o;a=(l<1?"":"-")+iX(l,o)}else a=iX(i,s);r.update(e,t,a),n&&n()})},t}(tH);tH.registerComponent("TimeTooltip",i7);var i9=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=tv(t_((0,b.Z)(n),n.update),30),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},i.update=function(e,t){var i=this.getChild("timeTooltip");if(i){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();i.updateTime(e,t,n)}},t}(tH);i9.prototype.options_={children:[]},eI||ef||i9.prototype.options_.children.push("timeTooltip"),tH.registerComponent("PlayProgressBar",i9);var ne=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=tv(t_((0,b.Z)(n),n.update),30),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},i.update=function(e,t){var i=this,n=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,n,function(){i.el_.style.left=e.width*t+"px"})},t}(tH);ne.prototype.options_={children:["timeTooltip"]},tH.registerComponent("MouseTimeDisplay",ne);var nt=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).setEventHandlers_(),n}(0,S.Z)(t,e);var i=t.prototype;return i.setEventHandlers_=function(){var e=this;this.update_=t_(this,this.update),this.update=tv(this.update_,30),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in _()&&"visibilityState"in _()&&this.on(_(),"visibilitychange",this.toggleVisibility_)},i.toggleVisibility_=function(e){"hidden"===_().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},i.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},i.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||!this.updateInterval||(this.clearInterval(this.updateInterval),this.updateInterval=null)},i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},i.update=function(t){var i=this;if("hidden"!==_().visibilityState){var n=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",function(){var e=i.player_.ended()?i.player_.duration():i.getCurrentTime_(),t=i.player_.liveTracker,r=i.player_.duration();t&&t.isLive()&&(r=i.player_.liveTracker.liveCurrentTime()),i.percent_!==n&&(i.el_.setAttribute("aria-valuenow",(100*n).toFixed(2)),i.percent_=n),(i.currentTime_!==e||i.duration_!==r)&&(i.el_.setAttribute("aria-valuetext",i.localize("progress bar timing: currentTime={1} duration={2}",[iX(e,r),iX(r,r)],"{1} of {2}")),i.currentTime_=e,i.duration_=r),i.bar&&i.bar.update(eX(i.el()),i.getProgress())}),n}},i.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},i.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},i.getPercent=function(){var e,t=this.getCurrentTime_(),i=this.player_.liveTracker;return i&&i.isLive()?(e=(t-i.seekableStart())/i.liveWindow(),i.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},i.handleMouseDown=function(t){e4(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},i.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),e4(e)){t||this.player_.scrubbing()||this.player_.scrubbing(!0);var i,n=this.calculateDistance(e),r=this.player_.liveTracker;if(r&&r.isLive()){if(n>=.99){r.seekToLiveEdge();return}var a=r.seekableStart(),s=r.liveCurrentTime();if((i=a+n*r.liveWindow())>=s&&(i=s),i<=a&&(i=a+.1),i===1/0)return}else(i=n*this.player_.duration())===this.player_.duration()&&(i-=.1);this.userSeek_(i)}},i.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},i.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},i.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?tQ(this.player_.play()):this.update_()},i.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},i.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},i.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},i.handleKeyDown=function(t){var i=this.player_.liveTracker;if(T().isEventKey(t,"Space")||T().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(T().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(T().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),i&&i.isLive()?this.userSeek_(i.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(T()(t))){t.preventDefault(),t.stopPropagation();var n=(T().codes[T()(t)]-T().codes[0])*10/100;i&&i.isLive()?this.userSeek_(i.seekableStart()+i.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else T().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):T().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},i.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in _()&&"visibilityState"in _()&&this.off(_(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(i5);nt.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},eI||ef||nt.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),tH.registerComponent("SeekBar",nt);var ni=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).handleMouseMove=tv(t_((0,b.Z)(n),n.handleMouseMove),30),n.throttledHandleMouseSeek=tv(t_((0,b.Z)(n),n.handleMouseSeek),30),n.handleMouseUpHandler_=function(e){return n.handleMouseUp(e)},n.handleMouseDownHandler_=function(e){return n.handleMouseDown(e)},n.enable(),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},i.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var i=t.getChild("playProgressBar"),n=t.getChild("mouseTimeDisplay");if(i||n){var r=t.el(),a=eY(r),s=e$(r,e).x;s=i4(s,0,1),n&&n.update(a,s),i&&i.update(a,t.getProgress())}}},i.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},i.enabled=function(){return this.enabled_},i.disable=function(){if(this.children().forEach(function(e){return e.disable&&e.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&tQ(this.player_.play())}},i.enable=function(){this.children().forEach(function(e){return e.enable&&e.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},i.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},i.handleMouseDown=function(e){var t=this.el_.ownerDocument,i=this.getChild("seekBar");i&&i.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(tH);ni.prototype.options_={children:["seekBar"]},tH.registerComponent("ProgressControl",ni);var nn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],function(e){return n.handlePictureInPictureChange(e)}),n.on(t,["disablepictureinpicturechanged","loadedmetadata"],function(e){return n.handlePictureInPictureEnabledChange(e)}),n.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),n.hide()):n.show()}),n.disable(),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},i.handlePictureInPictureEnabledChange=function(){_().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},i.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},i.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(iW);nn.prototype.controlText_="Picture-in-Picture",tH.registerComponent("PictureInPictureToggle",nn);var nr=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"fullscreenchange",function(e){return n.handleFullscreenChange(e)}),!1===_()[t.fsApi_.fullscreenEnabled]&&n.disable(),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},i.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},i.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(iW);nr.prototype.controlText_="Fullscreen",tH.registerComponent("FullscreenToggle",nr);var na=function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},ns=function(e){function t(){return e.apply(this,arguments)||this}return(0,S.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(tH);tH.registerComponent("VolumeLevel",ns);var no=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=tv(t_((0,b.Z)(n),n.update),30),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},i.update=function(e,t,i,n){if(!i){var r=eX(this.el_),a=eX(this.player_.el()),s=e.width*t;if(!a||!r)return;var o=e.left-a.left+s,l=e.width-s+(a.right-e.right),u=r.width/2;or.width&&(u=r.width),this.el_.style.right="-"+u+"px"}this.write(n+"%")},i.write=function(e){eB(this.el_,e)},i.updateVolume=function(e,t,i,n,r){var a=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",function(){a.update(e,t,i,n.toFixed(0)),r&&r()})},t}(tH);tH.registerComponent("VolumeLevelTooltip",no);var nl=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=tv(t_((0,b.Z)(n),n.update),30),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},i.update=function(e,t,i){var n=this;this.getChild("volumeLevelTooltip").updateVolume(e,t,i,100*t,function(){i?n.el_.style.bottom=e.height*t+"px":n.el_.style.left=e.width*t+"px"})},t}(tH);nl.prototype.options_={children:["volumeLevelTooltip"]},tH.registerComponent("MouseVolumeLevelDisplay",nl);var nu=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on("slideractive",function(e){return n.updateLastVolume_(e)}),n.on(t,"volumechange",function(e){return n.updateARIAAttributes(e)}),t.ready(function(){return n.updateARIAAttributes()}),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},i.handleMouseDown=function(t){e4(t)&&e.prototype.handleMouseDown.call(this,t)},i.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var i=this.el(),n=eX(i),r=this.vertical(),a=e$(i,e);a=i4(a=r?a.y:a.x,0,1),t.update(n,a,r)}e4(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},i.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},i.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},i.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},i.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},i.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},i.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},i.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",function(){0===e.player_.volume()&&e.player_.lastVolume_(t)})},t}(i5);nu.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},eI||ef||nu.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),nu.prototype.playerEvent="volumechange",tH.registerComponent("VolumeBar",nu);var nd=function(e){function t(t,i){var n;return void 0===i&&(i={}),i.vertical=i.vertical||!1,(void 0===i.volumeBar||eo(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical),n=e.call(this,t,i)||this,na((0,b.Z)(n),t),n.throttledHandleMouseMove=tv(t_((0,b.Z)(n),n.handleMouseMove),30),n.handleMouseUpHandler_=function(e){return n.handleMouseUp(e)},n.on("mousedown",function(e){return n.handleMouseDown(e)}),n.on("touchstart",function(e){return n.handleMouseDown(e)}),n.on("mousemove",function(e){return n.handleMouseMove(e)}),n.on(n.volumeBar,["focus","slideractive"],function(){n.volumeBar.addClass("vjs-slider-active"),n.addClass("vjs-slider-active"),n.trigger("slideractive")}),n.on(n.volumeBar,["blur","sliderinactive"],function(){n.volumeBar.removeClass("vjs-slider-active"),n.removeClass("vjs-slider-active"),n.trigger("sliderinactive")}),n}(0,S.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},i.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(tH);nd.prototype.options_={children:["volumeBar"]},tH.registerComponent("VolumeControl",nd);var nc=function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")})},nh=function(e){function t(t,i){var n;return n=e.call(this,t,i)||this,nc((0,b.Z)(n),t),n.on(t,["loadstart","volumechange"],function(e){return n.update(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){var t=this.player_.volume(),i=this.player_.lastVolume_();0===t?(this.player_.volume(i<.1?.1:i),this.player_.muted(!1)):this.player_.muted(!this.player_.muted())},i.update=function(e){this.updateIcon_(),this.updateControlText_()},i.updateIcon_=function(){var e=this.player_.volume(),t=3;eI&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var i=0;i<4;i++)eH(this.el_,"vjs-vol-"+i);ej(this.el_,"vjs-vol-"+t)},i.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(iW);nh.prototype.controlText_="Mute",tH.registerComponent("MuteToggle",nh);var np=function(e){function t(t,i){var n;return void 0===i&&(i={}),void 0!==i.inline?i.inline=i.inline:i.inline=!0,(void 0===i.volumeControl||eo(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline),(n=e.call(this,t,i)||this).handleKeyPressHandler_=function(e){return n.handleKeyPress(e)},n.on(t,["loadstart"],function(e){return n.volumePanelState_(e)}),n.on(n.muteToggle,"keyup",function(e){return n.handleKeyPress(e)}),n.on(n.volumeControl,"keyup",function(e){return n.handleVolumeControlKeyUp(e)}),n.on("keydown",function(e){return n.handleKeyPress(e)}),n.on("mouseover",function(e){return n.handleMouseOver(e)}),n.on("mouseout",function(e){return n.handleMouseOut(e)}),n.on(n.volumeControl,["slideractive"],n.sliderActive_),n.on(n.volumeControl,["sliderinactive"],n.sliderInactive_),n}(0,S.Z)(t,e);var i=t.prototype;return i.sliderActive_=function(){this.addClass("vjs-slider-active")},i.sliderInactive_=function(){this.removeClass("vjs-slider-active")},i.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},i.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},i.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},i.handleVolumeControlKeyUp=function(e){T().isEventKey(e,"Esc")&&this.muteToggle.focus()},i.handleMouseOver=function(e){this.addClass("vjs-hover"),tc(_(),"keyup",this.handleKeyPressHandler_)},i.handleMouseOut=function(e){this.removeClass("vjs-hover"),th(_(),"keyup",this.handleKeyPressHandler_)},i.handleKeyPress=function(e){T().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(tH);np.prototype.options_={children:["muteToggle","volumeControl"]},tH.registerComponent("VolumePanel",np);var nf=function(e){function t(t,i){var n;return n=e.call(this,t,i)||this,i&&(n.menuButton_=i.menuButton),n.focusedChild_=-1,n.on("keydown",function(e){return n.handleKeyDown(e)}),n.boundHandleBlur_=function(e){return n.handleBlur(e)},n.boundHandleTapClick_=function(e){return n.handleTapClick(e)},n}(0,S.Z)(t,e);var i=t.prototype;return i.addEventListenerForItem=function(e){e instanceof tH&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},i.removeEventListenerForItem=function(e){e instanceof tH&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},i.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},i.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},i.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=eU(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var i=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return i.appendChild(this.contentEl_),tc(i,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),i},i.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},i.handleBlur=function(e){var t=e.relatedTarget||_().activeElement;if(!this.children().some(function(e){return e.el()===t})){var i=this.menuButton_;i&&i.buttonPressed_&&t!==i.el().firstChild&&i.unpressButton()}},i.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(Array.isArray(t)){var i=t.filter(function(t){return t.el()===e.target})[0];i&&"CaptionSettingsMenuItem"!==i.name()&&this.menuButton_.focus()}}},i.handleKeyDown=function(e){T().isEventKey(e,"Left")||T().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(T().isEventKey(e,"Right")||T().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},i.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},i.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},i.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(tH);tH.registerComponent("Menu",nf);var nm=function(e){function t(t,i){void 0===i&&(i={}),(n=e.call(this,t,i)||this).menuButton_=new iW(t,i),n.menuButton_.controlText(n.controlText_),n.menuButton_.el_.setAttribute("aria-haspopup","true");var n,r=iW.prototype.buildCSSClass();n.menuButton_.el_.className=n.buildCSSClass()+" "+r,n.menuButton_.removeClass("vjs-control"),n.addChild(n.menuButton_),n.update(),n.enabled_=!0;var a=function(e){return n.handleClick(e)};return n.handleMenuKeyUp_=function(e){return n.handleMenuKeyUp(e)},n.on(n.menuButton_,"tap",a),n.on(n.menuButton_,"click",a),n.on(n.menuButton_,"keydown",function(e){return n.handleKeyDown(e)}),n.on(n.menuButton_,"mouseenter",function(){n.addClass("vjs-hover"),n.menu.show(),tc(_(),"keyup",n.handleMenuKeyUp_)}),n.on("mouseleave",function(e){return n.handleMouseLeave(e)}),n.on("keydown",function(e){return n.handleSubmenuKeyDown(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},i.createMenu=function(){var e=new nf(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=eU("li",{className:"vjs-menu-title",textContent:tR(this.options_.title),tabIndex:-1}),i=new tH(this.player_,{el:t});e.addItem(i)}if(this.items=this.createItems(),this.items)for(var n=0;n-1&&"showing"===a.mode){i=!1;break}}i!==this.isSelected_&&this.selected(i)},i.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),i=!0,n=0,r=t.length;n-1&&"showing"===a.mode){i=!1;break}}i&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(ny);tH.registerComponent("OffTextTrackMenuItem",nT);var nb=function(e){function t(t,i){return void 0===i&&(i={}),i.tracks=t.textTracks(),e.call(this,t,i)||this}return(0,S.Z)(t,e),t.prototype.createItems=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=ny),this.label_&&(i=this.label_+" off"),e.push(new nT(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;var i,n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r-1){var s=new t(this.player_,{track:a,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});s.addClass("vjs-"+a.kind+"-menu-item"),e.push(s)}}return e},t}(ng);tH.registerComponent("TextTrackButton",nb);var nS=function(e){function t(t,i){var n,r=i.track,a=i.cue,s=t.currentTime();return i.selectable=!0,i.multiSelectable=!1,i.label=a.text,i.selected=a.startTime<=s&&s=0;t--){var i=e[t];if(i.kind===this.kind_)return i}},i.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(tR(this.kind_))},i.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},i.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var i=0,n=t.length;i-1&&(n.label_="captions"),n.menuButton_.controlText(tR(n.label_)),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},i.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},i.createItems=function(){var t=[];return!(this.player().tech_&&this.player().tech_.featuresNativeTextTracks)&&this.player().getChild("textTrackSettings")&&(t.push(new nw(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,nx)},t}(nb);nP.prototype.kinds_=["captions","subtitles"],nP.prototype.controlText_="Subtitles",tH.registerComponent("SubsCapsButton",nP);var nA=function(e){function t(t,i){var n,r=i.track,a=t.audioTracks();i.label=r.label||r.language||"Unknown",i.selected=r.enabled,(n=e.call(this,t,i)||this).track=r,n.addClass("vjs-"+r.kind+"-menu-item");var s=function(){for(var e=arguments.length,t=Array(e),i=0;i=0;i--)t.push(new nO(this.player(),{rate:e[i]+"x"}));return t},i.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},i.handleClick=function(e){var t=this.player().playbackRate(),i=this.playbackRates(),n=(i.indexOf(t)+1)%i.length;this.player().playbackRate(i[n])},i.handlePlaybackRateschange=function(e){this.update()},i.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},i.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},i.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},i.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(nm);nD.prototype.controlText_="Playback Rate",tH.registerComponent("PlaybackRateMenuButton",nD);var nM=function(e){function t(){return e.apply(this,arguments)||this}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},i.createEl=function(t,i,n){return void 0===t&&(t="div"),void 0===i&&(i={}),void 0===n&&(n={}),i.className||(i.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,i,n)},t}(tH);tH.registerComponent("Spacer",nM);var nR=function(e){function t(){return e.apply(this,arguments)||this}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:"\xa0"})},t}(nM);tH.registerComponent("CustomControlSpacer",nR);var nU=function(e){function t(){return e.apply(this,arguments)||this}return(0,S.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(tH);nU.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in _()&&nU.prototype.options_.children.splice(nU.prototype.options_.children.length-1,0,"pictureInPictureToggle"),tH.registerComponent("ControlBar",nU);var nB=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"error",function(e){return n.open(e)}),n}(0,S.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},i.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(tJ);nB.prototype.options_=(0,v.Z)({},tJ.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),tH.registerComponent("ErrorDisplay",nB);var nN="vjs-text-track-settings",nF=["#000","Black"],nj=["#00F","Blue"],nH=["#0FF","Cyan"],nq=["#0F0","Green"],nV=["#F0F","Magenta"],nW=["#F00","Red"],nz=["#FFF","White"],nG=["#FF0","Yellow"],nK=["1","Opaque"],nZ=["0.5","Semi-Transparent"],nQ=["0","Transparent"],nX={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[nF,nz,nW,nq,nj,nG,nV,nH]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[nK,nZ,nQ]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[nz,nF,nW,nq,nj,nG,nV,nH]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[nK,nZ]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[nQ,nZ,nK]}};function nY(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}nX.windowColor.options=nX.backgroundColor.options;var n$=function(e){function t(t,i){var n;return i.temporary=!1,(n=e.call(this,t,i)||this).updateDisplay=n.updateDisplay.bind((0,b.Z)(n)),n.fill(),n.hasBeenOpened_=n.hasBeenFilled_=!0,n.endDialog=eU("p",{className:"vjs-control-text",textContent:n.localize("End of dialog window.")}),n.el().appendChild(n.endDialog),n.setDefaults(),void 0===i.persistTextTrackSettings&&(n.options_.persistTextTrackSettings=n.options_.playerOptions.persistTextTrackSettings),n.on(n.$(".vjs-done-button"),"click",function(){n.saveSettings(),n.close()}),n.on(n.$(".vjs-default-button"),"click",function(){n.setDefaults(),n.updateDisplay()}),er(nX,function(e){n.on(n.$(e.selector),"change",n.updateDisplay)}),n.options_.persistTextTrackSettings&&n.restoreSettings(),n}(0,S.Z)(t,e);var i=t.prototype;return i.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},i.createElSelect_=function(e,t,i){var n=this;void 0===t&&(t=""),void 0===i&&(i="label");var r=nX[e],a=r.id.replace("%s",this.id_),s=[t,a].join(" ").trim();return["<"+i+' id="'+a+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(r.label),"",'").join("")},i.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['
        ','',this.localize("Text"),"",this.createElSelect_("color",e),'',this.createElSelect_("textOpacity",e),"","
        "].join("")},i.createElBgColor_=function(){var e="captions-background-"+this.id_;return['
        ','',this.localize("Background"),"",this.createElSelect_("backgroundColor",e),'',this.createElSelect_("backgroundOpacity",e),"","
        "].join("")},i.createElWinColor_=function(){var e="captions-window-"+this.id_;return['
        ','',this.localize("Window"),"",this.createElSelect_("windowColor",e),'',this.createElSelect_("windowOpacity",e),"","
        "].join("")},i.createElColors_=function(){return eU("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},i.createElFont_=function(){return eU("div",{className:"vjs-track-settings-font",innerHTML:['
        ',this.createElSelect_("fontPercent","","legend"),"
        ",'
        ',this.createElSelect_("edgeStyle","","legend"),"
        ",'
        ',this.createElSelect_("fontFamily","","legend"),"
        "].join("")})},i.createElControls_=function(){var e=this.localize("restore all settings to the default values");return eU("div",{className:"vjs-track-settings-controls",innerHTML:['",'"].join("")})},i.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},i.label=function(){return this.localize("Caption Settings Dialog")},i.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},i.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},i.getValues=function(){var e,t=this;return e=function(e,i,n){var r,a,s=(r=t.$(i.selector),a=i.parser,nY(r.options[r.options.selectedIndex].value,a));return void 0!==s&&(e[n]=s),e},en(nX).reduce(function(t,i){return e(t,nX[i],i)},{})},i.setValues=function(e){var t=this;er(nX,function(i,n){!function(e,t,i){if(t){for(var n=0;nthis.options_.liveTolerance;this.timeupdateSeen_&&n!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}},i.handleDurationchange=function(){this.toggleTracking()},i.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},i.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},i.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},i.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},i.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},i.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},i.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},i.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},i.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.end(i));return t.length?t.sort()[t.length-1]:1/0},i.seekableStart=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.start(i));return t.length?t.sort()[0]:0},i.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},i.isLive=function(){return this.isTracking()},i.atLiveEdge=function(){return!this.behindLiveEdge()},i.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},i.pastSeekEnd=function(){var e=this.seekableEnd();return -1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},i.behindLiveEdge=function(){return this.behindLiveEdge_},i.isTracking=function(){return"number"==typeof this.trackingInterval_},i.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},i.dispose=function(){this.off(_(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(tH);tH.registerComponent("LiveTracker",n1);var n2=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var i=e.$$("source"),n=[],r="";if(!i.length)return!1;for(var a=0;a=2&&r.push("loadeddata"),e.readyState>=3&&r.push("canplay"),e.readyState>=4&&r.push("canplaythrough"),this.ready(function(){r.forEach(function(e){this.trigger(e)},this)})}},i.setScrubbing=function(e){this.isScrubbing_=e},i.scrubbing=function(){return this.isScrubbing_},i.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&ex?this.el_.fastSeek(e):this.el_.currentTime=e}catch(t){ee(t,"Video is not ready. (Video.js)")}},i.duration=function(){var e=this;if(this.el_.duration===1/0&&ef&&ey&&0===this.el_.currentTime){var t=function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))};return this.on("timeupdate",t),NaN}return this.el_.duration||NaN},i.width=function(){return this.el_.offsetWidth},i.height=function(){return this.el_.offsetHeight},i.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},i=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",i),this.on("dispose",function(){e.off("webkitbeginfullscreen",i),e.off("webkitendfullscreen",t)})}},i.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=m().navigator&&m().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},i.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)tQ(this.el_.play()),this.setTimeout(function(){e.pause();try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},0);else try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},i.exitFullScreen=function(){if(!this.el_.webkitDisplayingFullscreen){this.trigger("fullscreenerror",Error("The video is not fullscreen"));return}this.el_.webkitExitFullScreen()},i.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},i.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},i.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},i.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},i.reset=function(){t.resetMediaElement(this.el_)},i.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},i.setControls=function(e){this.el_.controls=!!e},i.addTextTrack=function(t,i,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,i,n):e.prototype.addTextTrack.call(this,t,i,n)},i.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var i=_().createElement("track");return t.kind&&(i.kind=t.kind),t.label&&(i.label=t.label),(t.language||t.srclang)&&(i.srclang=t.language||t.srclang),t.default&&(i.default=t.default),t.id&&(i.id=t.id),t.src&&(i.src=t.src),i},i.addRemoteTextTrack=function(t,i){var n=e.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(n),n},i.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),n=i.length;n--;)(t===i[n]||t===i[n].track)&&this.el().removeChild(i[n])},i.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),m().performance&&"function"==typeof m().performance.now?e.creationTime=m().performance.now():m().performance&&m().performance.timing&&"number"==typeof m().performance.timing.navigationStart&&(e.creationTime=m().Date.now()-m().performance.timing.navigationStart),e},t}(iT);n7(n9,"TEST_VID",function(){if(eO()){var e=_().createElement("video"),t=_().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}}),n9.isSupported=function(){try{n9.TEST_VID.volume=.5}catch(e){return!1}return!!(n9.TEST_VID&&n9.TEST_VID.canPlayType)},n9.canPlayType=function(e){return n9.TEST_VID.canPlayType(e)},n9.canPlaySource=function(e,t){return n9.canPlayType(e.type)},n9.canControlVolume=function(){try{var e=n9.TEST_VID.volume;n9.TEST_VID.volume=e/2+.1;var t=e!==n9.TEST_VID.volume;if(t&&eI)return m().setTimeout(function(){n9&&n9.prototype&&(n9.prototype.featuresVolumeControl=e!==n9.TEST_VID.volume)}),!1;return t}catch(i){return!1}},n9.canMuteVolume=function(){try{var e=n9.TEST_VID.muted;return n9.TEST_VID.muted=!e,n9.TEST_VID.muted?eG(n9.TEST_VID,"muted","muted"):eK(n9.TEST_VID,"muted","muted"),e!==n9.TEST_VID.muted}catch(t){return!1}},n9.canControlPlaybackRate=function(){if(ef&&ey&&eT<58)return!1;try{var e=n9.TEST_VID.playbackRate;return n9.TEST_VID.playbackRate=e/2+.1,e!==n9.TEST_VID.playbackRate}catch(t){return!1}},n9.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(_().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(_().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(_().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(_().createElement("audio"),"innerHTML",{get:e,set:e})}catch(t){return!1}return!0},n9.supportsNativeTextTracks=function(){return ex||eI&&ey},n9.supportsNativeVideoTracks=function(){return!!(n9.TEST_VID&&n9.TEST_VID.videoTracks)},n9.supportsNativeAudioTracks=function(){return!!(n9.TEST_VID&&n9.TEST_VID.audioTracks)},n9.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach(function(e){var t=e[0],i=e[1];n7(n9.prototype,t,function(){return n9[i]()},!0)}),n9.prototype.featuresVolumeControl=n9.canControlVolume(),n9.prototype.movingMediaElementInDOM=!eI,n9.prototype.featuresFullscreenResize=!0,n9.prototype.featuresProgressEvents=!0,n9.prototype.featuresTimeupdateEvents=!0,n9.prototype.featuresVideoFrameCallback=!!(n9.TEST_VID&&n9.TEST_VID.requestVideoFrameCallback),n9.patchCanPlayType=function(){!(em>=4)||e_||ey||(h=n9.TEST_VID&&n9.TEST_VID.constructor.prototype.canPlayType,n9.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":h.call(this,e)})},n9.unpatchCanPlayType=function(){var e=n9.TEST_VID.constructor.prototype.canPlayType;return h&&(n9.TEST_VID.constructor.prototype.canPlayType=h),e},n9.patchCanPlayType(),n9.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(t){}}()}},n9.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),i=t.length;i--;)e.removeChild(t[i]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(e){n9.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(e){n9.prototype["set"+tR(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach(function(e){n9.prototype[e]=function(){return this.el_[e]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(e){n9.prototype["set"+tR(e)]=function(t){this.el_[e]=t}}),["pause","load","play"].forEach(function(e){n9.prototype[e]=function(){return this.el_[e]()}}),iT.withSourceHandlers(n9),n9.nativeSourceHandler={},n9.nativeSourceHandler.canPlayType=function(e){try{return n9.TEST_VID.canPlayType(e)}catch(t){return""}},n9.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return n9.nativeSourceHandler.canPlayType(e.type);if(e.src){var i=io(e.src);return n9.nativeSourceHandler.canPlayType("video/"+i)}return""},n9.nativeSourceHandler.handleSource=function(e,t,i){t.setSrc(e.src)},n9.nativeSourceHandler.dispose=function(){},n9.registerSourceHandler(n9.nativeSourceHandler),iT.registerTech("Html5",n9);var re=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],rt={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},ri=["tiny","xsmall","small","medium","large","xlarge","huge"],rn={};ri.forEach(function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;rn[e]="vjs-layout-"+t});var rr={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},ra=function(e){function t(i,n,r){if(i.id=i.id||n.id||"vjs_video_"+tr++,(n=ea(t.getTagSettings(i),n)).initChildren=!1,n.createEl=!1,n.evented=!1,n.reportTouchActivity=!1,!n.language){if("function"==typeof i.closest){var a,s=i.closest("[lang]");s&&s.getAttribute&&(n.language=s.getAttribute("lang"))}else for(var o=i;o&&1===o.nodeType;){if(eW(o).hasOwnProperty("lang")){n.language=o.getAttribute("lang");break}o=o.parentNode}}if((a=e.call(this,null,n,r)||this).boundDocumentFullscreenChange_=function(e){return a.documentFullscreenChange_(e)},a.boundFullWindowOnEscKey_=function(e){return a.fullWindowOnEscKey(e)},a.boundUpdateStyleEl_=function(e){return a.updateStyleEl_(e)},a.boundApplyInitTime_=function(e){return a.applyInitTime_(e)},a.boundUpdateCurrentBreakpoint_=function(e){return a.updateCurrentBreakpoint_(e)},a.boundHandleTechClick_=function(e){return a.handleTechClick_(e)},a.boundHandleTechDoubleClick_=function(e){return a.handleTechDoubleClick_(e)},a.boundHandleTechTouchStart_=function(e){return a.handleTechTouchStart_(e)},a.boundHandleTechTouchMove_=function(e){return a.handleTechTouchMove_(e)},a.boundHandleTechTouchEnd_=function(e){return a.handleTechTouchEnd_(e)},a.boundHandleTechTap_=function(e){return a.handleTechTap_(e)},a.isFullscreen_=!1,a.log=et(a.id_),a.fsApi_=Z,a.isPosterFromTech_=!1,a.queuedCallbacks_=[],a.isReady_=!1,a.hasStarted_=!1,a.userActive_=!1,a.debugEnabled_=!1,a.audioOnlyMode_=!1,a.audioPosterMode_=!1,a.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!a.options_||!a.options_.techOrder||!a.options_.techOrder.length)throw Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(a.tag=i,a.tagAttributes=i&&eW(i),a.language(a.options_.language),n.languages){var l={};Object.getOwnPropertyNames(n.languages).forEach(function(e){l[e.toLowerCase()]=n.languages[e]}),a.languages_=l}else a.languages_=t.prototype.options_.languages;a.resetCache_(),a.poster_=n.poster||"",a.controls_=!!n.controls,i.controls=!1,i.removeAttribute("controls"),a.changingSrc_=!1,a.playCallbacks_=[],a.playTerminatedQueue_=[],i.hasAttribute("autoplay")?a.autoplay(!0):a.autoplay(a.options_.autoplay),n.plugins&&Object.keys(n.plugins).forEach(function(e){if("function"!=typeof a[e])throw Error('plugin "'+e+'" does not exist')}),a.scrubbing_=!1,a.el_=a.createEl(),tL((0,b.Z)(a),{eventBusKey:"el_"}),a.fsApi_.requestFullscreen&&(tc(_(),a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_),a.on(a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_)),a.fluid_&&a.on(["playerreset","resize"],a.boundUpdateStyleEl_);var u=tU(a.options_);n.plugins&&Object.keys(n.plugins).forEach(function(e){a[e](n.plugins[e])}),n.debug&&a.debug(!0),a.options_.playerOptions=u,a.middleware_=[],a.playbackRates(n.playbackRates),a.initChildren(),a.isAudio("audio"===i.nodeName.toLowerCase()),a.controls()?a.addClass("vjs-controls-enabled"):a.addClass("vjs-controls-disabled"),a.el_.setAttribute("role","region"),a.isAudio()?a.el_.setAttribute("aria-label",a.localize("Audio Player")):a.el_.setAttribute("aria-label",a.localize("Video Player")),a.isAudio()&&a.addClass("vjs-audio"),a.flexNotSupported_()&&a.addClass("vjs-no-flex"),eC&&a.addClass("vjs-touch-enabled"),eI||a.addClass("vjs-workinghover"),t.players[a.id_]=(0,b.Z)(a);var d=q.split(".")[0];return a.addClass("vjs-v"+d),a.userActive(!0),a.reportUserActivity(),a.one("play",function(e){return a.listenForUserActivity_(e)}),a.on("stageclick",function(e){return a.handleStageClick_(e)}),a.on("keydown",function(e){return a.handleKeyDown(e)}),a.on("languagechange",function(e){return a.handleLanguagechange(e)}),a.breakpoints(a.options_.breakpoints),a.responsive(a.options_.responsive),a.on("ready",function(){a.audioPosterMode(a.options_.audioPosterMode),a.audioOnlyMode(a.options_.audioOnlyMode)}),a}(0,S.Z)(t,e);var i=t.prototype;return i.dispose=function(){var i,n=this;this.trigger("dispose"),this.off("dispose"),th(_(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),th(_(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),i=this,iS[i.id()]=null,iy.names.forEach(function(e){var t=n[iy[e].getterName]();t&&t.off&&t.off()}),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},i.createEl=function(){var t,i=this.tag,n=this.playerElIngest_=i.parentNode&&i.parentNode.hasAttribute&&i.parentNode.hasAttribute("data-vjs-player"),r="video-js"===this.tag.tagName.toLowerCase();n?t=this.el_=i.parentNode:r||(t=this.el_=e.prototype.createEl.call(this,"div"));var a=eW(i);if(r){for(t=this.el_=i,i=this.tag=_().createElement("video");t.children.length;)i.appendChild(t.firstChild);eF(t,"video-js")||ej(t,"video-js"),t.appendChild(i),n=this.playerElIngest_=t,Object.keys(t).forEach(function(e){try{i[e]=t[e]}catch(n){}})}if(i.setAttribute("tabindex","-1"),a.tabindex="-1",(eb||ey&&ek)&&(i.setAttribute("role","application"),a.role="application"),i.removeAttribute("width"),i.removeAttribute("height"),"width"in a&&delete a.width,"height"in a&&delete a.height,Object.getOwnPropertyNames(a).forEach(function(e){r&&"class"===e||t.setAttribute(e,a[e]),r&&i.setAttribute(e,a[e])}),i.playerId=i.id,i.id+="_html5_api",i.className="vjs-tech",i.player=t.player=this,this.addClass("vjs-paused"),!0!==m().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=ti("vjs-styles-dimensions");var s=e5(".vjs-styles-defaults"),o=e5("head");o.insertBefore(this.styleEl_,s?s.nextSibling:o.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var l=i.getElementsByTagName("a"),u=0;u=0&&(a.width=n),r>=0&&(a.height=r));return}var s=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=s[1]/s[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),tn(this.styleEl_,"\n ."+i+" {\n width: "+e+"px;\n height: "+t+"px;\n }\n\n ."+i+".vjs-fluid:not(.vjs-audio-only-mode) {\n padding-top: "+100*o+"%;\n }\n ")},i.loadTech_=function(e,t){var i=this;this.tech_&&this.unloadTech_();var n=tR(e),r=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==n&&this.tag&&(iT.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;var a=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(a=!1);var s={source:t,autoplay:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};iy.names.forEach(function(e){var t=iy[e];s[t.getterName]=i[t.privateName]}),ea(s,this.options_[n]),ea(s,this.options_[r]),ea(s,this.options_[e.toLowerCase()]),this.tag&&(s.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);var o=iT.getTech(e);if(!o)throw Error("No Tech named '"+n+"' exists! '"+n+"' should be registered using videojs.registerTech()'");this.tech_=new o(s),this.tech_.ready(t_(this,this.handleTechReady_),!0),tY.jsonToTextTracks(this.textTracksJson_||[],this.tech_),re.forEach(function(e){i.on(i.tech_,e,function(t){return i["handleTech"+tR(e)+"_"](t)})}),Object.keys(rt).forEach(function(e){i.on(i.tech_,e,function(t){if(0===i.tech_.playbackRate()&&i.tech_.seeking()){i.queuedCallbacks_.push({callback:i["handleTech"+rt[e]+"_"].bind(i),event:t});return}i["handleTech"+rt[e]+"_"](t)})}),this.on(this.tech_,"loadstart",function(e){return i.handleTechLoadStart_(e)}),this.on(this.tech_,"sourceset",function(e){return i.handleTechSourceset_(e)}),this.on(this.tech_,"waiting",function(e){return i.handleTechWaiting_(e)}),this.on(this.tech_,"ended",function(e){return i.handleTechEnded_(e)}),this.on(this.tech_,"seeking",function(e){return i.handleTechSeeking_(e)}),this.on(this.tech_,"play",function(e){return i.handleTechPlay_(e)}),this.on(this.tech_,"firstplay",function(e){return i.handleTechFirstPlay_(e)}),this.on(this.tech_,"pause",function(e){return i.handleTechPause_(e)}),this.on(this.tech_,"durationchange",function(e){return i.handleTechDurationChange_(e)}),this.on(this.tech_,"fullscreenchange",function(e,t){return i.handleTechFullscreenChange_(e,t)}),this.on(this.tech_,"fullscreenerror",function(e,t){return i.handleTechFullscreenError_(e,t)}),this.on(this.tech_,"enterpictureinpicture",function(e){return i.handleTechEnterPictureInPicture_(e)}),this.on(this.tech_,"leavepictureinpicture",function(e){return i.handleTechLeavePictureInPicture_(e)}),this.on(this.tech_,"error",function(e){return i.handleTechError_(e)}),this.on(this.tech_,"posterchange",function(e){return i.handleTechPosterChange_(e)}),this.on(this.tech_,"textdata",function(e){return i.handleTechTextData_(e)}),this.on(this.tech_,"ratechange",function(e){return i.handleTechRateChange_(e)}),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||eN(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},i.unloadTech_=function(){var e=this;iy.names.forEach(function(t){var i=iy[t];e[i.privateName]=e[i.getterName]()}),this.textTracksJson_=tY.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},i.tech=function(e){return void 0===e&&ee.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},i.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},i.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},i.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},i.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},i.manualAutoplay_=function(e){var t,i=this;if(this.tech_&&"string"==typeof e){var n=function(){var e=i.muted();i.muted(!0);var t=function(){i.muted(e)};i.playTerminatedQueue_.push(t);var n=i.play();if(tZ(n))return n.catch(function(e){throw t(),Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))})};if("any"!==e||this.muted()?t="muted"!==e||this.muted()?this.play():n():tZ(t=this.play())&&(t=t.catch(n)),tZ(t))return t.then(function(){i.trigger({type:"autoplay-success",autoplay:e})}).catch(function(){i.trigger({type:"autoplay-failure",autoplay:e})})}},i.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,i="";"string"!=typeof t&&(t=e.src,i=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!i&&(i=iL(this,t)),this.cache_.source=tU({},e,{src:t,type:i});for(var n=this.cache_.sources.filter(function(e){return e.src&&e.src===t}),r=[],a=this.$$("source"),s=[],o=0;o0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(e){return e.callback(e.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},i.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime(),i=function i(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",i))};this.on("timeupdate",i)},i.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},i.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},i.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},i.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},i.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},i.handleTechFirstPlay_=function(){this.options_.starttime&&(ee.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},i.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},i.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},i.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},i.handleTechClick_=function(e){this.controls_&&(void 0===this.options_||void 0===this.options_.userActions||void 0===this.options_.userActions.click||!1!==this.options_.userActions.click)&&(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?tQ(this.play()):this.pause())},i.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),function(t){return t.contains(e.target)})||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},i.handleTechTap_=function(){this.userActive(!this.userActive())},i.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},i.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},i.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},i.handleStageClick_=function(){this.reportUserActivity()},i.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},i.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var i=this.el(),n=_()[this.fsApi_.fullscreenElement]===i;!n&&i.matches?n=i.matches(":"+this.fsApi_.fullscreen):!n&&i.msMatchesSelector&&(n=i.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(n)}},i.handleTechFullscreenChange_=function(e,t){var i=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",function(){i.removeClass("vjs-ios-native-fs")})),this.isFullscreen(t.isFullscreen))},i.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},i.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},i.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},i.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},i.handleTechError_=function(){var e=this.tech_.error();this.error(e)},i.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},i.getCache=function(){return this.cache_},i.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},i.techCall_=function(e,t){this.ready(function(){if(e in iw){var i;return i=this.middleware_,this.tech_[e](i.reduce(ix(e),t))}if(e in iI)return iC(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(n){throw ee(n),n}},!0)},i.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in iE){var t,i;return t=this.middleware_,i=this.tech_,t.reduceRight(ix(e),i[e]())}if(e in iI)return iC(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(n){if(void 0===this.tech_[e])throw ee("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",n),n;if("TypeError"===n.name)throw ee("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",n),this.tech_.isReady_=!1,n;throw ee(n),n}}},i.play=function(){var e=this,t=this.options_.Promise||m().Promise;return t?new t(function(t){e.play_(t)}):this.play_()},i.play_=function(e){var t=this;void 0===e&&(e=tQ),this.playCallbacks_.push(e);var i=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!i){this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),!i&&(ex||eI)&&this.load();return}var n=this.techGet_("play");null===n?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(n)},i.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach(function(e){e()})},i.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach(function(t){t(e)})},i.pause=function(){this.techCall_("pause")},i.paused=function(){return!1!==this.techGet_("paused")},i.played=function(){return this.techGet_("played")||tW(0,0)},i.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},i.currentTime=function(e){if(void 0!==e){if(e<0&&(e=0),!this.isReady_||this.changingSrc_||!this.tech_||!this.tech_.isReady_){this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),this.one("canplay",this.boundApplyInitTime_);return}this.techCall_("setCurrentTime",e),this.cache_.initTime=0;return}return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime},i.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},i.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e===this.cache_.duration||(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},i.remainingTime=function(){return this.duration()-this.currentTime()},i.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},i.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=tW(0,0)),e},i.bufferedPercent=function(){return tz(this.buffered(),this.duration())},i.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),i=e.end(e.length-1);return i>t&&(i=t),i},i.volume=function(e){var t;if(void 0!==e){t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),t>0&&this.lastVolume_(t);return}return isNaN(t=parseFloat(this.techGet_("volume")))?1:t},i.muted=function(e){if(void 0!==e){this.techCall_("setMuted",e);return}return this.techGet_("muted")||!1},i.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},i.lastVolume_=function(e){if(void 0!==e&&0!==e){this.cache_.lastVolume=e;return}return this.cache_.lastVolume},i.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},i.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),this.toggleFullscreenClass_();return}return this.isFullscreen_},i.requestFullscreen=function(e){var t=this.options_.Promise||m().Promise;if(t){var i=this;return new t(function(t,n){function r(){i.off("fullscreenerror",s),i.off("fullscreenchange",a)}function a(){r(),t()}function s(e,t){r(),n(t)}i.one("fullscreenchange",a),i.one("fullscreenerror",s);var o=i.requestFullscreenHelper_(e);o&&(o.then(r,r),o.then(t,n))})}return this.requestFullscreenHelper_()},i.requestFullscreenHelper_=function(e){var t,i=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0===e||(t=e)),this.fsApi_.requestFullscreen){var n=this.el_[this.fsApi_.requestFullscreen](t);return n&&n.then(function(){return i.isFullscreen(!0)},function(){return i.isFullscreen(!1)}),n}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},i.exitFullscreen=function(){var e=this.options_.Promise||m().Promise;if(e){var t=this;return new e(function(e,i){function n(){t.off("fullscreenerror",a),t.off("fullscreenchange",r)}function r(){n(),e()}function a(e,t){n(),i(t)}t.one("fullscreenchange",r),t.one("fullscreenerror",a);var s=t.exitFullscreenHelper_();s&&(s.then(n,n),s.then(e,i))})}return this.exitFullscreenHelper_()},i.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=_()[this.fsApi_.exitFullscreen]();return t&&tQ(t.then(function(){return e.isFullscreen(!1)})),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},i.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=_().documentElement.style.overflow,tc(_(),"keydown",this.boundFullWindowOnEscKey_),_().documentElement.style.overflow="hidden",ej(_().body,"vjs-full-window"),this.trigger("enterFullWindow")},i.fullWindowOnEscKey=function(e){T().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},i.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,th(_(),"keydown",this.boundFullWindowOnEscKey_),_().documentElement.style.overflow=this.docOrigOverflow,eH(_().body,"vjs-full-window"),this.trigger("exitFullWindow")},i.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},i.isInPictureInPicture=function(e){if(void 0!==e){this.isInPictureInPicture_=!!e,this.togglePictureInPictureClass_();return}return!!this.isInPictureInPicture_},i.requestPictureInPicture=function(){if("pictureInPictureEnabled"in _()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},i.exitPictureInPicture=function(){if("pictureInPictureEnabled"in _())return _().exitPictureInPicture()},i.handleKeyDown=function(e){var t,i,n=this.options_.userActions;n&&n.hotkeys&&(i=(t=this.el_.ownerDocument.activeElement).tagName.toLowerCase(),t.isContentEditable||("input"===i?-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(t.type):-1!==["textarea"].indexOf(i))||("function"==typeof n.hotkeys?n.hotkeys.call(this,e):this.handleHotkeys(e)))},i.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},i=t.fullscreenKey,n=t.muteKey,r=t.playPauseKey;if((void 0===i?function(e){return T().isEventKey(e,"f")}:i).call(this,e)){e.preventDefault(),e.stopPropagation();var a=tH.getComponent("FullscreenToggle");!1!==_()[this.fsApi_.fullscreenEnabled]&&a.prototype.handleClick.call(this,e)}else(void 0===n?function(e){return T().isEventKey(e,"m")}:n).call(this,e)?(e.preventDefault(),e.stopPropagation(),tH.getComponent("MuteToggle").prototype.handleClick.call(this,e)):(void 0===r?function(e){return T().isEventKey(e,"k")||T().isEventKey(e,"Space")}:r).call(this,e)&&(e.preventDefault(),e.stopPropagation(),tH.getComponent("PlayToggle").prototype.handleClick.call(this,e))},i.canPlayType=function(e){for(var t,i=0,n=this.options_.techOrder;i1?i.handleSrc_(n.slice(1)):(i.changingSrc_=!1,i.setTimeout(function(){this.error({code:4,message:this.options_.notSupportedMessage})},0),void i.triggerReady());!function(e,t){e.forEach(function(e){return e.setTech&&e.setTech(t)})}(r,i.tech_)}),this.options_.retryOnError&&n.length>1){var r=function(){i.error(null),i.handleSrc_(n.slice(1),!0)},a=function(){i.off("error",r)};this.one("error",r),this.one("playing",a),this.resetRetryOnError_=function(){i.off("error",r),i.off("playing",a)}}},i.src=function(e){return this.handleSrc_(e,!1)},i.src_=function(e){var t,i,n=this,r=this.selectSource([e]);return!r||((t=r.tech,i=this.techName_,tR(t)!==tR(i))?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready(function(){n.changingSrc_=!1}),!1):(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1},!0),!1))},i.load=function(){this.techCall_("load")},i.reset=function(){var e=this,t=this.options_.Promise||m().Promise;this.paused()||!t?this.doReset_():tQ(this.play().then(function(){return e.doReset_()}))},i.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),tS(this)&&this.trigger("playerreset")},i.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},i.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,i=e.remainingTimeDisplay;t&&t.updateContent(),i&&i.updateContent()},i.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},i.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},i.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},i.currentSource=function(){return this.cache_.source||{}},i.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},i.currentType=function(){return this.currentSource()&&this.currentSource().type||""},i.preload=function(e){if(void 0!==e){this.techCall_("setPreload",e),this.options_.preload=e;return}return this.techGet_("preload")},i.autoplay=function(e){var t;if(void 0===e)return this.options_.autoplay||!1;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):e?this.options_.autoplay=!0:this.options_.autoplay=!1,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},i.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},i.loop=function(e){if(void 0!==e){this.techCall_("setLoop",e),this.options_.loop=e;return}return this.techGet_("loop")},i.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},i.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},i.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},i.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},i.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(W("beforeerror").forEach(function(i){var n=i(t,e);if(!(es(n)&&!Array.isArray(n)||"string"==typeof n||"number"==typeof n||null===n)){t.log.error("please return a value that MediaError expects in beforeerror hooks");return}e=n}),this.options_.suppressNotSupportedError&&e&&4===e.code){var i=function(){this.error(e)};this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],i),this.one("loadstart",function(){this.off(["click","touchstart"],i)});return}if(null===e){this.error_=e,this.removeClass("vjs-error"),this.errorDisplay&&this.errorDisplay.close();return}this.error_=new tG(e),this.addClass("vjs-error"),ee.error("(CODE:"+this.error_.code+" "+tG.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),W("error").forEach(function(e){return e(t,t.error_)})},i.reportUserActivity=function(e){this.userActivity_=!0},i.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_){this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive");return}this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},i.listenForUserActivity_=function(){var e,t,i,n,r=t_(this,this.reportUserActivity),a=function(e){(e.screenX!==t||e.screenY!==i)&&(t=e.screenX,i=e.screenY,r())},s=function(){r(),this.clearInterval(e),e=this.setInterval(r,250)},o=function(t){r(),this.clearInterval(e)};this.on("mousedown",s),this.on("mousemove",a),this.on("mouseup",o),this.on("mouseleave",o);var l=this.getChild("controlBar");!l||eI||ef||(l.on("mouseenter",function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),l.on("mouseleave",function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",r),this.on("keyup",r),this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(n);var e=this.options_.inactivityTimeout;e<=0||(n=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))}},250)},i.playbackRate=function(e){if(void 0!==e){this.techCall_("setPlaybackRate",e);return}return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1},i.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},i.isAudio=function(e){if(void 0!==e){this.isAudio_=!!e;return}return!!this.isAudio_},i.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),i=this.getChild("ControlBar"),n=i&&i.currentHeight();t.forEach(function(t){t!==i&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))}),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(n),this.trigger("audioonlymodechange")},i.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach(function(e){return e.show()}),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},i.audioOnlyMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var i=this.options_.Promise||m().Promise;if(i){if(e){var n=[];return this.isInPictureInPicture()&&n.push(this.exitPictureInPicture()),this.isFullscreen()&&n.push(this.exitFullscreen()),this.audioPosterMode()&&n.push(this.audioPosterMode(!1)),i.all(n).then(function(){return t.enableAudioOnlyUI_()})}return i.resolve().then(function(){return t.disableAudioOnlyUI_()})}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},i.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},i.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},i.audioPosterMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var i=this.options_.Promise||m().Promise;if(i)return e?this.audioOnlyMode()?this.audioOnlyMode(!1).then(function(){t.enablePosterModeUI_()}):i.resolve().then(function(){t.enablePosterModeUI_()}):i.resolve().then(function(){t.disablePosterModeUI_()});if(e){this.audioOnlyMode()&&this.audioOnlyMode(!1),this.enablePosterModeUI_();return}this.disablePosterModeUI_()},i.addTextTrack=function(e,t,i){if(this.tech_)return this.tech_.addTextTrack(e,t,i)},i.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},i.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},i.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},i.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},i.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},i.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),tS(this)&&this.trigger("languagechange"))},i.languages=function(){return tU(t.prototype.options_.languages,this.languages_)},i.toJSON=function(){var e=tU(this.options_),t=e.tracks;e.tracks=[];for(var i=0;i"):function(){}},rE=1/30,rw=3*(1/30),rI=function(e,t){var i,n=[];if(e&&e.length)for(i=0;i=t})},rP=function(e,t){return rI(e,function(e){return e-rE>=t})},rA=function(e){if(e.length<2)return ry.createTimeRanges();for(var t=[],i=1;i "+e.end(i));return t.join(", ")},rD=function(e){for(var t=[],i=0;ia)){if(t>r&&t<=a){i+=a-t;continue}i+=a-r}}return i},rB=ry.createTimeRange,rN=function(e,t){if(!t.preload)return t.duration;var i=0;return(t.parts||[]).forEach(function(e){i+=e.duration}),(t.preloadHints||[]).forEach(function(t){"PART"===t.type&&(i+=e.partTargetDuration)}),i},rF=function(e){return(e.segments||[]).reduce(function(e,t,i){return t.parts?t.parts.forEach(function(n,r){e.push({duration:n.duration,segmentIndex:i,partIndex:r,part:n,segment:t})}):e.push({duration:t.duration,segmentIndex:i,partIndex:null,segment:t,part:null}),e},[])},rj=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},rH=function(e){var t=e.preloadSegment;if(t){var i=t.parts;return(t.preloadHints||[]).reduce(function(e,t){return e+("PART"===t.type?1:0)},0)+(i&&i.length?i.length:0)}},rq=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var i=rj(t).length>0;return i&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:i&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},rV=function(e,t){var i=0,n=t-e.mediaSequence,r=e.segments[n];if(r){if(void 0!==r.start)return{result:r.start,precise:!0};if(void 0!==r.end)return{result:r.end-r.duration,precise:!0}}for(;n--;){if(void 0!==(r=e.segments[n]).end)return{result:i+r.end,precise:!0};if(i+=rN(e,r),void 0!==r.start)return{result:i+r.start,precise:!0}}return{result:i,precise:!1}},rW=function(e,t){for(var i,n=0,r=t-e.mediaSequence;rr){var s=[r,n];n=s[0],r=s[1]}if(n<0){for(var o=n;oDate.now()},rX=function(e){return e.excludeUntil&&e.excludeUntil===1/0},rY=function(e){var t=rQ(e);return!e.disabled&&!t},r$=function(e,t){return t.attributes&&t.attributes[e]},rJ=function(e,t,i,n){return(void 0===n&&(n=0),r$("BANDWIDTH",i))?(e*i.attributes.BANDWIDTH-8*n)/t:NaN},r0=function(e,t){if(1===e.playlists.length)return!0;var i=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter(function(e){return!!rY(e)&&(e.attributes.BANDWIDTH||0)0)for(var h=u-1;h>=0;h--){var p=l[h];if(o+=p.duration,s){if(o<0)continue}else if(o+rE<=0)continue;return{partIndex:p.partIndex,segmentIndex:p.segmentIndex,startTime:a-rK({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:h})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:i}}if(u<0){for(var f=u;f<0;f++)if((o-=t.targetDuration)<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:i};u=0}for(var m=u;m0)continue}else if(o-rE>=0)continue;return{partIndex:g.partIndex,segmentIndex:g.segmentIndex,startTime:a+rK({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:m})}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:i}},isEnabled:rY,isDisabled:function(e){return e.disabled},isBlacklisted:rQ,isIncompatible:rX,playlistEnd:rZ,isAes:function(e){for(var t=0;t-1&&s!==a.length-1&&(i._HLS_part=s),(s>-1||a.length)&&r--}i._HLS_msn=r}if(t.serverControl&&t.serverControl.canSkipUntil&&(i._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(i).length){var o=new(m()).URL(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach(function(e){i.hasOwnProperty(e)&&o.searchParams.set(e,i[e])}),e=o.toString()}return e},ao=function(e,t){if(!e)return t;var i=ar(e,t);if(e.preloadHints&&!t.preloadHints&&delete i.preloadHints,e.parts&&!t.parts)delete i.parts;else if(e.parts&&t.parts)for(var n=0;n=500?4:2},this.trigger("error")},i.parseManifest_=function(e){var t=this,i=e.url;return r6({onwarn:function(e){var n=e.message;return t.logger_("m3u8-parser warn for "+i+": "+n)},oninfo:function(e){var n=e.message;return t.logger_("m3u8-parser info for "+i+": "+n)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},i.haveMetadata=function(e){var t=e.playlistString,i=e.playlistObject,n=e.url,r=e.id;this.request=null,this.state="HAVE_METADATA";var a=i||this.parseManifest_({url:n,manifestString:t});a.lastRequest=Date.now(),r9({playlist:a,uri:n,id:r});var s=ah(this.master,a);this.targetDuration=a.partTargetDuration||a.targetDuration,this.pendingMedia_=null,s?(this.master=s,this.media_=this.master.playlists[r]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(ap(this.media(),!!s)),this.trigger("loadedplaylist")},i.dispose=function(){this.trigger("dispose"),this.stopRequest(),m().clearTimeout(this.mediaUpdateTimeout),m().clearTimeout(this.finalRenditionTimeout),this.off()},i.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},i.media=function(e,t){var i=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.master.playlists[e])throw Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(m().clearTimeout(this.finalRenditionTimeout),t){var n=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=m().setTimeout(this.media.bind(this,e,!1),n);return}var r=this.state,a=!this.media_||e.id!==this.media_.id,s=this.master.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length){this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,a&&(this.trigger("mediachanging"),"HAVE_MASTER"===r?this.trigger("loadedmetadata"):this.trigger("mediachange"));return}if(this.updateMediaUpdateTimeout_(ap(e,!0)),a){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},function(t,n){if(i.request){if(e.lastRequest=Date.now(),e.resolvedUri=rk(i.handleManifestRedirects,e.resolvedUri,n),t)return i.playlistRequestError(i.request,e,r);i.haveMetadata({playlistString:n.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===r?i.trigger("loadedmetadata"):i.trigger("mediachange")}})}},i.pause=function(){this.mediaUpdateTimeout&&(m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},i.load=function(e){var t=this;this.mediaUpdateTimeout&&(m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var i=this.media();if(e){var n=i?(i.partTargetDuration||i.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=m().setTimeout(function(){t.mediaUpdateTimeout=null,t.load()},n);return}if(!this.started){this.start();return}i&&!i.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist")},i.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=m().setTimeout(function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)},e))},i.start=function(){var e=this;if(this.started=!0,"object"==typeof this.src){this.src.uri||(this.src.uri=m().location.href),this.src.resolvedUri=this.src.uri,setTimeout(function(){e.setupInitialPlaylist(e.src)},0);return}this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},function(t,i){if(e.request){if(e.request=null,t)return e.error={status:i.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:i.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=rk(e.handleManifestRedirects,e.src,i);var n=e.parseManifest_({manifestString:i.responseText,url:e.src});e.setupInitialPlaylist(n)}})},i.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},i.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists){this.master=e,an(this.master,this.srcUri()),e.playlists.forEach(function(e){e.segments=ad(e),e.segments.forEach(function(t){au(t,e.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.master.playlists[0]);return}var t=this.srcUri()||m().location.href;this.master=ai(e,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(aa),am=ry.xhr,ag=ry.mergeOptions,a_=function(e,t,i,n){var r="arraybuffer"===e.responseType?e.response:e.responseText;t||!r||(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=r.byteLength||r.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8e3))),i.headers&&(e.responseHeaders=i.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===i.statusCode||206===i.statusCode||0===i.statusCode||(t=Error("XHR Failed with a response of: "+(e&&(r||e.responseText)))),n(t,e)},av=function(){var e=function e(t,i){t=ag({timeout:45e3},t);var n=e.beforeRequest||ry.Vhs.xhr.beforeRequest;if(n&&"function"==typeof n){var r=n(t);r&&(t=r)}var a=(!0===ry.Vhs.xhr.original?am:ry.Vhs.xhr)(t,function(e,t){return a_(a,e,t,i)}),s=a.abort;return a.abort=function(){return a.aborted=!0,s.apply(a,arguments)},a.uri=t.uri,a.requestTime=Date.now(),a};return e.original=!0,e},ay=function(e){var t,i={};return e.byterange&&(i.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"==typeof t.offset||"bigint"==typeof t.length?m().BigInt(t.offset)+m().BigInt(t.length)-m().BigInt(1):t.offset+t.length-1)),i},aT=function(e,t){var i=e.toString(16);return"00".substring(0,2-i.length)+i+(t%2?" ":"")},ab=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},aS=function(e){var t={};return Object.keys(e).forEach(function(i){var n=e[i];(0,R.Au)(n)?t[i]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:t[i]=n}),t},ak=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},aC=function(e){return e.resolvedUri},aE=function(e){for(var t=Array.prototype.slice.call(e),i="",n=0;nnew Date(l.getTime()+1e3*u)?null:(r>l&&(a=o),{segment:a,estimatedStart:a.videoTimingInfo?a.videoTimingInfo.transmuxedPresentationStart:r4.duration(t,t.mediaSequence+t.segments.indexOf(a)),type:a.videoTimingInfo?"accurate":"estimate"})},aA=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var i,n=0,r=0;rn){if(e>n+.25*a.duration)return null;i=a}return{segment:i,estimatedStart:i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationStart:n-i.duration,type:i.videoTimingInfo?"accurate":"estimate"}},aL=function(e,t){try{n=new Date(e),r=new Date(t)}catch(i){}var n,r,a=n.getTime();return(r.getTime()-a)/1e3},aO=function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t=d+u)return s(t,{response:o.subarray(u,u+d),status:i.status,uri:i.uri});n.request=n.vhs_.xhr({uri:a,responseType:"arraybuffer",headers:ay({byterange:e.sidx.byterange})},s)})},i.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},m().clearTimeout(this.minimumUpdatePeriodTimeout_),m().clearTimeout(this.mediaRequest_),m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},i.hasPendingRequest=function(){return this.request||this.mediaRequest_},i.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},i.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw Error("Cannot switch media playlist from "+this.state);var i=this.state;if("string"==typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var n=!this.media_||e.id!==this.media_.id;if(n&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList){this.state="HAVE_METADATA",this.media_=e,n&&(this.trigger("mediachanging"),this.trigger("mediachange"));return}n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,i,function(n){t.haveMetadata({startingState:i,playlist:e})}))},i.haveMetadata=function(e){var t=e.startingState,i=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[i.id]=i,this.mediaRequest_=null,this.refreshMedia_(i.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},i.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(m().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},i.load=function(e){var t=this;m().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var i=this.media();if(e){var n=i?i.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=m().setTimeout(function(){return t.load()},n);return}if(!this.started){this.start();return}i&&!i.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist")},i.start=function(){var e=this;if(this.started=!0,!this.isMaster_){this.mediaRequest_=m().setTimeout(function(){return e.haveMaster_()},0);return}this.requestMaster_(function(t,i){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})},i.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},function(i,n){if(t.requestErrored_(i,n)){"HAVE_NOTHING"===t.state&&(t.started=!1);return}var r=n.responseText!==t.masterPlaylistLoader_.masterXml_;if(t.masterPlaylistLoader_.masterXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?t.masterLoaded_=Date.parse(n.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=rk(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,n),r){t.handleMaster_(),t.syncClientServerClock_(function(){return e(n,r)});return}return e(n,r)})},i.syncClientServerClock_=function(e){var t=this,i=(0,U.LG)(this.masterPlaylistLoader_.masterXml_);return null===i?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===i.method?(this.masterPlaylistLoader_.clientOffset_=i.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:rS(this.masterPlaylistLoader_.srcUrl,i.value),method:i.method,withCredentials:this.withCredentials},function(n,r){var a;if(t.request){if(n)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();a="HEAD"===i.method?r.responseHeaders&&r.responseHeaders.date?Date.parse(r.responseHeaders.date):t.masterLoaded_:Date.parse(r.responseText),t.masterPlaylistLoader_.clientOffset_=a-Date.now(),e()}}))},i.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},i.handleMaster_=function(){this.mediaRequest_=null;var e=this.masterPlaylistLoader_.master,t=aj({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=aH(e,t,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=t||e;var i=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return i&&i!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=i),(!e||t&&t.minimumUpdatePeriod!==e.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)},i.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(m().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;if(0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0){t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout");return}this.createMUPTimeout_(t)},i.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=m().setTimeout(function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)},e)},i.refreshXml_=function(){var e=this;this.requestMaster_(function(t,i){i&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=aV(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.sidxMapping_),e.addSidxSegments_(e.media(),e.state,function(t){e.refreshMedia_(e.media().id)}))})},i.refreshMedia_=function(e){var t=this;if(!e)throw Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var i=this.masterPlaylistLoader_.master.playlists,n=!this.media_||this.media_!==i[e];n?this.media_=i[e]:this.trigger("playlistunchanged"),this.mediaUpdateTimeout||function e(){t.media().endList||(t.mediaUpdateTimeout=m().setTimeout(function(){t.trigger("mediaupdatetimeout"),e()},ap(t.media(),Boolean(n))))}(),this.trigger("loadedplaylist")},t}(aB),az={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},aG=function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),i=0;i-1)},this.trigger=function(t){var i,n,r,a;if(i=e[t]){if(2==arguments.length)for(n=0,r=i.length;n>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),er(ek.mdhd,t)},em=function(e){var t;return er(ek.mdia,eg(e),(t=e.type,er(ek.hdlr,eI[t])),el(e))},eo=function(e){return er(ek.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},el=function(e){return er(ek.minf,"video"===e.type?er(ek.vmhd,ex):er(ek.smhd,eP),er(ek.dinf,er(ek.dref,eA)),ev(e))},eu=function(e,t){for(var i=[],n=t.length;n--;)i[n]=eT(t[n]);return er.apply(null,[ek.moof,eo(e)].concat(i))},ed=function(e){for(var t=e.length,i=[];t--;)i[t]=ep(e[t]);return er.apply(null,[ek.moov,eh(4294967295)].concat(i).concat(ec(e)))},ec=function(e){for(var t=e.length,i=[];t--;)i[t]=eb(e[t]);return er.apply(null,[ek.mvex].concat(i))},eh=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return er(ek.mvhd,t)},e_=function(e){var t,i,n=e.samples||[],r=new Uint8Array(4+n.length);for(i=0;i>>8),a.push(255&n[t].byteLength),a=a.concat(Array.prototype.slice.call(n[t]));for(t=0;t>>8),s.push(255&r[t].byteLength),s=s.concat(Array.prototype.slice.call(r[t]));if(i=[ek.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),er(ek.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([n.length],a,[r.length],s))),er(ek.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var o=e.sarRatio[0],l=e.sarRatio[1];i.push(er(ek.pasp,new Uint8Array([(4278190080&o)>>24,(16711680&o)>>16,(65280&o)>>8,255&o,(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l])))}return er.apply(null,i)},ee=function(e){return er(ek.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),er(ek.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2])))},ef=function(e){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return er(ek.tkhd,t)},eT=function(e){var t,i,n,r,a,s;return(t=er(ek.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/S),s=Math.floor(e.baseMediaDecodeTime%S),i=er(ek.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),"audio"===e.type)?(n=eS(e,92),er(ek.traf,t,i,n)):(r=e_(e),n=eS(e,r.length+92),er(ek.traf,t,i,n,r))},ep=function(e){return e.duration=e.duration||4294967295,er(ek.trak,ef(e),em(e))},eb=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(t[t.length-1]=0),er(ek.trex,t)},en=function(e,t){var i=0,n=0,r=0,a=0;return e.length&&(void 0!==e[0].duration&&(i=1),void 0!==e[0].size&&(n=2),void 0!==e[0].flags&&(r=4),void 0!==e[0].compositionTimeOffset&&(a=8)),[0,0,i|n|r|a,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},ei=function(e,t){var i,n,r,a,s,o;for(t+=20+16*(a=e.samples||[]).length,r=en(a,t),(n=new Uint8Array(r.length+16*a.length)).set(r),i=r.length,o=0;o>>24,n[i++]=(16711680&s.duration)>>>16,n[i++]=(65280&s.duration)>>>8,n[i++]=255&s.duration,n[i++]=(4278190080&s.size)>>>24,n[i++]=(16711680&s.size)>>>16,n[i++]=(65280&s.size)>>>8,n[i++]=255&s.size,n[i++]=s.flags.isLeading<<2|s.flags.dependsOn,n[i++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,n[i++]=61440&s.flags.degradationPriority,n[i++]=15&s.flags.degradationPriority,n[i++]=(4278190080&s.compositionTimeOffset)>>>24,n[i++]=(16711680&s.compositionTimeOffset)>>>16,n[i++]=(65280&s.compositionTimeOffset)>>>8,n[i++]=255&s.compositionTimeOffset;return er(ek.trun,n)},et=function(e,t){var i,n,r,a,s,o;for(t+=20+8*(a=e.samples||[]).length,r=en(a,t),(i=new Uint8Array(r.length+8*a.length)).set(r),n=r.length,o=0;o>>24,i[n++]=(16711680&s.duration)>>>16,i[n++]=(65280&s.duration)>>>8,i[n++]=255&s.duration,i[n++]=(4278190080&s.size)>>>24,i[n++]=(16711680&s.size)>>>16,i[n++]=(65280&s.size)>>>8,i[n++]=255&s.size;return er(ek.trun,i)},eS=function(e,t){return"audio"===e.type?et(e,t):ei(e,t)};var k={ftyp:ea,mdat:es,moof:eu,moov:ed,initSegment:function(e){var t,i=ea(),n=ed(e);return(t=new Uint8Array(i.byteLength+n.byteLength)).set(i),t.set(n,i.byteLength),t}},C=function(e,t){var i={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return i.dataOffset=t,i.compositionTimeOffset=e.pts-e.dts,i.duration=e.duration,i.size=4*e.length,i.size+=e.byteLength,e.keyFrame&&(i.flags.dependsOn=2,i.flags.isNonSyncSample=0),i},E={groupNalsIntoFrames:function(e){var t,i,n=[],r=[];for(t=0,r.byteLength=0,r.nalCount=0,r.duration=0,n.byteLength=0;t1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},generateSampleTable:function(e,t){var i,n,r,a,s=t||0,o=[];for(i=0;iA.ONE_SECOND_IN_TS/2))){for((a=P()[e.samplerate])||(a=t[0].data),s=0;s=i?e:(t.minSegmentDts=1/0,e.filter(function(e){return e.dts>=i&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)}))},generateSampleTable:function(e){var t,i=[];for(t=0;t=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},j.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},j.prototype.addText=function(e){this.rows[this.rowIdx]+=e},j.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var H=function(e,t,i){this.serviceNum=e,this.text="",this.currentWindow=new j(-1),this.windows=[],this.stream=i,"string"==typeof t&&this.createTextDecoder(t)};H.prototype.init=function(e,t){this.startPts=e;for(var i=0;i<8;i++)this.windows[i]=new j(i),"function"==typeof t&&(this.windows[i].beforeRowOverflow=t)},H.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},H.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var q=function e(t){t=t||{},e.prototype.init.call(this);var i,n=this,r=t.captionServices||{},a={};Object.keys(r).forEach(function(e){i=r[e],/^SERVICE/.test(e)&&(a[e]=i.encoding)}),this.serviceEncodings=a,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(n.new708Packet(),n.add708Bytes(e)):(null===n.current708Packet&&n.new708Packet(),n.add708Bytes(e))}};q.prototype=new T,q.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},q.prototype.add708Bytes=function(e){var t=e.ccData;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(t>>>8),this.current708Packet.data.push(255&t)},q.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,i=null,n=null,r=0,a=t[r++];for(e.seq=a>>6,e.sizeCode=63&a;r>5,n=31&a,7===i&&n>0&&(i=a=t[r++]),this.pushServiceBlock(i,r,n),n>0&&(r+=n-1)},q.prototype.pushServiceBlock=function(e,t,i){var n,r=t,a=this.current708Packet.data,s=this.services[e];for(s||(s=this.initService(e,r));r>5,a.rowLock=(16&n)>>4,a.columnLock=(8&n)>>3,a.priority=7&n,n=i[++e],a.relativePositioning=(128&n)>>7,a.anchorVertical=127&n,n=i[++e],a.anchorHorizontal=n,n=i[++e],a.anchorPoint=(240&n)>>4,a.rowCount=15&n,n=i[++e],a.columnCount=63&n,n=i[++e],a.windowStyle=(56&n)>>3,a.penStyle=7&n,a.virtualRowCount=a.rowCount+1,e},q.prototype.setWindowAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.winAttr;return n=i[++e],r.fillOpacity=(192&n)>>6,r.fillRed=(48&n)>>4,r.fillGreen=(12&n)>>2,r.fillBlue=3&n,n=i[++e],r.borderType=(192&n)>>6,r.borderRed=(48&n)>>4,r.borderGreen=(12&n)>>2,r.borderBlue=3&n,n=i[++e],r.borderType+=(128&n)>>5,r.wordWrap=(64&n)>>6,r.printDirection=(48&n)>>4,r.scrollDirection=(12&n)>>2,r.justify=3&n,n=i[++e],r.effectSpeed=(240&n)>>4,r.effectDirection=(12&n)>>2,r.displayEffect=3&n,e},q.prototype.flushDisplayed=function(e,t){for(var i=[],n=0;n<8;n++)t.windows[n].visible&&!t.windows[n].isEmpty()&&i.push(t.windows[n].getText());t.endPts=e,t.text=i.join("\n\n"),this.pushCaption(t),t.startPts=e},q.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},q.prototype.displayWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<>4,r.offset=(12&n)>>2,r.penSize=3&n,n=i[++e],r.italics=(128&n)>>7,r.underline=(64&n)>>6,r.edgeType=(56&n)>>3,r.fontStyle=7&n,e},q.prototype.setPenColor=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penColor;return n=i[++e],r.fgOpacity=(192&n)>>6,r.fgRed=(48&n)>>4,r.fgGreen=(12&n)>>2,r.fgBlue=3&n,n=i[++e],r.bgOpacity=(192&n)>>6,r.bgRed=(48&n)>>4,r.bgGreen=(12&n)>>2,r.bgBlue=3&n,n=i[++e],r.edgeRed=(48&n)>>4,r.edgeGreen=(12&n)>>2,r.edgeBlue=3&n,e},q.prototype.setPenLocation=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,n=i[++e],r.row=15&n,n=i[++e],r.column=63&n,e},q.prototype.reset=function(e,t){var i=this.getPts(e);return this.flushDisplayed(i,t),this.initService(t.serviceNum,e)};var V={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},W=function(e){return null===e?"":String.fromCharCode(e=V[e]||e)},z=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],G=function(){for(var e=[],t=15;t--;)e.push("");return e},K=function e(t,i){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=i||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(e){var t,i,n,r,a;if((t=32639&e.ccData)===this.lastControlCode_){this.lastControlCode_=null;return}if((61440&t)==4096?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),n=t>>>8,r=255&t,t!==this.PADDING_){if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=G();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=G();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=G()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(n,r))a=W((n=(3&n)<<8)|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),a=W((n=(3&n)<<8)|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,(14&r)==14&&this.addFormatting(e.pts,["i"]),(1&r)==1&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var s=z.indexOf(7968&t);"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(e.pts,s)),s!==this.row_&&(this.clearFormatting(e.pts),this.row_=s),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),(16&t)==16&&(this.column_=((14&t)>>1)*4),this.isColorPAC(r)&&(14&r)==14&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),a=W(n),a+=W(r),this[this.mode_](e.pts,a),this.column_+=a.length)}}};K.prototype=new T,K.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e,t){try{return e.trim()}catch(i){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}},this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},K.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=G(),this.nonDisplayed_=G(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},K.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},K.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},K.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},K.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},K.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},K.prototype.isPAC=function(e,t){return e>=this.BASE_&&e=64&&t<=127},K.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},K.prototype.isNormalChar=function(e){return e>=32&&e<=127},K.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=G(),this.displayed_=G()),void 0!==t&&t!==this.row_)for(var i=0;i"},"");this[this.mode_](e,i)},K.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce(function(e,t){return e+""},"");this.formatting_=[],this[this.mode_](e,t)}},K.prototype.popOn=function(e,t){var i=this.nonDisplayed_[this.row_];i+=t,this.nonDisplayed_[this.row_]=i},K.prototype.rollUp=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i},K.prototype.shiftRowsUp_=function(){var e;for(e=0;et&&(i=-1);Math.abs(t-e)>4294967296;)e+=8589934592*i;return e},$=function e(t){var i,n;e.prototype.init.call(this),this.type_=t||X,this.push=function(e){(this.type_===X||e.type===this.type_)&&(void 0===n&&(n=e.dts),e.dts=Y(e.dts,n),e.pts=Y(e.pts,n),i=e.dts,this.trigger("data",e))},this.flush=function(){n=i,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,i=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};$.prototype=new T;var J,ee,et,ei,en,er,ea,es,eo,el,eu,ed,ec,eh,ep,ef,em,eg,e_,ev,ey,eT,eb,eS,ek,eC,eE,ew,eI,ex,eP,eA,eL,eO,eD,eM,eR,eU,eB,eN,eF,ej,eH,eq,eV,eW={TimestampRolloverStream:$,handleRollover:Y},ez=function(e,t,i){var n,r="";for(n=t;n>>2;d*=4,d+=3&u[7],o.timeStamp=d,void 0===t.pts&&void 0===t.dts&&(t.pts=o.timeStamp,t.dts=o.timeStamp),this.trigger("timestamp",o)}t.frames.push(o),i+=10,i+=s}while(i>>4>1&&(n+=t[n]+1),0===i.pid)i.type="pat",e(t.subarray(n),i),this.trigger("data",i);else if(i.pid===this.pmtPid)for(i.type="pmt",e(t.subarray(n),i),this.trigger("data",i);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,n,i]):this.processPes_(t,n,i)},this.processPes_=function(e,t,i){i.pid===this.programMapTable.video?i.streamType=Q.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=Q.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=e.subarray(t),this.trigger("data",i)}}).prototype=new T,t.STREAM_TYPES={h264:27,adts:15},(n=function(){var e,t=this,i=!1,r={data:[],size:0},a={data:[],size:0},s={data:[],size:0},o=function(e,t){var i,n=e[0]<<16|e[1]<<8|e[2];t.data=new Uint8Array,1===n&&(t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=(4&e[6])!=0,192&(i=e[7])&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&i&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))},l=function(e,i,n){var r,a=new Uint8Array(e.size),s={type:i},l=0,u=0,d=!1;if(e.data.length&&!(e.size<9)){for(l=0,s.trackId=e.data[0].pid;l>5,u=(l=((3&t[d+6])+1)*1024)*e$/eJ[(60&t[d+2])>>>2],t.byteLength-d>>6&3)+1,channelcount:(1&t[d+2])<<2|(192&t[d+3])>>>6,samplerate:eJ[(60&t[d+2])>>>2],samplingfrequencyindex:(60&t[d+2])>>>2,samplesize:16,data:t.subarray(d+7+s,d+a)}),i++,d+=a}"number"==typeof r&&(this.skipWarn_(r,d),r=null),t=t.subarray(d)}},this.flush=function(){i=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}}).prototype=new T,a=function(e){var t=e.byteLength,i=0,n=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+n},this.loadWord=function(){var r=e.byteLength-t,a=new Uint8Array(4),s=Math.min(4,t);if(0===s)throw Error("no bytes available");a.set(e.subarray(r,r+s)),i=new DataView(a.buffer).getUint32(0),n=8*s,t-=s},this.skipBits=function(e){var r;n>e?(i<<=e,n-=e):(e-=n,r=Math.floor(e/8),e-=8*r,t-=r,this.loadWord(),i<<=e,n-=e)},this.readBits=function(e){var r=Math.min(n,e),a=i>>>32-r;return((n-=r)>0?i<<=r:t>0&&this.loadWord(),(r=e-r)>0)?a<>>e)!=0)return i<<=e,n-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()},(o=function(){var e,t,i=0;o.prototype.init.call(this),this.push=function(n){t?((r=new Uint8Array(t.byteLength+n.data.byteLength)).set(t),r.set(n.data,t.byteLength),t=r):t=n.data;for(var r,a=t.byteLength;i3&&this.trigger("data",t.subarray(i+3)),t=null,i=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}}).prototype=new T,l={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(s=function(){var e,t,i,n,r,u,d,c=new o;s.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,i=e.pts,n=e.dts,c.push(e))},c.on("data",function(a){var s={trackId:t,pts:i,dts:n,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=r(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=r(a.subarray(1)),s.config=u(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)}),c.on("done",function(){e.trigger("done")}),c.on("partialdone",function(){e.trigger("partialdone")}),c.on("reset",function(){e.trigger("reset")}),c.on("endedtimeline",function(){e.trigger("endedtimeline")}),this.flush=function(){c.flush()},this.partialFlush=function(){c.partialFlush()},this.reset=function(){c.reset()},this.endTimeline=function(){c.endTimeline()},d=function(e,t){var i,n=8,r=8;for(i=0;i=0?i:0,(16&e[t+5])>>4)?i+20:i+10},e2=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},e8=function(e,t,i){var n,r="";for(n=t;n=t+2&&(255&e[t])==255&&(240&e[t+1])==240&&(22&e[t+1])==16},parseId3TagSize:e1,parseAdtsSize:function(e,t){var i=(224&e[t+5])>>5,n=e[t+4]<<3;return 6144&e[t+3]|n|i},parseType:function(e,t){return 73===e[t]&&68===e[t+1]&&51===e[t+2]?"timed-metadata":!0&e[t]&&(240&e[t+1])==240?"audio":null},parseSampleRate:function(e){for(var t=0;t+5>>2]}return null},parseAacTimestamp:function(e){var t,i,n;t=10,64&e[5]&&(t+=4,t+=e2(e.subarray(10,14)));do{if((i=e2(e.subarray(t+4,t+8)))<1)break;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){n=e.subarray(t+10,t+i+10);for(var r=0;r>>2;return s*=4,s+=3&a[7]}break}}t+=10,t+=i}while(t=3;){if(73===e[o]&&68===e[o+1]&&51===e[o+2]){if(e.length-o<10||(s=e4.parseId3TagSize(e,o),o+s>e.length))break;n={type:"timed-metadata",data:e.subarray(o,o+s)},this.trigger("data",n),o+=s;continue}if((255&e[o])==255&&(240&e[o+1])==240){if(e.length-o<7||(s=e4.parseAdtsSize(e,o),o+s>e.length))break;r={type:"audio",data:e.subarray(o,o+s),pts:t,dts:t},this.trigger("data",r),o+=s;continue}o++}e=e.length-o>0?e.subarray(o):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new T;var e5=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],e3=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],e6=e4.isLikelyAacData,e7=A.ONE_SECOND_IN_TS,e9=function(e,t){t.stream=e,this.trigger("log",t)},te=function(e,t){for(var i=Object.keys(t),n=0;n=-1e4&&i<=45e3&&(!n||o>i)&&(n=a,o=i);return n?n.gop:null},this.alignGopsAtStart_=function(e){var t,i,n,r,a,o,l,u;for(a=e.byteLength,o=e.nalCount,l=e.duration,t=i=0;tn.pts){t++;continue}i++,a-=r.byteLength,o-=r.nalCount,l-=r.duration}return 0===i?e:i===e.length?null:((u=e.slice(i)).byteLength=a,u.duration=l,u.nalCount=o,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){for(t=s.length-1,i=e.length-1,a=null,o=!1;t>=0&&i>=0;){if(n=s[t],r=e[i],n.pts===r.pts){o=!0;break}if(n.pts>r.pts){t--;continue}t===s.length-1&&(a=i),i--}if(!o&&null===a)return null;if(0===(l=o?i:a))return e;var t,i,n,r,a,o,l,u=e.slice(l),d=u.reduce(function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e},{byteLength:0,duration:0,nalCount:0});return u.byteLength=d.byteLength,u.duration=d.duration,u.nalCount=d.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){s=e}}).prototype=new T,(p=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,p.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):void(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),"audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes)))}}).prototype=new T,p.prototype.flush=function(e){var t,i,n,r,a=0,s={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0);return}}if(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,e3.forEach(function(e){s.info[e]=this.videoTrack[e]},this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,e5.forEach(function(e){s.info[e]=this.audioTrack[e]},this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?s.type=this.pendingTracks[0].type:s.type="combined",this.emittedTracks+=this.pendingTracks.length,n=k.initSegment(this.pendingTracks),s.initSegment=new Uint8Array(n.byteLength),s.initSegment.set(n),s.data=new Uint8Array(this.pendingBytes),r=0;r=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},p.prototype.setRemux=function(e){this.remuxTracks=e},(h=function(e){var t,i,n=this,a=!0;h.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var a={};this.transmuxPipeline_=a,a.type="aac",a.metadataStream=new eX.MetadataStream,a.aacStream=new u,a.audioTimestampRolloverStream=new eX.TimestampRolloverStream("audio"),a.timedMetadataTimestampRolloverStream=new eX.TimestampRolloverStream("timed-metadata"),a.adtsStream=new r,a.coalesceStream=new p(e,a.metadataStream),a.headOfPipeline=a.aacStream,a.aacStream.pipe(a.audioTimestampRolloverStream).pipe(a.adtsStream),a.aacStream.pipe(a.timedMetadataTimestampRolloverStream).pipe(a.metadataStream).pipe(a.coalesceStream),a.metadataStream.on("timestamp",function(e){a.aacStream.setTimestamp(e.timeStamp)}),a.aacStream.on("data",function(r){"timed-metadata"!==r.type&&"audio"!==r.type||a.audioSegmentStream||(i=i||{timelineStartInfo:{baseMediaDecodeTime:n.baseMediaDecodeTime},codec:"adts",type:"audio"},a.coalesceStream.numberOfTracks++,a.audioSegmentStream=new c(i,e),a.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),a.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),a.adtsStream.pipe(a.audioSegmentStream).pipe(a.coalesceStream),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t}))}),a.coalesceStream.on("data",this.trigger.bind(this,"data")),a.coalesceStream.on("done",this.trigger.bind(this,"done")),te(this,a)},this.setupTsPipeline=function(){var a={};this.transmuxPipeline_=a,a.type="ts",a.metadataStream=new eX.MetadataStream,a.packetStream=new eX.TransportPacketStream,a.parseStream=new eX.TransportParseStream,a.elementaryStream=new eX.ElementaryStream,a.timestampRolloverStream=new eX.TimestampRolloverStream,a.adtsStream=new r,a.h264Stream=new s,a.captionStream=new eX.CaptionStream(e),a.coalesceStream=new p(e,a.metadataStream),a.headOfPipeline=a.packetStream,a.packetStream.pipe(a.parseStream).pipe(a.elementaryStream).pipe(a.timestampRolloverStream),a.timestampRolloverStream.pipe(a.h264Stream),a.timestampRolloverStream.pipe(a.adtsStream),a.timestampRolloverStream.pipe(a.metadataStream).pipe(a.coalesceStream),a.h264Stream.pipe(a.captionStream).pipe(a.coalesceStream),a.elementaryStream.on("data",function(r){var s;if("metadata"===r.type){for(s=r.tracks.length;s--;)t||"video"!==r.tracks[s].type?i||"audio"!==r.tracks[s].type||((i=r.tracks[s]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime):(t=r.tracks[s]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime;t&&!a.videoSegmentStream&&(a.coalesceStream.numberOfTracks++,a.videoSegmentStream=new d(t,e),a.videoSegmentStream.on("log",n.getLogTrigger_("videoSegmentStream")),a.videoSegmentStream.on("timelineStartInfo",function(t){i&&!e.keepOriginalTimestamps&&(i.timelineStartInfo=t,a.audioSegmentStream.setEarliestDts(t.dts-n.baseMediaDecodeTime))}),a.videoSegmentStream.on("processedGopsInfo",n.trigger.bind(n,"gopInfo")),a.videoSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"videoSegmentTimingInfo")),a.videoSegmentStream.on("baseMediaDecodeTime",function(e){i&&a.audioSegmentStream.setVideoBaseMediaDecodeTime(e)}),a.videoSegmentStream.on("timingInfo",n.trigger.bind(n,"videoTimingInfo")),a.h264Stream.pipe(a.videoSegmentStream).pipe(a.coalesceStream)),i&&!a.audioSegmentStream&&(a.coalesceStream.numberOfTracks++,a.audioSegmentStream=new c(i,e),a.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),a.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),a.audioSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"audioSegmentTimingInfo")),a.adtsStream.pipe(a.audioSegmentStream).pipe(a.coalesceStream)),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t})}}),a.coalesceStream.on("data",this.trigger.bind(this,"data")),a.coalesceStream.on("id3Frame",function(e){e.dispatchType=a.metadataStream.dispatchType,n.trigger("id3Frame",e)}),a.coalesceStream.on("caption",this.trigger.bind(this,"caption")),a.coalesceStream.on("done",this.trigger.bind(this,"done")),te(this,a)},this.setBaseMediaDecodeTime=function(n){var r=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=n),i&&(i.timelineStartInfo.dts=void 0,i.timelineStartInfo.pts=void 0,M.clearDtsInfo(i),r.audioTimestampRolloverStream&&r.audioTimestampRolloverStream.discontinuity()),t&&(r.videoSegmentStream&&(r.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,M.clearDtsInfo(t),r.captionStream.reset()),r.timestampRolloverStream&&r.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){i&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var i=this.transmuxPipeline_;e.remux=t,i&&i.coalesceStream&&i.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(i){i.stream=e,t.trigger("log",i)}},this.push=function(e){if(a){var t=e6(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),a=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){a=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new T;var tn={Transmuxer:h,VideoSegmentStream:d,AudioSegmentStream:c,AUDIO_PROPERTIES:e5,VIDEO_PROPERTIES:e3,generateSegmentTimingInfo:ti},tr={toUnsigned:function(e){return e>>>0},toHexString:function(e){return("00"+e.toString(16)).slice(-2)}},ta=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},ts=tr.toUnsigned,to=function e(t,i){var n,r,a,s,o,l=[];if(!i.length)return null;for(n=0;n1?n+r:t.byteLength,a===i[0]&&(1===i.length?l.push(t.subarray(n+8,s)):(o=e(t.subarray(n+8,s),i.slice(1))).length&&(l=l.concat(o))),n=s;return l},tl=tr.toUnsigned,tu=b.getUint64,td=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=tu(e.subarray(4)):t.baseMediaDecodeTime=tl(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},tc=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},th=function(e){var t,i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=1&i.flags[2],a=4&i.flags[2],s=1&i.flags[1],o=2&i.flags[1],l=4&i.flags[1],u=8&i.flags[1],d=n.getUint32(4),c=8;for(r&&(i.dataOffset=n.getInt32(c),c+=4),a&&d&&(t={flags:tc(e.subarray(c,c+4))},c+=4,s&&(t.duration=n.getUint32(c),c+=4),o&&(t.size=n.getUint32(c),c+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(c):t.compositionTimeOffset=n.getUint32(c),c+=4),i.samples.push(t),d--);d--;)t={},s&&(t.duration=n.getUint32(c),c+=4),o&&(t.size=n.getUint32(c),c+=4),l&&(t.flags=tc(e.subarray(c,c+4)),c+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(c):t.compositionTimeOffset=n.getUint32(c),c+=4),i.samples.push(t);return i},tp=function(e){var t,i=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:i.getUint32(4)},r=1&n.flags[2],a=2&n.flags[2],s=8&n.flags[2],o=16&n.flags[2],l=32&n.flags[2],u=65536&n.flags[0],d=131072&n.flags[0];return t=8,r&&(t+=4,n.baseDataOffset=i.getUint32(12),t+=4),a&&(n.sampleDescriptionIndex=i.getUint32(t),t+=4),s&&(n.defaultSampleDuration=i.getUint32(t),t+=4),o&&(n.defaultSampleSize=i.getUint32(t),t+=4),l&&(n.defaultSampleFlags=i.getUint32(t)),u&&(n.durationIsEmpty=!0),!r&&d&&(n.baseDataOffsetIsMoof=!0),n},tf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},tm="undefined"!=typeof window?window:void 0!==tf?tf:"undefined"!=typeof self?self:{},tg=R.discardEmulationPreventionBytes,t_=Z.CaptionStream,tv=function(e,t){for(var i=e,n=0;n0?td(l[0]).baseMediaDecodeTime:0,d=to(a,["trun"]);t===o&&d.length>0&&(i=ty(n,tT(d,u,s),o),r[o]||(r[o]={seiNals:[],logs:[]}),r[o].seiNals=r[o].seiNals.concat(i.seiNals),r[o].logs=r[o].logs.concat(i.logs))}),r},tS=function(e,t,i){if(null===t)return null;var n=tb(e,t)[t]||{};return{seiNals:n.seiNals,logs:n.logs,timescale:i}},tk=function(){var e,t,i,n,r,a,s=!1;this.isInitialized=function(){return s},this.init=function(t){e=new t_,s=!0,a=!!t&&t.isPartial,e.on("data",function(e){e.startTime=e.startPts/n,e.endTime=e.endPts/n,r.captions.push(e),r.captionStreams[e.stream]=!0}),e.on("log",function(e){r.logs.push(e)})},this.isNewInit=function(e,t){return(!e||0!==e.length)&&(!t||"object"!=typeof t||0!==Object.keys(t).length)&&(i!==e[0]||n!==t[i])},this.parse=function(e,a,s){var o;if(!this.isInitialized()||!a||!s)return null;if(this.isNewInit(a,s))n=s[i=a[0]];else if(null===i||!n)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,a,s)}return((o=tS(e,i,n))&&o.logs&&(r.logs=r.logs.concat(o.logs)),null!==o&&o.seiNals)?(this.pushNals(o.seiNals),this.flushStream(),r):r.logs.length?{logs:r.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach(function(t){e.push(t)})},this.flushStream=function(){if(!this.isInitialized())return null;a?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){r.captions=[],r.captionStreams={},r.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],i=null,n=null,r?this.clearParsedCaptions():r={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},tC=tr.toUnsigned,tE=tr.toHexString,tw=b.getUint64;f=function(e){return to(e,["moov","trak"]).reduce(function(e,t){var i,n,r,a;return(i=to(t,["tkhd"])[0])&&(r=tC(i[n=0===i[0]?12:20]<<24|i[n+1]<<16|i[n+2]<<8|i[n+3]),a=to(t,["mdia","mdhd"])[0])?(n=0===a[0]?12:20,e[r]=tC(a[n]<<24|a[n+1]<<16|a[n+2]<<8|a[n+3]),e):null},{})},m=function(e,t){var i=to(t,["moof","traf"]).reduce(function(t,i){var n,r,a=to(i,["tfhd"])[0],s=e[tC(a[4]<<24|a[5]<<16|a[6]<<8|a[7])]||9e4,o=to(i,["tfdt"])[0],l=new DataView(o.buffer,o.byteOffset,o.byteLength);return"bigint"==typeof(n=1===o[0]?tw(o.subarray(4,12)):l.getUint32(4))?r=n/tm.BigInt(s):"number"!=typeof n||isNaN(n)||(r=n/s),r11?(t.codec+=".",t.codec+=tE(u[9]),t.codec+=tE(u[10]),t.codec+=tE(u[11])):t.codec="avc1.4d400d":/^mp4[a,v]$/i.test(t.codec)?"esds"===ta((u=c.subarray(28)).subarray(4,8))&&u.length>20&&0!==u[19]?(t.codec+="."+tE(u[19]),t.codec+="."+tE(u[20]>>>2&63).replace(/^0/,"")):t.codec="mp4a.40.2":t.codec=t.codec.toLowerCase())}var h=to(e,["mdia","mdhd"])[0];h&&(t.timescale=y(h)),i.push(t)}),i};var tI={findBox:to,parseType:ta,timescale:f,startTime:m,compositionStartTime:g,videoTrackIds:_,tracks:v,getTimescaleFromMediaHeader:y},tx=function(e){var t=31&e[1];return t<<=8,t|=e[2]},tP=function(e){return!!(64&e[1])},tA=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},tL=function(e,t){var i=tx(e);return 0===i?"pat":i===t?"pmt":t?"pes":null},tO=function(e){var t=tP(e),i=4+tA(e);return t&&(i+=e[i]+1),(31&e[i+10])<<8|e[i+11]},tD=function(e){var t,i={},n=tP(e),r=4+tA(e);if(n&&(r+=e[r]+1),1&e[r+5]){t=3+((15&e[r+1])<<8|e[r+2])-4;for(var a=12+((15&e[r+10])<<8|e[r+11]);a=e.byteLength)return null;var n=null;return 192&(t=e[i+7])&&((n={}).pts=(14&e[i+9])<<27|(255&e[i+10])<<20|(254&e[i+11])<<12|(255&e[i+12])<<5|(254&e[i+13])>>>3,n.pts*=4,n.pts+=(6&e[i+13])>>>1,n.dts=n.pts,64&t&&(n.dts=(14&e[i+14])<<27|(255&e[i+15])<<20|(254&e[i+16])<<12|(255&e[i+17])<<5|(254&e[i+18])>>>3,n.dts*=4,n.dts+=(6&e[i+18])>>>1)),n},tU=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},tB=function(e){for(var t=4+tA(e),i=e.subarray(t),n=0,r=0,a=!1;r3&&"slice_layer_without_partitioning_rbsp_idr"===tU(31&i[r+3])&&(a=!0),a},tN=eW.handleRollover,tF={};tF.ts={parseType:tL,parsePat:tO,parsePmt:tD,parsePayloadUnitStartIndicator:tP,parsePesType:tM,parsePesTime:tR,videoPacketContainsKeyFrame:tB},tF.aac=e4;var tj=A.ONE_SECOND_IN_TS,tH=function(e,t){for(var i,n,r=0,a=188;a=0;){if(71===e[o]&&(71===e[l]||l===e.byteLength)){if(n=e.subarray(o,l),"pes"===tF.ts.parseType(n,t.pid)&&(r=tF.ts.parsePesType(n,t.table),a=tF.ts.parsePayloadUnitStartIndicator(n),"audio"===r&&a&&(s=tF.ts.parsePesTime(n))&&(s.type="audio",i.audio.push(s),u=!0)),u)break;o-=188,l-=188;continue}o--,l--}},tV=function(e,t,i){for(var n,r,a,s,o,l,u,d=0,c=188,h=!1,p={data:[],size:0};c=0;){if(71===e[d]&&71===e[c]){if(n=e.subarray(d,c),"pes"===tF.ts.parseType(n,t.pid)&&(r=tF.ts.parsePesType(n,t.table),a=tF.ts.parsePayloadUnitStartIndicator(n),"video"===r&&a&&(s=tF.ts.parsePesTime(n))&&(s.type="video",i.video.push(s),h=!0)),h)break;d-=188,c-=188;continue}d--,c--}},tW=function(e,t){if(e.audio&&e.audio.length){var i=t;(void 0===i||isNaN(i))&&(i=e.audio[0].dts),e.audio.forEach(function(e){e.dts=tN(e.dts,i),e.pts=tN(e.pts,i),e.dtsTime=e.dts/tj,e.ptsTime=e.pts/tj})}if(e.video&&e.video.length){var n=t;if((void 0===n||isNaN(n))&&(n=e.video[0].dts),e.video.forEach(function(e){e.dts=tN(e.dts,n),e.pts=tN(e.pts,n),e.dtsTime=e.dts/tj,e.ptsTime=e.pts/tj}),e.firstKeyFrame){var r=e.firstKeyFrame;r.dts=tN(r.dts,n),r.pts=tN(r.pts,n),r.dtsTime=r.dts/tj,r.ptsTime=r.pts/tj}}},tz=function(e){for(var t,i=!1,n=0,r=null,a=null,s=0,o=0;e.length-o>=3;){var l=tF.aac.parseType(e,o);switch(l){case"timed-metadata":if(e.length-o<10||(s=tF.aac.parseId3TagSize(e,o))>e.length){i=!0;break}null===a&&(t=e.subarray(o,o+s),a=tF.aac.parseAacTimestamp(t)),o+=s;break;case"audio":if(e.length-o<7||(s=tF.aac.parseAdtsSize(e,o))>e.length){i=!0;break}null===r&&(t=e.subarray(o,o+s),r=tF.aac.parseSampleRate(t)),n++,o+=s;break;default:o++}if(i)return null}if(null===r||null===a)return null;var u=tj/r;return{audio:[{type:"audio",dts:a,pts:a},{type:"audio",dts:a+1024*n*u,pts:a+1024*n*u}]}},tG=function(e){var t={pid:null,table:null},i={};for(var n in tH(e,t),t.table)if(t.table.hasOwnProperty(n)){var r=t.table[n];switch(r){case Q.H264_STREAM_TYPE:i.video=[],tV(e,t,i),0===i.video.length&&delete i.video;break;case Q.ADTS_STREAM_TYPE:i.audio=[],tq(e,t,i),0===i.audio.length&&delete i.audio}}return i},tK={inspect:function(e,t){var i;return(i=tF.aac.isLikelyAacData(e)?tz(e):tG(e))&&(i.audio||i.video)?(tW(i,t),i):null},parseAudioPes_:tq},tZ=function(e,t){t.on("data",function(t){var i=t.initSegment;t.initSegment={data:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength};var n=t.data;t.data=n.buffer,e.postMessage({action:"data",segment:t,byteOffset:n.byteOffset,byteLength:n.byteLength},[t.data])}),t.on("done",function(t){e.postMessage({action:"done"})}),t.on("gopInfo",function(t){e.postMessage({action:"gopInfo",gopInfo:t})}),t.on("videoSegmentTimingInfo",function(t){var i={start:{decode:A.videoTsToSeconds(t.start.dts),presentation:A.videoTsToSeconds(t.start.pts)},end:{decode:A.videoTsToSeconds(t.end.dts),presentation:A.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:A.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=A.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:i})}),t.on("audioSegmentTimingInfo",function(t){var i={start:{decode:A.videoTsToSeconds(t.start.dts),presentation:A.videoTsToSeconds(t.start.pts)},end:{decode:A.videoTsToSeconds(t.end.dts),presentation:A.videoTsToSeconds(t.end.pts)},baseMediaDecodeTime:A.videoTsToSeconds(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=A.videoTsToSeconds(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:i})}),t.on("id3Frame",function(t){e.postMessage({action:"id3Frame",id3Frame:t})}),t.on("caption",function(t){e.postMessage({action:"caption",caption:t})}),t.on("trackinfo",function(t){e.postMessage({action:"trackinfo",trackInfo:t})}),t.on("audioTimingInfo",function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:A.videoTsToSeconds(t.start),end:A.videoTsToSeconds(t.end)}})}),t.on("videoTimingInfo",function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:A.videoTsToSeconds(t.start),end:A.videoTsToSeconds(t.end)}})}),t.on("log",function(t){e.postMessage({action:"log",log:t})})},tQ=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new tn.Transmuxer(this.options),tZ(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new tk,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),i=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:i&&i.captions||[],logs:i&&i.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,i=e.data,n=tI.startTime(t,i);this.self.postMessage({action:"probeMp4StartTime",startTime:n,data:i},[i.buffer])},t.probeMp4Tracks=function(e){var t=e.data,i=tI.tracks(t);this.self.postMessage({action:"probeMp4Tracks",tracks:i,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,i=e.baseStartTime,n="number"!=typeof i||isNaN(i)?void 0:i*A.ONE_SECOND_IN_TS,r=tK.inspect(t,n),a=null;r&&((a={hasVideo:r.video&&2===r.video.length||!1,hasAudio:r.audio&&2===r.audio.length||!1}).hasVideo&&(a.videoStart=r.video[0].ptsTime),a.hasAudio&&(a.audioStart=r.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:a,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(A.secondsToVideoTs(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(A.secondsToVideoTs(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){if("init"===e.data.action&&e.data.options){this.messageHandlers=new tQ(self,e.data.options);return}this.messageHandlers||(this.messageHandlers=new tQ(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data)}}))),aJ=function(e,t,i){var n=e.data.segment,r=n.type,a=n.initSegment,s=n.captions,o=n.captionStreams,l=n.metadata,u=n.videoFrameDtsTime,d=n.videoFramePtsTime;t.buffer.push({captions:s,captionStreams:o,metadata:l});var c=e.data.segment.boxes||{data:e.data.segment.data},h={type:r,data:new Uint8Array(c.data,c.data.byteOffset,c.data.byteLength),initSegment:new Uint8Array(a.data,a.byteOffset,a.byteLength)};void 0!==u&&(h.videoFrameDtsTime=u),void 0!==d&&(h.videoFramePtsTime=d),i(h)},a0=function(e){var t=e.transmuxedData,i=e.callback;t.buffer=[],i(t)},a1=function(e,t){t.gopInfo=e.data.gopInfo},a2=function(e){var t=e.transmuxer,i=e.bytes,n=e.audioAppendStart,r=e.gopsToAlignWith,a=e.remux,s=e.onData,o=e.onTrackInfo,l=e.onAudioTimingInfo,u=e.onVideoTimingInfo,d=e.onVideoSegmentTimingInfo,c=e.onAudioSegmentTimingInfo,h=e.onId3,p=e.onCaptions,f=e.onDone,m=e.onEndedTimeline,g=e.onTransmuxerLog,_=e.isEndOfTimeline,v={buffer:[]},y=_,T=function(i){t.currentTransmux===e&&("data"===i.data.action&&aJ(i,v,s),"trackinfo"===i.data.action&&o(i.data.trackInfo),"gopInfo"===i.data.action&&a1(i,v),"audioTimingInfo"===i.data.action&&l(i.data.audioTimingInfo),"videoTimingInfo"===i.data.action&&u(i.data.videoTimingInfo),"videoSegmentTimingInfo"===i.data.action&&d(i.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===i.data.action&&c(i.data.audioSegmentTimingInfo),"id3Frame"===i.data.action&&h([i.data.id3Frame],i.data.id3Frame.dispatchType),"caption"===i.data.action&&p(i.data.caption),"endedtimeline"===i.data.action&&(y=!1,m()),"log"===i.data.action&&g(i.data.log),"transmuxed"!==i.data.type||y||(t.onmessage=null,a0({transmuxedData:v,callback:f}),a8(t)))};if(t.onmessage=T,n&&t.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(r)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:r}),void 0!==a&&t.postMessage({action:"setRemux",remux:a}),i.byteLength){var b=i instanceof ArrayBuffer?i:i.buffer,S=i instanceof ArrayBuffer?0:i.byteOffset;t.postMessage({action:"push",data:b,byteOffset:S,byteLength:i.byteLength},[b])}_&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},a8=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():a2(e.currentTransmux))},a4=function(e,t){e.postMessage({action:t}),a8(e)},a5=function(e,t){if(!t.currentTransmux){t.currentTransmux=e,a4(t,e);return}t.transmuxQueue.push(a4.bind(null,t,e))},a3=function(e){if(!e.transmuxer.currentTransmux){e.transmuxer.currentTransmux=e,a2(e);return}e.transmuxer.transmuxQueue.push(e)},a6={reset:function(e){a5("reset",e)},endTimeline:function(e){a5("endTimeline",e)},transmux:a3,createTransmuxer:function(e){var t=new a$;t.currentTransmux=null,t.transmuxQueue=[];var i=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,i.call(t)},t.postMessage({action:"init",options:e}),t}},a7=function(e){var t=e.transmuxer,i=e.endAction||e.action,n=e.callback,r=(0,v.Z)({},e,{endAction:null,transmuxer:null,callback:null}),a=function r(a){a.data.action===i&&(t.removeEventListener("message",r),a.data.data&&(a.data.data=new Uint8Array(a.data.data,e.byteOffset||0,e.byteLength||a.data.data.byteLength),e.data&&(e.data=a.data.data)),n(a.data))};if(t.addEventListener("message",a),e.data){var s=e.data instanceof ArrayBuffer;r.byteOffset=s?0:e.data.byteOffset,r.byteLength=e.data.byteLength;var o=[s?e.data:e.data.buffer];t.postMessage(r,o)}else t.postMessage(r)},a9={FAILURE:2,TIMEOUT:-101,ABORTED:-102},se=function(e){e.forEach(function(e){e.abort()})},st=function(e){var t=e.target,i={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return i.bytesReceived=e.loaded,i.bandwidth=Math.floor(i.bytesReceived/i.roundTripTime*8e3),i},si=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:a9.TIMEOUT,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:a9.ABORTED,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:a9.FAILURE,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:a9.FAILURE,xhr:t}:null},sn=function(e,t,i){return function(n,r){var a=r.response,s=si(n,r);if(s)return i(s,e);if(16!==a.byteLength)return i({status:r.status,message:"Invalid HLS key at URL: "+r.uri,code:a9.FAILURE,xhr:r},e);for(var o=new DataView(a),l=new Uint32Array([o.getUint32(0),o.getUint32(4),o.getUint32(8),o.getUint32(12)]),u=0;u1){sm("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),t[e]=null;return}t[e]=t[e][0]}),t},sT=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},sb=function(e,t){var i=t.attributes||{},n=sy(sg(t)||[]);if(s_(e,t)&&!n.audio&&!sv(e,t)){var r=sy((0,D.Jg)(e,i.AUDIO)||[]);r.audio&&(n.audio=r.audio)}return n},sS=rC("PlaylistSelector"),sk=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},sC=function(e,t){if(!e)return"";var i=m().getComputedStyle(e);return i?i[t]:""},sE=function(e,t){var i=e.slice();e.sort(function(e,n){var r=t(e,n);return 0===r?i.indexOf(e)-i.indexOf(n):r})},sw=function(e,t){var i,n;return e.attributes.BANDWIDTH&&(i=e.attributes.BANDWIDTH),i=i||m().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(n=t.attributes.BANDWIDTH),i-(n=n||m().Number.MAX_VALUE)},sI=function(e,t){var i,n;return(e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(i=e.attributes.RESOLUTION.width),i=i||m().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(n=t.attributes.RESOLUTION.width),i===(n=n||m().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH)?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:i-n},sx=function(e,t,i,n,r,a){if(e){var s,o,l,u,d={bandwidth:t,width:i,height:n,limitRenditionByPlayerDimensions:r},c=e.playlists;r4.isAudioOnly(e)&&(c=a.getAudioTrackPlaylists_(),d.audioOnly=!0);var h=c.map(function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,i=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||m().Number.MAX_VALUE,width:t,height:i,playlist:e}});sE(h,function(e,t){return e.bandwidth-t.bandwidth});var p=(h=h.filter(function(e){return!r4.isIncompatible(e.playlist)})).filter(function(e){return r4.isEnabled(e.playlist)});p.length||(p=h.filter(function(e){return!r4.isDisabled(e.playlist)}));var f=p.filter(function(e){return e.bandwidth*az.BANDWIDTH_VARIANCEi||e.height>n})).filter(function(e){return e.width===s[0].width&&e.height===s[0].height}))[o.length-1],l=o.filter(function(e){return e.bandwidth===g.bandwidth})[0]),a.experimentalLeastPixelDiffSelector){var k=T.map(function(e){return e.pixelDiff=Math.abs(e.width-i)+Math.abs(e.height-n),e});sE(k,function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff}),u=k[0]}var C=u||l||S||_||p[0]||h[0];if(C&&C.playlist){var E="sortedPlaylistReps";return u?E="leastPixelDiffRep":l?E="resolutionPlusOneRep":S?E="resolutionBestRep":_?E="bandwidthBestRep":p[0]&&(E="enabledPlaylistReps"),sS("choosing "+sk(C)+" using "+E+" with options",d),C.playlist}return sS("could not choose a playlist with options",d),null}},sP=function(){var e=this.useDevicePixelRatio&&m().devicePixelRatio||1;return sx(this.playlists.master,this.systemBandwidth,parseInt(sC(this.tech_.el(),"width"),10)*e,parseInt(sC(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},sA=function(e){var t=-1,i=-1;if(e<0||e>1)throw Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var n=this.useDevicePixelRatio&&m().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,i=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==i&&(t=e*this.systemBandwidth+(1-e)*t,i=this.systemBandwidth),sx(this.playlists.master,t,parseInt(sC(this.tech_.el(),"width"),10)*n,parseInt(sC(this.tech_.el(),"height"),10)*n,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},sL=function(e){var t=e.master,i=e.currentTime,n=e.bandwidth,r=e.duration,a=e.segmentDuration,s=e.timeUntilRebuffer,o=e.currentTimeline,l=e.syncController,u=t.playlists.filter(function(e){return!r4.isIncompatible(e)}),d=u.filter(r4.isEnabled);d.length||(d=u.filter(function(e){return!r4.isDisabled(e)}));var c=d.filter(r4.hasAttribute.bind(null,"BANDWIDTH")).map(function(e){var t=l.getSyncPoint(e,r,o,i),u=r4.estimateSegmentRequestTime(a,n,e);return{playlist:e,rebufferingImpact:u*(t?1:2)-s}}),h=c.filter(function(e){return e.rebufferingImpact<=0});return(sE(h,function(e,t){return sw(t.playlist,e.playlist)}),h.length)?h[0]:(sE(c,function(e,t){return e.rebufferingImpact-t.rebufferingImpact}),c[0]||null)},sO=function(){var e=this,t=this.playlists.master.playlists.filter(r4.isEnabled);return sE(t,function(e,t){return sw(e,t)}),t.filter(function(t){return!!sb(e.playlists.master,t).video})[0]||null},sD=function(e){var t,i=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach(function(e){t.set(e,i),i+=e.byteLength})),t},sM=function(e,t,i){if(!e[i]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var n=i;/^cc708_/.test(i)&&(n="SERVICE"+i.split("_")[1]);var r=t.textTracks().getTrackById(n);if(r)e[i]=r;else{var a=t.options_.vhs&&t.options_.vhs.captionServices||{},s=i,o=i,l=!1,u=a[n];u&&(s=u.label,o=u.language,l=u.default),e[i]=t.addRemoteTextTrack({kind:"captions",id:n,default:l,label:s,language:o},!1).track}}},sR=function(e){var t=e.inbandTextTracks,i=e.captionArray,n=e.timestampOffset;if(i){var r=m().WebKitDataCue||m().VTTCue;i.forEach(function(e){t[e.stream].addCue(new r(e.startTime+n,e.endTime+n,e.text))})}},sU=function(e){Object.defineProperties(e.frame,{id:{get:function(){return ry.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return ry.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return ry.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})},sB=function(e){var t=e.inbandTextTracks,i=e.metadataArray,n=e.timestampOffset,r=e.videoDuration;if(i){var a=m().WebKitDataCue||m().VTTCue,s=t.metadataTrack_;if(s&&(i.forEach(function(e){var t=e.cueTime+n;"number"!=typeof t||m().isNaN(t)||t<0||!(t<1/0)||e.frames.forEach(function(e){var i=new a(t,t,e.value||e.url||e.data||"");i.frame=e,i.value=e,sU(i),s.addCue(i)})}),s.cues&&s.cues.length)){for(var o=s.cues,l=[],u=0;u=e&&r.endTime<=t&&i.removeCue(r)},sj=function(e){var t=e.cues;if(t)for(var i=0;i1&&n.push(t[a]);n.length&&n.forEach(function(t){return e.removeCue(t)})}},sH=function(e,t,i){if(null==t||!e.length)return[];var n,r=Math.ceil((t-i+3)*H.ONE_SECOND_IN_TS);for(n=0;nr);n++);return e.slice(n)},sq=function(e,t,i){if(!t.length)return e;if(i)return t.slice();for(var n=t[0].pts,r=0;r=n);r++);return e.slice(0,r).concat(t)},sV=function(e,t,i,n){for(var r=Math.ceil((t-n)*H.ONE_SECOND_IN_TS),a=Math.ceil((i-n)*H.ONE_SECOND_IN_TS),s=e.slice(),o=e.length;o--&&!(e[o].pts<=a););if(-1===o)return s;for(var l=o+1;l--&&!(e[l].pts<=r););return l=Math.max(l,0),s.splice(l,o-l+1),s},sW=function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var i=Object.keys(e).sort(),n=Object.keys(t).sort();if(i.length!==n.length)return!1;for(var r=0;ri))return a}return 0===n.length?0:n[n.length-1]},sG=function(e){return"number"==typeof e&&isFinite(e)},sK=1/60,sZ=function(e,t,i){var n=t-az.BACK_BUFFER_LENGTH;return e.length&&(n=Math.max(n,e.start(0))),Math.min(t-i,n)},sQ=function(e){var t=e.startOfSegment,i=e.duration,n=e.segment,r=e.part,a=e.playlist,s=a.mediaSequence,o=a.id,l=a.segments,u=e.mediaIndex,d=e.partIndex,c=e.timeline,h=(void 0===l?[]:l).length-1,p="mediaIndex/partIndex increment";e.getMediaInfoForTime?p="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(p="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(p+=" with independent "+e.independent);var f="number"==typeof d,m=e.segment.uri?"segment":"pre-segment",g=f?rH({preloadSegment:n})-1:0;return m+" ["+(s+u)+"/"+(s+h)+"]"+(f?" part ["+d+"/"+g+"]":"")+(" segment start/end ["+n.start)+" => "+n.end+"]"+(f?" part start/end ["+r.start+" => "+r.end+"]":"")+" startOfSegment ["+t+"] duration ["+i+"] timeline ["+c+"] selected by ["+p+"] playlist ["+o+"]"},sX=function(e){return e+"TimingInfo"},sY=function(e){var t=e.segmentTimeline,i=e.currentTimeline,n=e.startOfSegment,r=e.buffered;return e.overrideCheck||t!==i?tt&&(t=n)}}),"bigint"==typeof t&&ti+rE},s1=function(e,t){if("hls"!==t)return null;var i=sJ({audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo});if(!i)return null;var n=e.playlist.targetDuration,r=s0({segmentDuration:i,maxDuration:2*n}),a=s0({segmentDuration:i,maxDuration:n}),s="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+i+" when the reported duration is "+e.duration+" and the target duration is "+n+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return r||a?{severity:r?"warn":"info",message:s}:null},s2=function(e){function t(t,i){var n;if(n=e.call(this)||this,!t)throw TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw TypeError("No currentTime getter specified");if(!t.mediaSource)throw TypeError("No MediaSource specified");return n.bandwidth=t.bandwidth,n.throughput={rate:0,count:0},n.roundTrip=NaN,n.resetStats_(),n.mediaIndex=null,n.partIndex=null,n.hasPlayed_=t.hasPlayed,n.currentTime_=t.currentTime,n.seekable_=t.seekable,n.seeking_=t.seeking,n.duration_=t.duration,n.mediaSource_=t.mediaSource,n.vhs_=t.vhs,n.loaderType_=t.loaderType,n.currentMediaInfo_=void 0,n.startingMediaInfo_=void 0,n.segmentMetadataTrack_=t.segmentMetadataTrack,n.goalBufferLength_=t.goalBufferLength,n.sourceType_=t.sourceType,n.sourceUpdater_=t.sourceUpdater,n.inbandTextTracks_=t.inbandTextTracks,n.state_="INIT",n.timelineChangeController_=t.timelineChangeController,n.shouldSaveSegmentTimingInfo_=!0,n.parse708captions_=t.parse708captions,n.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,n.captionServices_=t.captionServices,n.experimentalExactManifestTimings=t.experimentalExactManifestTimings,n.checkBufferTimeout_=null,n.error_=void 0,n.currentTimeline_=-1,n.pendingSegment_=null,n.xhrOptions_=null,n.pendingSegments_=[],n.audioDisabled_=!1,n.isPendingTimestampOffset_=!1,n.gopBuffer_=[],n.timeMapping_=0,n.safeAppend_=ry.browser.IE_VERSION>=11,n.appendInitSegment_={audio:!0,video:!0},n.playlistOfLastInitSegment_={audio:null,video:null},n.callQueue_=[],n.loadQueue_=[],n.metadataQueue_={id3:[],caption:[]},n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=t.cacheEncryptionKeys,n.keyCache_={},n.decrypter_=t.decrypter,n.syncController_=t.syncController,n.syncPoint_={segmentIndex:0,time:0},n.transmuxer_=n.createTransmuxer_(),n.triggerSyncInfoUpdate_=function(){return n.trigger("syncinfoupdate")},n.syncController_.on("syncinfoupdate",n.triggerSyncInfoUpdate_),n.mediaSource_.addEventListener("sourceopen",function(){n.isEndOfStream_()||(n.ended_=!1)}),n.fetchAtBuffer_=!1,n.logger_=rC("SegmentLoader["+n.loaderType_+"]"),Object.defineProperty((0,b.Z)(n),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),n.sourceUpdater_.on("ready",function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()}),"main"===n.loaderType_&&n.timelineChangeController_.on("pendingtimelinechange",function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()}),"audio"===n.loaderType_&&n.timelineChangeController_.on("timelinechange",function(){n.hasEnoughInfoToLoad_()&&n.processLoadQueue_(),n.hasEnoughInfoToAppend_()&&n.processCallQueue_()}),n}(0,S.Z)(t,e);var i=t.prototype;return i.createTransmuxer_=function(){return a6.createTransmuxer({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},i.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},i.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&m().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},i.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},i.abort=function(){if("WAITING"!==this.state){this.pendingSegment_&&(this.pendingSegment_=null);return}this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()},i.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,m().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},i.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},i.error=function(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},i.endOfStream=function(){this.ended_=!0,this.transmuxer_&&a6.reset(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},i.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return ry.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,i=e.hasVideo,n=e.isMuxed;if(i&&t&&!this.audioDisabled_&&!n)return this.sourceUpdater_.buffered();if(i)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},i.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=ak(e),n=this.initSegments_[i];return t&&!n&&e.bytes&&(this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),n||e},i.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=aC(e),n=this.keyCache_[i];this.cacheEncryptionKeys_&&t&&!n&&e.bytes&&(this.keyCache_[i]=n={resolvedUri:e.resolvedUri,bytes:e.bytes});var r={resolvedUri:(n||e).resolvedUri};return n&&(r.bytes=n.bytes),r},i.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},i.load=function(){if(this.monitorBuffer_(),this.playlist_){if("INIT"===this.state&&this.couldBeginLoading_())return this.init_();this.couldBeginLoading_()&&("READY"===this.state||"INIT"===this.state)&&(this.state="READY")}},i.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},i.playlist=function(e,t){if(void 0===t&&(t={}),e){var i=this.playlist_,n=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var r=null;if(i&&(i.id?r=i.id:i.uri&&(r=i.uri)),this.logger_("playlist update ["+r+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!i||i.uri!==e.uri){null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,this.trigger("playlistupdate");return}var a=e.mediaSequence-i.mediaSequence;if(this.logger_("live window shift ["+a+"]"),null!==this.mediaIndex){if(this.mediaIndex-=a,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var s=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!s.parts||!s.parts.length||!s.parts[this.partIndex])){var o=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=o}}}n&&(n.mediaIndex-=a,n.mediaIndex<0?(n.mediaIndex=null,n.partIndex=null):(n.mediaIndex>=0&&(n.segment=e.segments[n.mediaIndex]),n.partIndex>=0&&n.segment.parts&&(n.part=n.segment.parts[n.partIndex]))),this.syncController_.saveExpiredSegmentInfo(i,e)}},i.pause=function(){this.checkBufferTimeout_&&(m().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},i.paused=function(){return null===this.checkBufferTimeout_},i.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},i.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},i.resyncLoader=function(){this.transmuxer_&&a6.reset(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},i.remove=function(e,t,i,n){if(void 0===i&&(i=function(){}),void 0===n&&(n=!1),t===1/0&&(t=this.duration_()),t<=e){this.logger_("skipping remove because end ${end} is <= start ${start}");return}if(!this.sourceUpdater_||!this.getMediaInfo_()){this.logger_("skipping remove because no source updater or starting media info");return}var r=1,a=function(){0==--r&&i()};for(var s in(n||!this.audioDisabled_)&&(r++,this.sourceUpdater_.removeAudio(e,t,a)),(n||"main"===this.loaderType_)&&(this.gopBuffer_=sV(this.gopBuffer_,e,t,this.timeMapping_),r++,this.sourceUpdater_.removeVideo(e,t,a)),this.inbandTextTracks_)sF(e,t,this.inbandTextTracks_[s]);sF(e,t,this.segmentMetadataTrack_),a()},i.monitorBuffer_=function(){this.checkBufferTimeout_&&m().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=m().setTimeout(this.monitorBufferTick_.bind(this),1)},i.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&m().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=m().setTimeout(this.monitorBufferTick_.bind(this),500)},i.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},i.isEndOfStream_=function(e,t,i){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===i&&(i=this.partIndex),!t||!this.mediaSource_)return!1;var n="number"==typeof e&&t.segments[e],r=e+1===t.segments.length,a=!n||!n.parts||i+1===n.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&r&&a},i.chooseNextRequest_=function(){var e=this.buffered_(),t=rR(e)||0,i=rU(e,this.currentTime_()),n=!this.hasPlayed_()&&i>=1,r=i>=this.goalBufferLength_(),a=this.playlist_.segments;if(!a.length||n||r)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var s={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(s.isSyncRequest)s.mediaIndex=sz(this.currentTimeline_,a,t);else if(null!==this.mediaIndex){var o=a[this.mediaIndex],l="number"==typeof this.partIndex?this.partIndex:-1;s.startOfSegment=o.end?o.end:t,o.parts&&o.parts[l+1]?(s.mediaIndex=this.mediaIndex,s.partIndex=l+1):s.mediaIndex=this.mediaIndex+1}else{var u=r4.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),d=u.segmentIndex,c=u.startTime,h=u.partIndex;s.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),s.mediaIndex=d,s.startOfSegment=c,s.partIndex=h}var p=a[s.mediaIndex],f=p&&"number"==typeof s.partIndex&&p.parts&&p.parts[s.partIndex];if(!p||"number"==typeof s.partIndex&&!f)return null;if("number"!=typeof s.partIndex&&p.parts&&(s.partIndex=0,f=p.parts[0]),!i&&f&&!f.independent){if(0===s.partIndex){var m=a[s.mediaIndex-1],g=m.parts&&m.parts.length&&m.parts[m.parts.length-1];g&&g.independent&&(s.mediaIndex-=1,s.partIndex=m.parts.length-1,s.independent="previous segment")}else p.parts[s.partIndex-1].independent&&(s.partIndex-=1,s.independent="previous part")}var _=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return s.mediaIndex>=a.length-1&&_&&!this.seeking_()?null:this.generateSegmentInfo_(s)},i.generateSegmentInfo_=function(e){var t=e.independent,i=e.playlist,n=e.mediaIndex,r=e.startOfSegment,a=e.isSyncRequest,s=e.partIndex,o=e.forceTimestampOffset,l=e.getMediaInfoForTime,u=i.segments[n],d="number"==typeof s&&u.parts[s],c={requestId:"segment-loader-"+Math.random(),uri:d&&d.resolvedUri||u.resolvedUri,mediaIndex:n,partIndex:d?s:null,isSyncRequest:a,startOfSegment:r,playlist:i,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:u.timeline,duration:d&&d.duration||u.duration,segment:u,part:d,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},h=void 0!==o?o:this.isPendingTimestampOffset_;c.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:u.timeline,currentTimeline:this.currentTimeline_,startOfSegment:r,buffered:this.buffered_(),overrideCheck:h});var p=rR(this.sourceUpdater_.audioBuffered());return"number"==typeof p&&(c.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(c.gopsToAlignWith=sH(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),c},i.timestampOffsetForSegment_=function(e){return sY(e)},i.earlyAbortWhenNeeded_=function(e){if(!(this.vhs_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH||Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t,i,n=this.currentTime_(),r=e.bandwidth,a=this.pendingSegment_.duration,s=r4.estimateSegmentRequestTime(a,r,this.playlist_,e.bytesReceived),o=(t=this.buffered_(),void 0===(i=this.vhs_.tech_.playbackRate())&&(i=1),((t.length?t.end(t.length-1):0)-n)/i-1);if(!(s<=o)){var l=sL({master:this.vhs_.playlists.master,currentTime:n,bandwidth:r,duration:this.duration_(),segmentDuration:a,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(l){var u=s-o-l.rebufferingImpact,d=.5;o<=rE&&(d=1),l.playlist&&l.playlist.uri!==this.playlist_.uri&&!(u "+s+" for "+e),sM(l,i.vhs_.tech_,e),sF(a,s,l[e]),sR({captionArray:o,inbandTextTracks:l,timestampOffset:n})}),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}},i.handleId3_=function(e,t,i){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){if(!this.pendingSegment_.hasAppendedData_){this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,i));return}var n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();sN(this.inbandTextTracks_,i,this.vhs_.tech_),sB({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:n,videoDuration:this.duration_()})}},i.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach(function(e){return e()}),this.metadataQueue_.caption.forEach(function(e){return e()}),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},i.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach(function(e){return e()})},i.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach(function(e){return e()})},i.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!s$({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},i.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},i.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},i.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready()||this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var i=t.hasAudio,n=t.hasVideo,r=t.isMuxed;return!(n&&!e.videoTimingInfo||i&&!this.audioDisabled_&&!r&&!e.audioTimingInfo||s$({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},i.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){if(this.callQueue_.length||!this.hasEnoughInfoToAppend_()){this.callQueue_.push(this.handleData_.bind(this,e,t));return}var i=this.pendingSegment_;if(this.setTimeMapping_(i.timeline),this.updateMediaSecondsLoaded_(i.part||i.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),i.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),i.isFmp4=e.isFmp4,i.timingInfo=i.timingInfo||{},i.isFmp4)this.trigger("fmp4"),i.timingInfo.start=i[sX(t.type)].start;else{var n,r=this.getCurrentMediaInfo_(),a="main"===this.loaderType_&&r&&r.hasVideo;a&&(n=i.videoTimingInfo.start),i.timingInfo.start=this.trueSegmentStart_({currentStart:i.timingInfo.start,playlist:i.playlist,mediaIndex:i.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:a,firstVideoFrameTimeForData:n,videoTimingInfo:i.videoTimingInfo,audioTimingInfo:i.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(i,t.type),this.updateSourceBufferTimestampOffset_(i),i.isSyncRequest){this.updateTimingInfoEnd_(i),this.syncController_.saveSegmentTimingInfo({segmentInfo:i,shouldSaveTimelineMapping:"main"===this.loaderType_});var s=this.chooseNextRequest_();if(s.mediaIndex!==i.mediaIndex||s.partIndex!==i.partIndex){this.logger_("sync segment was incorrect, not appending");return}this.logger_("sync segment was correct, appending")}i.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(i,t)}}},i.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},i.getInitSegmentAndUpdateState_=function(e){var t=e.type,i=e.initSegment,n=e.map,r=e.playlist;if(n){var a=ak(n);if(this.activeInitSegmentId_===a)return null;i=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=a}return i&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=r,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,i):null},i.handleQuotaExceededError_=function(e,t){var i=this,n=e.segmentInfo,r=e.type,a=e.bytes,s=this.sourceUpdater_.audioBuffered(),o=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+rD(s).join(", ")),o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+rD(o).join(", "));var l=s.length?s.start(0):0,u=s.length?s.end(s.length-1):0,d=o.length?o.start(0):0,c=o.length?o.end(o.length-1):0;if(u-l<=1&&c-d<=1){this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+a.byteLength+", audio buffer: "+rD(s).join(", ")+", video buffer: "+rD(o).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),this.trigger("error");return}this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:n,type:r,bytes:a}));var h=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+h),this.remove(0,h,function(){i.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),i.waitingOnRemove_=!1,i.quotaExceededErrorRetryTimeout_=m().setTimeout(function(){i.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),i.quotaExceededErrorRetryTimeout_=null,i.processCallQueue_()},1e3)},!0)},i.handleAppendError_=function(e,t){var i=e.segmentInfo,n=e.type,r=e.bytes;if(t){if(22===t.code){this.handleQuotaExceededError_({segmentInfo:i,type:n,bytes:r});return}this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(n+" append of "+r.length+"b failed for segment #"+i.mediaIndex+" in playlist "+i.playlist.id),this.trigger("appenderror")}},i.appendToSourceBuffer_=function(e){var t=e.segmentInfo,i=e.type,n=e.initSegment,r=e.data,a=e.bytes;if(!a){var s=[r],o=r.byteLength;n&&(s.unshift(n),o+=n.byteLength),a=sD({bytes:o,segments:s})}this.sourceUpdater_.appendBuffer({segmentInfo:t,type:i,bytes:a},this.handleAppendError_.bind(this,{segmentInfo:t,type:i,bytes:a}))},i.handleSegmentTimingInfo_=function(e,t,i){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var n=this.pendingSegment_.segment,r=e+"TimingInfo";n[r]||(n[r]={}),n[r].transmuxerPrependedSeconds=i.prependedContentDuration||0,n[r].transmuxedPresentationStart=i.start.presentation,n[r].transmuxedDecodeStart=i.start.decode,n[r].transmuxedPresentationEnd=i.end.presentation,n[r].transmuxedDecodeEnd=i.end.decode,n[r].baseMediaDecodeTime=i.baseMediaDecodeTime}},i.appendData_=function(e,t){var i=t.type,n=t.data;if(n&&n.byteLength&&("audio"!==i||!this.audioDisabled_)){var r=this.getInitSegmentAndUpdateState_({type:i,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:i,initSegment:r,data:n})}},i.loadSegment_=function(e){var t=this;if(this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),!this.hasEnoughInfoToLoad_()){this.loadQueue_.push(function(){var i=(0,v.Z)({},e,{forceTimestampOffset:!0});(0,v.Z)(e,t.generateSegmentInfo_(i)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)});return}this.updateTransmuxerAndRequestSegment_(e)},i.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var i=this.createSimplifiedSegmentObj_(e),n=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),r=null!==this.mediaIndex,a=e.timeline!==this.currentTimeline_&&e.timeline>0;this.logger_("Requesting "+sQ(e)),i.map&&!i.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=sf({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:i,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:n||r&&a,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(i){var n=i.message,r=i.level,a=i.stream;t.logger_(sQ(e)+" logged from transmuxer stream "+a+" as a "+r+": "+n)}})},i.trimBackBuffer_=function(e){var t=sZ(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},i.createSimplifiedSegmentObj_=function(e){var t=e.segment,i=e.part,n={resolvedUri:i?i.resolvedUri:t.resolvedUri,byterange:i?i.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},r=e.playlist.segments[e.mediaIndex-1];if(r&&r.timeline===t.timeline&&(r.videoTimingInfo?n.baseStartTime=r.videoTimingInfo.transmuxedDecodeEnd:r.audioTimingInfo&&(n.baseStartTime=r.audioTimingInfo.transmuxedDecodeEnd)),t.key){var a=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);n.key=this.segmentKey(t.key),n.key.iv=a}return t.map&&(n.map=this.initSegmentForMap(t.map)),n},i.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},i.saveBandwidthRelatedStats_=function(e,t){if(this.pendingSegment_.byteLength=t.bytesReceived,e3*e.playlist.targetDuration,a=n&&n.end&&this.currentTime_()-n.end>3*e.playlist.partTargetDuration;if(r||a){this.logger_("bad "+(r?"segment":"part")+" "+sQ(e)),this.resetEverything();return}null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()},i.recordThroughput_=function(e){if(e.duration=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},i.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},i.segmentRequestFinished_=function(e,t,i){var n=this;if(!this.subtitlesTrack_){this.state="READY";return}if(this.saveTransferStats_(t.stats),!this.pendingSegment_){this.state="READY",this.mediaRequestsAborted+=1;return}if(e){e.code===a9.TIMEOUT&&this.handleTimeout_(),e.code===a9.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(e);return}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");var a=r.segment;if(a.map&&(a.map.bytes=t.map.bytes),r.bytes=t.bytes,"function"!=typeof m().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var s,o=function(){n.subtitlesTrack_.tech_.off("vttjsloaded",s),n.stopForError({message:"Error loading vtt.js"})};s=function(){n.subtitlesTrack_.tech_.off("vttjserror",o),n.segmentRequestFinished_(e,t,i)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",s),this.subtitlesTrack_.tech_.one("vttjserror",o);return}a.requested=!0;try{this.parseVTTCues_(r)}catch(l){this.stopForError({message:l.message});return}if(this.updateTimeMapping_(r,this.syncController_.timelines[r.timeline],this.playlist_),r.cues.length?r.timingInfo={start:r.cues[0].startTime,end:r.cues[r.cues.length-1].endTime}:r.timingInfo={start:r.startOfSegment,end:r.startOfSegment+r.duration},r.isSyncRequest){this.trigger("syncinfoupdate"),this.pendingSegment_=null,this.state="READY";return}r.byteLength=r.bytes.byteLength,this.mediaSecondsLoaded+=a.duration,r.cues.forEach(function(e){n.subtitlesTrack_.addCue(n.featuresNativeTextTracks_?new(m()).VTTCue(e.startTime,e.endTime,e.text):e)}),sj(this.subtitlesTrack_),this.handleAppendsDone_()},i.handleData_=function(){},i.updateTimingInfoEnd_=function(){},i.parseVTTCues_=function(e){var t,i=!1;"function"==typeof m().TextDecoder?t=new(m()).TextDecoder("utf8"):(t=m().WebVTT.StringDecoder(),i=!0);var n=new(m()).WebVTT.Parser(m(),m().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},n.oncue=e.cues.push.bind(e.cues),n.ontimestampmap=function(t){e.timestampmap=t},n.onparsingerror=function(e){ry.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var r=e.segment.map.bytes;i&&(r=oa(r)),n.parse(r)}var a=e.bytes;i&&(a=oa(a)),n.parse(a),n.flush()},i.updateTimeMapping_=function(e,t,i){var n=e.segment;if(t){if(!e.cues.length){n.empty=!0;return}var r=e.timestampmap,a=r.MPEGTS/H.ONE_SECOND_IN_TS-r.LOCAL+t.mapping;if(e.cues.forEach(function(e){e.startTime+=a,e.endTime+=a}),!i.syncInfo){var s=e.cues[0].startTime,o=e.cues[e.cues.length-1].startTime;i.syncInfo={mediaSequence:i.mediaSequence+e.mediaIndex,time:Math.min(s,o-n.duration)}}}},t}(s2),ol=function(e,t){for(var i=e.cues,n=0;n=r.adStartTime&&t<=r.adEndTime)return r}return null},ou=function(e,t,i){if(void 0===i&&(i=0),e.segments)for(var n,r=i,a=0;a=h)&&(s=h,a={time:c,segmentIndex:u.segmentIndex,partIndex:u.partIndex})}}return a}},{name:"Discontinuity",run:function(e,t,i,n,r){var a=null;if(r=r||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var s=null,o=0;o=c)&&(s=c,a={time:d.time,segmentIndex:l,partIndex:null})}}return a}},{name:"Playlist",run:function(e,t,i,n,r){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],oc=function(e){function t(t){var i;return(i=e.call(this)||this).timelines=[],i.discontinuities=[],i.timelineToDatetimeMappings={},i.logger_=rC("SyncController"),i}(0,S.Z)(t,e);var i=t.prototype;return i.getSyncPoint=function(e,t,i,n){var r=this.runStrategies_(e,t,i,n);return r.length?this.selectSyncPoint_(r,{key:"time",value:n}):null},i.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var i=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!i.length)return null;var n=this.selectSyncPoint_(i,{key:"segmentIndex",value:0});return n.segmentIndex>0&&(n.time*=-1),Math.abs(n.time+rK({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:n.segmentIndex,endIndex:0}))},i.runStrategies_=function(e,t,i,n){for(var r=[],a=0;a86400){ry.log.warn("Not saving expired segment info. Media sequence gap "+i+" is too large.");return}for(var n=i-1;n>=0;n--){var r=e.segments[n];if(r&&void 0!==r.start){t.syncInfo={mediaSequence:e.mediaSequence+n,time:r.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},i.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],i=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-i}},i.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,i=e.shouldSaveTimelineMapping,n=this.calculateSegmentTimeMapping_(t,t.timingInfo,i),r=t.segment;n&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:r.start}));var a=r.dateTimeObject;r.discontinuity&&i&&a&&(this.timelineToDatetimeMappings[r.timeline]=-(a.getTime()/1e3))},i.timestampOffsetForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].time},i.mappingForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping},i.calculateSegmentTimeMapping_=function(e,t,i){var n,r,a=e.segment,s=e.part,o=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)o={time:e.startOfSegment,mapping:e.startOfSegment-t.start},i&&(this.timelines[e.timeline]=o,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": "+("[time: "+o.time)+"] [mapping: "+o.mapping+"]")),n=e.startOfSegment,r=t.end+o.mapping;else{if(!o)return!1;n=t.start+o.mapping,r=t.end+o.mapping}return s&&(s.start=n,s.end=r),(!a.start||no){var l=void 0;l=s<0?i.start-rK({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:r}):i.end+rK({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:r}),this.discontinuities[a]={time:l,accuracy:o}}}},i.dispose=function(){this.trigger("dispose"),this.off()},t}(ry.EventTarget),oh=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}(0,S.Z)(t,e);var i=t.prototype;return i.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},i.pendingTimelineChange=function(e){var t=e.type,i=e.from,n=e.to;return"number"==typeof i&&"number"==typeof n&&(this.pendingTimelineChanges_[t]={type:t,from:i,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},i.lastTimelineChange=function(e){var t=e.type,i=e.from,n=e.to;return"number"==typeof i&&"number"==typeof n&&(this.lastTimelineChanges_[t]={type:t,from:i,to:n},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},i.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(ry.EventTarget),op=aQ(aX(aY(function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{};function t(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(e,null==t?i.path:t)}},i.exports),i.exports}var n=t(function(e){function t(e,t){for(var i=0;i-1},t.trigger=function(e){var t=this.listeners[e];if(t){if(2==arguments.length)for(var i=t.length,n=0;n>7)*283)^e]=e;for(t=i=0;!c[t];t^=n||1,i=f[i]||1)for(e=0,a=(a=i^i<<1^i<<2^i<<3^i<<4)>>8^255&a^99,c[t]=a,h[a]=t,o=16843009*p[r=p[n=p[t]]]^65537*r^257*n^16843008*t,s=257*p[a]^16843008*a;e<4;e++)u[e][t]=s=s<<24^s>>>8,d[e][a]=o=o<<24^o>>>8;for(e=0;e<5;e++)u[e]=u[e].slice(0),d[e]=d[e].slice(0);return l},l=null,u=function(){function e(e){l||(l=o()),this._tables=[[l[0][0].slice(),l[0][1].slice(),l[0][2].slice(),l[0][3].slice(),l[0][4].slice()],[l[1][0].slice(),l[1][1].slice(),l[1][2].slice(),l[1][3].slice(),l[1][4].slice()]];var t,i,n,r=this._tables[0][4],a=this._tables[1],s=e.length,u=1;if(4!==s&&6!==s&&8!==s)throw Error("Invalid aes key size");var d=e.slice(0),c=[];for(this._key=[d,c],t=s;t<4*s+28;t++)n=d[t-1],(t%s==0||8===s&&t%s==4)&&(n=r[n>>>24]<<24^r[n>>16&255]<<16^r[n>>8&255]<<8^r[255&n],t%s==0&&(n=n<<8^n>>>24^u<<24,u=u<<1^(u>>7)*283)),d[t]=d[t-s]^n;for(i=0;t;i++,t--)n=d[3&i?t:t-4],t<=4||i<4?c[i]=n:c[i]=a[0][r[n>>>24]]^a[1][r[n>>16&255]]^a[2][r[n>>8&255]]^a[3][r[255&n]]}return e.prototype.decrypt=function(e,t,i,n,r,a){var s,o,l,u,d=this._key[1],c=e^d[0],h=n^d[1],p=i^d[2],f=t^d[3],m=d.length/4-2,g=4,_=this._tables[1],v=_[0],y=_[1],T=_[2],b=_[3],S=_[4];for(u=0;u>>24]^y[h>>16&255]^T[p>>8&255]^b[255&f]^d[g],o=v[h>>>24]^y[p>>16&255]^T[f>>8&255]^b[255&c]^d[g+1],l=v[p>>>24]^y[f>>16&255]^T[c>>8&255]^b[255&h]^d[g+2],f=v[f>>>24]^y[c>>16&255]^T[h>>8&255]^b[255&p]^d[g+3],g+=4,c=s,h=o,p=l;for(u=0;u<4;u++)r[(3&-u)+a]=S[c>>>24]<<24^S[h>>16&255]<<16^S[p>>8&255]<<8^S[255&f]^d[g++],s=c,c=h,h=p,p=f,f=s},e}(),d=function(e){function t(){var t;return(t=e.call(this,s)||this).jobs=[],t.delay=1,t.timeout_=null,t}a(t,e);var i=t.prototype;return i.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},i.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(s),c=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},h=function(e,t,i){var n,r,a,s,o,l,d,h,p,f=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),m=new u(Array.prototype.slice.call(t)),g=new Uint8Array(e.byteLength),_=new Int32Array(g.buffer);for(p=0,n=i[0],r=i[1],a=i[2],s=i[3];p=0&&(t="main-desc"),t},om=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},og=function(e,t){t.activePlaylistLoader=e,e.load()},o_={AUDIO:function(e,t){return function(){var i=t.segmentLoaders[e],n=t.mediaTypes[e],r=t.blacklistCurrentPlaylist;om(i,n);var a=n.activeTrack(),s=n.activeGroup(),o=(s.filter(function(e){return e.default})[0]||s[0]).id,l=n.tracks[o];if(a===l){r({message:"Problem encountered loading the default audio track."});return}for(var u in ry.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),n.tracks)n.tracks[u].enabled=n.tracks[u]===l;n.onTrackChanged()}},SUBTITLES:function(e,t){return function(){var i=t.segmentLoaders[e],n=t.mediaTypes[e];ry.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),om(i,n);var r=n.activeTrack();r&&(r.mode="disabled"),n.onTrackChanged()}}},ov={AUDIO:function(e,t,i){if(t){var n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e];t.on("loadedmetadata",function(){var e=t.media();a.playlist(e,r),(!n.paused()||e.endList&&"none"!==n.preload())&&a.load()}),t.on("loadedplaylist",function(){a.playlist(t.media(),r),n.paused()||a.load()}),t.on("error",o_[e](e,i))}},SUBTITLES:function(e,t,i){var n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e],s=i.mediaTypes[e];t.on("loadedmetadata",function(){var e=t.media();a.playlist(e,r),a.track(s.activeTrack()),(!n.paused()||e.endList&&"none"!==n.preload())&&a.load()}),t.on("loadedplaylist",function(){a.playlist(t.media(),r),n.paused()||a.load()}),t.on("error",o_[e](e,i))}},oy={AUDIO:function(e,t){var i=t.vhs,n=t.sourceType,r=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,o=t.mediaTypes[e],l=o.groups,u=o.tracks,d=o.logger_,c=t.masterPlaylistLoader,h=r8(c.master);for(var p in(!s[e]||0===Object.keys(s[e]).length)&&(s[e]={main:{default:{default:!0}}},h&&(s[e].main.default.playlists=c.master.playlists)),s[e])for(var f in l[p]||(l[p]=[]),s[e][p]){var m=s[e][p][f],g=void 0;if(h?(d("AUDIO group '"+p+"' label '"+f+"' is a master playlist"),m.isMasterPlaylist=!0,g=null):g="vhs-json"===n&&m.playlists?new af(m.playlists[0],i,a):m.resolvedUri?new af(m.resolvedUri,i,a):m.playlists&&"dash"===n?new aW(m.playlists[0],i,a,c):null,m=ry.mergeOptions({id:f,playlistLoader:g},m),ov[e](e,m.playlistLoader,t),l[p].push(m),void 0===u[f]){var _=new ry.AudioTrack({id:f,kind:of(m),enabled:!1,language:m.language,default:m.default,label:f});u[f]=_}}r.on("error",o_[e](e,t))},SUBTITLES:function(e,t){var i=t.tech,n=t.vhs,r=t.sourceType,a=t.segmentLoaders[e],s=t.requestOptions,o=t.master.mediaGroups,l=t.mediaTypes[e],u=l.groups,d=l.tracks,c=t.masterPlaylistLoader;for(var h in o[e])for(var p in u[h]||(u[h]=[]),o[e][h])if(!o[e][h][p].forced){var f=o[e][h][p],m=void 0;if("hls"===r)m=new af(f.resolvedUri,n,s);else if("dash"===r){if(!f.playlists.filter(function(e){return e.excludeUntil!==1/0}).length)return;m=new aW(f.playlists[0],n,s,c)}else"vhs-json"===r&&(m=new af(f.playlists?f.playlists[0]:f.resolvedUri,n,s));if(f=ry.mergeOptions({id:p,playlistLoader:m},f),ov[e](e,f.playlistLoader,t),u[h].push(f),void 0===d[p]){var g=i.addRemoteTextTrack({id:p,kind:"subtitles",default:f.default&&f.autoselect,language:f.language,label:p},!1).track;d[p]=g}}a.on("error",o_[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var i=t.tech,n=t.master.mediaGroups,r=t.mediaTypes[e],a=r.groups,s=r.tracks;for(var o in n[e])for(var l in a[o]||(a[o]=[]),n[e][o]){var u=n[e][o][l];if(/^(?:CC|SERVICE)/.test(u.instreamId)){var d=i.options_.vhs&&i.options_.vhs.captionServices||{},c={label:l,language:u.language,instreamId:u.instreamId,default:u.default&&u.autoselect};if(d[c.instreamId]&&(c=ry.mergeOptions(c,d[c.instreamId])),void 0===c.default&&delete c.default,a[o].push(ry.mergeOptions({id:l},u)),void 0===s[l]){var h=i.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default,language:c.language,label:c.label},!1).track;s[l]=h}}}}},oT=function e(t,i){for(var n=0;n1&&r8(e.master))for(var l=0;l "+r.id;if(!t)return u(d+" as current playlist is not set"),!0;if(r.id===t.id)return!1;var c=Boolean(rx(i,n).length);if(!t.endList)return c||"number"!=typeof t.partTargetDuration?(u(d+" as current playlist is live"),!0):(u("not "+d+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var h=rU(i,n),p=l?az.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:az.MAX_BUFFER_LOW_WATER_LINE;if(om)&&h>=a){var _=d+" as forwardBuffer >= bufferLowWaterLine ("+h+" >= "+a+")";return l&&(_+=" and next bandwidth > current bandwidth ("+f+" > "+m+")"),u(_),!0}return u("not "+d+" as no switching criteria met"),!1},ox=function(e){function t(t){i=e.call(this)||this;var i,n=t.src,r=t.handleManifestRedirects,a=t.withCredentials,s=t.tech,o=t.bandwidth,l=t.externVhs,u=t.useCueTags,d=t.blacklistDuration,c=t.enableLowInitialPlaylist,h=t.sourceType,f=t.cacheEncryptionKeys,g=t.experimentalBufferBasedABR,_=t.experimentalLeastPixelDiffSelector,v=t.captionServices;if(!n)throw Error("A non-empty playlist URL or JSON manifest string is required");var y=t.maxPlaylistRetries;null==y&&(y=1/0),p=l,i.experimentalBufferBasedABR=Boolean(g),i.experimentalLeastPixelDiffSelector=Boolean(_),i.withCredentials=a,i.tech_=s,i.vhs_=s.vhs,i.sourceType_=h,i.useCueTags_=u,i.blacklistDuration=d,i.maxPlaylistRetries=y,i.enableLowInitialPlaylist=c,i.useCueTags_&&(i.cueTagsTrack_=i.tech_.addTextTrack("metadata","ad-cues"),i.cueTagsTrack_.inBandMetadataTrackDispatchType=""),i.requestOptions_={withCredentials:a,handleManifestRedirects:r,maxPlaylistRetries:y,timeout:null},i.on("error",i.pauseLoading),i.mediaTypes_=oC(),i.mediaSource=new(m()).MediaSource,i.handleDurationChange_=i.handleDurationChange_.bind((0,b.Z)(i)),i.handleSourceOpen_=i.handleSourceOpen_.bind((0,b.Z)(i)),i.handleSourceEnded_=i.handleSourceEnded_.bind((0,b.Z)(i)),i.mediaSource.addEventListener("durationchange",i.handleDurationChange_),i.mediaSource.addEventListener("sourceopen",i.handleSourceOpen_),i.mediaSource.addEventListener("sourceended",i.handleSourceEnded_),i.seekable_=ry.createTimeRanges(),i.hasPlayed_=!1,i.syncController_=new oc(t),i.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,i.decrypter_=new op,i.sourceUpdater_=new or(i.mediaSource),i.inbandTextTracks_={},i.timelineChangeController_=new oh;var T={vhs:i.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:v,mediaSource:i.mediaSource,currentTime:i.tech_.currentTime.bind(i.tech_),seekable:function(){return i.seekable()},seeking:function(){return i.tech_.seeking()},duration:function(){return i.duration()},hasPlayed:function(){return i.hasPlayed_},goalBufferLength:function(){return i.goalBufferLength()},bandwidth:o,syncController:i.syncController_,decrypter:i.decrypter_,sourceType:i.sourceType_,inbandTextTracks:i.inbandTextTracks_,cacheEncryptionKeys:f,sourceUpdater:i.sourceUpdater_,timelineChangeController:i.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};i.masterPlaylistLoader_="dash"===i.sourceType_?new aW(n,i.vhs_,i.requestOptions_):new af(n,i.vhs_,i.requestOptions_),i.setupMasterPlaylistLoaderListeners_(),i.mainSegmentLoader_=new s2(ry.mergeOptions(T,{segmentMetadataTrack:i.segmentMetadataTrack_,loaderType:"main"}),t),i.audioSegmentLoader_=new s2(ry.mergeOptions(T,{loaderType:"audio"}),t),i.subtitleSegmentLoader_=new oo(ry.mergeOptions(T,{loaderType:"vtt",featuresNativeTextTracks:i.tech_.featuresNativeTextTracks}),t),i.setupSegmentLoaderListeners_(),i.experimentalBufferBasedABR&&(i.masterPlaylistLoader_.one("loadedplaylist",function(){return i.startABRTimer_()}),i.tech_.on("pause",function(){return i.stopABRTimer_()}),i.tech_.on("play",function(){return i.startABRTimer_()})),oE.forEach(function(e){i[e+"_"]=ow.bind((0,b.Z)(i),e)}),i.logger_=rC("MPC"),i.triggeredFmp4Usage=!1,"none"===i.tech_.preload()?(i.loadOnPlay_=function(){i.loadOnPlay_=null,i.masterPlaylistLoader_.load()},i.tech_.one("play",i.loadOnPlay_)):i.masterPlaylistLoader_.load(),i.timeToLoadedData__=-1,i.mainAppendsToLoadedData__=-1,i.audioAppendsToLoadedData__=-1;var S="none"===i.tech_.preload()?"play":"loadstart";return i.tech_.one(S,function(){var e=Date.now();i.tech_.one("loadeddata",function(){i.timeToLoadedData__=Date.now()-e,i.mainAppendsToLoadedData__=i.mainSegmentLoader_.mediaAppends,i.audioAppendsToLoadedData__=i.audioSegmentLoader_.mediaAppends})}),i}(0,S.Z)(t,e);var i=t.prototype;return i.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},i.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},i.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return -1===e||-1===t?-1:e+t},i.timeToLoadedData_=function(){return this.timeToLoadedData__},i.checkABR_=function(){var e=this.selectPlaylist();e&&this.shouldSwitchToMedia_(e)&&this.switchMedia_(e,"abr")},i.switchMedia_=function(e,t,i){var n=this.media(),r=n&&(n.id||n.uri),a=e.id||e.uri;r&&r!==a&&(this.logger_("switch media "+r+" -> "+a+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,i)},i.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=m().setInterval(function(){return e.checkABR_()},250)},i.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(m().clearInterval(this.abrTimer_),this.abrTimer_=null)},i.getAudioTrackPlaylists_=function(){var e,t=this.master(),i=t&&t.playlists||[];if(!t||!t.mediaGroups||!t.mediaGroups.AUDIO)return i;var n=t.mediaGroups.AUDIO,r=Object.keys(n);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)e=this.mediaTypes_.AUDIO.activeTrack();else{var a=n.main||r.length&&n[r[0]];for(var s in a)if(a[s].default){e={label:s};break}}if(!e)return i;var o=[];for(var l in n)if(n[l][e.label]){var u=n[l][e.label];if(u.playlists&&u.playlists.length)o.push.apply(o,u.playlists);else if(u.uri)o.push(u);else if(t.playlists.length)for(var d=0;d1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},i.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,i=this.tech_.currentTime(),n=this.bufferLowWaterLine(),r=this.bufferHighWaterLine();return oI({buffered:this.tech_.buffered(),currentTime:i,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:n,bufferHighWaterLine:r,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},i.setupSegmentLoaderListeners_=function(){var e=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on("bandwidthupdate",function(){var t=e.selectPlaylist();e.shouldSwitchToMedia_(t)&&e.switchMedia_(t,"bandwidthupdate"),e.tech_.trigger("bandwidthupdate")}),this.mainSegmentLoader_.on("progress",function(){e.trigger("progress")})),this.mainSegmentLoader_.on("error",function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())}),this.mainSegmentLoader_.on("appenderror",function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")}),this.mainSegmentLoader_.on("syncinfoupdate",function(){e.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on("timestampoffset",function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})}),this.audioSegmentLoader_.on("syncinfoupdate",function(){e.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on("appenderror",function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")}),this.mainSegmentLoader_.on("ended",function(){e.logger_("main segment loader ended"),e.onEndOfStream()}),this.mainSegmentLoader_.on("earlyabort",function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))});var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("fmp4",function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on("ended",function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()})},i.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},i.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},i.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},i.fastQualityChange_=function(e){var t=this;if(void 0===e&&(e=this.selectPlaylist()),e===this.masterPlaylistLoader_.media()){this.logger_("skipping fastQualityChange because new media is same as old");return}this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything(function(){ry.browser.IE_VERSION||ry.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())})},i.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();if(this.tech_.duration()===1/0&&this.tech_.currentTime()this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=i,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var l=this.selectPlaylist();if(!l){this.error="Playback cannot continue. No available working or supported playlists.",this.trigger("error");return}var u=e.internal?this.logger_:ry.log.warn,d=e.message?" "+e.message:"";u((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+d+" Switching to playlist "+l.id+"."),l.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var c=l.targetDuration/2*1e3||5e3,h="number"==typeof l.lastRequest&&Date.now()-l.lastRequest<=c;return this.switchMedia_(l,"exclude",s||h)},i.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},i.delegateLoaders_=function(e,t){var i=this,n=[],r="all"===e;(r||"main"===e)&&n.push(this.masterPlaylistLoader_);var a=[];(r||"audio"===e)&&a.push("AUDIO"),(r||"subtitle"===e)&&(a.push("CLOSED-CAPTIONS"),a.push("SUBTITLES")),a.forEach(function(e){var t=i.mediaTypes_[e]&&i.mediaTypes_[e].activePlaylistLoader;t&&n.push(t)}),["main","audio","subtitle"].forEach(function(t){var r=i[t+"SegmentLoader_"];r&&(e===t||"all"===e)&&n.push(r)}),n.forEach(function(e){return t.forEach(function(t){"function"==typeof e[t]&&e[t]()})})},i.setCurrentTime=function(e){var t=rx(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:void(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),this.load()):0},i.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:p.Playlist.duration(e):1/0:0},i.seekable=function(){return this.seekable_},i.onSyncInfoUpdate_=function(){if(this.masterPlaylistLoader_){var e,t,i,n=this.masterPlaylistLoader_.media();if(n){var r=this.syncController_.getExpiredTime(n,this.duration());if(null!==r){var a=this.masterPlaylistLoader_.master,s=p.Playlist.seekable(n,r,p.Playlist.liveEdgeDelay(a,n));0!==s.length&&(!this.mediaTypes_.AUDIO.activePlaylistLoader||(n=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null!==(r=this.syncController_.getExpiredTime(n,this.duration()))&&0!==(e=p.Playlist.seekable(n,r,p.Playlist.liveEdgeDelay(a,n))).length))&&(this.seekable_&&this.seekable_.length&&(t=this.seekable_.end(0),i=this.seekable_.start(0)),e?e.start(0)>s.end(0)||s.start(0)>e.end(0)?this.seekable_=s:this.seekable_=ry.createTimeRanges([[e.start(0)>s.start(0)?e.start(0):s.start(0),e.end(0)0&&(n=Math.max(n,i.end(i.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)},i.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach(function(t){var i=e.mediaTypes_[t].groups;for(var n in i)i[n].forEach(function(e){e.playlistLoader&&e.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},i.master=function(){return this.masterPlaylistLoader_.master},i.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},i.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),i=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!!t&&!!i},i.getCodecsOrExclude_=function(){var e,t=this,i={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};i.video=i.main;var n=sb(this.master(),this.media()),r={},a=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(i.main.hasVideo&&(r.video=n.video||i.main.videoCodec||D.xz),i.main.isMuxed&&(r.video+=","+(n.audio||i.main.audioCodec||D.lA)),(i.main.hasAudio&&!i.main.isMuxed||i.audio.hasAudio||a)&&(r.audio=n.audio||i.main.audioCodec||i.audio.audioCodec||D.lA,i.audio.isFmp4=i.main.hasAudio&&!i.main.isMuxed?i.main.isFmp4:i.audio.isFmp4),!r.audio&&!r.video){this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0});return}var s={};if(["video","audio"].forEach(function(t){var n,a;if(r.hasOwnProperty(t)&&(n=i[t].isFmp4,a=r[t],n?!(0,D.p7)(a):!(0,D.Hi)(a))){var o=i[t].isFmp4?"browser":"muxer";s[o]=s[o]||[],s[o].push(r[t]),"audio"===t&&(e=o)}}),a&&e&&this.media().attributes.AUDIO){var o=this.media().attributes.AUDIO;this.master().playlists.forEach(function(e){(e.attributes&&e.attributes.AUDIO)===o&&e!==t.media()&&(e.excludeUntil=1/0)}),this.logger_("excluding audio group "+o+" as "+e+' does not support codec(s): "'+r.audio+'"')}if(Object.keys(s).length){var l=Object.keys(s).reduce(function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+s[t].join(",")+'"'},"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:l,blacklistDuration:1/0});return}if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var u=[];if(["video","audio"].forEach(function(e){var i=((0,D.kS)(t.sourceUpdater_.codecs[e]||"")[0]||{}).type,n=((0,D.kS)(r[e]||"")[0]||{}).type;i&&n&&i.toLowerCase()!==n.toLowerCase()&&u.push('"'+t.sourceUpdater_.codecs[e]+'" -> "'+r[e]+'"')}),u.length){this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+u.join(", ")+".",blacklistDuration:1/0,internal:!0});return}}return r},i.tryToCreateSourceBuffers_=function(){if(!("open"!==this.mediaSource.readyState||this.sourceUpdater_.hasCreatedSourceBuffers())&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},i.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,i=[];Object.keys(t).forEach(function(n){var r=t[n];if(-1===i.indexOf(r.id)){i.push(r.id);var a=sb(e.master,r),s=[];!a.audio||(0,D.Hi)(a.audio)||(0,D.p7)(a.audio)||s.push("audio codec "+a.audio),!a.video||(0,D.Hi)(a.video)||(0,D.p7)(a.video)||s.push("video codec "+a.video),a.text&&"stpp.ttml.im1t"===a.text&&s.push("text codec "+a.text),s.length&&(r.excludeUntil=1/0,e.logger_("excluding "+r.id+" for unsupported: "+s.join(", ")))}})},i.excludeIncompatibleVariants_=function(e){var t=this,i=[],n=this.master().playlists,r=sy((0,D.kS)(e)),a=sT(r),s=r.video&&(0,D.kS)(r.video)[0]||null,o=r.audio&&(0,D.kS)(r.audio)[0]||null;Object.keys(n).forEach(function(e){var r=n[e];if(-1===i.indexOf(r.id)&&r.excludeUntil!==1/0){i.push(r.id);var l=[],u=sb(t.masterPlaylistLoader_.master,r),d=sT(u);if(u.audio||u.video){if(d!==a&&l.push('codec count "'+d+'" !== "'+a+'"'),!t.sourceUpdater_.canChangeType()){var c=u.video&&(0,D.kS)(u.video)[0]||null,h=u.audio&&(0,D.kS)(u.audio)[0]||null;c&&s&&c.type.toLowerCase()!==s.type.toLowerCase()&&l.push('video codec "'+c.type+'" !== "'+s.type+'"'),h&&o&&h.type.toLowerCase()!==o.type.toLowerCase()&&l.push('audio codec "'+h.type+'" !== "'+o.type+'"')}l.length&&(r.excludeUntil=1/0,t.logger_("blacklisting "+r.id+": "+l.join(" && ")))}}})},i.updateAdCues_=function(e){var t=0,i=this.seekable();i.length&&(t=i.start(0)),ou(e,this.cueTagsTrack_,t)},i.goalBufferLength=function(){var e=this.tech_.currentTime(),t=az.GOAL_BUFFER_LENGTH,i=az.GOAL_BUFFER_LENGTH_RATE,n=Math.max(t,az.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*i,n)},i.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=az.BUFFER_LOW_WATER_LINE,i=az.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(t,az.MAX_BUFFER_LOW_WATER_LINE),r=Math.max(t,az.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*i,this.experimentalBufferBasedABR?r:n)},i.bufferHighWaterLine=function(){return az.BUFFER_HIGH_WATER_LINE},t}(ry.EventTarget),oP=function(e,t,i){var n,r,a=e.masterPlaylistController_,s=a[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(a);if(t.attributes){var o=t.attributes.RESOLUTION;this.width=o&&o.width,this.height=o&&o.height,this.bandwidth=t.attributes.BANDWIDTH}this.codecs=sb(a.master(),t),this.playlist=t,this.id=i,this.enabled=(n=e.playlists,r=t.id,function(e){var t=n.master.playlists[r],i=rX(t),a=rY(t);return void 0===e?a:(e?delete t.disabled:t.disabled=!0,e===a||i||(s(),e?n.trigger("renditionenabled"):n.trigger("renditiondisabled")),e)})},oA=function(e){e.representations=function(){var t=e.masterPlaylistController_.master(),i=r8(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return i?i.filter(function(e){return!rX(e)}).map(function(t,i){return new oP(e,t,t.id)}):[]}},oL=["seeking","seeked","pause","playing","error"],oO=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=rC("PlaybackWatcher"),this.logger_("initialize");var i=function(){return t.monitorCurrentTime_()},n=function(){return t.monitorCurrentTime_()},r=function(){return t.techWaiting_()},a=function(){return t.cancelTimer_()},s=this.masterPlaylistController_,o=["main","subtitle","audio"],l={};o.forEach(function(e){l[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},s[e+"SegmentLoader_"].on("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].on("playlistupdate",l[e].reset),t.tech_.on(["seeked","seeking"],l[e].reset)});var u=function(e){["main","audio"].forEach(function(i){s[i+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)})};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),u("off"))},this.clearSeekingAppendCheck_=function(){return u("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),u("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",r),this.tech_.on(oL,a),this.tech_.on("canplay",n),this.tech_.one("play",i),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",r),t.tech_.off(oL,a),t.tech_.off("canplay",n),t.tech_.off("play",i),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),o.forEach(function(e){s[e+"SegmentLoader_"].off("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].off("playlistupdate",l[e].reset),t.tech_.off(["seeked","seeking"],l[e].reset)}),t.checkCurrentTimeTimeout_&&m().clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&m().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=m().setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,i=t[e+"SegmentLoader_"],n=i.buffered_(),r=rM(this[e+"Buffered_"],n);if(this[e+"Buffered_"]=n,r){this.resetSegmentDownloads_(e);return}this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:i.playlist_&&i.playlist_.id,buffered:rD(n)}),!(this[e+"StalledDownloads_"]<10)&&(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0))},t.checkCurrentTime_=function(){if(!(this.tech_.paused()||this.tech_.seeking())){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+rw>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),i=this.tech_.currentTime();if(this.afterSeekableWindow_(t,i,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1)),this.beforeSeekableWindow_(t,i)){var n=t.start(0);e=n+(n===t.end(0)?0:rw)}if(void 0!==e)return this.logger_("Trying to seek outside of seekable at time "+i+" with seekable range "+rO(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var r=this.masterPlaylistController_.sourceUpdater_,a=this.tech_.buffered(),s=r.audioBuffer?r.audioBuffered():null,o=r.videoBuffer?r.videoBuffered():null,l=this.media(),u=l.partTargetDuration?l.partTargetDuration:(l.targetDuration-rE)*2,d=[s,o],c=0;c "+t.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"});return}}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var i=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+i),this.cancelTimer_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var n=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,r=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var a=rP(r,t);if(a.length>0){var s=a.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+s+", seeking to "+a.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*s,t),!0}return!1},t.afterSeekableWindow_=function(e,t,i,n){if(void 0===n&&(n=!1),!e.length)return!1;var r=e.end(e.length-1)+rw;return!i.endList&&n&&(r=e.end(e.length-1)+3*i.targetDuration),t>r},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t2)return{start:r,end:a}}return null},e}(),oD={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},oM=function e(t,i){var n=0,r=0,a=ry.mergeOptions(oD,i);t.ready(function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})});var s=function(){r&&t.currentTime(r)},o=function(e){null!=e&&(r=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",s),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},l=function(){if(Date.now()-n<1e3*a.errorInterval){t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),t.trigger({type:"usage",name:"hls-error-reload-canceled"});return}if(!a.getSource||"function"!=typeof a.getSource){ry.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return n=Date.now(),a.getSource.call(t,o)},u=function e(){t.off("loadedmetadata",s),t.off("error",l),t.off("dispose",e)},d=function(i){u(),e(t,i)};t.on("error",l),t.on("dispose",u),t.reloadSourceOnError=d},oR=function(e){oM(this,e)},oU="2.14.3",oB={PlaylistLoader:af,Playlist:r4,utils:aI,STANDARD_PLAYLIST_SELECTOR:sP,INITIAL_PLAYLIST_SELECTOR:sO,lastBandwidthSelector:sP,movingAverageBandwidthSelector:sA,comparePlaylistBandwidth:sw,comparePlaylistResolution:sI,xhr:av()};Object.keys(az).forEach(function(e){Object.defineProperty(oB,e,{get:function(){return ry.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),az[e]},set:function(t){if(ry.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0){ry.log.warn("value of Vhs."+e+" must be greater than or equal to 0");return}az[e]=t}})});var oN="videojs-vhs",oF=function(e,t){for(var i=t.media(),n=-1,r=0;r=1e7&&e>=1e7?Math.max(e,i):i}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){return Math.floor(1/(1/(this.bandwidth||1)+(this.throughput>0?1/this.throughput:0)))},set:function(){ry.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return rD(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return rD(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",function(){n.options_.useBandwidthFromLocalStorage&&oz({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})}),this.masterPlaylistController_.on("selectedinitialmedia",function(){oA(n)}),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",function(){n.setupEme_()}),this.on(this.masterPlaylistController_,"progress",function(){this.tech_.trigger("progress")}),this.on(this.masterPlaylistController_,"firstplay",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=m().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},i.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),oq({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then(function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()}).catch(function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})})},i.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},i.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,i=oV({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});if(this.player_.tech_.on("keystatuschange",function(t){if("output-restricted"===t.status){var i,n=e.masterPlaylistController_.master();if(n&&n.playlists){var r=[];n.playlists.forEach(function(e){e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,r.push(e))}),r.length&&((i=ry.log).warn.apply(i,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(r)),e.masterPlaylistController_.fastQualityChange_())}}}),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11===ry.browser.IE_VERSION||!i){this.masterPlaylistController_.sourceUpdater_.initializedEme();return}this.createKeySessions_()},i.setupQualityLevels_=function(){var e=this,t=ry.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",function(){oj(e.qualityLevels_,e)}),this.playlists.on("mediachange",function(){oF(e.qualityLevels_,e.playlists)}))},t.version=function(){return{"@videojs/http-streaming":oU,"mux.js":"6.0.1","mpd-parser":"0.21.1","m3u8-parser":"4.7.1","aes-decrypter":"3.1.3"}},i.version=function(){return this.constructor.version()},i.canChangeType=function(){return or.canChangeType()},i.play=function(){this.masterPlaylistController_.play()},i.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},i.duration=function(){return this.masterPlaylistController_.duration()},i.seekable=function(){return this.masterPlaylistController_.seekable()},i.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&m().URL.revokeObjectURL&&(m().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},i.convertToProgramTime=function(e,t){return aD({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},i.seekToProgramTime=function(e,t,i,n){return void 0===i&&(i=!0),void 0===n&&(n=2),aM({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(ry.getComponent("Component")),oK={name:"videojs-http-streaming",VERSION:oU,canHandleSource:function(e,t){void 0===t&&(t={});var i=ry.mergeOptions(ry.options,t);return oK.canPlayType(e.type,i)},handleSource:function(e,t,i){void 0===i&&(i={});var n=ry.mergeOptions(ry.options,i);return t.vhs=new oG(e,t,n),ry.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return ry.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=av(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){void 0===t&&(t={});var i=ry.mergeOptions(ry.options,t),n=i.vhs,r=(n=void 0===n?{}:n).overrideNative,a=void 0===r?!ry.browser.IS_ANY_SAFARI:r,s=i.hls,o=(s=void 0===s?{}:s).overrideNative,l=(0,M.t)(e);return l&&(!oB.supportsTypeNatively(l)||void 0!==o&&o||a)?"maybe":""}};(0,D.p7)("avc1.4d400d,mp4a.40.2")&&ry.getTech("Html5").registerSourceHandler(oK,0),ry.VhsHandler=oG,Object.defineProperty(ry,"HlsHandler",{get:function(){return ry.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),oG},configurable:!0}),ry.VhsSourceHandler=oK,Object.defineProperty(ry,"HlsSourceHandler",{get:function(){return ry.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),oK},configurable:!0}),ry.Vhs=oB,Object.defineProperty(ry,"Hls",{get:function(){return ry.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),oB},configurable:!0}),ry.use||(ry.registerComponent("Hls",oB),ry.registerComponent("Vhs",oB)),ry.options.vhs=ry.options.vhs||{},ry.options.hls=ry.options.hls||{},ry.getPlugin&&ry.getPlugin("reloadSourceOnError")||(ry.registerPlugin||ry.plugin)("reloadSourceOnError",oR),t.Z=ry}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/d6e1aeb5-e5a704c6afec0fd3.js b/static/web/_next/static/chunks/d6e1aeb5-e5a704c6afec0fd3.js deleted file mode 100644 index 5a2a7ae8c..000000000 --- a/static/web/_next/static/chunks/d6e1aeb5-e5a704c6afec0fd3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2544],{85215:function(e,t,i){for(var n,r=i(58908),a=i.n(r),s=i(89144),o=i.n(s),l=i(87462),u=i(27537),d=i.n(u),c=i(97326),h=i(94578),p=i(75974),f=i.n(p),m=i(9603),g=i.n(m),_=i(13407),v=i.n(_),y=i(5647),T=i(60136),b=i(80779),S=i(9323),k=i(92260),C=i(8485),E=i(60562),w=i(12955),I=i(84221),x=i.n(I),P=i(68925),A=i(86185),L=i(51489),O="7.20.3",D={},M=function(e,t){return D[e]=D[e]||[],t&&(D[e]=D[e].concat(t)),D[e]},R=function(e,t){var i=M(e).indexOf(t);return!(i<=-1)&&(D[e]=D[e].slice(),D[e].splice(i,1),!0)},U={prefixed:!0},B=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],N=B[0],F=0;F0?l:0)}if(a().console){var u=a().console[i];u||"debug"!==i||(u=a().console.info||a().console.log),u&&s&&o.test(i)&&u[Array.isArray(r)?"apply":"call"](a().console,r)}}}(t,r),r.createLogger=function(i){return e(t+": "+i)},r.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},r.level=function(e){if("string"===typeof e){if(!r.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');n=e}return n},(r.history=function(){return H?[].concat(H):[]}).filter=function(e){return(H||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},r.history.clear=function(){H&&(H.length=0)},r.history.disable=function(){null!==H&&(H.length=0,H=null)},r.history.enable=function(){null===H&&(H=[])},r.error=function(){for(var e=arguments.length,t=new Array(e),r=0;r1?t-1:0),n=1;n=0)throw new Error("class has illegal whitespace characters")}function Te(){return o()===a().document}function be(e){return Z(e)&&1===e.nodeType}function Se(){try{return a().parent!==a().self}catch(e){return!0}}function ke(e){return function(t,i){if(!ve(t))return o()[e](null);ve(i)&&(i=o().querySelector(i));var n=be(i)?i:o();return n[e]&&n[e](t)}}function Ce(e,t,i,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===i&&(i={});var r=o().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var i=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(q.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+i+"."),r.setAttribute(e,i)):"textContent"===e?Ee(r,i):r[e]===i&&"tabIndex"!==e||(r[e]=i)})),Object.getOwnPropertyNames(i).forEach((function(e){r.setAttribute(e,i[e])})),n&&We(r,n),r}function Ee(e,t){return"undefined"===typeof e.textContent?e.innerText=t:e.textContent=t,e}function we(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function Ie(e,t){return ye(t),e.classList?e.classList.contains(t):(i=t,new RegExp("(^|\\s)"+i+"($|\\s)")).test(e.className);var i}function xe(e,t){return e.classList?e.classList.add(t):Ie(e,t)||(e.className=(e.className+" "+t).trim()),e}function Pe(e,t){return e?(e.classList?e.classList.remove(t):(ye(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e):(q.warn("removeClass was called with an element that doesn't exist"),null)}function Ae(e,t,i){var n=Ie(e,t);if("function"===typeof i&&(i=i(e,t)),"boolean"!==typeof i&&(i=!n),i!==n)return i?xe(e,t):Pe(e,t),e}function Le(e,t){Object.getOwnPropertyNames(t).forEach((function(i){var n=t[i];null===n||"undefined"===typeof n||!1===n?e.removeAttribute(i):e.setAttribute(i,!0===n?"":n)}))}function Oe(e){var t={},i=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var n=e.attributes,r=n.length-1;r>=0;r--){var a=n[r].name,s=n[r].value;"boolean"!==typeof e[a]&&-1===i.indexOf(","+a+",")||(s=null!==s),t[a]=s}return t}function De(e,t){return e.getAttribute(t)}function Me(e,t,i){e.setAttribute(t,i)}function Re(e,t){e.removeAttribute(t)}function Ue(){o().body.focus(),o().onselectstart=function(){return!1}}function Be(){o().onselectstart=function(){return!0}}function Ne(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),i={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(i[e]=t[e])})),i.height||(i.height=parseFloat(X(e,"height"))),i.width||(i.width=parseFloat(X(e,"width"))),i}}function Fe(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,i=e.offsetHeight,n=0,r=0;e.offsetParent&&e!==o()[U.fullscreenElement];)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:n,top:r,width:t,height:i}}function je(e,t){var i={x:0,y:0};if(me)for(var n=e;n&&"html"!==n.nodeName.toLowerCase();){var r=X(n,"transform");if(/^matrix/.test(r)){var a=r.slice(7,-1).split(/,\s/).map(Number);i.x+=a[4],i.y+=a[5]}else if(/^matrix3d/.test(r)){var s=r.slice(9,-1).split(/,\s/).map(Number);i.x+=s[12],i.y+=s[13]}n=n.parentNode}var o={},l=Fe(t.target),u=Fe(e),d=u.width,c=u.height,h=t.offsetY-(u.top-l.top),p=t.offsetX-(u.left-l.left);return t.changedTouches&&(p=t.changedTouches[0].pageX-u.left,h=t.changedTouches[0].pageY+u.top,me&&(p-=i.x,h-=i.y)),o.y=1-Math.max(0,Math.min(1,h/c)),o.x=Math.max(0,Math.min(1,p/d)),o}function He(e){return Z(e)&&3===e.nodeType}function qe(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Ve(e){return"function"===typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"===typeof e&&(e=e()),be(e)||He(e)?e:"string"===typeof e&&/\S/.test(e)?o().createTextNode(e):void 0})).filter((function(e){return e}))}function We(e,t){return Ve(t).forEach((function(t){return e.appendChild(t)})),e}function ze(e,t){return We(qe(e),t)}function Ge(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var Ke,Ze=ke("querySelector"),Qe=ke("querySelectorAll"),Xe=Object.freeze({__proto__:null,isReal:Te,isEl:be,isInFrame:Se,createEl:Ce,textContent:Ee,prependTo:we,hasClass:Ie,addClass:xe,removeClass:Pe,toggleClass:Ae,setAttributes:Le,getAttributes:Oe,getAttribute:De,setAttribute:Me,removeAttribute:Re,blockTextSelection:Ue,unblockTextSelection:Be,getBoundingClientRect:Ne,findPosition:Fe,getPointerPosition:je,isTextNode:He,emptyEl:qe,normalizeContent:Ve,appendContent:We,insertContent:ze,isSingleLeftClick:Ge,$:Ze,$$:Qe}),Ye=!1,$e=function(){if(!1!==Ke.options.autoSetup){var e=Array.prototype.slice.call(o().getElementsByTagName("video")),t=Array.prototype.slice.call(o().getElementsByTagName("audio")),i=Array.prototype.slice.call(o().getElementsByTagName("video-js")),n=e.concat(t,i);if(n&&n.length>0)for(var r=0,a=n.length;r-1&&(r={passive:!0}),e.addEventListener(t,n.dispatcher,r)}else e.attachEvent&&e.attachEvent("on"+t,n.dispatcher)}function pt(e,t,i){if(ot.has(e)){var n=ot.get(e);if(n.handlers){if(Array.isArray(t))return ut(pt,e,t,i);var r=function(e,t){n.handlers[t]=[],lt(e,t)};if(void 0!==t){var a=n.handlers[t];if(a)if(i){if(i.guid)for(var s=0;s=t&&(e.apply(void 0,arguments),i=n)}},St=function(){};St.prototype.allowedEvents_={},St.prototype.on=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},ht(this,e,t),this.addEventListener=i},St.prototype.addEventListener=St.prototype.on,St.prototype.off=function(e,t){pt(this,e,t)},St.prototype.removeEventListener=St.prototype.off,St.prototype.one=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},mt(this,e,t),this.addEventListener=i},St.prototype.any=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},gt(this,e,t),this.addEventListener=i},St.prototype.trigger=function(e){var t=e.type||e;"string"===typeof e&&(e={type:t}),e=dt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),ft(this,e)},St.prototype.dispatchEvent=St.prototype.trigger,St.prototype.queueTrigger=function(e){var t=this;_t||(_t=new Map);var i=e.type||e,n=_t.get(this);n||(n=new Map,_t.set(this,n));var r=n.get(i);n.delete(i),a().clearTimeout(r);var s=a().setTimeout((function(){0===n.size&&(n=null,_t.delete(t)),t.trigger(e)}),0);n.set(i,s)};var kt=function(e){return"function"===typeof e.name?e.name():"string"===typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},Ct=function(e){return e instanceof St||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"===typeof e[t]}))},Et=function(e){return"string"===typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},wt=function(e,t,i){if(!e||!e.nodeName&&!Ct(e))throw new Error("Invalid target for "+kt(t)+"#"+i+"; must be a DOM node or evented object.")},It=function(e,t,i){if(!Et(e))throw new Error("Invalid event type for "+kt(t)+"#"+i+"; must be a non-empty string or array.")},xt=function(e,t,i){if("function"!==typeof e)throw new Error("Invalid listener for "+kt(t)+"#"+i+"; must be a function.")},Pt=function(e,t,i){var n,r,a,s=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return s?(n=e.eventBusEl_,t.length>=3&&t.shift(),r=t[0],a=t[1]):(n=t[0],r=t[1],a=t[2]),wt(n,e,i),It(r,e,i),xt(a,e,i),{isTargetingSelf:s,target:n,type:r,listener:a=Tt(e,a)}},At=function(e,t,i,n){wt(e,e,t),e.nodeName?vt[t](e,i,n):e[t](i,n)},Lt={on:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=Bt(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,i){return Ce(e,t,i)},t.localize=function(e,t,i){void 0===i&&(i=e);var n=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),a=r&&r[n],s=n&&n.split("-")[0],o=r&&r[s],l=i;return a&&a[e]?l=a[e]:o&&o[e]&&(l=o[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,i){var n=t[i-1],r=n;return"undefined"===typeof n&&(r=e),r}))),l},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),i=0;i=0;i--)if(this.children_[i]===e){t=!0,this.children_.splice(i,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[Ut(e.name())]=null,this.childNameIndex_[Rt(e.name())]=null;var n=e.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,i=this.options_.children;if(i){var n,r=this.options_,a=e.getComponent("Tech");(n=Array.isArray(i)?i:Object.keys(i)).concat(Object.keys(this.options_).filter((function(e){return!n.some((function(t){return"string"===typeof t?e===t:e===t.name}))}))).map((function(e){var n,r;return"string"===typeof e?r=i[n=e]||t.options_[n]||{}:(n=e.name,r=e),{name:n,opts:r}})).filter((function(t){var i=e.getComponent(t.opts.componentClass||Ut(t.name));return i&&!a.isTech(i)})).forEach((function(e){var i=e.name,n=e.opts;if(void 0!==r[i]&&(n=r[i]),!1!==n){!0===n&&(n={}),n.playerOptions=t.options_.playerOptions;var a=t.addChild(i,n);a&&(t[i]=a)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return Ze(e,t||this.contentEl())},t.$$=function(e,t){return Qe(e,t||this.contentEl())},t.hasClass=function(e){return Ie(this.el_,e)},t.addClass=function(e){xe(this.el_,e)},t.removeClass=function(e){Pe(this.el_,e)},t.toggleClass=function(e,t){Ae(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return De(this.el_,e)},t.setAttribute=function(e,t){Me(this.el_,e,t)},t.removeAttribute=function(e){Re(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,i){if(void 0!==t)return null!==t&&t===t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(i||this.trigger("componentresize"));if(!this.el_)return 0;var n=this.el_.style[e],r=n.indexOf("px");return-1!==r?parseInt(n.slice(0,r),10):parseInt(this.el_["offset"+Ut(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=X(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var i="offset"+Ut(e);t=this.el_[i]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(d().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,i=null;this.on("touchstart",(function(n){1===n.touches.length&&(i={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=a().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(i){var n=t.touches[0].pageX-i.pageX,r=t.touches[0].pageY-i.pageY;Math.sqrt(n*n+r*r)>10&&(e=!1)}}));var n=function(){e=!1};this.on("touchleave",n),this.on("touchcancel",n),this.on("touchend",(function(n){(i=null,!0===e)&&(a().performance.now()-t<200&&(n.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=Tt(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var i=function(i){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",i),this.on("touchcancel",i)}},t.setTimeout=function(e,t){var i,n=this;return e=Tt(this,e),this.clearTimersOnDispose_(),i=a().setTimeout((function(){n.setTimeoutIds_.has(i)&&n.setTimeoutIds_.delete(i),e()}),t),this.setTimeoutIds_.add(i),i},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),a().clearTimeout(e)),e},t.setInterval=function(e,t){e=Tt(this,e),this.clearTimersOnDispose_();var i=a().setInterval(e,t);return this.setIntervalIds_.add(i),i},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),a().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,i=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=Tt(this,e),t=a().requestAnimationFrame((function(){i.rafIds_.has(t)&&i.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var i=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=Tt(this,t);var n=this.requestAnimationFrame((function(){t(),i.namedRafs_.has(e)&&i.namedRafs_.delete(e)}));return this.namedRafs_.set(e,n),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),a().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var i=t[0],n=t[1];e[i].forEach((function(t,i){return e[n](i)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,i){if("string"!==typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var n,r=e.getComponent("Tech"),a=r&&r.isTech(i),s=e===i||e.prototype.isPrototypeOf(i.prototype);if(a||!s)throw n=a?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+n+".");t=Ut(t),e.components_||(e.components_={});var o=e.getComponent("Player");if("Player"===t&&o&&o.players){var l=o.players,u=Object.keys(l);if(l&&u.length>0&&u.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=i,e.components_[Rt(t)]=i,i},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function Vt(e,t,i,n){return function(e,t,i){if("number"!==typeof t||t<0||t>i)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+i+").")}(e,n,i.length-1),i[n][t]}function Wt(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Vt.bind(null,"start",0,e),end:Vt.bind(null,"end",1,e)},a().Symbol&&a().Symbol.iterator&&(t[a().Symbol.iterator]=function(){return(e||[]).values()}),t}function zt(e,t){return Array.isArray(e)?Wt(e):void 0===e||void 0===t?Wt():Wt([[e,t]])}function Gt(e,t){var i,n,r=0;if(!t)return 0;e&&e.length||(e=zt(0,0));for(var a=0;at&&(n=t),r+=n-i;return r/t}function Kt(e){if(e instanceof Kt)return e;"number"===typeof e?this.code=e:"string"===typeof e?this.message=e:Z(e)&&("number"===typeof e.code&&(this.code=e.code),K(this,e)),this.message||(this.message=Kt.defaultMessages[this.code]||"")}qt.prototype.supportsRaf_="function"===typeof a().requestAnimationFrame&&"function"===typeof a().cancelAnimationFrame,qt.registerComponent("Component",qt),Kt.prototype.code=0,Kt.prototype.message="",Kt.prototype.status=null,Kt.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Kt.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Zt=0;Zt=0;n--)if(t[n].enabled){ni(t,t[n]);break}return(i=e.call(this,t)||this).changing_=!1,i}(0,h.Z)(t,e);var i=t.prototype;return i.addTrack=function(t){var i=this;t.enabled&&ni(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){i.changing_||(i.changing_=!0,ni(i,t),i.changing_=!1,i.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},i.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(ti),ai=function(e,t){for(var i=0;i=0;n--)if(t[n].selected){ai(t,t[n]);break}return(i=e.call(this,t)||this).changing_=!1,Object.defineProperty((0,c.Z)(i),"selectedIndex",{get:function(){for(var e=0;e0&&(a().console&&a().console.groupCollapsed&&a().console.groupCollapsed("Text Track parsing errors for "+t.src),n.forEach((function(e){return q.error(e)})),a().console&&a().console.groupEnd&&a().console.groupEnd()),i.flush()},bi=function(e,t){var i={uri:e},n=vi(e);n&&(i.cors=n);var r="use-credentials"===t.tech_.crossOrigin();r&&(i.withCredentials=r),g()(i,Tt(this,(function(e,i,n){if(e)return q.error(e,i);t.loaded_=!0,"function"!==typeof a().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return Ti(n,t);q.error("vttjs failed to load, stopping trying to process "+t.src)})):Ti(n,t)})))},Si=function(e){function t(t){var i;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var n=Bt(t,{kind:hi[t.kind]||"subtitles",language:t.language||t.srclang||""}),r=pi[n.mode]||"disabled",a=n.default;"metadata"!==n.kind&&"chapters"!==n.kind||(r="hidden"),(i=e.call(this,n)||this).tech_=n.tech,i.cues_=[],i.activeCues_=[],i.preload_=!1!==i.tech_.preloadTextTracks;var s=new ui(i.cues_),o=new ui(i.activeCues_),l=!1;i.timeupdateHandler=Tt((0,c.Z)(i),(function(e){void 0===e&&(e={}),this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1),"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))):"timeupdate"!==e.type&&(this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)))}));return i.tech_.one("dispose",(function(){i.stopTracking()})),"disabled"!==r&&i.startTracking(),Object.defineProperties((0,c.Z)(i),{default:{get:function(){return a},set:function(){}},mode:{get:function(){return r},set:function(e){pi[e]&&r!==e&&(r=e,this.preload_||"disabled"===r||0!==this.cues.length||bi(this.src,this),this.stopTracking(),"disabled"!==r&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?s:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return o;for(var e=this.tech_.currentTime(),t=[],i=0,n=this.cues.length;i=e||r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e)&&t.push(r)}if(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var a=0;a0)return void this.trigger("vttjsloaded");var t=o().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),a().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},i.emulateTextTracks=function(){var e=this,t=this.textTracks(),i=this.remoteTextTracks(),n=function(e){return t.addTrack(e.track)},r=function(e){return t.removeTrack(e.track)};i.on("addtrack",n),i.on("removetrack",r),this.addWebVttScript_();var a=function(){return e.trigger("texttrackchange")},s=function(){a();for(var e=0;e=0;r--){var a=e[r];a[t]&&a[t](n,i)}}(e,i,o,s),o}var Ri={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Ui={setCurrentTime:1,setMuted:1,setVolume:1},Bi={play:1,pause:1};function Ni(e){return function(t,i){return t===Oi?Oi:i[e]?i[e](t):t}}function Fi(e,t,i,n,r,a){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===a&&(a=!1);var s=t,o=s[0],l=s.slice(1);if("string"===typeof o)Fi(e,Ai[o],i,n,r,a);else if(o){var u=function(e,t){var i=Li[e.id()],n=null;if(void 0===i||null===i)return n=t(e),Li[e.id()]=[[t,n]],n;for(var r=0;r0;!this.player_.tech(!0)||(ue||se)&&t||this.player_.tech(!0).focus(),this.player_.paused()?Xt(this.player_.play()):this.player_.pause()}},t}(zi);qt.registerComponent("PosterImage",Gi);var Ki={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Zi(e,t){var i;if(4===e.length)i=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");i=e.slice(1)}return"rgba("+parseInt(i.slice(0,2),16)+","+parseInt(i.slice(2,4),16)+","+parseInt(i.slice(4,6),16)+","+t+")"}function Qi(e,t,i){try{e.style[t]=i}catch(n){return}}var Xi=function(e){function t(t,i,n){var r;r=e.call(this,t,i,n)||this;var s=function(e){return r.updateDisplay(e)};return t.on("loadstart",(function(e){return r.toggleDisplay(e)})),t.on("texttrackchange",s),t.on("loadedmetadata",(function(e){return r.preselectTrack(e)})),t.ready(Tt((0,c.Z)(r),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",s),t.on("playerresize",s),a().addEventListener("orientationchange",s),t.on("dispose",(function(){return a().removeEventListener("orientationchange",s)}));for(var e=this.options_.playerOptions.tracks||[],i=0;i0;return Xt(t),void(!this.player_.tech(!0)||(ue||se)&&i||this.player_.tech(!0).focus())}var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(r){var a=function(){return r.focus()};Qt(t)?t.then(a,(function(){})):this.setTimeout(a,1)}else this.player_.tech(!0).focus()},i.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},i.handleMouseDown=function(e){this.mouseused_=!0},t}($i);Ji.prototype.controlText_="Play Video",qt.registerComponent("BigPlayButton",Ji);var en=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).controlText(i&&i.controlText||n.localize("Close")),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},i.handleKeyDown=function(t){d().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}($i);qt.registerComponent("CloseButton",en);var tn=function(e){function t(t,i){var n;return void 0===i&&(i={}),n=e.call(this,t,i)||this,i.replay=void 0===i.replay||i.replay,n.on(t,"play",(function(e){return n.handlePlay(e)})),n.on(t,"pause",(function(e){return n.handlePause(e)})),i.replay&&n.on(t,"ended",(function(e){return n.handleEnded(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){this.player_.paused()?Xt(this.player_.play()):this.player_.pause()},i.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},i.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},i.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},i.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}($i);tn.prototype.controlText_="Play",qt.registerComponent("PlayToggle",tn);var nn=function(e,t){e=e<0?0:e;var i=Math.floor(e%60),n=Math.floor(e/60%60),r=Math.floor(e/3600),a=Math.floor(t/60%60),s=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(r=n=i="-"),(r=r>0||s>0?r+":":"")+(n=((r||a>=10)&&n<10?"0"+n:n)+":")+(i=i<10?"0"+i:i)},rn=nn;function an(e,t){return void 0===t&&(t=e),rn(e,t)}var sn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,["timeupdate","ended"],(function(e){return n.updateContent(e)})),n.updateTextNode_(),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=this.buildCSSClass(),i=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),n=Ce("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+"\xa0"},{role:"presentation"});return i.appendChild(n),this.contentEl_=Ce("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),i.appendChild(this.contentEl_),i},i.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},i.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=an(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,q.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=o().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},i.updateContent=function(e){},t}(qt);sn.prototype.labelText_="Time",sn.prototype.controlText_="Time",qt.registerComponent("TimeDisplay",sn);var on=function(e){function t(){return e.apply(this,arguments)||this}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-current-time"},i.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(sn);on.prototype.labelText_="Current Time",on.prototype.controlText_="Current Time",qt.registerComponent("CurrentTimeDisplay",on);var ln=function(e){function t(t,i){var n,r=function(e){return n.updateContent(e)};return(n=e.call(this,t,i)||this).on(t,"durationchange",r),n.on(t,"loadstart",r),n.on(t,"loadedmetadata",r),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-duration"},i.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(sn);ln.prototype.labelText_="Duration",ln.prototype.controlText_="Duration",qt.registerComponent("DurationDisplay",ln);var un=function(e){function t(){return e.apply(this,arguments)||this}return(0,h.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),i=e.prototype.createEl.call(this,"div"),n=e.prototype.createEl.call(this,"span",{textContent:"/"});return i.appendChild(n),t.appendChild(i),t},t}(qt);qt.registerComponent("TimeDivider",un);var dn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"durationchange",(function(e){return n.updateContent(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-remaining-time"},i.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(Ce("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},i.updateContent=function(e){var t;"number"===typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(sn);dn.prototype.labelText_="Remaining Time",dn.prototype.controlText_="Remaining Time",qt.registerComponent("RemainingTimeDisplay",dn);var cn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).updateShowing(),n.on(n.player(),"durationchange",(function(e){return n.updateShowing(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Ce("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Ce("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+"\xa0"})),this.contentEl_.appendChild(o().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},i.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},i.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(qt);qt.registerComponent("LiveDisplay",cn);var hn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).updateLiveEdgeStatus(),n.player_.liveTracker&&(n.updateLiveEdgeStatusHandler_=function(e){return n.updateLiveEdgeStatus(e)},n.on(n.player_.liveTracker,"liveedgechange",n.updateLiveEdgeStatusHandler_)),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=Ce("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},i.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},i.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},i.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}($i);hn.prototype.controlText_="Seek to live, currently playing live",qt.registerComponent("SeekToLive",hn);var pn=function(e,t,i){return e=Number(e),Math.min(i,Math.max(t,isNaN(e)?t:e))},fn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).handleMouseDown_=function(e){return n.handleMouseDown(e)},n.handleMouseUp_=function(e){return n.handleMouseUp(e)},n.handleKeyDown_=function(e){return n.handleKeyDown(e)},n.handleClick_=function(e){return n.handleClick(e)},n.handleMouseMove_=function(e){return n.handleMouseMove(e)},n.update_=function(e){return n.update(e)},n.bar=n.getChild(n.options_.barName),n.vertical(!!n.options_.vertical),n.enable(),n}(0,h.Z)(t,e);var i=t.prototype;return i.enabled=function(){return this.enabled_},i.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},i.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},i.createEl=function(t,i,n){return void 0===i&&(i={}),void 0===n&&(n={}),i.className=i.className+" vjs-slider",i=K({tabIndex:0},i),n=K({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),e.prototype.createEl.call(this,t,i,n)},i.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||oe||e.preventDefault(),Ue(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},i.handleMouseMove=function(e){},i.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;Be(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},i.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",(function(){var i=e.vertical()?"height":"width";e.bar.el().style[i]=(100*t).toFixed(2)+"%"}))),t}},i.getProgress=function(){return Number(pn(this.getPercent(),0,1).toFixed(4))},i.calculateDistance=function(e){var t=je(this.el_,e);return this.vertical()?t.y:t.x},i.handleKeyDown=function(t){d().isEventKey(t,"Left")||d().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):d().isEventKey(t,"Right")||d().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},i.handleClick=function(e){e.stopPropagation(),e.preventDefault()},i.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(qt);qt.registerComponent("Slider",fn);var mn=function(e,t){return pn(e/t*100,0,100).toFixed(2)+"%"},gn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).partEls_=[],n.on(t,"progress",(function(e){return n.update(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),i=Ce("span",{className:"vjs-control-text"}),n=Ce("span",{textContent:this.localize("Loaded")}),r=o().createTextNode(": ");return this.percentageEl_=Ce("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(i),i.appendChild(n),i.appendChild(r),i.appendChild(this.percentageEl_),t},i.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},i.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,i=t.player_.buffered(),n=e&&e.isLive()?e.seekableEnd():t.player_.duration(),r=t.player_.bufferedEnd(),a=t.partEls_,s=mn(r,n);t.percent_!==s&&(t.el_.style.width=s,Ee(t.percentageEl_,s),t.percent_=s);for(var o=0;oi.length;c--)t.el_.removeChild(a[c-1]);a.length=i.length}))},t}(qt);qt.registerComponent("LoadProgressBar",gn);var _n=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=bt(Tt((0,c.Z)(n),n.update),yt),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},i.update=function(e,t,i){var n=Fe(this.el_),r=Ne(this.player_.el()),a=e.width*t;if(r&&n){var s=e.left-r.left+a,o=e.width-a+(r.right-e.right),l=n.width/2;sn.width&&(l=n.width),l=Math.round(l),this.el_.style.right="-"+l+"px",this.write(i)}},i.write=function(e){Ee(this.el_,e)},i.updateTime=function(e,t,i,n){var r=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var a,s=r.player_.duration();if(r.player_.liveTracker&&r.player_.liveTracker.isLive()){var o=r.player_.liveTracker.liveWindow(),l=o-t*o;a=(l<1?"":"-")+an(l,o)}else a=an(i,s);r.update(e,t,a),n&&n()}))},t}(qt);qt.registerComponent("TimeTooltip",_n);var vn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=bt(Tt((0,c.Z)(n),n.update),yt),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},i.update=function(e,t){var i=this.getChild("timeTooltip");if(i){var n=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();i.updateTime(e,t,n)}},t}(qt);vn.prototype.options_={children:[]},me||ie||vn.prototype.options_.children.push("timeTooltip"),qt.registerComponent("PlayProgressBar",vn);var yn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=bt(Tt((0,c.Z)(n),n.update),yt),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},i.update=function(e,t){var i=this,n=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,n,(function(){i.el_.style.left=e.width*t+"px"}))},t}(qt);yn.prototype.options_={children:["timeTooltip"]},qt.registerComponent("MouseTimeDisplay",yn);var Tn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).setEventHandlers_(),n}(0,h.Z)(t,e);var i=t.prototype;return i.setEventHandlers_=function(){var e=this;this.update_=Tt(this,this.update),this.update=bt(this.update_,yt),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in o()&&"visibilityState"in o()&&this.on(o(),"visibilitychange",this.toggleVisibility_)},i.toggleVisibility_=function(e){"hidden"===o().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},i.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,yt))},i.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},i.update=function(t){var i=this;if("hidden"!==o().visibilityState){var n=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=i.player_.ended()?i.player_.duration():i.getCurrentTime_(),t=i.player_.liveTracker,r=i.player_.duration();t&&t.isLive()&&(r=i.player_.liveTracker.liveCurrentTime()),i.percent_!==n&&(i.el_.setAttribute("aria-valuenow",(100*n).toFixed(2)),i.percent_=n),i.currentTime_===e&&i.duration_===r||(i.el_.setAttribute("aria-valuetext",i.localize("progress bar timing: currentTime={1} duration={2}",[an(e,r),an(r,r)],"{1} of {2}")),i.currentTime_=e,i.duration_=r),i.bar&&i.bar.update(Ne(i.el()),i.getProgress())})),n}},i.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},i.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},i.getPercent=function(){var e,t=this.getCurrentTime_(),i=this.player_.liveTracker;return i&&i.isLive()?(e=(t-i.seekableStart())/i.liveWindow(),i.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},i.handleMouseDown=function(t){Ge(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},i.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),Ge(e)){var i;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var n=this.calculateDistance(e),r=this.player_.liveTracker;if(r&&r.isLive()){if(n>=.99)return void r.seekToLiveEdge();var a=r.seekableStart(),s=r.liveCurrentTime();if((i=a+n*r.liveWindow())>=s&&(i=s),i<=a&&(i=a+.1),i===1/0)return}else(i=n*this.player_.duration())===this.player_.duration()&&(i-=.1);this.userSeek_(i)}},i.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},i.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},i.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?Xt(this.player_.play()):this.update_()},i.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},i.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},i.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},i.handleKeyDown=function(t){var i=this.player_.liveTracker;if(d().isEventKey(t,"Space")||d().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(d().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(d().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),i&&i.isLive()?this.userSeek_(i.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(d()(t))){t.preventDefault(),t.stopPropagation();var n=10*(d().codes[d()(t)]-d().codes[0])/100;i&&i.isLive()?this.userSeek_(i.seekableStart()+i.liveWindow()*n):this.userSeek_(this.player_.duration()*n)}else d().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):d().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},i.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in o()&&"visibilityState"in o()&&this.off(o(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(fn);Tn.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},me||ie||Tn.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),qt.registerComponent("SeekBar",Tn);var bn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).handleMouseMove=bt(Tt((0,c.Z)(n),n.handleMouseMove),yt),n.throttledHandleMouseSeek=bt(Tt((0,c.Z)(n),n.handleMouseSeek),yt),n.handleMouseUpHandler_=function(e){return n.handleMouseUp(e)},n.handleMouseDownHandler_=function(e){return n.handleMouseDown(e)},n.enable(),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},i.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var i=t.getChild("playProgressBar"),n=t.getChild("mouseTimeDisplay");if(i||n){var r=t.el(),a=Fe(r),s=je(r,e).x;s=pn(s,0,1),n&&n.update(a,s),i&&i.update(a,t.getProgress())}}},i.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},i.enabled=function(){return this.enabled_},i.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&Xt(this.player_.play())}},i.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},i.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},i.handleMouseDown=function(e){var t=this.el_.ownerDocument,i=this.getChild("seekBar");i&&i.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(qt);bn.prototype.options_={children:["seekBar"]},qt.registerComponent("ProgressControl",bn);var Sn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return n.handlePictureInPictureChange(e)})),n.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return n.handlePictureInPictureEnabledChange(e)})),n.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),n.hide()):n.show()})),n.disable(),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},i.handlePictureInPictureEnabledChange=function(){o().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},i.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},i.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}($i);Sn.prototype.controlText_="Picture-in-Picture",qt.registerComponent("PictureInPictureToggle",Sn);var kn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"fullscreenchange",(function(e){return n.handleFullscreenChange(e)})),!1===o()[t.fsApi_.fullscreenEnabled]&&n.disable(),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},i.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},i.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}($i);kn.prototype.controlText_="Fullscreen",qt.registerComponent("FullscreenToggle",kn);var Cn=function(e){function t(){return e.apply(this,arguments)||this}return(0,h.Z)(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(qt);qt.registerComponent("VolumeLevel",Cn);var En=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=bt(Tt((0,c.Z)(n),n.update),yt),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},i.update=function(e,t,i,n){if(!i){var r=Ne(this.el_),a=Ne(this.player_.el()),s=e.width*t;if(!a||!r)return;var o=e.left-a.left+s,l=e.width-s+(a.right-e.right),u=r.width/2;or.width&&(u=r.width),this.el_.style.right="-"+u+"px"}this.write(n+"%")},i.write=function(e){Ee(this.el_,e)},i.updateVolume=function(e,t,i,n,r){var a=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){a.update(e,t,i,n.toFixed(0)),r&&r()}))},t}(qt);qt.registerComponent("VolumeLevelTooltip",En);var wn=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).update=bt(Tt((0,c.Z)(n),n.update),yt),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},i.update=function(e,t,i){var n=this,r=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,i,r,(function(){i?n.el_.style.bottom=e.height*t+"px":n.el_.style.left=e.width*t+"px"}))},t}(qt);wn.prototype.options_={children:["volumeLevelTooltip"]},qt.registerComponent("MouseVolumeLevelDisplay",wn);var In=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on("slideractive",(function(e){return n.updateLastVolume_(e)})),n.on(t,"volumechange",(function(e){return n.updateARIAAttributes(e)})),t.ready((function(){return n.updateARIAAttributes()})),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},i.handleMouseDown=function(t){Ge(t)&&e.prototype.handleMouseDown.call(this,t)},i.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var i=this.el(),n=Ne(i),r=this.vertical(),a=je(i,e);a=r?a.y:a.x,a=pn(a,0,1),t.update(n,a,r)}Ge(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},i.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},i.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},i.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},i.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},i.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},i.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},i.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(fn);In.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},me||ie||In.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),In.prototype.playerEvent="volumechange",qt.registerComponent("VolumeBar",In);var xn=function(e){function t(t,i){var n;return void 0===i&&(i={}),i.vertical=i.vertical||!1,("undefined"===typeof i.volumeBar||Q(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical),n=e.call(this,t,i)||this,function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}((0,c.Z)(n),t),n.throttledHandleMouseMove=bt(Tt((0,c.Z)(n),n.handleMouseMove),yt),n.handleMouseUpHandler_=function(e){return n.handleMouseUp(e)},n.on("mousedown",(function(e){return n.handleMouseDown(e)})),n.on("touchstart",(function(e){return n.handleMouseDown(e)})),n.on("mousemove",(function(e){return n.handleMouseMove(e)})),n.on(n.volumeBar,["focus","slideractive"],(function(){n.volumeBar.addClass("vjs-slider-active"),n.addClass("vjs-slider-active"),n.trigger("slideractive")})),n.on(n.volumeBar,["blur","sliderinactive"],(function(){n.volumeBar.removeClass("vjs-slider-active"),n.removeClass("vjs-slider-active"),n.trigger("sliderinactive")})),n}(0,h.Z)(t,e);var i=t.prototype;return i.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},i.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},i.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(qt);xn.prototype.options_={children:["volumeBar"]},qt.registerComponent("VolumeControl",xn);var Pn=function(e){function t(t,i){var n;return n=e.call(this,t,i)||this,function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}((0,c.Z)(n),t),n.on(t,["loadstart","volumechange"],(function(e){return n.update(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},i.handleClick=function(e){var t=this.player_.volume(),i=this.player_.lastVolume_();if(0===t){var n=i<.1?.1:i;this.player_.volume(n),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},i.update=function(e){this.updateIcon_(),this.updateControlText_()},i.updateIcon_=function(){var e=this.player_.volume(),t=3;me&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var i=0;i<4;i++)Pe(this.el_,"vjs-vol-"+i);xe(this.el_,"vjs-vol-"+t)},i.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}($i);Pn.prototype.controlText_="Mute",qt.registerComponent("MuteToggle",Pn);var An=function(e){function t(t,i){var n;return void 0===i&&(i={}),"undefined"!==typeof i.inline?i.inline=i.inline:i.inline=!0,("undefined"===typeof i.volumeControl||Q(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline),(n=e.call(this,t,i)||this).handleKeyPressHandler_=function(e){return n.handleKeyPress(e)},n.on(t,["loadstart"],(function(e){return n.volumePanelState_(e)})),n.on(n.muteToggle,"keyup",(function(e){return n.handleKeyPress(e)})),n.on(n.volumeControl,"keyup",(function(e){return n.handleVolumeControlKeyUp(e)})),n.on("keydown",(function(e){return n.handleKeyPress(e)})),n.on("mouseover",(function(e){return n.handleMouseOver(e)})),n.on("mouseout",(function(e){return n.handleMouseOut(e)})),n.on(n.volumeControl,["slideractive"],n.sliderActive_),n.on(n.volumeControl,["sliderinactive"],n.sliderInactive_),n}(0,h.Z)(t,e);var i=t.prototype;return i.sliderActive_=function(){this.addClass("vjs-slider-active")},i.sliderInactive_=function(){this.removeClass("vjs-slider-active")},i.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},i.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},i.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},i.handleVolumeControlKeyUp=function(e){d().isEventKey(e,"Esc")&&this.muteToggle.focus()},i.handleMouseOver=function(e){this.addClass("vjs-hover"),ht(o(),"keyup",this.handleKeyPressHandler_)},i.handleMouseOut=function(e){this.removeClass("vjs-hover"),pt(o(),"keyup",this.handleKeyPressHandler_)},i.handleKeyPress=function(e){d().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(qt);An.prototype.options_={children:["muteToggle","volumeControl"]},qt.registerComponent("VolumePanel",An);var Ln=function(e){function t(t,i){var n;return n=e.call(this,t,i)||this,i&&(n.menuButton_=i.menuButton),n.focusedChild_=-1,n.on("keydown",(function(e){return n.handleKeyDown(e)})),n.boundHandleBlur_=function(e){return n.handleBlur(e)},n.boundHandleTapClick_=function(e){return n.handleTapClick(e)},n}(0,h.Z)(t,e);var i=t.prototype;return i.addEventListenerForItem=function(e){e instanceof qt&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},i.removeEventListenerForItem=function(e){e instanceof qt&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},i.removeChild=function(t){"string"===typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},i.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},i.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=Ce(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var i=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return i.appendChild(this.contentEl_),ht(i,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),i},i.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},i.handleBlur=function(e){var t=e.relatedTarget||o().activeElement;if(!this.children().some((function(e){return e.el()===t}))){var i=this.menuButton_;i&&i.buttonPressed_&&t!==i.el().firstChild&&i.unpressButton()}},i.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var i=t.filter((function(t){return t.el()===e.target}))[0];if(!i)return;"CaptionSettingsMenuItem"!==i.name()&&this.menuButton_.focus()}},i.handleKeyDown=function(e){d().isEventKey(e,"Left")||d().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(d().isEventKey(e,"Right")||d().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},i.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},i.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},i.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(qt);qt.registerComponent("Menu",Ln);var On=function(e){function t(t,i){var n;void 0===i&&(i={}),(n=e.call(this,t,i)||this).menuButton_=new $i(t,i),n.menuButton_.controlText(n.controlText_),n.menuButton_.el_.setAttribute("aria-haspopup","true");var r=$i.prototype.buildCSSClass();n.menuButton_.el_.className=n.buildCSSClass()+" "+r,n.menuButton_.removeClass("vjs-control"),n.addChild(n.menuButton_),n.update(),n.enabled_=!0;var a=function(e){return n.handleClick(e)};return n.handleMenuKeyUp_=function(e){return n.handleMenuKeyUp(e)},n.on(n.menuButton_,"tap",a),n.on(n.menuButton_,"click",a),n.on(n.menuButton_,"keydown",(function(e){return n.handleKeyDown(e)})),n.on(n.menuButton_,"mouseenter",(function(){n.addClass("vjs-hover"),n.menu.show(),ht(o(),"keyup",n.handleMenuKeyUp_)})),n.on("mouseleave",(function(e){return n.handleMouseLeave(e)})),n.on("keydown",(function(e){return n.handleSubmenuKeyDown(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},i.createMenu=function(){var e=new Ln(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=Ce("li",{className:"vjs-menu-title",textContent:Ut(this.options_.title),tabIndex:-1}),i=new qt(this.player_,{el:t});e.addItem(i)}if(this.items=this.createItems(),this.items)for(var n=0;n-1&&"showing"===a.mode){i=!1;break}}i!==this.isSelected_&&this.selected(i)},i.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),i=!0,n=0,r=t.length;n-1&&"showing"===a.mode){i=!1;break}}i&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Un);qt.registerComponent("OffTextTrackMenuItem",Bn);var Nn=function(e){function t(t,i){return void 0===i&&(i={}),i.tracks=t.textTracks(),e.call(this,t,i)||this}return(0,h.Z)(t,e),t.prototype.createItems=function(e,t){var i;void 0===e&&(e=[]),void 0===t&&(t=Un),this.label_&&(i=this.label_+" off"),e.push(new Bn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;var n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r-1){var s=new t(this.player_,{track:a,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});s.addClass("vjs-"+a.kind+"-menu-item"),e.push(s)}}return e},t}(Dn);qt.registerComponent("TextTrackButton",Nn);var Fn=function(e){function t(t,i){var n,r=i.track,a=i.cue,s=t.currentTime();return i.selectable=!0,i.multiSelectable=!1,i.label=a.text,i.selected=a.startTime<=s&&s=0;t--){var i=e[t];if(i.kind===this.kind_)return i}},i.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(Ut(this.kind_))},i.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},i.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var i=0,n=t.length;i-1&&(n.label_="captions"),n.menuButton_.controlText(Ut(n.label_)),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},i.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},i.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Vn(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,zn)},t}(Nn);Gn.prototype.kinds_=["captions","subtitles"],Gn.prototype.controlText_="Subtitles",qt.registerComponent("SubsCapsButton",Gn);var Kn=function(e){function t(t,i){var n,r=i.track,a=t.audioTracks();i.label=r.label||r.language||"Unknown",i.selected=r.enabled,(n=e.call(this,t,i)||this).track=r,n.addClass("vjs-"+r.kind+"-menu-item");var s=function(){for(var e=arguments.length,t=new Array(e),i=0;i=0;i--)t.push(new Qn(this.player(),{rate:e[i]+"x"}));return t},i.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},i.handleClick=function(e){var t=this.player().playbackRate(),i=this.playbackRates(),n=(i.indexOf(t)+1)%i.length;this.player().playbackRate(i[n])},i.handlePlaybackRateschange=function(e){this.update()},i.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},i.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},i.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},i.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(On);Xn.prototype.controlText_="Playback Rate",qt.registerComponent("PlaybackRateMenuButton",Xn);var Yn=function(e){function t(){return e.apply(this,arguments)||this}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},i.createEl=function(t,i,n){return void 0===t&&(t="div"),void 0===i&&(i={}),void 0===n&&(n={}),i.className||(i.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,i,n)},t}(qt);qt.registerComponent("Spacer",Yn);var $n=function(e){function t(){return e.apply(this,arguments)||this}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},i.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:"\xa0"})},t}(Yn);qt.registerComponent("CustomControlSpacer",$n);var Jn=function(e){function t(){return e.apply(this,arguments)||this}return(0,h.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(qt);Jn.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in o()&&Jn.prototype.options_.children.splice(Jn.prototype.options_.children.length-1,0,"pictureInPictureToggle"),qt.registerComponent("ControlBar",Jn);var er=function(e){function t(t,i){var n;return(n=e.call(this,t,i)||this).on(t,"error",(function(e){return n.open(e)})),n}(0,h.Z)(t,e);var i=t.prototype;return i.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},i.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(ei);er.prototype.options_=(0,l.Z)({},ei.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),qt.registerComponent("ErrorDisplay",er);var tr="vjs-text-track-settings",ir=["#000","Black"],nr=["#00F","Blue"],rr=["#0FF","Cyan"],ar=["#0F0","Green"],sr=["#F0F","Magenta"],or=["#F00","Red"],lr=["#FFF","White"],ur=["#FF0","Yellow"],dr=["1","Opaque"],cr=["0.5","Semi-Transparent"],hr=["0","Transparent"],pr={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[ir,lr,or,ar,nr,ur,sr,rr]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[dr,cr,hr]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[lr,ir,or,ar,nr,ur,sr,rr]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[dr,cr]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[hr,cr,dr]}};function fr(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}pr.windowColor.options=pr.backgroundColor.options;var mr=function(e){function t(t,i){var n;return i.temporary=!1,(n=e.call(this,t,i)||this).updateDisplay=n.updateDisplay.bind((0,c.Z)(n)),n.fill(),n.hasBeenOpened_=n.hasBeenFilled_=!0,n.endDialog=Ce("p",{className:"vjs-control-text",textContent:n.localize("End of dialog window.")}),n.el().appendChild(n.endDialog),n.setDefaults(),void 0===i.persistTextTrackSettings&&(n.options_.persistTextTrackSettings=n.options_.playerOptions.persistTextTrackSettings),n.on(n.$(".vjs-done-button"),"click",(function(){n.saveSettings(),n.close()})),n.on(n.$(".vjs-default-button"),"click",(function(){n.setDefaults(),n.updateDisplay()})),G(pr,(function(e){n.on(n.$(e.selector),"change",n.updateDisplay)})),n.options_.persistTextTrackSettings&&n.restoreSettings(),n}(0,h.Z)(t,e);var i=t.prototype;return i.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},i.createElSelect_=function(e,t,i){var n=this;void 0===t&&(t=""),void 0===i&&(i="label");var r=pr[e],a=r.id.replace("%s",this.id_),s=[t,a].join(" ").trim();return["<"+i+' id="'+a+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(r.label),"",'").join("")},i.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['
        ','',this.localize("Text"),"",this.createElSelect_("color",e),'',this.createElSelect_("textOpacity",e),"","
        "].join("")},i.createElBgColor_=function(){var e="captions-background-"+this.id_;return['
        ','',this.localize("Background"),"",this.createElSelect_("backgroundColor",e),'',this.createElSelect_("backgroundOpacity",e),"","
        "].join("")},i.createElWinColor_=function(){var e="captions-window-"+this.id_;return['
        ','',this.localize("Window"),"",this.createElSelect_("windowColor",e),'',this.createElSelect_("windowOpacity",e),"","
        "].join("")},i.createElColors_=function(){return Ce("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},i.createElFont_=function(){return Ce("div",{className:"vjs-track-settings-font",innerHTML:['
        ',this.createElSelect_("fontPercent","","legend"),"
        ",'
        ',this.createElSelect_("edgeStyle","","legend"),"
        ",'
        ',this.createElSelect_("fontFamily","","legend"),"
        "].join("")})},i.createElControls_=function(){var e=this.localize("restore all settings to the default values");return Ce("div",{className:"vjs-track-settings-controls",innerHTML:['",'"].join("")})},i.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},i.label=function(){return this.localize("Caption Settings Dialog")},i.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},i.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},i.getValues=function(){var e,t,i,n=this;return t=function(e,t,i){var r,a,s=(r=n.$(t.selector),a=t.parser,fr(r.options[r.options.selectedIndex].value,a));return void 0!==s&&(e[i]=s),e},void 0===(i={})&&(i=0),z(e=pr).reduce((function(i,n){return t(i,e[n],n)}),i)},i.setValues=function(e){var t=this;G(pr,(function(i,n){!function(e,t,i){if(t)for(var n=0;nthis.options_.liveTolerance;this.timeupdateSeen_&&n!==1/0||(s=!1),s!==this.behindLiveEdge_&&(this.behindLiveEdge_=s,this.trigger("liveedgechange"))}},i.handleDurationchange=function(){this.toggleTracking()},i.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},i.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,yt),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},i.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},i.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},i.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},i.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},i.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},i.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},i.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.end(i));return t.length?t.sort()[t.length-1]:1/0},i.seekableStart=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.start(i));return t.length?t.sort()[0]:0},i.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},i.isLive=function(){return this.isTracking()},i.atLiveEdge=function(){return!this.behindLiveEdge()},i.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},i.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},i.behindLiveEdge=function(){return this.behindLiveEdge_},i.isTracking=function(){return"number"===typeof this.trackingInterval_},i.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},i.dispose=function(){this.off(o(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(qt);qt.registerComponent("LiveTracker",vr);var yr,Tr=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var i=e.$$("source"),n=[],r="";if(!i.length)return!1;for(var a=0;a=2&&r.push("loadeddata"),e.readyState>=3&&r.push("canplay"),e.readyState>=4&&r.push("canplaythrough"),this.ready((function(){r.forEach((function(e){this.trigger(e)}),this)}))}},i.setScrubbing=function(e){this.isScrubbing_=e},i.scrubbing=function(){return this.isScrubbing_},i.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&ge?this.el_.fastSeek(e):this.el_.currentTime=e}catch(t){q(t,"Video is not ready. (Video.js)")}},i.duration=function(){var e=this;if(this.el_.duration===1/0&&ie&&oe&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},i.width=function(){return this.el_.offsetWidth},i.height=function(){return this.el_.offsetHeight},i.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},i=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",i),this.on("dispose",(function(){e.off("webkitbeginfullscreen",i),e.off("webkitendfullscreen",t)}))}},i.supportsFullScreen=function(){if("function"===typeof this.el_.webkitEnterFullScreen){var e=a().navigator&&a().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},i.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)Xt(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}}),0);else try{e.webkitEnterFullScreen()}catch(t){this.trigger("fullscreenerror",t)}},i.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},i.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},i.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},i.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},i.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},i.reset=function(){t.resetMediaElement(this.el_)},i.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},i.setControls=function(e){this.el_.controls=!!e},i.addTextTrack=function(t,i,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,i,n):e.prototype.addTextTrack.call(this,t,i,n)},i.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var i=o().createElement("track");return t.kind&&(i.kind=t.kind),t.label&&(i.label=t.label),(t.language||t.srclang)&&(i.srclang=t.language||t.srclang),t.default&&(i.default=t.default),t.id&&(i.id=t.id),t.src&&(i.src=t.src),i},i.addRemoteTextTrack=function(t,i){var n=e.prototype.addRemoteTextTrack.call(this,t,i);return this.featuresNativeTextTracks&&this.el().appendChild(n),n},i.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var i=this.$$("track"),n=i.length;n--;)t!==i[n]&&t!==i[n].track||this.el().removeChild(i[n])},i.getVideoPlaybackQuality=function(){if("function"===typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return"undefined"!==typeof this.el().webkitDroppedFrameCount&&"undefined"!==typeof this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),a().performance&&"function"===typeof a().performance.now?e.creationTime=a().performance.now():a().performance&&a().performance.timing&&"number"===typeof a().performance.timing.navigationStart&&(e.creationTime=a().Date.now()-a().performance.timing.navigationStart),e},t}(Pi);wr(Ir,"TEST_VID",(function(){if(Te()){var e=o().createElement("video"),t=o().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),Ir.isSupported=function(){try{Ir.TEST_VID.volume=.5}catch(e){return!1}return!(!Ir.TEST_VID||!Ir.TEST_VID.canPlayType)},Ir.canPlayType=function(e){return Ir.TEST_VID.canPlayType(e)},Ir.canPlaySource=function(e,t){return Ir.canPlayType(e.type)},Ir.canControlVolume=function(){try{var e=Ir.TEST_VID.volume;Ir.TEST_VID.volume=e/2+.1;var t=e!==Ir.TEST_VID.volume;return t&&me?(a().setTimeout((function(){Ir&&Ir.prototype&&(Ir.prototype.featuresVolumeControl=e!==Ir.TEST_VID.volume)})),!1):t}catch(i){return!1}},Ir.canMuteVolume=function(){try{var e=Ir.TEST_VID.muted;return Ir.TEST_VID.muted=!e,Ir.TEST_VID.muted?Me(Ir.TEST_VID,"muted","muted"):Re(Ir.TEST_VID,"muted"),e!==Ir.TEST_VID.muted}catch(t){return!1}},Ir.canControlPlaybackRate=function(){if(ie&&oe&&le<58)return!1;try{var e=Ir.TEST_VID.playbackRate;return Ir.TEST_VID.playbackRate=e/2+.1,e!==Ir.TEST_VID.playbackRate}catch(t){return!1}},Ir.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(o().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(o().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(o().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(o().createElement("audio"),"innerHTML",{get:e,set:e})}catch(t){return!1}return!0},Ir.supportsNativeTextTracks=function(){return ge||me&&oe},Ir.supportsNativeVideoTracks=function(){return!(!Ir.TEST_VID||!Ir.TEST_VID.videoTracks)},Ir.supportsNativeAudioTracks=function(){return!(!Ir.TEST_VID||!Ir.TEST_VID.audioTracks)},Ir.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],i=e[1];wr(Ir.prototype,t,(function(){return Ir[i]()}),!0)})),Ir.prototype.featuresVolumeControl=Ir.canControlVolume(),Ir.prototype.movingMediaElementInDOM=!me,Ir.prototype.featuresFullscreenResize=!0,Ir.prototype.featuresProgressEvents=!0,Ir.prototype.featuresTimeupdateEvents=!0,Ir.prototype.featuresVideoFrameCallback=!(!Ir.TEST_VID||!Ir.TEST_VID.requestVideoFrameCallback),Ir.patchCanPlayType=function(){ne>=4&&!ae&&!oe&&(yr=Ir.TEST_VID&&Ir.TEST_VID.constructor.prototype.canPlayType,Ir.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":yr.call(this,e)})},Ir.unpatchCanPlayType=function(){var e=Ir.TEST_VID.constructor.prototype.canPlayType;return yr&&(Ir.TEST_VID.constructor.prototype.canPlayType=yr),e},Ir.patchCanPlayType(),Ir.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"===typeof e.load&&function(){try{e.load()}catch(t){}}()}},Ir.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),i=t.length;i--;)e.removeChild(t[i]);e.removeAttribute("src"),"function"===typeof e.load&&function(){try{e.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){Ir.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){Ir.prototype["set"+Ut(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){Ir.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){Ir.prototype["set"+Ut(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){Ir.prototype[e]=function(){return this.el_[e]()}})),Pi.withSourceHandlers(Ir),Ir.nativeSourceHandler={},Ir.nativeSourceHandler.canPlayType=function(e){try{return Ir.TEST_VID.canPlayType(e)}catch(t){return""}},Ir.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Ir.nativeSourceHandler.canPlayType(e.type);if(e.src){var i=_i(e.src);return Ir.nativeSourceHandler.canPlayType("video/"+i)}return""},Ir.nativeSourceHandler.handleSource=function(e,t,i){t.setSrc(e.src)},Ir.nativeSourceHandler.dispose=function(){},Ir.registerSourceHandler(Ir.nativeSourceHandler),Pi.registerTech("Html5",Ir);var xr=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Pr={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ar=["tiny","xsmall","small","medium","large","xlarge","huge"],Lr={};Ar.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Lr[e]="vjs-layout-"+t}));var Or={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Dr=function(e){function t(i,n,r){var a;if(i.id=i.id||n.id||"vjs_video_"+at(),(n=K(t.getTagSettings(i),n)).initChildren=!1,n.createEl=!1,n.evented=!1,n.reportTouchActivity=!1,!n.language)if("function"===typeof i.closest){var s=i.closest("[lang]");s&&s.getAttribute&&(n.language=s.getAttribute("lang"))}else for(var l=i;l&&1===l.nodeType;){if(Oe(l).hasOwnProperty("lang")){n.language=l.getAttribute("lang");break}l=l.parentNode}if((a=e.call(this,null,n,r)||this).boundDocumentFullscreenChange_=function(e){return a.documentFullscreenChange_(e)},a.boundFullWindowOnEscKey_=function(e){return a.fullWindowOnEscKey(e)},a.boundUpdateStyleEl_=function(e){return a.updateStyleEl_(e)},a.boundApplyInitTime_=function(e){return a.applyInitTime_(e)},a.boundUpdateCurrentBreakpoint_=function(e){return a.updateCurrentBreakpoint_(e)},a.boundHandleTechClick_=function(e){return a.handleTechClick_(e)},a.boundHandleTechDoubleClick_=function(e){return a.handleTechDoubleClick_(e)},a.boundHandleTechTouchStart_=function(e){return a.handleTechTouchStart_(e)},a.boundHandleTechTouchMove_=function(e){return a.handleTechTouchMove_(e)},a.boundHandleTechTouchEnd_=function(e){return a.handleTechTouchEnd_(e)},a.boundHandleTechTap_=function(e){return a.handleTechTap_(e)},a.isFullscreen_=!1,a.log=V(a.id_),a.fsApi_=U,a.isPosterFromTech_=!1,a.queuedCallbacks_=[],a.isReady_=!1,a.hasStarted_=!1,a.userActive_=!1,a.debugEnabled_=!1,a.audioOnlyMode_=!1,a.audioPosterMode_=!1,a.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!a.options_||!a.options_.techOrder||!a.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(a.tag=i,a.tagAttributes=i&&Oe(i),a.language(a.options_.language),n.languages){var u={};Object.getOwnPropertyNames(n.languages).forEach((function(e){u[e.toLowerCase()]=n.languages[e]})),a.languages_=u}else a.languages_=t.prototype.options_.languages;a.resetCache_(),a.poster_=n.poster||"",a.controls_=!!n.controls,i.controls=!1,i.removeAttribute("controls"),a.changingSrc_=!1,a.playCallbacks_=[],a.playTerminatedQueue_=[],i.hasAttribute("autoplay")?a.autoplay(!0):a.autoplay(a.options_.autoplay),n.plugins&&Object.keys(n.plugins).forEach((function(e){if("function"!==typeof a[e])throw new Error('plugin "'+e+'" does not exist')})),a.scrubbing_=!1,a.el_=a.createEl(),Ot((0,c.Z)(a),{eventBusKey:"el_"}),a.fsApi_.requestFullscreen&&(ht(o(),a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_),a.on(a.fsApi_.fullscreenchange,a.boundDocumentFullscreenChange_)),a.fluid_&&a.on(["playerreset","resize"],a.boundUpdateStyleEl_);var d=Bt(a.options_);n.plugins&&Object.keys(n.plugins).forEach((function(e){a[e](n.plugins[e])})),n.debug&&a.debug(!0),a.options_.playerOptions=d,a.middleware_=[],a.playbackRates(n.playbackRates),a.initChildren(),a.isAudio("audio"===i.nodeName.toLowerCase()),a.controls()?a.addClass("vjs-controls-enabled"):a.addClass("vjs-controls-disabled"),a.el_.setAttribute("role","region"),a.isAudio()?a.el_.setAttribute("aria-label",a.localize("Audio Player")):a.el_.setAttribute("aria-label",a.localize("Video Player")),a.isAudio()&&a.addClass("vjs-audio"),a.flexNotSupported_()&&a.addClass("vjs-no-flex"),he&&a.addClass("vjs-touch-enabled"),me||a.addClass("vjs-workinghover"),t.players[a.id_]=(0,c.Z)(a);var h=O.split(".")[0];return a.addClass("vjs-v"+h),a.userActive(!0),a.reportUserActivity(),a.one("play",(function(e){return a.listenForUserActivity_(e)})),a.on("stageclick",(function(e){return a.handleStageClick_(e)})),a.on("keydown",(function(e){return a.handleKeyDown(e)})),a.on("languagechange",(function(e){return a.handleLanguagechange(e)})),a.breakpoints(a.options_.breakpoints),a.responsive(a.options_.responsive),a.on("ready",(function(){a.audioPosterMode(a.options_.audioPosterMode),a.audioOnlyMode(a.options_.audioOnlyMode)})),a}(0,h.Z)(t,e);var i=t.prototype;return i.dispose=function(){var i=this;this.trigger("dispose"),this.off("dispose"),pt(o(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),pt(o(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Li[this.id()]=null,xi.names.forEach((function(e){var t=xi[e],n=i[t.getterName]();n&&n.off&&n.off()})),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},i.createEl=function(){var t,i=this.tag,n=this.playerElIngest_=i.parentNode&&i.parentNode.hasAttribute&&i.parentNode.hasAttribute("data-vjs-player"),r="video-js"===this.tag.tagName.toLowerCase();n?t=this.el_=i.parentNode:r||(t=this.el_=e.prototype.createEl.call(this,"div"));var s=Oe(i);if(r){for(t=this.el_=i,i=this.tag=o().createElement("video");t.children.length;)i.appendChild(t.firstChild);Ie(t,"video-js")||xe(t,"video-js"),t.appendChild(i),n=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{i[e]=t[e]}catch(n){}}))}if(i.setAttribute("tabindex","-1"),s.tabindex="-1",(ue||oe&&ce)&&(i.setAttribute("role","application"),s.role="application"),i.removeAttribute("width"),i.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach((function(e){r&&"class"===e||t.setAttribute(e,s[e]),r&&i.setAttribute(e,s[e])})),i.playerId=i.id,i.id+="_html5_api",i.className="vjs-tech",i.player=t.player=this,this.addClass("vjs-paused"),!0!==a().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=it("vjs-styles-dimensions");var l=Ze(".vjs-styles-defaults"),u=Ze("head");u.insertBefore(this.styleEl_,l?l.nextSibling:u.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var d=i.getElementsByTagName("a"),c=0;c0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),r=n[1]/n[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/r:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*r,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(i),nt(this.styleEl_,"\n ."+i+" {\n width: "+e+"px;\n height: "+t+"px;\n }\n\n ."+i+".vjs-fluid:not(.vjs-audio-only-mode) {\n padding-top: "+100*r+"%;\n }\n ")}else{var s="number"===typeof this.width_?this.width_:this.options_.width,o="number"===typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(s>=0&&(l.width=s),o>=0&&(l.height=o))}},i.loadTech_=function(e,t){var i=this;this.tech_&&this.unloadTech_();var n=Ut(e),r=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==n&&this.tag&&(Pi.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;var a=this.autoplay();("string"===typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(a=!1);var s={source:t,autoplay:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};xi.names.forEach((function(e){var t=xi[e];s[t.getterName]=i[t.privateName]})),K(s,this.options_[n]),K(s,this.options_[r]),K(s,this.options_[e.toLowerCase()]),this.tag&&(s.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);var o=Pi.getTech(e);if(!o)throw new Error("No Tech named '"+n+"' exists! '"+n+"' should be registered using videojs.registerTech()'");this.tech_=new o(s),this.tech_.ready(Tt(this,this.handleTechReady_),!0),Jt(this.textTracksJson_||[],this.tech_),xr.forEach((function(e){i.on(i.tech_,e,(function(t){return i["handleTech"+Ut(e)+"_"](t)}))})),Object.keys(Pr).forEach((function(e){i.on(i.tech_,e,(function(t){0===i.tech_.playbackRate()&&i.tech_.seeking()?i.queuedCallbacks_.push({callback:i["handleTech"+Pr[e]+"_"].bind(i),event:t}):i["handleTech"+Pr[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",(function(e){return i.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return i.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return i.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return i.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return i.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return i.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return i.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return i.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return i.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,t){return i.handleTechFullscreenChange_(e,t)})),this.on(this.tech_,"fullscreenerror",(function(e,t){return i.handleTechFullscreenError_(e,t)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return i.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return i.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return i.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return i.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return i.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return i.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===n&&this.tag||we(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},i.unloadTech_=function(){var e=this;xi.names.forEach((function(t){var i=xi[t];e[i.privateName]=e[i.getterName]()})),this.textTracksJson_=$t(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},i.tech=function(e){return void 0===e&&q.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},i.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},i.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},i.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},i.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},i.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"===typeof e){var i,n=function(){var e=t.muted();t.muted(!0);var i=function(){t.muted(e)};t.playTerminatedQueue_.push(i);var n=t.play();if(Qt(n))return n.catch((function(e){throw i(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?i="muted"!==e||this.muted()?this.play():n():Qt(i=this.play())&&(i=i.catch(n)),Qt(i))return i.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},i.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,i="";"string"!==typeof t&&(t=e.src,i=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!i&&(i=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var i=e.cache_.sources.filter((function(e){return e.src===t}));if(i.length)return i[0].type;for(var n=e.$$("source"),r=0;r0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},i.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function i(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",i))}))},i.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},i.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},i.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},i.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},i.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},i.handleTechFirstPlay_=function(){this.options_.starttime&&(q.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},i.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},i.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},i.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},i.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"===typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?Xt(this.play()):this.pause()))},i.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"===typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},i.handleTechTap_=function(){this.userActive(!this.userActive())},i.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},i.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},i.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},i.handleStageClick_=function(){this.reportUserActivity()},i.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},i.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var i=this.el(),n=o()[this.fsApi_.fullscreenElement]===i;!n&&i.matches?n=i.matches(":"+this.fsApi_.fullscreen):!n&&i.msMatchesSelector&&(n=i.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(n)}},i.handleTechFullscreenChange_=function(e,t){var i=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){i.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))},i.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},i.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},i.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},i.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},i.handleTechError_=function(){var e=this.tech_.error();this.error(e)},i.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},i.getCache=function(){return this.cache_},i.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},i.techCall_=function(e,t){this.ready((function(){if(e in Ui)return function(e,t,i,n){return t[i](e.reduce(Ni(i),n))}(this.middleware_,this.tech_,e,t);if(e in Bi)return Mi(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(i){throw q(i),i}}),!0)},i.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Ri)return function(e,t,i){return e.reduceRight(Ni(i),t[i]())}(this.middleware_,this.tech_,e);if(e in Bi)return Mi(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw q("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw q("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw q(t),t}}},i.play=function(){var e=this,t=this.options_.Promise||a().Promise;return t?new t((function(t){e.play_(t)})):this.play_()},i.play_=function(e){var t=this;void 0===e&&(e=Xt),this.playCallbacks_.push(e);var i=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!i)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(i||!ge&&!me||this.load());var n=this.techGet_("play");null===n?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(n)},i.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))},i.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},i.pause=function(){this.techCall_("pause")},i.paused=function(){return!1!==this.techGet_("paused")},i.played=function(){return this.techGet_("played")||zt(0,0)},i.scrubbing=function(e){if("undefined"===typeof e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},i.currentTime=function(e){return"undefined"!==typeof e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},i.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},i.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},i.remainingTime=function(){return this.duration()-this.currentTime()},i.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},i.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=zt(0,0)),e},i.bufferedPercent=function(){return Gt(this.buffered(),this.duration())},i.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),i=e.end(e.length-1);return i>t&&(i=t),i},i.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},i.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},i.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},i.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},i.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},i.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},i.requestFullscreen=function(e){var t=this.options_.Promise||a().Promise;if(t){var i=this;return new t((function(t,n){function r(){i.off("fullscreenerror",s),i.off("fullscreenchange",a)}function a(){r(),t()}function s(e,t){r(),n(t)}i.one("fullscreenchange",a),i.one("fullscreenerror",s);var o=i.requestFullscreenHelper_(e);o&&(o.then(r,r),o.then(t,n))}))}return this.requestFullscreenHelper_()},i.requestFullscreenHelper_=function(e){var t,i=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var n=this.el_[this.fsApi_.requestFullscreen](t);return n&&n.then((function(){return i.isFullscreen(!0)}),(function(){return i.isFullscreen(!1)})),n}this.tech_.supportsFullScreen()&&!0===!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},i.exitFullscreen=function(){var e=this.options_.Promise||a().Promise;if(e){var t=this;return new e((function(e,i){function n(){t.off("fullscreenerror",a),t.off("fullscreenchange",r)}function r(){n(),e()}function a(e,t){n(),i(t)}t.one("fullscreenchange",r),t.one("fullscreenerror",a);var s=t.exitFullscreenHelper_();s&&(s.then(n,n),s.then(e,i))}))}return this.exitFullscreenHelper_()},i.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=o()[this.fsApi_.exitFullscreen]();return t&&Xt(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0===!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},i.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=o().documentElement.style.overflow,ht(o(),"keydown",this.boundFullWindowOnEscKey_),o().documentElement.style.overflow="hidden",xe(o().body,"vjs-full-window"),this.trigger("enterFullWindow")},i.fullWindowOnEscKey=function(e){d().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},i.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,pt(o(),"keydown",this.boundFullWindowOnEscKey_),o().documentElement.style.overflow=this.docOrigOverflow,Pe(o().body,"vjs-full-window"),this.trigger("exitFullWindow")},i.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},i.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},i.requestPictureInPicture=function(){if("pictureInPictureEnabled"in o()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},i.exitPictureInPicture=function(){if("pictureInPictureEnabled"in o())return o().exitPictureInPicture()},i.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"===typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},i.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},i=t.fullscreenKey,n=void 0===i?function(e){return d().isEventKey(e,"f")}:i,r=t.muteKey,a=void 0===r?function(e){return d().isEventKey(e,"m")}:r,s=t.playPauseKey,l=void 0===s?function(e){return d().isEventKey(e,"k")||d().isEventKey(e,"Space")}:s;if(n.call(this,e)){e.preventDefault(),e.stopPropagation();var u=qt.getComponent("FullscreenToggle");!1!==o()[this.fsApi_.fullscreenEnabled]&&u.prototype.handleClick.call(this,e)}else if(a.call(this,e)){e.preventDefault(),e.stopPropagation(),qt.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(l.call(this,e)){e.preventDefault(),e.stopPropagation(),qt.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},i.canPlayType=function(e){for(var t,i=0,n=this.options_.techOrder;i1?i.handleSrc_(n.slice(1)):(i.changingSrc_=!1,i.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void i.triggerReady());a=r,s=i.tech_,a.forEach((function(e){return e.setTech&&e.setTech(s)}))})),this.options_.retryOnError&&n.length>1){var r=function(){i.error(null),i.handleSrc_(n.slice(1),!0)},a=function(){i.off("error",r)};this.one("error",r),this.one("playing",a),this.resetRetryOnError_=function(){i.off("error",r),i.off("playing",a)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},i.src=function(e){return this.handleSrc_(e,!1)},i.src_=function(e){var t,i,n=this,r=this.selectSource([e]);return!r||(t=r.tech,i=this.techName_,Ut(t)!==Ut(i)?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready((function(){n.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1))},i.load=function(){this.techCall_("load")},i.reset=function(){var e=this,t=this.options_.Promise||a().Promise;this.paused()||!t?this.doReset_():Xt(this.play().then((function(){return e.doReset_()})))},i.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),Ct(this)&&this.trigger("playerreset")},i.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},i.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,i=e.remainingTimeDisplay;t&&t.updateContent(),i&&i.updateContent()},i.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},i.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},i.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},i.currentSource=function(){return this.cache_.source||{}},i.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},i.currentType=function(){return this.currentSource()&&this.currentSource().type||""},i.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},i.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"===typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"===typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t="undefined"===typeof t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},i.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},i.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},i.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},i.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},i.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},i.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},i.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(M("beforeerror").forEach((function(i){var n=i(t,e);Z(n)&&!Array.isArray(n)||"string"===typeof n||"number"===typeof n||null===n?e=n:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var i=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],i),void this.one("loadstart",(function(){this.off(["click","touchstart"],i)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Kt(e),this.addClass("vjs-error"),q.error("(CODE:"+this.error_.code+" "+Kt.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),M("error").forEach((function(e){return e(t,t.error_)}))},i.reportUserActivity=function(e){this.userActivity_=!0},i.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},i.listenForUserActivity_=function(){var e,t,i,n=Tt(this,this.reportUserActivity),r=function(t){n(),this.clearInterval(e)};this.on("mousedown",(function(){n(),this.clearInterval(e),e=this.setInterval(n,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===i||(t=e.screenX,i=e.screenY,n())})),this.on("mouseup",r),this.on("mouseleave",r);var a,s=this.getChild("controlBar");!s||me||ie||(s.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),s.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",n),this.on("keyup",n),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var e=this.options_.inactivityTimeout;e<=0||(a=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},i.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},i.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},i.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},i.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),i=this.getChild("ControlBar"),n=i&&i.currentHeight();t.forEach((function(t){t!==i&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(n),this.trigger("audioonlymodechange")},i.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(e){return e.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},i.audioOnlyMode=function(e){var t=this;if("boolean"!==typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var i=this.options_.Promise||a().Promise;if(i){if(e){var n=[];return this.isInPictureInPicture()&&n.push(this.exitPictureInPicture()),this.isFullscreen()&&n.push(this.exitFullscreen()),this.audioPosterMode()&&n.push(this.audioPosterMode(!1)),i.all(n).then((function(){return t.enableAudioOnlyUI_()}))}return i.resolve().then((function(){return t.disableAudioOnlyUI_()}))}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},i.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},i.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},i.audioPosterMode=function(e){var t=this;if("boolean"!==typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var i=this.options_.Promise||a().Promise;return i?e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){t.enablePosterModeUI_()})):i.resolve().then((function(){t.enablePosterModeUI_()})):i.resolve().then((function(){t.disablePosterModeUI_()})):e?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},i.addTextTrack=function(e,t,i){if(this.tech_)return this.tech_.addTextTrack(e,t,i)},i.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},i.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},i.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},i.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},i.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},i.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),Ct(this)&&this.trigger("languagechange"))},i.languages=function(){return Bt(t.prototype.options_.languages,this.languages_)},i.toJSON=function(){var e=Bt(this.options_),t=e.tracks;e.tracks=[];for(var i=0;i"):function(){}},Xr=1/30,Yr=.1,$r=function(e,t){var i,n=[];if(e&&e.length)for(i=0;i=t}))},ea=function(e,t){return $r(e,(function(e){return e-Xr>=t}))},ta=function(e){var t=[];if(!e||!e.length)return"";for(var i=0;i "+e.end(i));return t.join(", ")},ia=function(e){for(var t=[],i=0;ia||(i+=t>r&&t<=a?a-t:a-r)}return i},aa=Wr.createTimeRange,sa=function(e,t){if(!t.preload)return t.duration;var i=0;return(t.parts||[]).forEach((function(e){i+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(i+=e.partTargetDuration)})),i},oa=function(e){return(e.segments||[]).reduce((function(e,t,i){return t.parts?t.parts.forEach((function(n,r){e.push({duration:n.duration,segmentIndex:i,partIndex:r,part:n,segment:t})})):e.push({duration:t.duration,segmentIndex:i,partIndex:null,segment:t,part:null}),e}),[])},la=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},ua=function(e){var t=e.preloadSegment;if(t){var i=t.parts,n=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return n+=i&&i.length?i.length:0}},da=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var i=la(t).length>0;return i&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:i&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},ca=function(e,t,i){if("undefined"===typeof t&&(t=e.mediaSequence+e.segments.length),tr){var s=[r,n];n=s[0],r=s[1]}if(n<0){for(var o=n;oDate.now()},ga=function(e){return e.excludeUntil&&e.excludeUntil===1/0},_a=function(e){var t=ma(e);return!e.disabled&&!t},va=function(e,t){return t.attributes&&t.attributes[e]},ya=function(e,t){if(1===e.playlists.length)return!0;var i=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!_a(e)&&(e.attributes.BANDWIDTH||0)0)for(var h=u-1;h>=0;h--){var p=l[h];if(o+=p.duration,s){if(o<0)continue}else if(o+Xr<=0)continue;return{partIndex:p.partIndex,segmentIndex:p.segmentIndex,startTime:a-pa({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:h})}}return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:i}}if(u<0){for(var f=u;f<0;f++)if((o-=t.targetDuration)<0)return{partIndex:l[0]&&l[0].partIndex||null,segmentIndex:l[0]&&l[0].segmentIndex||0,startTime:i};u=0}for(var m=u;m0)continue}else if(o-Xr>=0)continue;return{partIndex:g.partIndex,segmentIndex:g.segmentIndex,startTime:a+pa({defaultDuration:t.targetDuration,durationList:l,startIndex:u,endIndex:m})}}return{segmentIndex:l[l.length-1].segmentIndex,partIndex:l[l.length-1].partIndex,startTime:i}},isEnabled:_a,isDisabled:function(e){return e.disabled},isBlacklisted:ma,isIncompatible:ga,playlistEnd:fa,isAes:function(e){for(var t=0;t-1&&o!==s.length-1&&(i._HLS_part=o),(o>-1||s.length)&&r--}i._HLS_msn=r}if(t.serverControl&&t.serverControl.canSkipUntil&&(i._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(i).length){var l=new(a().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){i.hasOwnProperty(e)&&l.searchParams.set(e,i[e])})),e=l.toString()}return e}(i,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:i,withCredentials:this.withCredentials},(function(t,i){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},i.playlistRequestError=function(e,t,i){var n=t.uri,r=t.id;this.request=null,i&&(this.state=i),this.error={playlist:this.master.playlists[r],status:e.status,message:"HLS playlist request error at URL: "+n+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},i.parseManifest_=function(e){var t=this,i=e.url;return function(e){var t=e.onwarn,i=e.oninfo,n=e.manifestString,r=e.customTagParsers,a=void 0===r?[]:r,s=e.customTagMappers,o=void 0===s?[]:s,l=e.experimentalLLHLS,u=new S._b;t&&u.on("warn",t),i&&u.on("info",i),a.forEach((function(e){return u.addParser(e)})),o.forEach((function(e){return u.addTagMapper(e)})),u.push(n),u.end();var d=u.manifest;if(l||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){d.hasOwnProperty(e)&&delete d[e]})),d.segments&&d.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!d.targetDuration){var c=10;d.segments&&d.segments.length&&(c=d.segments.reduce((function(e,t){return Math.max(e,t.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+c),d.targetDuration=c}var h=la(d);if(h.length&&!d.partTargetDuration){var p=h.reduce((function(e,t){return Math.max(e,t.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+p),Ca.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),d.partTargetDuration=p}return d}({onwarn:function(e){var n=e.message;return t.logger_("m3u8-parser warn for "+i+": "+n)},oninfo:function(e){var n=e.message;return t.logger_("m3u8-parser info for "+i+": "+n)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},i.haveMetadata=function(e){var t=e.playlistString,i=e.playlistObject,n=e.url,r=e.id;this.request=null,this.state="HAVE_METADATA";var a=i||this.parseManifest_({url:n,manifestString:t});a.lastRequest=Date.now(),Ia({playlist:a,uri:n,id:r});var s=Ra(this.master,a);this.targetDuration=a.partTargetDuration||a.targetDuration,this.pendingMedia_=null,s?(this.master=s,this.media_=this.master.playlists[r]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Ua(this.media(),!!s)),this.trigger("loadedplaylist")},i.dispose=function(){this.trigger("dispose"),this.stopRequest(),a().clearTimeout(this.mediaUpdateTimeout),a().clearTimeout(this.finalRenditionTimeout),this.off()},i.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},i.media=function(e,t){var i=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"===typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(a().clearTimeout(this.finalRenditionTimeout),t){var n=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=a().setTimeout(this.media.bind(this,e,!1),n)}else{var r=this.state,s=!this.media_||e.id!==this.media_.id,o=this.master.playlists[e.id];if(o&&o.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(s&&(this.trigger("mediachanging"),"HAVE_MASTER"===r?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(Ua(e,!0)),s){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,n){if(i.request){if(e.lastRequest=Date.now(),e.resolvedUri=Zr(i.handleManifestRedirects,e.resolvedUri,n),t)return i.playlistRequestError(i.request,e,r);i.haveMetadata({playlistString:n.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===r?i.trigger("loadedmetadata"):i.trigger("mediachange")}}))}}},i.pause=function(){this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},i.load=function(e){var t=this;this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var i=this.media();if(e){var n=i?(i.partTargetDuration||i.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=a().setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),n)}else this.started?i&&!i.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},i.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=a().setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},i.start=function(){var e=this;if(this.started=!0,"object"===typeof this.src)return this.src.uri||(this.src.uri=a().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,i){if(e.request){if(e.request=null,t)return e.error={status:i.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:i.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=Zr(e.handleManifestRedirects,e.src,i);var n=e.parseManifest_({manifestString:i.responseText,url:e.src});e.setupInitialPlaylist(n)}}))},i.srcUri=function(){return"string"===typeof this.src?this.src:this.src.uri},i.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,xa(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=Da(e),e.segments.forEach((function(t){Oa(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||a().location.href;this.master=function(e,t){var i=Ea(0,t),n={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:a().location.href,resolvedUri:a().location.href,playlists:[{uri:t,id:i,resolvedUri:t,attributes:{}}]};return n.playlists[i]=n.playlists[0],n.playlists[t]=n.playlists[0],n}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(Aa),Na=Wr.xhr,Fa=Wr.mergeOptions,ja=function(e,t,i,n){var r="arraybuffer"===e.responseType?e.response:e.responseText;!t&&r&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=r.byteLength||r.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),i.headers&&(e.responseHeaders=i.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===i.statusCode||206===i.statusCode||0===i.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(r||e.responseText)))),n(t,e)},Ha=function(){var e=function e(t,i){t=Fa({timeout:45e3},t);var n=e.beforeRequest||Wr.Vhs.xhr.beforeRequest;if(n&&"function"===typeof n){var r=n(t);r&&(t=r)}var a=(!0===Wr.Vhs.xhr.original?Na:Wr.Vhs.xhr)(t,(function(e,t){return ja(a,e,t,i)})),s=a.abort;return a.abort=function(){return a.aborted=!0,s.apply(a,arguments)},a.uri=t.uri,a.requestTime=Date.now(),a};return e.original=!0,e},qa=function(e){var t,i={};return e.byterange&&(i.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"===typeof t.offset||"bigint"===typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1)),i},Va=function(e,t){return e.start(t)+"-"+e.end(t)},Wa=function(e,t){var i=e.toString(16);return"00".substring(0,2-i.length)+i+(t%2?" ":"")},za=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Ga=function(e){var t={};return Object.keys(e).forEach((function(i){var n=e[i];(0,E.Au)(n)?t[i]={bytes:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength}:t[i]=n})),t},Ka=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Za=function(e){return e.resolvedUri},Qa=function(e){for(var t=Array.prototype.slice.call(e),i=16,n="",r=0;rn){if(e>n+.25*a.duration)return null;i=a}return{segment:i,estimatedStart:i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationStart:n-i.duration,type:i.videoTimingInfo?"accurate":"estimate"}}(n,t);if(!a)return r({message:"valid programTime was not found"});if("estimate"===a.type)return r({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:a.estimatedStart});var s={mediaSeconds:n},o=function(e,t){if(!t.dateTimeObject)return null;var i=t.videoTimingInfo.transmuxerPrependedSeconds,n=e-(t.videoTimingInfo.transmuxedPresentationStart+i);return new Date(t.dateTimeObject.getTime()+1e3*n)}(n,a.segment);return o&&(s.programDateTime=o.toISOString()),r(null,s)},$a=function e(t){var i=t.programTime,n=t.playlist,r=t.retryCount,a=void 0===r?2:r,s=t.seekTo,o=t.pauseAfterSeek,l=void 0===o||o,u=t.tech,d=t.callback;if(!d)throw new Error("seekToProgramTime: callback must be provided");if("undefined"===typeof i||!n||!s)return d({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!n.endList&&!u.hasStarted_)return d({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;tnew Date(o.getTime()+1e3*l)?null:(i>o&&(n=s),{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:ka.duration(t,t.mediaSequence+t.segments.indexOf(n)),type:n.videoTimingInfo?"accurate":"estimate"})}(i,n);if(!c)return d({message:i+" was not found in the stream"});var h=c.segment,p=function(e,t){var i,n;try{i=new Date(e),n=new Date(t)}catch(a){}var r=i.getTime();return(n.getTime()-r)/1e3}(h.dateTimeObject,i);if("estimate"===c.type)return 0===a?d({message:i+" is not buffered yet. Try again"}):(s(c.estimatedStart+p),void u.one("seeked",(function(){e({programTime:i,playlist:n,retryCount:a-1,seekTo:s,pauseAfterSeek:l,tech:u,callback:d})})));var f=h.start+p;u.one("seeked",(function(){return d(null,u.currentTime())})),l&&u.pause(),s(f)},Ja=function(e,t){if(4===e.readyState)return t()},es=Wr.EventTarget,ts=Wr.mergeOptions,is=function(e,t){if(!Ma(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var i=0;i=d+u)return o(t,{response:a.subarray(u,u+d),status:i.status,uri:i.uri});n.request=n.vhs_.xhr({uri:s,responseType:"arraybuffer",headers:qa({byterange:e.sidx.byterange})},o)}))}else this.mediaRequest_=a().setTimeout((function(){return i(!1)}),0)},i.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},a().clearTimeout(this.minimumUpdatePeriodTimeout_),a().clearTimeout(this.mediaRequest_),a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},i.hasPendingRequest=function(){return this.request||this.mediaRequest_},i.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},i.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var i=this.state;if("string"===typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var n=!this.media_||e.id!==this.media_.id;if(n&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(n&&(this.trigger("mediachanging"),this.trigger("mediachange")));n&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,i,(function(n){t.haveMetadata({startingState:i,playlist:e})})))},i.haveMetadata=function(e){var t=e.startingState,i=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[i.id]=i,this.mediaRequest_=null,this.refreshMedia_(i.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},i.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(a().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},i.load=function(e){var t=this;a().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var i=this.media();if(e){var n=i?i.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=a().setTimeout((function(){return t.load()}),n)}else this.started?i&&!i.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},i.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,i){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=a().setTimeout((function(){return e.haveMaster_()}),0)},i.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(i,n){if(!t.requestErrored_(i,n)){var r=n.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?t.masterLoaded_=Date.parse(n.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=Zr(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,n),r?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(n,r)}))):e(n,r)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},i.syncClientServerClock_=function(e){var t=this,i=(0,w.LG)(this.masterPlaylistLoader_.masterXml_);return null===i?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===i.method?(this.masterPlaylistLoader_.clientOffset_=i.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Kr(this.masterPlaylistLoader_.srcUrl,i.value),method:i.method,withCredentials:this.withCredentials},(function(n,r){if(t.request){if(n)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var a;a="HEAD"===i.method?r.responseHeaders&&r.responseHeaders.date?Date.parse(r.responseHeaders.date):t.masterLoaded_:Date.parse(r.responseText),t.masterPlaylistLoader_.clientOffset_=a-Date.now(),e()}})))},i.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},i.handleMaster_=function(){this.mediaRequest_=null;var e=this.masterPlaylistLoader_.master,t=function(e){var t=e.masterXml,i=e.srcUrl,n=e.clientOffset,r=e.sidxMapping,a=e.previousManifest,s=(0,w.Qc)(t,{manifestUri:i,clientOffset:n,sidxMapping:r,previousManifest:a});return xa(s,i),s}({masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:e});e&&(t=function(e,t,i){for(var n=!0,r=ts(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),a=0;a-1)},this.trigger=function(t){var i,n,r,a;if(i=e[t])if(2===arguments.length)for(r=i.length,n=0;n>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},a=function(){return t(C.ftyp,E,w,E,I)},_=function(e){return t(C.hdlr,A[e])},s=function(e){return t(C.mdat,e)},g=function(e){var i=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(i[12]=e.samplerate>>>24&255,i[13]=e.samplerate>>>16&255,i[14]=e.samplerate>>>8&255,i[15]=255&e.samplerate),t(C.mdhd,i)},m=function(e){return t(C.mdia,g(e),_(e.type),l(e))},o=function(e){return t(C.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},l=function(e){return t(C.minf,"video"===e.type?t(C.vmhd,L):t(C.smhd,O),n(),y(e))},u=function(e,i){for(var n=[],r=i.length;r--;)n[r]=b(i[r]);return t.apply(null,[C.moof,o(e)].concat(n))},d=function(e){for(var i=e.length,n=[];i--;)n[i]=p(e[i]);return t.apply(null,[C.moov,h(4294967295)].concat(n).concat(c(e)))},c=function(e){for(var i=e.length,n=[];i--;)n[i]=S(e[i]);return t.apply(null,[C.mvex].concat(n))},h=function(e){var i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t(C.mvhd,i)},v=function(e){var i,n,r=e.samples||[],a=new Uint8Array(4+r.length);for(n=0;n>>8),s.push(255&r[i].byteLength),s=s.concat(Array.prototype.slice.call(r[i]));for(i=0;i>>8),o.push(255&a[i].byteLength),o=o.concat(Array.prototype.slice.call(a[i]));if(n=[C.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),t(C.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([r.length],s,[a.length],o))),t(C.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var l=e.sarRatio[0],u=e.sarRatio[1];n.push(t(C.pasp,new Uint8Array([(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l,(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u])))}return t.apply(null,n)},i=function(e){return t(C.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),r(e))}}(),f=function(e){var i=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(C.tkhd,i)},b=function(e){var i,n,r,a,s,o;return i=t(C.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),s=Math.floor(e.baseMediaDecodeTime/H),o=Math.floor(e.baseMediaDecodeTime%H),n=t(C.tfdt,new Uint8Array([1,0,0,0,s>>>24&255,s>>>16&255,s>>>8&255,255&s,o>>>24&255,o>>>16&255,o>>>8&255,255&o])),92,"audio"===e.type?(r=k(e,92),t(C.traf,i,n,r)):(a=v(e),r=k(e,a.length+92),t(C.traf,i,n,r,a))},p=function(e){return e.duration=e.duration||4294967295,t(C.trak,f(e),m(e))},S=function(e){var i=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(i[i.length-1]=0),t(C.trex,i)},function(){var e,i,n;n=function(e,t){var i=0,n=0,r=0,a=0;return e.length&&(void 0!==e[0].duration&&(i=1),void 0!==e[0].size&&(n=2),void 0!==e[0].flags&&(r=4),void 0!==e[0].compositionTimeOffset&&(a=8)),[0,0,i|n|r|a,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},i=function(e,i){var r,a,s,o,l,u;for(i+=20+16*(o=e.samples||[]).length,s=n(o,i),(a=new Uint8Array(s.length+16*o.length)).set(s),r=s.length,u=0;u>>24,a[r++]=(16711680&l.duration)>>>16,a[r++]=(65280&l.duration)>>>8,a[r++]=255&l.duration,a[r++]=(4278190080&l.size)>>>24,a[r++]=(16711680&l.size)>>>16,a[r++]=(65280&l.size)>>>8,a[r++]=255&l.size,a[r++]=l.flags.isLeading<<2|l.flags.dependsOn,a[r++]=l.flags.isDependedOn<<6|l.flags.hasRedundancy<<4|l.flags.paddingValue<<1|l.flags.isNonSyncSample,a[r++]=61440&l.flags.degradationPriority,a[r++]=15&l.flags.degradationPriority,a[r++]=(4278190080&l.compositionTimeOffset)>>>24,a[r++]=(16711680&l.compositionTimeOffset)>>>16,a[r++]=(65280&l.compositionTimeOffset)>>>8,a[r++]=255&l.compositionTimeOffset;return t(C.trun,a)},e=function(e,i){var r,a,s,o,l,u;for(i+=20+8*(o=e.samples||[]).length,s=n(o,i),(r=new Uint8Array(s.length+8*o.length)).set(s),a=s.length,u=0;u>>24,r[a++]=(16711680&l.duration)>>>16,r[a++]=(65280&l.duration)>>>8,r[a++]=255&l.duration,r[a++]=(4278190080&l.size)>>>24,r[a++]=(16711680&l.size)>>>16,r[a++]=(65280&l.size)>>>8,r[a++]=255&l.size;return t(C.trun,r)},k=function(t,n){return"audio"===t.type?e(t,n):i(t,n)}}();var q,V,W,z,G,K,Z,Q,X=s,Y=u,$=function(e){var t,i=a(),n=d(e);return(t=new Uint8Array(i.byteLength+n.byteLength)).set(i),t.set(n,i.byteLength),t},J=function(e,t){var i={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return i.dataOffset=t,i.compositionTimeOffset=e.pts-e.dts,i.duration=e.duration,i.size=4*e.length,i.size+=e.byteLength,e.keyFrame&&(i.flags.dependsOn=2,i.flags.isNonSyncSample=0),i},ee=function(e){var t,i,n=[],r=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,n.byteLength=0,t=0;t1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},ne=function(e,t){var i,n,r,a,s,o=t||0,l=[];for(i=0;ide/2))){for((s=le()[e.samplerate])||(s=t[0].data),o=0;o=i?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=i&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},ve=function(e){var t,i,n=[];for(t=0;t=this.virtualRowCount&&"function"===typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Oe.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},Oe.prototype.addText=function(e){this.rows[this.rowIdx]+=e},Oe.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var De=function(e,t,i){this.serviceNum=e,this.text="",this.currentWindow=new Oe(-1),this.windows=[],this.stream=i,"string"===typeof t&&this.createTextDecoder(t)};De.prototype.init=function(e,t){this.startPts=e;for(var i=0;i<8;i++)this.windows[i]=new Oe(i),"function"===typeof t&&(this.windows[i].beforeRowOverflow=t)},De.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},De.prototype.createTextDecoder=function(e){if("undefined"===typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var Me=function e(t){t=t||{},e.prototype.init.call(this);var i,n=this,r=t.captionServices||{},a={};Object.keys(r).forEach((function(e){i=r[e],/^SERVICE/.test(e)&&(a[e]=i.encoding)})),this.serviceEncodings=a,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(n.new708Packet(),n.add708Bytes(e)):(null===n.current708Packet&&n.new708Packet(),n.add708Bytes(e))}};Me.prototype=new N,Me.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Me.prototype.add708Bytes=function(e){var t=e.ccData,i=t>>>8,n=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(i),this.current708Packet.data.push(n)},Me.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,i=null,n=null,r=0,a=t[r++];for(e.seq=a>>6,e.sizeCode=63&a;r>5)&&n>0&&(i=a=t[r++]),this.pushServiceBlock(i,r,n),n>0&&(r+=n-1)},Me.prototype.pushServiceBlock=function(e,t,i){var n,r=t,a=this.current708Packet.data,s=this.services[e];for(s||(s=this.initService(e,r));r>5,a.rowLock=(16&n)>>4,a.columnLock=(8&n)>>3,a.priority=7&n,n=i[++e],a.relativePositioning=(128&n)>>7,a.anchorVertical=127&n,n=i[++e],a.anchorHorizontal=n,n=i[++e],a.anchorPoint=(240&n)>>4,a.rowCount=15&n,n=i[++e],a.columnCount=63&n,n=i[++e],a.windowStyle=(56&n)>>3,a.penStyle=7&n,a.virtualRowCount=a.rowCount+1,e},Me.prototype.setWindowAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.winAttr;return n=i[++e],r.fillOpacity=(192&n)>>6,r.fillRed=(48&n)>>4,r.fillGreen=(12&n)>>2,r.fillBlue=3&n,n=i[++e],r.borderType=(192&n)>>6,r.borderRed=(48&n)>>4,r.borderGreen=(12&n)>>2,r.borderBlue=3&n,n=i[++e],r.borderType+=(128&n)>>5,r.wordWrap=(64&n)>>6,r.printDirection=(48&n)>>4,r.scrollDirection=(12&n)>>2,r.justify=3&n,n=i[++e],r.effectSpeed=(240&n)>>4,r.effectDirection=(12&n)>>2,r.displayEffect=3&n,e},Me.prototype.flushDisplayed=function(e,t){for(var i=[],n=0;n<8;n++)t.windows[n].visible&&!t.windows[n].isEmpty()&&i.push(t.windows[n].getText());t.endPts=e,t.text=i.join("\n\n"),this.pushCaption(t),t.startPts=e},Me.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},Me.prototype.displayWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<>4,r.offset=(12&n)>>2,r.penSize=3&n,n=i[++e],r.italics=(128&n)>>7,r.underline=(64&n)>>6,r.edgeType=(56&n)>>3,r.fontStyle=7&n,e},Me.prototype.setPenColor=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penColor;return n=i[++e],r.fgOpacity=(192&n)>>6,r.fgRed=(48&n)>>4,r.fgGreen=(12&n)>>2,r.fgBlue=3&n,n=i[++e],r.bgOpacity=(192&n)>>6,r.bgRed=(48&n)>>4,r.bgGreen=(12&n)>>2,r.bgBlue=3&n,n=i[++e],r.edgeRed=(48&n)>>4,r.edgeGreen=(12&n)>>2,r.edgeBlue=3&n,e},Me.prototype.setPenLocation=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,n=i[++e],r.row=15&n,n=i[++e],r.column=63&n,e},Me.prototype.reset=function(e,t){var i=this.getPts(e);return this.flushDisplayed(i,t),this.initService(t.serviceNum,e)};var Re={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Ue=function(e){return null===e?"":(e=Re[e]||e,String.fromCharCode(e))},Be=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Ne=function(){for(var e=[],t=15;t--;)e.push("");return e},Fe=function e(t,i){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=i||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,i,n,r,a;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096===(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),n=t>>>8,r=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),i=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=i,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=Ne();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Ne();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Ne()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(n,r))a=Ue((n=(3&n)<<8)|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isExtCharacter(n,r))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),a=Ue((n=(3&n)<<8)|r),this[this.mode_](e.pts,a),this.column_++;else if(this.isMidRowCode(n,r))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14===(14&r)&&this.addFormatting(e.pts,["i"]),1===(1&r)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(n,r))this.column_+=3&r;else if(this.isPAC(n,r)){var s=Be.indexOf(7968&t);"rollUp"===this.mode_&&(s-this.rollUpRows_+1<0&&(s=this.rollUpRows_-1),this.setRollUp(e.pts,s)),s!==this.row_&&(this.clearFormatting(e.pts),this.row_=s),1&r&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16===(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(r)&&14===(14&r)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(n)&&(0===r&&(r=null),a=Ue(n),a+=Ue(r),this[this.mode_](e.pts,a),this.column_+=a.length)}else this.lastControlCode_=null}};Fe.prototype=new N,Fe.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(i){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Fe.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Ne(),this.nonDisplayed_=Ne(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Fe.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Fe.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Fe.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Fe.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Fe.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Fe.prototype.isPAC=function(e,t){return e>=this.BASE_&&e=64&&t<=127},Fe.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Fe.prototype.isNormalChar=function(e){return e>=32&&e<=127},Fe.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Ne(),this.displayed_=Ne()),void 0!==t&&t!==this.row_)for(var i=0;i"}),"");this[this.mode_](e,i)},Fe.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+""}),"");this.formatting_=[],this[this.mode_](e,t)}},Fe.prototype.popOn=function(e,t){var i=this.nonDisplayed_[this.row_];i+=t,this.nonDisplayed_[this.row_]=i},Fe.prototype.rollUp=function(e,t){var i=this.displayed_[this.row_];i+=t,this.displayed_[this.row_]=i},Fe.prototype.shiftRowsUp_=function(){var e;for(e=0;et&&(i=-1);Math.abs(t-e)>4294967296;)e+=8589934592*i;return e},We=function e(t){var i,n;e.prototype.init.call(this),this.type_=t||qe,this.push=function(e){this.type_!==qe&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=Ve(e.dts,n),e.pts=Ve(e.pts,n),i=e.dts,this.trigger("data",e))},this.flush=function(){n=i,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,i=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};We.prototype=new N;var ze,Ge=We,Ke=Ve,Ze=function(e,t,i){var n,r="";for(n=t;n>>2;d*=4,d+=3&u[7],o.timeStamp=d,void 0===t.pts&&void 0===t.dts&&(t.pts=o.timeStamp,t.dts=o.timeStamp),this.trigger("timestamp",o)}t.frames.push(o),i+=10,i+=s}while(i>>4>1&&(n+=t[n]+1),0===i.pid)i.type="pat",e(t.subarray(n),i),this.trigger("data",i);else if(i.pid===this.pmtPid)for(i.type="pmt",e(t.subarray(n),i),this.trigger("data",i);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,n,i]):this.processPes_(t,n,i)},this.processPes_=function(e,t,i){i.pid===this.programMapTable.video?i.streamType=He.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=He.ADTS_STREAM_TYPE:i.streamType=this.programMapTable["timed-metadata"][i.pid],i.type="pes",i.data=e.subarray(t),this.trigger("data",i)}},Je.prototype=new N,Je.STREAM_TYPES={h264:27,adts:15},et=function(){var e,t=this,i=!1,n={data:[],size:0},r={data:[],size:0},a={data:[],size:0},s=function(e,i,n){var r,a,s=new Uint8Array(e.size),o={type:i},l=0,u=0;if(e.data.length&&!(e.size<9)){for(o.trackId=e.data[0].pid,l=0;l>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&i&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8]))}(s,o),r="video"===i||o.packetLength<=e.size,(n||r)&&(e.size=0,e.data.length=0),r&&t.trigger("data",o)}};et.prototype.init.call(this),this.push=function(o){({pat:function(){},pes:function(){var e,t;switch(o.streamType){case He.H264_STREAM_TYPE:e=n,t="video";break;case He.ADTS_STREAM_TYPE:e=r,t="audio";break;case He.METADATA_STREAM_TYPE:e=a,t="timed-metadata";break;default:return}o.payloadUnitStartIndicator&&s(e,t,!0),e.data.push(o),e.size+=o.data.byteLength},pmt:function(){var n={type:"metadata",tracks:[]};null!==(e=o.programMapTable).video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),i=!0,t.trigger("data",n)}})[o.type]()},this.reset=function(){n.size=0,n.data.length=0,r.size=0,r.data.length=0,this.trigger("reset")},this.flushStreams_=function(){s(n,"video"),s(r,"audio"),s(a,"timed-metadata")},this.flush=function(){if(!i&&e){var n={type:"metadata",tracks:[]};null!==e.video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",n)}i=!1,this.flushStreams_(),this.trigger("done")}},et.prototype=new N;var rt={PAT_PID:0,MP2T_PACKET_LENGTH:nt,TransportPacketStream:$e,TransportParseStream:Je,ElementaryStream:et,TimestampRolloverStream:it,CaptionStream:je.CaptionStream,Cea608Stream:je.Cea608Stream,Cea708Stream:je.Cea708Stream,MetadataStream:tt};for(var at in He)He.hasOwnProperty(at)&&(rt[at]=He[at]);var st,ot=rt,lt=de,ut=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];st=function(e){var t,i=0;st.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+i+" outside syncword"})},this.push=function(n){var r,a,s,o,l,u=0;if(e||(i=0),"audio"===n.type){var d;for(t&&t.length?(s=t,(t=new Uint8Array(s.byteLength+n.data.byteLength)).set(s),t.set(n.data,s.byteLength)):t=n.data;u+7>5,l=(o=1024*(1+(3&t[u+6])))*lt/ut[(60&t[u+2])>>>2],t.byteLength-u>>6&3),channelcount:(1&t[u+2])<<2|(192&t[u+3])>>>6,samplerate:ut[(60&t[u+2])>>>2],samplingfrequencyindex:(60&t[u+2])>>>2,samplesize:16,data:t.subarray(u+7+a,u+r)}),i++,u+=r}else"number"!==typeof d&&(d=u),u++;"number"===typeof d&&(this.skipWarn_(d,u),d=null),t=t.subarray(u)}},this.flush=function(){i=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}},st.prototype=new N;var dt,ct,ht,pt=st,ft=function(e){var t=e.byteLength,i=0,n=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+n},this.loadWord=function(){var r=e.byteLength-t,a=new Uint8Array(4),s=Math.min(4,t);if(0===s)throw new Error("no bytes available");a.set(e.subarray(r,r+s)),i=new DataView(a.buffer).getUint32(0),n=8*s,t-=s},this.skipBits=function(e){var r;n>e?(i<<=e,n-=e):(e-=n,e-=8*(r=Math.floor(e/8)),t-=r,this.loadWord(),i<<=e,n-=e)},this.readBits=function(e){var r=Math.min(n,e),a=i>>>32-r;return(n-=r)>0?i<<=r:t>0&&this.loadWord(),(r=e-r)>0?a<>>e))return i<<=e,n-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};ct=function(){var e,t,i=0;ct.prototype.init.call(this),this.push=function(n){var r;t?((r=new Uint8Array(t.byteLength+n.data.byteLength)).set(t),r.set(n.data,t.byteLength),t=r):t=n.data;for(var a=t.byteLength;i3&&this.trigger("data",t.subarray(i+3)),t=null,i=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},ct.prototype=new N,ht={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},dt=function(){var e,t,i,n,r,a,s,o=new ct;dt.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,i=e.pts,n=e.dts,o.push(e))},o.on("data",(function(s){var o={trackId:t,pts:i,dts:n,data:s,nalUnitTypeCode:31&s[0]};switch(o.nalUnitTypeCode){case 5:o.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:o.nalUnitType="sei_rbsp",o.escapedRBSP=r(s.subarray(1));break;case 7:o.nalUnitType="seq_parameter_set_rbsp",o.escapedRBSP=r(s.subarray(1)),o.config=a(o.escapedRBSP);break;case 8:o.nalUnitType="pic_parameter_set_rbsp";break;case 9:o.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",o)})),o.on("done",(function(){e.trigger("done")})),o.on("partialdone",(function(){e.trigger("partialdone")})),o.on("reset",(function(){e.trigger("reset")})),o.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){o.flush()},this.partialFlush=function(){o.partialFlush()},this.reset=function(){o.reset()},this.endTimeline=function(){o.endTimeline()},s=function(e,t){var i,n=8,r=8;for(i=0;i=0?i:0,(16&e[t+5])>>4?i+20:i+10},yt=function e(t,i){return t.length-i<10||t[i]!=="I".charCodeAt(0)||t[i+1]!=="D".charCodeAt(0)||t[i+2]!=="3".charCodeAt(0)?i:e(t,i+=vt(t,i))},Tt=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},bt={isLikelyAacData:function(e){var t=yt(e,0);return e.length>=t+2&&255===(255&e[t])&&240===(240&e[t+1])&&16===(22&e[t+1])},parseId3TagSize:vt,parseAdtsSize:function(e,t){var i=(224&e[t+5])>>5,n=e[t+4]<<3;return 6144&e[t+3]|n|i},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240===(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5>>2];t++}return null},parseAacTimestamp:function(e){var t,i,n;t=10,64&e[5]&&(t+=4,t+=Tt(e.subarray(10,14)));do{if((i=Tt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){n=e.subarray(t+10,t+i+10);for(var r=0;r>>2;return o*=4,o+=3&s[7]}break}}t+=10,t+=i}while(t=3;)if(e[l]!=="I".charCodeAt(0)||e[l+1]!=="D".charCodeAt(0)||e[l+2]!=="3".charCodeAt(0))if(255!==(255&e[l])||240!==(240&e[l+1]))l++;else{if(e.length-l<7)break;if(l+(o=bt.parseAdtsSize(e,l))>e.length)break;a={type:"audio",data:e.subarray(l,l+o),pts:t,dts:t},this.trigger("data",a),l+=o}else{if(e.length-l<10)break;if(l+(o=bt.parseId3TagSize(e,l))>e.length)break;r={type:"timed-metadata",data:e.subarray(l,l+o)},this.trigger("data",r),l+=o}n=e.length-l,e=n>0?e.subarray(l):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new N;var St,kt,Ct,Et,wt=mt,It=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],xt=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Pt=gt.H264Stream,At=bt.isLikelyAacData,Lt=de,Ot=function(e,t){t.stream=e,this.trigger("log",t)},Dt=function(e,t){for(var i=Object.keys(t),n=0;n=-1e4&&i<=45e3&&(!n||o>i)&&(n=a,o=i));return n?n.gop:null},this.alignGopsAtStart_=function(e){var t,i,n,r,a,o,l,u;for(a=e.byteLength,o=e.nalCount,l=e.duration,t=i=0;tn.pts?t++:(i++,a-=r.byteLength,o-=r.nalCount,l-=r.duration);return 0===i?e:i===e.length?null:((u=e.slice(i)).byteLength=a,u.duration=l,u.nalCount=o,u.pts=u[0].pts,u.dts=u[0].dts,u)},this.alignGopsAtEnd_=function(e){var t,i,n,r,a,o,l;for(t=s.length-1,i=e.length-1,a=null,o=!1;t>=0&&i>=0;){if(n=s[t],r=e[i],n.pts===r.pts){o=!0;break}n.pts>r.pts?t--:(t===s.length-1&&(a=i),i--)}if(!o&&null===a)return null;if(0===(l=o?i:a))return e;var u=e.slice(l),d=u.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return u.byteLength=d.byteLength,u.duration=d.duration,u.nalCount=d.nalCount,u.pts=u[0].pts,u.dts=u[0].dts,u},this.alignGopsWith=function(e){s=e}},St.prototype=new N,Et=function(e,t){this.numberOfTracks=0,this.metadataStream=t,"undefined"!==typeof(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"===typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Et.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},Et.prototype=new N,Et.prototype.flush=function(e){var t,i,n,r,a=0,s={captions:[],captionStreams:{},metadata:[],info:{}},o=0;if(this.pendingTracks.length=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(o=this.videoTrack.timelineStartInfo.pts,xt.forEach((function(e){s.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(o=this.audioTrack.timelineStartInfo.pts,It.forEach((function(e){s.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?s.type=this.pendingTracks[0].type:s.type="combined",this.emittedTracks+=this.pendingTracks.length,n=$(this.pendingTracks),s.initSegment=new Uint8Array(n.byteLength),s.initSegment.set(n),s.data=new Uint8Array(this.pendingBytes),r=0;r=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Et.prototype.setRemux=function(e){this.remuxTracks=e},Ct=function(e){var t,i,n=this,r=!0;Ct.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var r={};this.transmuxPipeline_=r,r.type="aac",r.metadataStream=new ot.MetadataStream,r.aacStream=new wt,r.audioTimestampRolloverStream=new ot.TimestampRolloverStream("audio"),r.timedMetadataTimestampRolloverStream=new ot.TimestampRolloverStream("timed-metadata"),r.adtsStream=new pt,r.coalesceStream=new Et(e,r.metadataStream),r.headOfPipeline=r.aacStream,r.aacStream.pipe(r.audioTimestampRolloverStream).pipe(r.adtsStream),r.aacStream.pipe(r.timedMetadataTimestampRolloverStream).pipe(r.metadataStream).pipe(r.coalesceStream),r.metadataStream.on("timestamp",(function(e){r.aacStream.setTimestamp(e.timeStamp)})),r.aacStream.on("data",(function(a){"timed-metadata"!==a.type&&"audio"!==a.type||r.audioSegmentStream||(i=i||{timelineStartInfo:{baseMediaDecodeTime:n.baseMediaDecodeTime},codec:"adts",type:"audio"},r.coalesceStream.numberOfTracks++,r.audioSegmentStream=new kt(i,e),r.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),r.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),r.adtsStream.pipe(r.audioSegmentStream).pipe(r.coalesceStream),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t}))})),r.coalesceStream.on("data",this.trigger.bind(this,"data")),r.coalesceStream.on("done",this.trigger.bind(this,"done")),Dt(this,r)},this.setupTsPipeline=function(){var r={};this.transmuxPipeline_=r,r.type="ts",r.metadataStream=new ot.MetadataStream,r.packetStream=new ot.TransportPacketStream,r.parseStream=new ot.TransportParseStream,r.elementaryStream=new ot.ElementaryStream,r.timestampRolloverStream=new ot.TimestampRolloverStream,r.adtsStream=new pt,r.h264Stream=new Pt,r.captionStream=new ot.CaptionStream(e),r.coalesceStream=new Et(e,r.metadataStream),r.headOfPipeline=r.packetStream,r.packetStream.pipe(r.parseStream).pipe(r.elementaryStream).pipe(r.timestampRolloverStream),r.timestampRolloverStream.pipe(r.h264Stream),r.timestampRolloverStream.pipe(r.adtsStream),r.timestampRolloverStream.pipe(r.metadataStream).pipe(r.coalesceStream),r.h264Stream.pipe(r.captionStream).pipe(r.coalesceStream),r.elementaryStream.on("data",(function(a){var s;if("metadata"===a.type){for(s=a.tracks.length;s--;)t||"video"!==a.tracks[s].type?i||"audio"!==a.tracks[s].type||((i=a.tracks[s]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime):(t=a.tracks[s]).timelineStartInfo.baseMediaDecodeTime=n.baseMediaDecodeTime;t&&!r.videoSegmentStream&&(r.coalesceStream.numberOfTracks++,r.videoSegmentStream=new St(t,e),r.videoSegmentStream.on("log",n.getLogTrigger_("videoSegmentStream")),r.videoSegmentStream.on("timelineStartInfo",(function(t){i&&!e.keepOriginalTimestamps&&(i.timelineStartInfo=t,r.audioSegmentStream.setEarliestDts(t.dts-n.baseMediaDecodeTime))})),r.videoSegmentStream.on("processedGopsInfo",n.trigger.bind(n,"gopInfo")),r.videoSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"videoSegmentTimingInfo")),r.videoSegmentStream.on("baseMediaDecodeTime",(function(e){i&&r.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),r.videoSegmentStream.on("timingInfo",n.trigger.bind(n,"videoTimingInfo")),r.h264Stream.pipe(r.videoSegmentStream).pipe(r.coalesceStream)),i&&!r.audioSegmentStream&&(r.coalesceStream.numberOfTracks++,r.audioSegmentStream=new kt(i,e),r.audioSegmentStream.on("log",n.getLogTrigger_("audioSegmentStream")),r.audioSegmentStream.on("timingInfo",n.trigger.bind(n,"audioTimingInfo")),r.audioSegmentStream.on("segmentTimingInfo",n.trigger.bind(n,"audioSegmentTimingInfo")),r.adtsStream.pipe(r.audioSegmentStream).pipe(r.coalesceStream)),n.trigger("trackinfo",{hasAudio:!!i,hasVideo:!!t})}})),r.coalesceStream.on("data",this.trigger.bind(this,"data")),r.coalesceStream.on("id3Frame",(function(e){e.dispatchType=r.metadataStream.dispatchType,n.trigger("id3Frame",e)})),r.coalesceStream.on("caption",this.trigger.bind(this,"caption")),r.coalesceStream.on("done",this.trigger.bind(this,"done")),Dt(this,r)},this.setBaseMediaDecodeTime=function(n){var r=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=n),i&&(i.timelineStartInfo.dts=void 0,i.timelineStartInfo.pts=void 0,be(i),r.audioTimestampRolloverStream&&r.audioTimestampRolloverStream.discontinuity()),t&&(r.videoSegmentStream&&(r.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,be(t),r.captionStream.reset()),r.timestampRolloverStream&&r.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){i&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var i=this.transmuxPipeline_;e.remux=t,i&&i.coalesceStream&&i.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(i){i.stream=e,t.trigger("log",i)}},this.push=function(e){if(r){var t=At(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),r=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){r=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},Ct.prototype=new N;var Ut,Bt,Nt,Ft={Transmuxer:Ct,VideoSegmentStream:St,AudioSegmentStream:kt,AUDIO_PROPERTIES:It,VIDEO_PROPERTIES:xt,generateSegmentTimingInfo:Rt},jt=function(e){return e>>>0},Ht=function(e){return("00"+e.toString(16)).slice(-2)},qt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},Vt=jt,Wt=function e(t,i){var n,r,a,s,o,l=[];if(!i.length)return null;for(n=0;n1?n+r:t.byteLength,a===i[0]&&(1===i.length?l.push(t.subarray(n+8,s)):(o=e(t.subarray(n+8,s),i.slice(1))).length&&(l=l.concat(o))),n=s;return l},zt=jt,Gt=j.getUint64,Kt=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=Gt(e.subarray(4)):t.baseMediaDecodeTime=zt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},Zt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},Qt=function(e){var t,i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=1&i.flags[2],a=4&i.flags[2],s=1&i.flags[1],o=2&i.flags[1],l=4&i.flags[1],u=8&i.flags[1],d=n.getUint32(4),c=8;for(r&&(i.dataOffset=n.getInt32(c),c+=4),a&&d&&(t={flags:Zt(e.subarray(c,c+4))},c+=4,s&&(t.duration=n.getUint32(c),c+=4),o&&(t.size=n.getUint32(c),c+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(c):t.compositionTimeOffset=n.getUint32(c),c+=4),i.samples.push(t),d--);d--;)t={},s&&(t.duration=n.getUint32(c),c+=4),o&&(t.size=n.getUint32(c),c+=4),l&&(t.flags=Zt(e.subarray(c,c+4)),c+=4),u&&(1===i.version?t.compositionTimeOffset=n.getInt32(c):t.compositionTimeOffset=n.getUint32(c),c+=4),i.samples.push(t);return i},Xt=function(e){var t,i=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:i.getUint32(4)},r=1&n.flags[2],a=2&n.flags[2],s=8&n.flags[2],o=16&n.flags[2],l=32&n.flags[2],u=65536&n.flags[0],d=131072&n.flags[0];return t=8,r&&(t+=4,n.baseDataOffset=i.getUint32(12),t+=4),a&&(n.sampleDescriptionIndex=i.getUint32(t),t+=4),s&&(n.defaultSampleDuration=i.getUint32(t),t+=4),o&&(n.defaultSampleSize=i.getUint32(t),t+=4),l&&(n.defaultSampleFlags=i.getUint32(t)),u&&(n.durationIsEmpty=!0),!r&&d&&(n.baseDataOffsetIsMoof=!0),n},Yt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof i.g?i.g:"undefined"!==typeof self?self:{},$t="undefined"!==typeof window?window:"undefined"!==typeof Yt?Yt:"undefined"!==typeof self?self:{},Jt=Ie,ei=je.CaptionStream,ti=function(e,t){for(var i=e,n=0;n0?Kt(d[0]).baseMediaDecodeTime:0,h=Wt(s,["trun"]);t===u&&h.length>0&&(i=function(e,t,i){var n=t,r=i.defaultSampleDuration||0,a=i.defaultSampleSize||0,s=i.trackId,o=[];return e.forEach((function(e){var t=Qt(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=r),void 0===e.size&&(e.size=a),e.trackId=s,e.dts=n,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"===typeof n?(e.pts=n+$t.BigInt(e.compositionTimeOffset),n+=$t.BigInt(e.duration)):(e.pts=n+e.compositionTimeOffset,n+=e.duration)})),o=o.concat(t)})),o}(h,c,l),n=function(e,t,i){var n,r,a,s,o=new DataView(e.buffer,e.byteOffset,e.byteLength),l={logs:[],seiNals:[]};for(r=0;r+40;){var l=t.shift();this.parse(l,a,s)}return o=function(e,t,i){if(null===t)return null;var n=ii(e,t)[t]||{};return{seiNals:n.seiNals,logs:n.logs,timescale:i}}(e,i,n),o&&o.logs&&(r.logs=r.logs.concat(o.logs)),null!==o&&o.seiNals?(this.pushNals(o.seiNals),this.flushStream(),r):r.logs.length?{logs:r.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;a?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){r.captions=[],r.captionStreams={},r.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],i=null,n=null,r?this.clearParsedCaptions():r={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},ri=jt,ai=Ht,si=j.getUint64;Ut=function(e,t){var i=Wt(t,["moof","traf"]).reduce((function(t,i){var n,r,a=Wt(i,["tfhd"])[0],s=ri(a[4]<<24|a[5]<<16|a[6]<<8|a[7]),o=e[s]||9e4,l=Wt(i,["tfdt"])[0],u=new DataView(l.buffer,l.byteOffset,l.byteLength);return"bigint"===typeof(n=1===l[0]?si(l.subarray(4,12)):u.getUint32(4))?r=n/$t.BigInt(o):"number"!==typeof n||isNaN(n)||(r=n/o),r11?(r.codec+=".",r.codec+=ai(d[9]),r.codec+=ai(d[10]),r.codec+=ai(d[11])):r.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(r.codec)?(d=c.subarray(28),"esds"===qt(d.subarray(4,8))&&d.length>20&&0!==d[19]?(r.codec+="."+ai(d[19]),r.codec+="."+ai(d[20]>>>2&63).replace(/^0/,"")):r.codec="mp4a.40.2"):r.codec=r.codec.toLowerCase())}var h=Wt(e,["mdia","mdhd"])[0];h&&(r.timescale=Nt(h)),i.push(r)})),i};var oi=Ut,li=Bt,ui=function(e){var t=31&e[1];return t<<=8,t|=e[2]},di=function(e){return!!(64&e[1])},ci=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},hi=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},pi={parseType:function(e,t){var i=ui(e);return 0===i?"pat":i===t?"pmt":t?"pes":null},parsePat:function(e){var t=di(e),i=4+ci(e);return t&&(i+=e[i]+1),(31&e[i+10])<<8|e[i+11]},parsePmt:function(e){var t={},i=di(e),n=4+ci(e);if(i&&(n+=e[n]+1),1&e[n+5]){var r;r=3+((15&e[n+1])<<8|e[n+2])-4;for(var a=12+((15&e[n+10])<<8|e[n+11]);a=e.byteLength)return null;var i,n=null;return 192&(i=e[t+7])&&((n={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,n.pts*=4,n.pts+=(6&e[t+13])>>>1,n.dts=n.pts,64&i&&(n.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,n.dts*=4,n.dts+=(6&e[t+18])>>>1)),n},videoPacketContainsKeyFrame:function(e){for(var t=4+ci(e),i=e.subarray(t),n=0,r=0,a=!1;r3&&"slice_layer_without_partitioning_rbsp_idr"===hi(31&i[r+3])&&(a=!0),a}},fi=Ke,mi={};mi.ts=pi,mi.aac=bt;var gi=de,_i=188,vi=71,yi=function(e,t,i){for(var n,r,a,s,o=0,l=_i,u=!1;l<=e.byteLength;)if(e[o]!==vi||e[l]!==vi&&l!==e.byteLength)o++,l++;else{if(n=e.subarray(o,l),"pes"===mi.ts.parseType(n,t.pid))r=mi.ts.parsePesType(n,t.table),a=mi.ts.parsePayloadUnitStartIndicator(n),"audio"===r&&a&&(s=mi.ts.parsePesTime(n))&&(s.type="audio",i.audio.push(s),u=!0);if(u)break;o+=_i,l+=_i}for(o=(l=e.byteLength)-_i,u=!1;o>=0;)if(e[o]!==vi||e[l]!==vi&&l!==e.byteLength)o--,l--;else{if(n=e.subarray(o,l),"pes"===mi.ts.parseType(n,t.pid))r=mi.ts.parsePesType(n,t.table),a=mi.ts.parsePayloadUnitStartIndicator(n),"audio"===r&&a&&(s=mi.ts.parsePesTime(n))&&(s.type="audio",i.audio.push(s),u=!0);if(u)break;o-=_i,l-=_i}},Ti=function(e,t,i){for(var n,r,a,s,o,l,u,d=0,c=_i,h=!1,p={data:[],size:0};c=0;)if(e[d]!==vi||e[c]!==vi)d--,c--;else{if(n=e.subarray(d,c),"pes"===mi.ts.parseType(n,t.pid))r=mi.ts.parsePesType(n,t.table),a=mi.ts.parsePayloadUnitStartIndicator(n),"video"===r&&a&&(s=mi.ts.parsePesTime(n))&&(s.type="video",i.video.push(s),h=!0);if(h)break;d-=_i,c-=_i}},bi=function(e){var t={pid:null,table:null},i={};for(var n in function(e,t){for(var i,n=0,r=_i;r=3;){switch(mi.aac.parseType(e,o)){case"timed-metadata":if(e.length-o<10){i=!0;break}if((s=mi.aac.parseId3TagSize(e,o))>e.length){i=!0;break}null===a&&(t=e.subarray(o,o+s),a=mi.aac.parseAacTimestamp(t)),o+=s;break;case"audio":if(e.length-o<7){i=!0;break}if((s=mi.aac.parseAdtsSize(e,o))>e.length){i=!0;break}null===r&&(t=e.subarray(o,o+s),r=mi.aac.parseSampleRate(t)),n++,o+=s;break;default:o++}if(i)return null}if(null===r||null===a)return null;var l=gi/r;return{audio:[{type:"audio",dts:a,pts:a},{type:"audio",dts:a+1024*n*l,pts:a+1024*n*l}]}}(e):bi(e),i&&(i.audio||i.video)?(function(e,t){if(e.audio&&e.audio.length){var i=t;("undefined"===typeof i||isNaN(i))&&(i=e.audio[0].dts),e.audio.forEach((function(e){e.dts=fi(e.dts,i),e.pts=fi(e.pts,i),e.dtsTime=e.dts/gi,e.ptsTime=e.pts/gi}))}if(e.video&&e.video.length){var n=t;if(("undefined"===typeof n||isNaN(n))&&(n=e.video[0].dts),e.video.forEach((function(e){e.dts=fi(e.dts,n),e.pts=fi(e.pts,n),e.dtsTime=e.dts/gi,e.ptsTime=e.pts/gi})),e.firstKeyFrame){var r=e.firstKeyFrame;r.dts=fi(r.dts,n),r.pts=fi(r.pts,n),r.dtsTime=r.dts/gi,r.ptsTime=r.pts/gi}}}(i,t),i):null},ki=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ft.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var i=t.initSegment;t.initSegment={data:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength};var n=t.data;t.data=n.buffer,e.postMessage({action:"data",segment:t,byteOffset:n.byteOffset,byteLength:n.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var i={start:{decode:he(t.start.dts),presentation:he(t.start.pts)},end:{decode:he(t.end.dts),presentation:he(t.end.pts)},baseMediaDecodeTime:he(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=he(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:i})})),t.on("audioSegmentTimingInfo",(function(t){var i={start:{decode:he(t.start.dts),presentation:he(t.start.pts)},end:{decode:he(t.end.dts),presentation:he(t.end.pts)},baseMediaDecodeTime:he(t.baseMediaDecodeTime)};t.prependedContentDuration&&(i.prependedContentDuration=he(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:i})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:he(t.start),end:he(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:he(t.start),end:he(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new ni,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),i=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:i&&i.captions||[],logs:i&&i.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,i=e.data,n=oi(t,i);this.self.postMessage({action:"probeMp4StartTime",startTime:n,data:i},[i.buffer])},t.probeMp4Tracks=function(e){var t=e.data,i=li(t);this.self.postMessage({action:"probeMp4Tracks",tracks:i,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,i=e.baseStartTime,n="number"!==typeof i||isNaN(i)?void 0:i*de,r=Si(t,n),a=null;r&&((a={hasVideo:r.video&&2===r.video.length||!1,hasAudio:r.audio&&2===r.audio.length||!1}).hasVideo&&(a.videoStart=r.video[0].ptsTime),a.hasAudio&&(a.audioStart=r.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:a,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(ce(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(ce(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new ki(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new ki(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}}))),cs=os(ds),hs=function(e){var t=e.transmuxer,i=e.bytes,n=e.audioAppendStart,r=e.gopsToAlignWith,a=e.remux,s=e.onData,o=e.onTrackInfo,l=e.onAudioTimingInfo,u=e.onVideoTimingInfo,d=e.onVideoSegmentTimingInfo,c=e.onAudioSegmentTimingInfo,h=e.onId3,p=e.onCaptions,f=e.onDone,m=e.onEndedTimeline,g=e.onTransmuxerLog,_=e.isEndOfTimeline,v={buffer:[]},y=_;if(t.onmessage=function(i){t.currentTransmux===e&&("data"===i.data.action&&function(e,t,i){var n=e.data.segment,r=n.type,a=n.initSegment,s=n.captions,o=n.captionStreams,l=n.metadata,u=n.videoFrameDtsTime,d=n.videoFramePtsTime;t.buffer.push({captions:s,captionStreams:o,metadata:l});var c=e.data.segment.boxes||{data:e.data.segment.data},h={type:r,data:new Uint8Array(c.data,c.data.byteOffset,c.data.byteLength),initSegment:new Uint8Array(a.data,a.byteOffset,a.byteLength)};"undefined"!==typeof u&&(h.videoFrameDtsTime=u),"undefined"!==typeof d&&(h.videoFramePtsTime=d),i(h)}(i,v,s),"trackinfo"===i.data.action&&o(i.data.trackInfo),"gopInfo"===i.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(i,v),"audioTimingInfo"===i.data.action&&l(i.data.audioTimingInfo),"videoTimingInfo"===i.data.action&&u(i.data.videoTimingInfo),"videoSegmentTimingInfo"===i.data.action&&d(i.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===i.data.action&&c(i.data.audioSegmentTimingInfo),"id3Frame"===i.data.action&&h([i.data.id3Frame],i.data.id3Frame.dispatchType),"caption"===i.data.action&&p(i.data.caption),"endedtimeline"===i.data.action&&(y=!1,m()),"log"===i.data.action&&g(i.data.log),"transmuxed"===i.data.type&&(y||(t.onmessage=null,function(e){var t=e.transmuxedData,i=e.callback;t.buffer=[],i(t)}({transmuxedData:v,callback:f}),ps(t))))},n&&t.postMessage({action:"setAudioAppendStart",appendStart:n}),Array.isArray(r)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:r}),"undefined"!==typeof a&&t.postMessage({action:"setRemux",remux:a}),i.byteLength){var T=i instanceof ArrayBuffer?i:i.buffer,b=i instanceof ArrayBuffer?0:i.byteOffset;t.postMessage({action:"push",data:T,byteOffset:b,byteLength:i.byteLength},[T])}_&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},ps=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"===typeof e.currentTransmux?e.currentTransmux():hs(e.currentTransmux))},fs=function(e,t){e.postMessage({action:t}),ps(e)},ms=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void fs(t,e);t.transmuxQueue.push(fs.bind(null,t,e))},gs=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void hs(e);e.transmuxer.transmuxQueue.push(e)},_s=function(e){ms("reset",e)},vs=function(e){var t=new cs;t.currentTransmux=null,t.transmuxQueue=[];var i=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,i.call(t)},t.postMessage({action:"init",options:e}),t},ys=function(e){var t=e.transmuxer,i=e.endAction||e.action,n=e.callback,r=(0,l.Z)({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function r(a){a.data.action===i&&(t.removeEventListener("message",r),a.data.data&&(a.data.data=new Uint8Array(a.data.data,e.byteOffset||0,e.byteLength||a.data.data.byteLength),e.data&&(e.data=a.data.data)),n(a.data))})),e.data){var a=e.data instanceof ArrayBuffer;r.byteOffset=a?0:e.data.byteOffset,r.byteLength=e.data.byteLength;var s=[a?e.data:e.data.buffer];t.postMessage(r,s)}else t.postMessage(r)},Ts=2,bs=-101,Ss=-102,ks=function(e){e.forEach((function(e){e.abort()}))},Cs=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:bs,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Ss,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Ts,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Ts,xhr:t}:null},Es=function(e,t,i){return function(n,r){var a=r.response,s=Cs(n,r);if(s)return i(s,e);if(16!==a.byteLength)return i({status:r.status,message:"Invalid HLS key at URL: "+r.uri,code:Ts,xhr:r},e);for(var o=new DataView(a),l=new Uint32Array([o.getUint32(0),o.getUint32(4),o.getUint32(8),o.getUint32(12)]),u=0;u1)return Ms("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},Bs=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},Ns=function(e,t){var i=t.attributes||{},n=Us(function(e){var t=e.attributes||{};if(t.CODECS)return(0,k.kS)(t.CODECS)}(t)||[]);if(Rs(e,t)&&!n.audio&&!function(e,t){if(!Rs(e,t))return!0;var i=t.attributes||{},n=e.mediaGroups.AUDIO[i.AUDIO];for(var r in n)if(!n[r].uri&&!n[r].playlists)return!0;return!1}(e,t)){var r=Us((0,k.Jg)(e,i.AUDIO)||[]);r.audio&&(n.audio=r.audio)}return n},Fs=Qr("PlaylistSelector"),js=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},Hs=function(e,t){if(!e)return"";var i=a().getComputedStyle(e);return i?i[t]:""},qs=function(e,t){var i=e.slice();e.sort((function(e,n){var r=t(e,n);return 0===r?i.indexOf(e)-i.indexOf(n):r}))},Vs=function(e,t){var i,n;return e.attributes.BANDWIDTH&&(i=e.attributes.BANDWIDTH),i=i||a().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(n=t.attributes.BANDWIDTH),i-(n=n||a().Number.MAX_VALUE)},Ws=function(e,t,i,n,r,s){if(e){var o={bandwidth:t,width:i,height:n,limitRenditionByPlayerDimensions:r},l=e.playlists;ka.isAudioOnly(e)&&(l=s.getAudioTrackPlaylists_(),o.audioOnly=!0);var u=l.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,i=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||a().Number.MAX_VALUE,width:t,height:i,playlist:e}}));qs(u,(function(e,t){return e.bandwidth-t.bandwidth}));var d=(u=u.filter((function(e){return!ka.isIncompatible(e.playlist)}))).filter((function(e){return ka.isEnabled(e.playlist)}));d.length||(d=u.filter((function(e){return!ka.isDisabled(e.playlist)})));var c=d.filter((function(e){return e.bandwidth*as.BANDWIDTH_VARIANCEi||e.height>n}))).filter((function(e){return e.width===v[0].width&&e.height===v[0].height})),h=y[y.length-1],T=y.filter((function(e){return e.bandwidth===h.bandwidth}))[0]),s.experimentalLeastPixelDiffSelector){var k=g.map((function(e){return e.pixelDiff=Math.abs(e.width-i)+Math.abs(e.height-n),e}));qs(k,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),b=k[0]}var C=b||T||S||p||d[0]||u[0];if(C&&C.playlist){var E="sortedPlaylistReps";return b?E="leastPixelDiffRep":T?E="resolutionPlusOneRep":S?E="resolutionBestRep":p?E="bandwidthBestRep":d[0]&&(E="enabledPlaylistReps"),Fs("choosing "+js(C)+" using "+E+" with options",o),C.playlist}return Fs("could not choose a playlist with options",o),null}},zs=function(){var e=this.useDevicePixelRatio&&a().devicePixelRatio||1;return Ws(this.playlists.master,this.systemBandwidth,parseInt(Hs(this.tech_.el(),"width"),10)*e,parseInt(Hs(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},Gs=function(e){var t=e.inbandTextTracks,i=e.metadataArray,n=e.timestampOffset,r=e.videoDuration;if(i){var s=a().WebKitDataCue||a().VTTCue,o=t.metadataTrack_;if(o&&(i.forEach((function(e){var t=e.cueTime+n;!("number"!==typeof t||a().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var i=new s(t,t,e.value||e.url||e.data||"");i.frame=e,i.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return Wr.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Wr.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Wr.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(i),o.addCue(i)}))})),o.cues&&o.cues.length)){for(var l=o.cues,u=[],d=0;d=e&&r.endTime<=t&&i.removeCue(r)},Zs=function(e){return"number"===typeof e&&isFinite(e)},Qs=1/60,Xs=function(e){var t=e.startOfSegment,i=e.duration,n=e.segment,r=e.part,a=e.playlist,s=a.mediaSequence,o=a.id,l=a.segments,u=void 0===l?[]:l,d=e.mediaIndex,c=e.partIndex,h=e.timeline,p=u.length-1,f="mediaIndex/partIndex increment";e.getMediaInfoForTime?f="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(f="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(f+=" with independent "+e.independent);var m="number"===typeof c,g=e.segment.uri?"segment":"pre-segment",_=m?ua({preloadSegment:n})-1:0;return g+" ["+(s+d)+"/"+(s+p)+"]"+(m?" part ["+c+"/"+_+"]":"")+" segment start/end ["+n.start+" => "+n.end+"]"+(m?" part start/end ["+r.start+" => "+r.end+"]":"")+" startOfSegment ["+t+"] duration ["+i+"] timeline ["+h+"] selected by ["+f+"] playlist ["+o+"]"},Ys=function(e){return e+"TimingInfo"},$s=function(e){var t=e.timelineChangeController,i=e.currentTimeline,n=e.segmentTimeline,r=e.loaderType,a=e.audioDisabled;if(i===n)return!1;if("audio"===r){var s=t.lastTimelineChange({type:"main"});return!s||s.to!==n}if("main"===r&&a){var o=t.pendingTimelineChange({type:"audio"});return!o||o.to!==n}return!1},Js=function(e){var t=e.segmentDuration,i=e.maxDuration;return!!t&&Math.round(t)>i+Xr},eo=function(e,t){if("hls"!==t)return null;var i=function(e){var t=0;return["video","audio"].forEach((function(i){var n=e[i+"TimingInfo"];if(n){var r,s=n.start,o=n.end;"bigint"===typeof s||"bigint"===typeof o?r=a().BigInt(o)-a().BigInt(s):"number"===typeof s&&"number"===typeof o&&(r=o-s),"undefined"!==typeof r&&r>t&&(t=r)}})),"bigint"===typeof t&&t=11,n.appendInitSegment_={audio:!0,video:!0},n.playlistOfLastInitSegment_={audio:null,video:null},n.callQueue_=[],n.loadQueue_=[],n.metadataQueue_={id3:[],caption:[]},n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=t.cacheEncryptionKeys,n.keyCache_={},n.decrypter_=t.decrypter,n.syncController_=t.syncController,n.syncPoint_={segmentIndex:0,time:0},n.transmuxer_=n.createTransmuxer_(),n.triggerSyncInfoUpdate_=function(){return n.trigger("syncinfoupdate")},n.syncController_.on("syncinfoupdate",n.triggerSyncInfoUpdate_),n.mediaSource_.addEventListener("sourceopen",(function(){n.isEndOfStream_()||(n.ended_=!1)})),n.fetchAtBuffer_=!1,n.logger_=Qr("SegmentLoader["+n.loaderType_+"]"),Object.defineProperty((0,c.Z)(n),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),n.sourceUpdater_.on("ready",(function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),"main"===n.loaderType_&&n.timelineChangeController_.on("pendingtimelinechange",(function(){n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),"audio"===n.loaderType_&&n.timelineChangeController_.on("timelinechange",(function(){n.hasEnoughInfoToLoad_()&&n.processLoadQueue_(),n.hasEnoughInfoToAppend_()&&n.processCallQueue_()})),n}(0,h.Z)(t,e);var i=t.prototype;return i.createTransmuxer_=function(){return vs({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},i.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},i.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},i.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},i.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},i.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,a().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},i.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},i.error=function(e){return"undefined"!==typeof e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},i.endOfStream=function(){this.ended_=!0,this.transmuxer_&&_s(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},i.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Wr.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,i=e.hasVideo,n=e.isMuxed;if(i&&t&&!this.audioDisabled_&&!n)return this.sourceUpdater_.buffered();if(i)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},i.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=Ka(e),n=this.initSegments_[i];return t&&!n&&e.bytes&&(this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),n||e},i.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=Za(e),n=this.keyCache_[i];this.cacheEncryptionKeys_&&t&&!n&&e.bytes&&(this.keyCache_[i]=n={resolvedUri:e.resolvedUri,bytes:e.bytes});var r={resolvedUri:(n||e).resolvedUri};return n&&(r.bytes=n.bytes),r},i.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},i.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},i.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},i.playlist=function(e,t){if(void 0===t&&(t={}),e){var i=this.playlist_,n=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var r=null;if(i&&(i.id?r=i.id:i.uri&&(r=i.uri)),this.logger_("playlist update ["+r+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!i||i.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var a=e.mediaSequence-i.mediaSequence;if(this.logger_("live window shift ["+a+"]"),null!==this.mediaIndex)if(this.mediaIndex-=a,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var s=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!s.parts||!s.parts.length||!s.parts[this.partIndex])){var o=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=o}}n&&(n.mediaIndex-=a,n.mediaIndex<0?(n.mediaIndex=null,n.partIndex=null):(n.mediaIndex>=0&&(n.segment=e.segments[n.mediaIndex]),n.partIndex>=0&&n.segment.parts&&(n.part=n.segment.parts[n.partIndex]))),this.syncController_.saveExpiredSegmentInfo(i,e)}},i.pause=function(){this.checkBufferTimeout_&&(a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},i.paused=function(){return null===this.checkBufferTimeout_},i.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},i.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},i.resyncLoader=function(){this.transmuxer_&&_s(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},i.remove=function(e,t,i,n){if(void 0===i&&(i=function(){}),void 0===n&&(n=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var r=1,a=function(){0===--r&&i()};for(var s in!n&&this.audioDisabled_||(r++,this.sourceUpdater_.removeAudio(e,t,a)),(n||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,i,n){for(var r=Math.ceil((t-n)*L.ONE_SECOND_IN_TS),a=Math.ceil((i-n)*L.ONE_SECOND_IN_TS),s=e.slice(),o=e.length;o--&&!(e[o].pts<=a););if(-1===o)return s;for(var l=o+1;l--&&!(e[l].pts<=r););return l=Math.max(l,0),s.splice(l,o-l+1),s}(this.gopBuffer_,e,t,this.timeMapping_),r++,this.sourceUpdater_.removeVideo(e,t,a)),this.inbandTextTracks_)Ks(e,t,this.inbandTextTracks_[s]);Ks(e,t,this.segmentMetadataTrack_),a()}else this.logger_("skipping remove because no source updater or starting media info")},i.monitorBuffer_=function(){this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=a().setTimeout(this.monitorBufferTick_.bind(this),1)},i.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&a().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=a().setTimeout(this.monitorBufferTick_.bind(this),500)},i.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"===typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},i.isEndOfStream_=function(e,t,i){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===i&&(i=this.partIndex),!t||!this.mediaSource_)return!1;var n="number"===typeof e&&t.segments[e],r=e+1===t.segments.length,a=!n||!n.parts||i+1===n.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&r&&a},i.chooseNextRequest_=function(){var e=this.buffered_(),t=na(e)||0,i=ra(e,this.currentTime_()),n=!this.hasPlayed_()&&i>=1,r=i>=this.goalBufferLength_(),a=this.playlist_.segments;if(!a.length||n||r)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var s={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(s.isSyncRequest)s.mediaIndex=function(e,t,i){t=t||[];for(var n=[],r=0,a=0;ai))return a}return 0===n.length?0:n[n.length-1]}(this.currentTimeline_,a,t);else if(null!==this.mediaIndex){var o=a[this.mediaIndex],l="number"===typeof this.partIndex?this.partIndex:-1;s.startOfSegment=o.end?o.end:t,o.parts&&o.parts[l+1]?(s.mediaIndex=this.mediaIndex,s.partIndex=l+1):s.mediaIndex=this.mediaIndex+1}else{var u=ka.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),d=u.segmentIndex,c=u.startTime,h=u.partIndex;s.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),s.mediaIndex=d,s.startOfSegment=c,s.partIndex=h}var p=a[s.mediaIndex],f=p&&"number"===typeof s.partIndex&&p.parts&&p.parts[s.partIndex];if(!p||"number"===typeof s.partIndex&&!f)return null;if("number"!==typeof s.partIndex&&p.parts&&(s.partIndex=0,f=p.parts[0]),!i&&f&&!f.independent)if(0===s.partIndex){var m=a[s.mediaIndex-1],g=m.parts&&m.parts.length&&m.parts[m.parts.length-1];g&&g.independent&&(s.mediaIndex-=1,s.partIndex=m.parts.length-1,s.independent="previous segment")}else p.parts[s.partIndex-1].independent&&(s.partIndex-=1,s.independent="previous part");var _=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return s.mediaIndex>=a.length-1&&_&&!this.seeking_()?null:this.generateSegmentInfo_(s)},i.generateSegmentInfo_=function(e){var t=e.independent,i=e.playlist,n=e.mediaIndex,r=e.startOfSegment,a=e.isSyncRequest,s=e.partIndex,o=e.forceTimestampOffset,l=e.getMediaInfoForTime,u=i.segments[n],d="number"===typeof s&&u.parts[s],c={requestId:"segment-loader-"+Math.random(),uri:d&&d.resolvedUri||u.resolvedUri,mediaIndex:n,partIndex:d?s:null,isSyncRequest:a,startOfSegment:r,playlist:i,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:u.timeline,duration:d&&d.duration||u.duration,segment:u,part:d,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:l,independent:t},h="undefined"!==typeof o?o:this.isPendingTimestampOffset_;c.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:u.timeline,currentTimeline:this.currentTimeline_,startOfSegment:r,buffered:this.buffered_(),overrideCheck:h});var p=na(this.sourceUpdater_.audioBuffered());return"number"===typeof p&&(c.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(c.gopsToAlignWith=function(e,t,i){if("undefined"===typeof t||null===t||!e.length)return[];var n,r=Math.ceil((t-i+3)*L.ONE_SECOND_IN_TS);for(n=0;nr);n++);return e.slice(n)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),c},i.timestampOffsetForSegment_=function(e){return function(e){var t=e.segmentTimeline,i=e.currentTimeline,n=e.startOfSegment,r=e.buffered;return e.overrideCheck||t!==i?t "+o+" for "+e),function(e,t,i){if(!e[i]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var n=i;/^cc708_/.test(i)&&(n="SERVICE"+i.split("_")[1]);var r=t.textTracks().getTrackById(n);if(r)e[i]=r;else{var a=i,s=i,o=!1,l=(t.options_.vhs&&t.options_.vhs.captionServices||{})[n];l&&(a=l.label,s=l.language,o=l.default),e[i]=t.addRemoteTextTrack({kind:"captions",id:n,default:o,label:a,language:s},!1).track}}}(u,i.vhs_.tech_,e),Ks(s,o,u[e]),function(e){var t=e.inbandTextTracks,i=e.captionArray,n=e.timestampOffset;if(i){var r=a().WebKitDataCue||a().VTTCue;i.forEach((function(e){var i=e.stream;t[i].addCue(new r(e.startTime+n,e.endTime+n,e.text))}))}}({captionArray:l,inbandTextTracks:u,timestampOffset:n})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},i.handleId3_=function(e,t,i){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,i){e.metadataTrack_||(e.metadataTrack_=i.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,i,this.vhs_.tech_),Gs({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:n,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,i))},i.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},i.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},i.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},i.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!$s({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},i.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},i.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},i.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var i=t.hasAudio,n=t.hasVideo,r=t.isMuxed;return!(n&&!e.videoTimingInfo)&&(!(i&&!this.audioDisabled_&&!r&&!e.audioTimingInfo)&&!$s({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},i.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var i=this.pendingSegment_;if(this.setTimeMapping_(i.timeline),this.updateMediaSecondsLoaded_(i.part||i.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),i.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),i.isFmp4=e.isFmp4,i.timingInfo=i.timingInfo||{},i.isFmp4)this.trigger("fmp4"),i.timingInfo.start=i[Ys(t.type)].start;else{var n,r=this.getCurrentMediaInfo_(),a="main"===this.loaderType_&&r&&r.hasVideo;a&&(n=i.videoTimingInfo.start),i.timingInfo.start=this.trueSegmentStart_({currentStart:i.timingInfo.start,playlist:i.playlist,mediaIndex:i.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:a,firstVideoFrameTimeForData:n,videoTimingInfo:i.videoTimingInfo,audioTimingInfo:i.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(i,t.type),this.updateSourceBufferTimestampOffset_(i),i.isSyncRequest){this.updateTimingInfoEnd_(i),this.syncController_.saveSegmentTimingInfo({segmentInfo:i,shouldSaveTimelineMapping:"main"===this.loaderType_});var s=this.chooseNextRequest_();if(s.mediaIndex!==i.mediaIndex||s.partIndex!==i.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}i.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(i,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},i.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!==typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},i.getInitSegmentAndUpdateState_=function(e){var t=e.type,i=e.initSegment,n=e.map,r=e.playlist;if(n){var a=Ka(n);if(this.activeInitSegmentId_===a)return null;i=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=a}return i&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=r,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,i):null},i.handleQuotaExceededError_=function(e,t){var i=this,n=e.segmentInfo,r=e.type,s=e.bytes,o=this.sourceUpdater_.audioBuffered(),l=this.sourceUpdater_.videoBuffered();o.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+ia(o).join(", ")),l.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+ia(l).join(", "));var u=o.length?o.start(0):0,d=o.length?o.end(o.length-1):0,c=l.length?l.start(0):0,h=l.length?l.end(l.length-1):0;if(d-u<=1&&h-c<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+s.byteLength+", audio buffer: "+ia(o).join(", ")+", video buffer: "+ia(l).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:n,type:r,bytes:s}));var p=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+p),this.remove(0,p,(function(){i.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),i.waitingOnRemove_=!1,i.quotaExceededErrorRetryTimeout_=a().setTimeout((function(){i.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),i.quotaExceededErrorRetryTimeout_=null,i.processCallQueue_()}),1e3)}),!0)},i.handleAppendError_=function(e,t){var i=e.segmentInfo,n=e.type,r=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(n+" append of "+r.length+"b failed for segment #"+i.mediaIndex+" in playlist "+i.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:i,type:n,bytes:r}))},i.appendToSourceBuffer_=function(e){var t=e.segmentInfo,i=e.type,n=e.initSegment,r=e.data,a=e.bytes;if(!a){var s=[r],o=r.byteLength;n&&(s.unshift(n),o+=n.byteLength),a=function(e){var t,i=0;return e.bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach((function(e){t.set(e,i),i+=e.byteLength}))),t}({bytes:o,segments:s})}this.sourceUpdater_.appendBuffer({segmentInfo:t,type:i,bytes:a},this.handleAppendError_.bind(this,{segmentInfo:t,type:i,bytes:a}))},i.handleSegmentTimingInfo_=function(e,t,i){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var n=this.pendingSegment_.segment,r=e+"TimingInfo";n[r]||(n[r]={}),n[r].transmuxerPrependedSeconds=i.prependedContentDuration||0,n[r].transmuxedPresentationStart=i.start.presentation,n[r].transmuxedDecodeStart=i.start.decode,n[r].transmuxedPresentationEnd=i.end.presentation,n[r].transmuxedDecodeEnd=i.end.decode,n[r].baseMediaDecodeTime=i.baseMediaDecodeTime}},i.appendData_=function(e,t){var i=t.type,n=t.data;if(n&&n.byteLength&&("audio"!==i||!this.audioDisabled_)){var r=this.getInitSegmentAndUpdateState_({type:i,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:i,initSegment:r,data:n})}},i.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"===typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var i=(0,l.Z)({},e,{forceTimestampOffset:!0});(0,l.Z)(e,t.generateSegmentInfo_(i)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},i.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var i=this.createSimplifiedSegmentObj_(e),n=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),r=null!==this.mediaIndex,a=e.timeline!==this.currentTimeline_&&e.timeline>0,s=n||r&&a;this.logger_("Requesting "+Xs(e)),i.map&&!i.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=Ds({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:i,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:s,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(i){var n=i.message,r=i.level,a=i.stream;t.logger_(Xs(e)+" logged from transmuxer stream "+a+" as a "+r+": "+n)}})},i.trimBackBuffer_=function(e){var t=function(e,t,i){var n=t-as.BACK_BUFFER_LENGTH;e.length&&(n=Math.max(n,e.start(0)));var r=t-i;return Math.min(r,n)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},i.createSimplifiedSegmentObj_=function(e){var t=e.segment,i=e.part,n={resolvedUri:i?i.resolvedUri:t.resolvedUri,byterange:i?i.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},r=e.playlist.segments[e.mediaIndex-1];if(r&&r.timeline===t.timeline&&(r.videoTimingInfo?n.baseStartTime=r.videoTimingInfo.transmuxedDecodeEnd:r.audioTimingInfo&&(n.baseStartTime=r.audioTimingInfo.transmuxedDecodeEnd)),t.key){var a=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);n.key=this.segmentKey(t.key),n.key.iv=a}return t.map&&(n.map=this.initSegmentForMap(t.map)),n},i.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},i.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e=n);r++);return e.slice(0,r).concat(t)}(this.gopBuffer_,i.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(n)}},i.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},i.updateMediaSecondsLoaded_=function(e){"number"===typeof e.start&&"number"===typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},i.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},i.trueSegmentStart_=function(e){var t=e.currentStart,i=e.playlist,n=e.mediaIndex,r=e.firstVideoFrameTimeForData,a=e.currentVideoTimestampOffset,s=e.useVideoTimingInfo,o=e.videoTimingInfo,l=e.audioTimingInfo;if("undefined"!==typeof t)return t;if(!s)return l.start;var u=i.segments[n-1];return 0!==n&&u&&"undefined"!==typeof u.start&&u.end===r+a?o.start:r},i.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var i=t.hasAudio,n=t.hasVideo,r=t.isMuxed,a="main"===this.loaderType_&&n,s=!this.audioDisabled_&&i&&!r;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!==typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);a&&e.waitingOnAppends++,s&&e.waitingOnAppends++,a&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),s&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},i.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},i.checkForIllegalMediaSwitch=function(e){var t=function(e,t,i){return"main"===e&&t&&i?i.hasAudio||i.hasVideo?t.hasVideo&&!i.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&i.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},i.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"===typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},i.getSegmentStartTimeForTimestampOffsetCalculation_=function(e){var t=e.videoTimingInfo,i=e.audioTimingInfo,n=e.timingInfo;return this.useDtsForTimestampOffset_?t&&"number"===typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:i&&"number"===typeof i.transmuxedDecodeStart?i.transmuxedDecodeStart:n.start:n.start},i.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),i="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;i&&(e.timingInfo.end="number"===typeof i.end?i.end:i.start+e.duration)},i.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=eo(e,this.sourceType_);if(t&&("warn"===t.severity?Wr.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+Xs(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var i=e.segment,n=e.part,r=i.end&&this.currentTime_()-i.end>3*e.playlist.targetDuration,a=n&&n.end&&this.currentTime_()-n.end>3*e.playlist.partTargetDuration;if(r||a)return this.logger_("bad "+(r?"segment":"part")+" "+Xs(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+Xs(e))},i.recordThroughput_=function(e){if(e.duration=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},i.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},i.segmentRequestFinished_=function(e,t,i){var n=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===bs&&this.handleTimeout_(),e.code===Ss?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),t.key&&this.segmentKey(t.key,!0),this.state="APPENDING",this.trigger("appending");var s=r.segment;if(s.map&&(s.map.bytes=t.map.bytes),r.bytes=t.bytes,"function"!==typeof a().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var o,l=function(){n.subtitlesTrack_.tech_.off("vttjsloaded",o),n.stopForError({message:"Error loading vtt.js"})};return o=function(){n.subtitlesTrack_.tech_.off("vttjserror",l),n.segmentRequestFinished_(e,t,i)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",o),void this.subtitlesTrack_.tech_.one("vttjserror",l)}s.requested=!0;try{this.parseVTTCues_(r)}catch(u){return void this.stopForError({message:u.message})}if(this.updateTimeMapping_(r,this.syncController_.timelines[r.timeline],this.playlist_),r.cues.length?r.timingInfo={start:r.cues[0].startTime,end:r.cues[r.cues.length-1].endTime}:r.timingInfo={start:r.startOfSegment,end:r.startOfSegment+r.duration},r.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");r.byteLength=r.bytes.byteLength,this.mediaSecondsLoaded+=s.duration,r.cues.forEach((function(e){n.subtitlesTrack_.addCue(n.featuresNativeTextTracks_?new(a().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){var t=e.cues;if(t)for(var i=0;i1&&n.push(t[a]);n.length&&n.forEach((function(t){return e.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},i.handleData_=function(){},i.updateTimingInfoEnd_=function(){},i.parseVTTCues_=function(e){var t,i=!1;"function"===typeof a().TextDecoder?t=new(a().TextDecoder)("utf8"):(t=a().WebVTT.StringDecoder(),i=!0);var n=new(a().WebVTT.Parser)(a(),a().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},n.oncue=e.cues.push.bind(e.cues),n.ontimestampmap=function(t){e.timestampmap=t},n.onparsingerror=function(e){Wr.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var r=e.segment.map.bytes;i&&(r=Co(r)),n.parse(r)}var s=e.bytes;i&&(s=Co(s)),n.parse(s),n.flush()},i.updateTimeMapping_=function(e,t,i){var n=e.segment;if(t)if(e.cues.length){var r=e.timestampmap,a=r.MPEGTS/L.ONE_SECOND_IN_TS-r.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=a,e.endTime+=a})),!i.syncInfo){var s=e.cues[0].startTime,o=e.cues[e.cues.length-1].startTime;i.syncInfo={mediaSequence:i.mediaSequence+e.mediaIndex,time:Math.min(s,o-n.duration)}}}else n.empty=!0},t}(to),Io=function(e,t){for(var i=e.cues,n=0;n=r.adStartTime&&t<=r.adEndTime)return r}return null},xo=[{name:"VOD",run:function(e,t,i,n,r){if(i!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,i,n,r){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var a=null,s=null,o=oa(t);r=r||0;for(var l=0;l=h)&&(s=h,a={time:c,segmentIndex:u.segmentIndex,partIndex:u.partIndex})}}return a}},{name:"Discontinuity",run:function(e,t,i,n,r){var a=null;if(r=r||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var s=null,o=0;o=c)&&(s=c,a={time:d.time,segmentIndex:l,partIndex:null})}}return a}},{name:"Playlist",run:function(e,t,i,n,r){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],Po=function(e){function t(t){var i;return(i=e.call(this)||this).timelines=[],i.discontinuities=[],i.timelineToDatetimeMappings={},i.logger_=Qr("SyncController"),i}(0,h.Z)(t,e);var i=t.prototype;return i.getSyncPoint=function(e,t,i,n){var r=this.runStrategies_(e,t,i,n);return r.length?this.selectSyncPoint_(r,{key:"time",value:n}):null},i.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var i=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!i.length)return null;var n=this.selectSyncPoint_(i,{key:"segmentIndex",value:0});return n.segmentIndex>0&&(n.time*=-1),Math.abs(n.time+pa({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:n.segmentIndex,endIndex:0}))},i.runStrategies_=function(e,t,i,n){for(var r=[],a=0;a86400)Wr.log.warn("Not saving expired segment info. Media sequence gap "+i+" is too large.");else for(var n=i-1;n>=0;n--){var r=e.segments[n];if(r&&"undefined"!==typeof r.start){t.syncInfo={mediaSequence:e.mediaSequence+n,time:r.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},i.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],i=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-i}},i.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,i=e.shouldSaveTimelineMapping,n=this.calculateSegmentTimeMapping_(t,t.timingInfo,i),r=t.segment;n&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:r.start}));var a=r.dateTimeObject;r.discontinuity&&i&&a&&(this.timelineToDatetimeMappings[r.timeline]=-a.getTime()/1e3)},i.timestampOffsetForTimeline=function(e){return"undefined"===typeof this.timelines[e]?null:this.timelines[e].time},i.mappingForTimeline=function(e){return"undefined"===typeof this.timelines[e]?null:this.timelines[e].mapping},i.calculateSegmentTimeMapping_=function(e,t,i){var n,r,a=e.segment,s=e.part,o=this.timelines[e.timeline];if("number"===typeof e.timestampOffset)o={time:e.startOfSegment,mapping:e.startOfSegment-t.start},i&&(this.timelines[e.timeline]=o,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+o.time+"] [mapping: "+o.mapping+"]")),n=e.startOfSegment,r=t.end+o.mapping;else{if(!o)return!1;n=t.start+o.mapping,r=t.end+o.mapping}return s&&(s.start=n,s.end=r),(!a.start||no){var l=void 0;l=s<0?i.start-pa({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:r}):i.end+pa({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:r}),this.discontinuities[a]={time:l,accuracy:o}}}},i.dispose=function(){this.trigger("dispose"),this.off()},t}(Wr.EventTarget),Ao=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}(0,h.Z)(t,e);var i=t.prototype;return i.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},i.pendingTimelineChange=function(e){var t=e.type,i=e.from,n=e.to;return"number"===typeof i&&"number"===typeof n&&(this.pendingTimelineChanges_[t]={type:t,from:i,to:n},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},i.lastTimelineChange=function(e){var t=e.type,i=e.from,n=e.to;return"number"===typeof i&&"number"===typeof n&&(this.lastTimelineChanges_[t]={type:t,from:i,to:n},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},i.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(Wr.EventTarget),Lo=ls(us((function(){var e="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof i.g?i.g:"undefined"!==typeof self?self:{};function t(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}((void 0===t||null===t)&&i.path)}},i.exports),i.exports}var n=t((function(e){function t(e,t){for(var i=0;i-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var i=t.length,n=0;n>7))^e]=e;for(t=i=0;!c[t];t^=n||1,i=f[i]||1)for(a=(a=i^i<<1^i<<2^i<<3^i<<4)>>8^255&a^99,c[t]=a,h[a]=t,o=16843009*p[r=p[n=p[t]]]^65537*r^257*n^16843008*t,s=257*p[a]^16843008*a,e=0;e<4;e++)u[e][t]=s=s<<24^s>>>8,d[e][a]=o=o<<24^o>>>8;for(e=0;e<5;e++)u[e]=u[e].slice(0),d[e]=d[e].slice(0);return l}()),this._tables=[[l[0][0].slice(),l[0][1].slice(),l[0][2].slice(),l[0][3].slice(),l[0][4].slice()],[l[1][0].slice(),l[1][1].slice(),l[1][2].slice(),l[1][3].slice(),l[1][4].slice()]];var r=this._tables[0][4],a=this._tables[1],s=e.length,o=1;if(4!==s&&6!==s&&8!==s)throw new Error("Invalid aes key size");var u=e.slice(0),d=[];for(this._key=[u,d],t=s;t<4*s+28;t++)n=u[t-1],(t%s===0||8===s&&t%s===4)&&(n=r[n>>>24]<<24^r[n>>16&255]<<16^r[n>>8&255]<<8^r[255&n],t%s===0&&(n=n<<8^n>>>24^o<<24,o=o<<1^283*(o>>7))),u[t]=u[t-s]^n;for(i=0;t;i++,t--)n=u[3&i?t:t-4],d[i]=t<=4||i<4?n:a[0][r[n>>>24]]^a[1][r[n>>16&255]]^a[2][r[n>>8&255]]^a[3][r[255&n]]}return e.prototype.decrypt=function(e,t,i,n,r,a){var s,o,l,u,d=this._key[1],c=e^d[0],h=n^d[1],p=i^d[2],f=t^d[3],m=d.length/4-2,g=4,_=this._tables[1],v=_[0],y=_[1],T=_[2],b=_[3],S=_[4];for(u=0;u>>24]^y[h>>16&255]^T[p>>8&255]^b[255&f]^d[g],o=v[h>>>24]^y[p>>16&255]^T[f>>8&255]^b[255&c]^d[g+1],l=v[p>>>24]^y[f>>16&255]^T[c>>8&255]^b[255&h]^d[g+2],f=v[f>>>24]^y[c>>16&255]^T[h>>8&255]^b[255&p]^d[g+3],g+=4,c=s,h=o,p=l;for(u=0;u<4;u++)r[(3&-u)+a]=S[c>>>24]<<24^S[h>>16&255]<<16^S[p>>8&255]<<8^S[255&f]^d[g++],s=c,c=h,h=p,p=f,f=s},e}(),d=function(e){function t(){var t;return(t=e.call(this,s)||this).jobs=[],t.delay=1,t.timeout_=null,t}a(t,e);var i=t.prototype;return i.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},i.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(s),c=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},h=function(){function e(t,i,n,r){var a=e.STEP,s=new Int32Array(t.buffer),o=new Uint8Array(t.byteLength),l=0;for(this.asyncStream_=new d,this.asyncStream_.push(this.decryptChunk_(s.subarray(l,l+a),i,n,o)),l=a;l>2),m=new u(Array.prototype.slice.call(t)),g=new Uint8Array(e.byteLength),_=new Int32Array(g.buffer);for(n=i[0],r=i[1],a=i[2],s=i[3],p=0;p=0&&(t="main-desc"),t},Mo=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},Ro=function(e,t){t.activePlaylistLoader=e,e.load()},Uo={AUDIO:function(e,t){return function(){var i=t.segmentLoaders[e],n=t.mediaTypes[e],r=t.blacklistCurrentPlaylist;Mo(i,n);var a=n.activeTrack(),s=n.activeGroup(),o=(s.filter((function(e){return e.default}))[0]||s[0]).id,l=n.tracks[o];if(a!==l){for(var u in Wr.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),n.tracks)n.tracks[u].enabled=n.tracks[u]===l;n.onTrackChanged()}else r({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var i=t.segmentLoaders[e],n=t.mediaTypes[e];Wr.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Mo(i,n);var r=n.activeTrack();r&&(r.mode="disabled"),n.onTrackChanged()}}},Bo={AUDIO:function(e,t,i){if(t){var n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();a.playlist(e,r),(!n.paused()||e.endList&&"none"!==n.preload())&&a.load()})),t.on("loadedplaylist",(function(){a.playlist(t.media(),r),n.paused()||a.load()})),t.on("error",Uo[e](e,i))}},SUBTITLES:function(e,t,i){var n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e],s=i.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();a.playlist(e,r),a.track(s.activeTrack()),(!n.paused()||e.endList&&"none"!==n.preload())&&a.load()})),t.on("loadedplaylist",(function(){a.playlist(t.media(),r),n.paused()||a.load()})),t.on("error",Uo[e](e,i))}},No={AUDIO:function(e,t){var i=t.vhs,n=t.sourceType,r=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,o=t.mediaTypes[e],l=o.groups,u=o.tracks,d=o.logger_,c=t.masterPlaylistLoader,h=Sa(c.master);for(var p in s[e]&&0!==Object.keys(s[e]).length||(s[e]={main:{default:{default:!0}}},h&&(s[e].main.default.playlists=c.master.playlists)),s[e])for(var f in l[p]||(l[p]=[]),s[e][p]){var m=s[e][p][f],g=void 0;if(h?(d("AUDIO group '"+p+"' label '"+f+"' is a master playlist"),m.isMasterPlaylist=!0,g=null):g="vhs-json"===n&&m.playlists?new Ba(m.playlists[0],i,a):m.resolvedUri?new Ba(m.resolvedUri,i,a):m.playlists&&"dash"===n?new rs(m.playlists[0],i,a,c):null,m=Wr.mergeOptions({id:f,playlistLoader:g},m),Bo[e](e,m.playlistLoader,t),l[p].push(m),"undefined"===typeof u[f]){var _=new Wr.AudioTrack({id:f,kind:Do(m),enabled:!1,language:m.language,default:m.default,label:f});u[f]=_}}r.on("error",Uo[e](e,t))},SUBTITLES:function(e,t){var i=t.tech,n=t.vhs,r=t.sourceType,a=t.segmentLoaders[e],s=t.requestOptions,o=t.master.mediaGroups,l=t.mediaTypes[e],u=l.groups,d=l.tracks,c=t.masterPlaylistLoader;for(var h in o[e])for(var p in u[h]||(u[h]=[]),o[e][h])if(!o[e][h][p].forced){var f=o[e][h][p],m=void 0;if("hls"===r)m=new Ba(f.resolvedUri,n,s);else if("dash"===r){if(!f.playlists.filter((function(e){return e.excludeUntil!==1/0})).length)return;m=new rs(f.playlists[0],n,s,c)}else"vhs-json"===r&&(m=new Ba(f.playlists?f.playlists[0]:f.resolvedUri,n,s));if(f=Wr.mergeOptions({id:p,playlistLoader:m},f),Bo[e](e,f.playlistLoader,t),u[h].push(f),"undefined"===typeof d[p]){var g=i.addRemoteTextTrack({id:p,kind:"subtitles",default:f.default&&f.autoselect,language:f.language,label:p},!1).track;d[p]=g}}a.on("error",Uo[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var i=t.tech,n=t.master.mediaGroups,r=t.mediaTypes[e],a=r.groups,s=r.tracks;for(var o in n[e])for(var l in a[o]||(a[o]=[]),n[e][o]){var u=n[e][o][l];if(/^(?:CC|SERVICE)/.test(u.instreamId)){var d=i.options_.vhs&&i.options_.vhs.captionServices||{},c={label:l,language:u.language,instreamId:u.instreamId,default:u.default&&u.autoselect};if(d[c.instreamId]&&(c=Wr.mergeOptions(c,d[c.instreamId])),void 0===c.default&&delete c.default,a[o].push(Wr.mergeOptions({id:l},u)),"undefined"===typeof s[l]){var h=i.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default,language:c.language,label:c.label},!1).track;s[l]=h}}}}},Fo=function e(t,i){for(var n=0;n1&&Sa(t.master))for(var l=0;l "+a+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,i)},i.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=a().setInterval((function(){return e.checkABR_()}),250)},i.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(a().clearInterval(this.abrTimer_),this.abrTimer_=null)},i.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var i,n=e.mediaGroups.AUDIO,r=Object.keys(n);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)i=this.mediaTypes_.AUDIO.activeTrack();else{var a=n.main||r.length&&n[r[0]];for(var s in a)if(a[s].default){i={label:s};break}}if(!i)return t;var o=[];for(var l in n)if(n[l][i.label]){var u=n[l][i.label];if(u.playlists&&u.playlists.length)o.push.apply(o,u.playlists);else if(u.uri)o.push(u);else if(e.playlists.length)for(var d=0;d1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},i.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,i=this.tech_.currentTime(),n=this.bufferLowWaterLine(),r=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,i=e.buffered,n=e.currentTime,r=e.nextPlaylist,a=e.bufferLowWaterLine,s=e.bufferHighWaterLine,o=e.duration,l=e.experimentalBufferBasedABR,u=e.log;if(!r)return Wr.log.warn("We received no playlist to switch to. Please check your stream."),!1;var d="allowing switch "+(t&&t.id||"null")+" -> "+r.id;if(!t)return u(d+" as current playlist is not set"),!0;if(r.id===t.id)return!1;var c=Boolean(Jr(i,n).length);if(!t.endList)return c||"number"!==typeof t.partTargetDuration?(u(d+" as current playlist is live"),!0):(u("not "+d+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var h=ra(i,n),p=l?as.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:as.MAX_BUFFER_LOW_WATER_LINE;if(om)&&h>=a){var _=d+" as forwardBuffer >= bufferLowWaterLine ("+h+" >= "+a+")";return l&&(_+=" and next bandwidth > current bandwidth ("+f+" > "+m+")"),u(_),!0}return u("not "+d+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:i,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:n,bufferHighWaterLine:r,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},i.setupSegmentLoaderListeners_=function(){var e=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on("bandwidthupdate",(function(){var t=e.selectPlaylist();e.shouldSwitchToMedia_(t)&&e.switchMedia_(t,"bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")}))),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},i.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},i.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},i.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},i.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){Wr.browser.IE_VERSION||Wr.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},i.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()this.maxPlaylistRetries?1/0:Date.now()+1e3*t,i.excludeUntil=n,e.reason&&(i.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var l=this.selectPlaylist();if(!l)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var u=e.internal?this.logger_:Wr.log.warn,d=e.message?" "+e.message:"";u((e.internal?"Internal problem":"Problem")+" encountered with playlist "+i.id+"."+d+" Switching to playlist "+l.id+"."),l.attributes.AUDIO!==i.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),l.attributes.SUBTITLES!==i.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var c=l.targetDuration/2*1e3||5e3,h="number"===typeof l.lastRequest&&Date.now()-l.lastRequest<=c;return this.switchMedia_(l,"exclude",s||h)},i.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},i.delegateLoaders_=function(e,t){var i=this,n=[],r="all"===e;(r||"main"===e)&&n.push(this.masterPlaylistLoader_);var a=[];(r||"audio"===e)&&a.push("AUDIO"),(r||"subtitle"===e)&&(a.push("CLOSED-CAPTIONS"),a.push("SUBTITLES")),a.forEach((function(e){var t=i.mediaTypes_[e]&&i.mediaTypes_[e].activePlaylistLoader;t&&n.push(t)})),["main","audio","subtitle"].forEach((function(t){var r=i[t+"SegmentLoader_"];!r||e!==t&&"all"!==e||n.push(r)})),n.forEach((function(e){return t.forEach((function(t){"function"===typeof e[t]&&e[t]()}))}))},i.setCurrentTime=function(e){var t=Jr(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},i.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:no.Playlist.duration(e):1/0:0},i.seekable=function(){return this.seekable_},i.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var i=this.syncController_.getExpiredTime(t,this.duration());if(null!==i){var n=this.masterPlaylistLoader_.master,r=no.Playlist.seekable(t,i,no.Playlist.liveEdgeDelay(n,t));if(0!==r.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(i=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=no.Playlist.seekable(t,i,no.Playlist.liveEdgeDelay(n,t))).length)return}var a,s;this.seekable_&&this.seekable_.length&&(a=this.seekable_.end(0),s=this.seekable_.start(0)),e?e.start(0)>r.end(0)||r.start(0)>e.end(0)?this.seekable_=r:this.seekable_=Wr.createTimeRanges([[e.start(0)>r.start(0)?e.start(0):r.start(0),e.end(0)0&&(n=Math.max(n,i.end(i.length-1))),this.mediaSource.duration!==n&&this.sourceUpdater_.setDuration(n)}},i.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var i=e.mediaTypes_[t].groups;for(var n in i)i[n].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},i.master=function(){return this.masterPlaylistLoader_.master},i.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},i.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),i=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!i)},i.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};t.video=t.main;var i=Ns(this.master(),this.media()),n={},r=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(n.video=i.video||t.main.videoCodec||k.xz),t.main.isMuxed&&(n.video+=","+(i.audio||t.main.audioCodec||k.lA)),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||r)&&(n.audio=i.audio||t.main.audioCodec||t.audio.audioCodec||k.lA,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),n.audio||n.video){var a,s={};if(["video","audio"].forEach((function(e){if(n.hasOwnProperty(e)&&(r=t[e].isFmp4,o=n[e],!(r?(0,k.p7)(o):(0,k.Hi)(o)))){var i=t[e].isFmp4?"browser":"muxer";s[i]=s[i]||[],s[i].push(n[e]),"audio"===e&&(a=i)}var r,o})),r&&a&&this.media().attributes.AUDIO){var o=this.media().attributes.AUDIO;this.master().playlists.forEach((function(t){(t.attributes&&t.attributes.AUDIO)===o&&t!==e.media()&&(t.excludeUntil=1/0)})),this.logger_("excluding audio group "+o+" as "+a+' does not support codec(s): "'+n.audio+'"')}if(!Object.keys(s).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var l=[];if(["video","audio"].forEach((function(t){var i=((0,k.kS)(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,r=((0,k.kS)(n[t]||"")[0]||{}).type;i&&r&&i.toLowerCase()!==r.toLowerCase()&&l.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+n[t]+'"')})),l.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+l.join(", ")+".",blacklistDuration:1/0,internal:!0})}return n}var u=Object.keys(s).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+s[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:u,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},i.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},i.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,i=[];Object.keys(t).forEach((function(n){var r=t[n];if(-1===i.indexOf(r.id)){i.push(r.id);var a=Ns(e.master,r),s=[];!a.audio||(0,k.Hi)(a.audio)||(0,k.p7)(a.audio)||s.push("audio codec "+a.audio),!a.video||(0,k.Hi)(a.video)||(0,k.p7)(a.video)||s.push("video codec "+a.video),a.text&&"stpp.ttml.im1t"===a.text&&s.push("text codec "+a.text),s.length&&(r.excludeUntil=1/0,e.logger_("excluding "+r.id+" for unsupported: "+s.join(", ")))}}))},i.excludeIncompatibleVariants_=function(e){var t=this,i=[],n=this.master().playlists,r=Us((0,k.kS)(e)),a=Bs(r),s=r.video&&(0,k.kS)(r.video)[0]||null,o=r.audio&&(0,k.kS)(r.audio)[0]||null;Object.keys(n).forEach((function(e){var r=n[e];if(-1===i.indexOf(r.id)&&r.excludeUntil!==1/0){i.push(r.id);var l=[],u=Ns(t.masterPlaylistLoader_.master,r),d=Bs(u);if(u.audio||u.video){if(d!==a&&l.push('codec count "'+d+'" !== "'+a+'"'),!t.sourceUpdater_.canChangeType()){var c=u.video&&(0,k.kS)(u.video)[0]||null,h=u.audio&&(0,k.kS)(u.audio)[0]||null;c&&s&&c.type.toLowerCase()!==s.type.toLowerCase()&&l.push('video codec "'+c.type+'" !== "'+s.type+'"'),h&&o&&h.type.toLowerCase()!==o.type.toLowerCase()&&l.push('audio codec "'+h.type+'" !== "'+o.type+'"')}l.length&&(r.excludeUntil=1/0,t.logger_("blacklisting "+r.id+": "+l.join(" && ")))}}}))},i.updateAdCues_=function(e){var t=0,i=this.seekable();i.length&&(t=i.start(0)),function(e,t,i){if(void 0===i&&(i=0),e.segments)for(var n,r=i,s=0;s0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,i=t[e+"SegmentLoader_"],n=i.buffered_(),r=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var i=0;i=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),i=this.tech_.currentTime();this.afterSeekableWindow_(t,i,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,i)){var n=t.start(0);e=n+(n===t.end(0)?0:Yr)}if("undefined"!==typeof e)return this.logger_("Trying to seek outside of seekable at time "+i+" with seekable range "+ta(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var r=this.masterPlaylistController_.sourceUpdater_,a=this.tech_.buffered(),s=r.audioBuffer?r.audioBuffered():null,o=r.videoBuffer?r.videoBuffered():null,l=this.media(),u=l.partTargetDuration?l.partTargetDuration:2*(l.targetDuration-Xr),d=[s,o],c=0;c "+i.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var i=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+i),this.cancelTimer_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var n=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,r=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:n.audioBuffered(),videoBuffered:n.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var a=ea(r,t);if(a.length>0){var s=a.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+s+", seeking to "+a.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*s,t),!0}return!1},t.afterSeekableWindow_=function(e,t,i,n){if(void 0===n&&(n=!1),!e.length)return!1;var r=e.end(e.length-1)+Yr;return!i.endList&&n&&(r=e.end(e.length-1)+3*i.targetDuration),t>r},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t2)return{start:r,end:a}}return null},e}(),Zo={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Qo=function e(t,i){var n=0,r=0,a=Wr.mergeOptions(Zo,i);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var s=function(){r&&t.currentTime(r)},o=function(e){null!==e&&void 0!==e&&(r=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",s),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},l=function(){return Date.now()-n<1e3*a.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):a.getSource&&"function"===typeof a.getSource?(n=Date.now(),a.getSource.call(t,o)):void Wr.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},u=function e(){t.off("loadedmetadata",s),t.off("error",l),t.off("dispose",e)};t.on("error",l),t.on("dispose",u),t.reloadSourceOnError=function(i){u(),e(t,i)}},Xo="2.14.3",Yo={PlaylistLoader:Ba,Playlist:ka,utils:Xa,STANDARD_PLAYLIST_SELECTOR:zs,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(ka.isEnabled);return qs(t,(function(e,t){return Vs(e,t)})),t.filter((function(t){return!!Ns(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:zs,movingAverageBandwidthSelector:function(e){var t=-1,i=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var n=this.useDevicePixelRatio&&a().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,i=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==i&&(t=e*this.systemBandwidth+(1-e)*t,i=this.systemBandwidth),Ws(this.playlists.master,t,parseInt(Hs(this.tech_.el(),"width"),10)*n,parseInt(Hs(this.tech_.el(),"height"),10)*n,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:Vs,comparePlaylistResolution:function(e,t){var i,n;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(i=e.attributes.RESOLUTION.width),i=i||a().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(n=t.attributes.RESOLUTION.width),i===(n=n||a().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:i-n},xhr:Ha()};Object.keys(as).forEach((function(e){Object.defineProperty(Yo,e,{get:function(){return Wr.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),as[e]},set:function(t){Wr.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!==typeof t||t<0?Wr.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):as[e]=t}})}));var $o="videojs-vhs",Jo=function(e,t){for(var i=t.media(),n=-1,r=0;r=i&&e>=i?Math.max(e,n):n}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){Wr.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return i.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return i.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return i.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return i.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return i.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return i.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return i.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return i.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return i.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return i.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return i.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return i.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return i.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return ia(i.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return i.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return i.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return i.tech_.name_},enumerable:!0},duration:{get:function(){return i.tech_.duration()},enumerable:!0},master:{get:function(){return i.playlists.master},enumerable:!0},playerDimensions:{get:function(){return i.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return ia(i.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return i.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){i.options_.useBandwidthFromLocalStorage&&function(e){if(!a().localStorage)return!1;var t=il();t=t?Wr.mergeOptions(t,e):e;try{a().localStorage.setItem($o,JSON.stringify(t))}catch(i){return!1}}({bandwidth:i.bandwidth,throughput:Math.round(i.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=i).representations=function(){var t=e.masterPlaylistController_.master(),i=Sa(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return i?i.filter((function(e){return!ga(e)})).map((function(t,i){return new zo(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){i.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=a().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},i.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),el({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},i.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},i.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,i=tl({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){if("output-restricted"===t.status){var i=e.masterPlaylistController_.master();if(i&&i.playlists){var n,r=[];if(i.playlists.forEach((function(e){e&&e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height>=720&&(!e.excludeUntil||e.excludeUntil<1/0)&&(e.excludeUntil=1/0,r.push(e))})),r.length)(n=Wr.log).warn.apply(n,['DRM keystatus changed to "output-restricted." Removing the following HD playlists that will most likely fail to play and clearing the buffer. This may be due to HDCP restrictions on the stream and the capabilities of the current device.'].concat(r)),e.masterPlaylistController_.fastQualityChange_()}}})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==Wr.browser.IE_VERSION&&i?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},i.setupQualityLevels_=function(){var e=this,t=Wr.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,i;t=e.qualityLevels_,(i=e).representations().forEach((function(e){t.addQualityLevel(e)})),Jo(t,i.playlists)})),this.playlists.on("mediachange",(function(){Jo(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":Xo,"mux.js":"6.0.1","mpd-parser":"0.21.1","m3u8-parser":"4.7.1","aes-decrypter":"3.1.3"}},i.version=function(){return this.constructor.version()},i.canChangeType=function(){return ko.canChangeType()},i.play=function(){this.masterPlaylistController_.play()},i.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},i.duration=function(){return this.masterPlaylistController_.duration()},i.seekable=function(){return this.masterPlaylistController_.seekable()},i.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&a().URL.revokeObjectURL&&(a().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},i.convertToProgramTime=function(e,t){return Ya({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},i.seekToProgramTime=function(e,t,i,n){return void 0===i&&(i=!0),void 0===n&&(n=2),$a({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(Wr.getComponent("Component")),rl={name:"videojs-http-streaming",VERSION:Xo,canHandleSource:function(e,t){void 0===t&&(t={});var i=Wr.mergeOptions(Wr.options,t);return rl.canPlayType(e.type,i)},handleSource:function(e,t,i){void 0===i&&(i={});var n=Wr.mergeOptions(Wr.options,i);return t.vhs=new nl(e,t,n),Wr.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return Wr.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=Ha(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){void 0===t&&(t={});var i=Wr.mergeOptions(Wr.options,t),n=i.vhs,r=(n=void 0===n?{}:n).overrideNative,a=void 0===r?!Wr.browser.IS_ANY_SAFARI:r,s=i.hls,o=(s=void 0===s?{}:s).overrideNative,l=void 0!==o&&o,u=(0,C.t)(e);return u&&(!Yo.supportsTypeNatively(u)||l||a)?"maybe":""}};((0,k.p7)("avc1.4d400d,mp4a.40.2")&&Wr.getTech("Html5").registerSourceHandler(rl,0),Wr.VhsHandler=nl,Object.defineProperty(Wr,"HlsHandler",{get:function(){return Wr.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),nl},configurable:!0}),Wr.VhsSourceHandler=rl,Object.defineProperty(Wr,"HlsSourceHandler",{get:function(){return Wr.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),rl},configurable:!0}),Wr.Vhs=Yo,Object.defineProperty(Wr,"Hls",{get:function(){return Wr.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Yo},configurable:!0}),Wr.use||(Wr.registerComponent("Hls",Yo),Wr.registerComponent("Vhs",Yo)),Wr.options.vhs=Wr.options.vhs||{},Wr.options.hls=Wr.options.hls||{},Wr.getPlugin&&Wr.getPlugin("reloadSourceOnError"))||(Wr.registerPlugin||Wr.plugin)("reloadSourceOnError",(function(e){Qo(this,e)}));t.Z=Wr}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/framework-2fe4cb6473b20297.js b/static/web/_next/static/chunks/framework-2fe4cb6473b20297.js new file mode 100644 index 000000000..cf210116b --- /dev/null +++ b/static/web/_next/static/chunks/framework-2fe4cb6473b20297.js @@ -0,0 +1,33 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9774],{64448:function(e,n,t){/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ var r,l,a,u,o,i,s=t(67294),c=t(63840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t