\r\n {{-d.message}}\r\n
\r\n {{# } }}\r\n`,s=`${n}`,o=window.open("");o.document.write(r+e+s),o.document.title=`${l_e[i]} JSON Source`}function f_e(e,t){var n;if(e.$schema){const i=zme(e.$schema);t&&t!==i.library&&console.warn(`The given visualization spec is written in ${l_e[i.library]}, but mode argument sets ${null!==(n=l_e[t])&&void 0!==n?n:t}.`);const r=i.library;return(0,ee.satisfies)(u_e[r],`^${i.version.slice(1)}`)||console.warn(`The input spec uses ${l_e[r]} ${i.version}, but the current version of ${l_e[r]} is v${u_e[r]}.`),r}return"mark"in e||"encoding"in e||"layer"in e||"hconcat"in e||"vconcat"in e||"facet"in e||"repeat"in e?"vega-lite":"marks"in e||"signals"in e||"scales"in e||"axes"in e?"vega":null!=t?t:"vega"}function m_e(e){return(t=e)&&"load"in t?e:i_e.loader(e);var t}function g_e(e){var t;return null!==(t=e.usermeta&&e.usermeta.embedOptions)&&void 0!==t?t:{}}function __e(e,t){var n;return Qge(this,void 0,void 0,function*(){const i=bt(e.config)?JSON.parse(yield t.load(e.config)):null!==(n=e.config)&&void 0!==n?n:{},r=bt(e.patch)?JSON.parse(yield t.load(e.patch)):e.patch;return Object.assign(Object.assign(Object.assign({},e),r?{patch:r}:{}),i?{config:i}:{})})}const y_e=function(e,t,n={}){var i,r,s;return Qge(this,void 0,void 0,function*(){let o,a;bt(t)?(a=m_e(n.loader),o=JSON.parse(yield a.load(t))):o=t;const l=g_e(o).loader;a&&!l||(a=m_e(null!==(i=n.loader)&&void 0!==i?i:l));const u=yield __e(g_e(o),a),c=yield __e(n,a),d=Object.assign(Object.assign({},t_e(c,u)),{config:Ae(null!==(r=c.config)&&void 0!==r?r:{},null!==(s=u.config)&&void 0!==s?s:{})});return yield function(e,t,n={},i){var r,s,o,a,l,u;return Qge(this,void 0,void 0,function*(){const c=n.theme?Ae(T[n.theme],null!==(r=n.config)&&void 0!==r?r:{}):n.config,d=mt(n.actions)?n.actions:t_e({},o_e,null!==(s=n.actions)&&void 0!==s?s:{}),h=Object.assign(Object.assign({},a_e),n.i18n),p=null!==(o=n.renderer)&&void 0!==o?o:"canvas",f=null!==(a=n.logLevel)&&void 0!==a?a:i_e.Warn,m=null!==(l=n.downloadFileName)&&void 0!==l?l:"visualization",g="string"==typeof e?document.querySelector(e):e;if(!g)throw new Error(`${e} does not exist`);if(!1!==n.defaultStyle){const e="vega-embed-style",{root:t,rootContainer:i}=function(e){var t;const n=e.getRootNode?e.getRootNode():document;return n instanceof ShadowRoot?{root:n,rootContainer:n}:{root:document,rootContainer:null!==(t=document.head)&&void 0!==t?t:document.body}}(g);if(!t.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerText=void 0===n.defaultStyle||!0===n.defaultStyle?e_e.toString():n.defaultStyle,i.appendChild(t)}}const _=f_e(t,n.mode);let y=c_e[_](t,c);if("vega-lite"===_&&y.$schema){const e=zme(y.$schema);(0,ee.satisfies)(u_e.vega,`^${e.version.slice(1)}`)||console.warn(`The compiled spec uses Vega ${e.version}, but current version is v${u_e.vega}.`)}g.classList.add("vega-embed"),d&&g.classList.add("has-actions"),g.innerHTML="";let v=g;if(d){const e=document.createElement("div");e.classList.add(h_e),g.appendChild(e),v=e}const b=n.patch;b&&(y=b instanceof Function?b(y):$(y,b,!0,!1).newDocument),n.formatLocale&&i_e.formatLocale(n.formatLocale),n.timeFormatLocale&&i_e.timeFormatLocale(n.timeFormatLocale);const{ast:x}=n,E=i_e.parse(y,"vega-lite"===_?{}:c,{ast:x}),w=new(n.viewClass||i_e.View)(E,Object.assign({loader:i,logLevel:f,renderer:p},x?{expr:i_e.expressionInterpreter}:{}));if(!1!==n.tooltip){let e;e=function(e){return"function"==typeof e}(n.tooltip)?n.tooltip:new Zge(!0===n.tooltip?{}:n.tooltip).call,w.tooltip(e)}let I,{hover:A}=n;if(void 0===A&&(A="vega"===_),A){const{hoverSet:e,updateSet:t}="boolean"==typeof A?{}:A;w.hover(e,t)}if(n&&(null!=n.width&&w.width(n.width),null!=n.height&&w.height(n.height),null!=n.padding&&w.padding(n.padding)),yield w.initialize(v,n.bind).runAsync(),!1!==d){let e=g;if(!1!==n.defaultStyle){const t=document.createElement("details");t.title=h.CLICK_TO_VIEW_ACTIONS,g.append(t),e=t;const n=document.createElement("summary");n.innerHTML=d_e,t.append(n),I=e=>{t.contains(e.target)||t.removeAttribute("open")},document.addEventListener("click",I)}const i=document.createElement("div");if(e.append(i),i.classList.add("vega-actions"),!0===d||!1!==d.export)for(const e of["svg","png"])if(!0===d||!0===d.export||d.export[e]){const t=h[`${e.toUpperCase()}_ACTION`],r=document.createElement("a");r.text=t,r.href="#",r.target="_blank",r.download=`${m}.${e}`,r.addEventListener("mousedown",function(t){return Qge(this,void 0,void 0,function*(){t.preventDefault();const i=yield w.toImageURL(e,n.scaleFactor);this.href=i})}),i.append(r)}if(!0===d||!1!==d.source){const e=document.createElement("a");e.text=h.SOURCE_ACTION,e.href="#",e.addEventListener("click",function(e){var i,r;p_e(J()(t),null!==(i=n.sourceHeader)&&void 0!==i?i:"",null!==(r=n.sourceFooter)&&void 0!==r?r:"",_),e.preventDefault()}),i.append(e)}if("vega-lite"===_&&(!0===d||!1!==d.compiled)){const e=document.createElement("a");e.text=h.COMPILED_ACTION,e.href="#",e.addEventListener("click",function(e){var t,i;p_e(J()(y),null!==(t=n.sourceHeader)&&void 0!==t?t:"",null!==(i=n.sourceFooter)&&void 0!==i?i:"","vega"),e.preventDefault()}),i.append(e)}if(!0===d||!1!==d.editor){const e=null!==(u=n.editorUrl)&&void 0!==u?u:"https://vega.github.io/editor/",r=document.createElement("a");r.text=h.EDITOR_ACTION,r.href="#",r.addEventListener("click",function(n){!function(e,t,n){const i=e.open(t),{origin:r}=new URL(t);let s=40;e.addEventListener("message",function t(n){n.source===i&&(s=0,e.removeEventListener("message",t,!1))},!1),setTimeout(function e(){s<=0||(i.postMessage(n,r),setTimeout(e,250),s-=1)},250)}(window,e,{config:c,mode:_,renderer:p,spec:J()(t)}),n.preventDefault()}),i.append(r)}}function S(){I&&document.removeEventListener("click",I),w.finalize()}return{view:w,spec:t,vgSpec:y,finalize:S}})}(e,o,d,a)})}},66262:(e,t)=>{"use strict";t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n}},26944:e=>{"use strict";e.exports=path},85817:()=>{},18590:()=>{},4530:()=>{},8108:()=>{},80551:()=>{},67425:()=>{},9496:()=>{},26786:()=>{},48884:()=>{},98001:()=>{},71613:()=>{},15312:()=>{},89032:()=>{},60574:()=>{},2672:()=>{},58215:()=>{},1417:()=>{},49391:()=>{},83220:()=>{},73985:()=>{},80032:()=>{},75650:()=>{},56644:()=>{},41234:()=>{},48487:e=>{"use strict";var t=/("(?:[^\\"]|\\.)*")|[:,]/g;e.exports=function(e,n){var i,r,s;return n=n||{},i=JSON.stringify([1],void 0,void 0===n.indent?2:n.indent).slice(2,-3),r=""===i?1/0:void 0===n.maxLength?80:n.maxLength,s=n.replacer,function e(n,o,a){var l,u,c,d,h,p,f,m,g,_,y,v;if(n&&"function"==typeof n.toJSON&&(n=n.toJSON()),void 0===(y=JSON.stringify(n,s)))return y;if(f=r-o.length-a,y.length<=f&&(g=y.replace(t,function(e,t){return t||e+" "})).length<=f)return g;if(null!=s&&(n=JSON.parse(y),s=void 0),"object"==typeof n&&null!==n){if(m=o+i,c=[],u=0,Array.isArray(n))for(_="[",l="]",f=n.length;u`,s=`${n}`,o=window.open("");o.document.write(r+e+s),o.document.title=`${l_e[i]} JSON Source`}function f_e(e,t){var n;if(e.$schema){const i=zme(e.$schema);t&&t!==i.library&&console.warn(`The given visualization spec is written in ${l_e[i.library]}, but mode argument sets ${null!==(n=l_e[t])&&void 0!==n?n:t}.`);const r=i.library;return(0,ee.satisfies)(u_e[r],`^${i.version.slice(1)}`)||console.warn(`The input spec uses ${l_e[r]} ${i.version}, but the current version of ${l_e[r]} is v${u_e[r]}.`),r}return"mark"in e||"encoding"in e||"layer"in e||"hconcat"in e||"vconcat"in e||"facet"in e||"repeat"in e?"vega-lite":"marks"in e||"signals"in e||"scales"in e||"axes"in e?"vega":null!=t?t:"vega"}function m_e(e){return(t=e)&&"load"in t?e:i_e.loader(e);var t}function g_e(e){var t;return null!==(t=e.usermeta&&e.usermeta.embedOptions)&&void 0!==t?t:{}}function __e(e,t){var n;return Qge(this,void 0,void 0,function*(){const i=bt(e.config)?JSON.parse(yield t.load(e.config)):null!==(n=e.config)&&void 0!==n?n:{},r=bt(e.patch)?JSON.parse(yield t.load(e.patch)):e.patch;return Object.assign(Object.assign(Object.assign({},e),r?{patch:r}:{}),i?{config:i}:{})})}const y_e=function(e,t,n={}){var i,r,s;return Qge(this,void 0,void 0,function*(){let o,a;bt(t)?(a=m_e(n.loader),o=JSON.parse(yield a.load(t))):o=t;const l=g_e(o).loader;a&&!l||(a=m_e(null!==(i=n.loader)&&void 0!==i?i:l));const u=yield __e(g_e(o),a),c=yield __e(n,a),d=Object.assign(Object.assign({},t_e(c,u)),{config:Ae(null!==(r=c.config)&&void 0!==r?r:{},null!==(s=u.config)&&void 0!==s?s:{})});return yield function(e,t,n={},i){var r,s,o,a,l,u;return Qge(this,void 0,void 0,function*(){const c=n.theme?Ae(T[n.theme],null!==(r=n.config)&&void 0!==r?r:{}):n.config,d=mt(n.actions)?n.actions:t_e({},o_e,null!==(s=n.actions)&&void 0!==s?s:{}),h=Object.assign(Object.assign({},a_e),n.i18n),p=null!==(o=n.renderer)&&void 0!==o?o:"canvas",f=null!==(a=n.logLevel)&&void 0!==a?a:i_e.Warn,m=null!==(l=n.downloadFileName)&&void 0!==l?l:"visualization",g="string"==typeof e?document.querySelector(e):e;if(!g)throw new Error(`${e} does not exist`);if(!1!==n.defaultStyle){const e="vega-embed-style",{root:t,rootContainer:i}=function(e){var t;const n=e.getRootNode?e.getRootNode():document;return n instanceof ShadowRoot?{root:n,rootContainer:n}:{root:document,rootContainer:null!==(t=document.head)&&void 0!==t?t:document.body}}(g);if(!t.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerText=void 0===n.defaultStyle||!0===n.defaultStyle?e_e.toString():n.defaultStyle,i.appendChild(t)}}const _=f_e(t,n.mode);let y=c_e[_](t,c);if("vega-lite"===_&&y.$schema){const e=zme(y.$schema);(0,ee.satisfies)(u_e.vega,`^${e.version.slice(1)}`)||console.warn(`The compiled spec uses Vega ${e.version}, but current version is v${u_e.vega}.`)}g.classList.add("vega-embed"),d&&g.classList.add("has-actions"),g.innerHTML="";let v=g;if(d){const e=document.createElement("div");e.classList.add(h_e),g.appendChild(e),v=e}const b=n.patch;b&&(y=b instanceof Function?b(y):$(y,b,!0,!1).newDocument),n.formatLocale&&i_e.formatLocale(n.formatLocale),n.timeFormatLocale&&i_e.timeFormatLocale(n.timeFormatLocale);const{ast:x}=n,E=i_e.parse(y,"vega-lite"===_?{}:c,{ast:x}),w=new(n.viewClass||i_e.View)(E,Object.assign({loader:i,logLevel:f,renderer:p},x?{expr:i_e.expressionInterpreter}:{}));if(!1!==n.tooltip){let e;e=function(e){return"function"==typeof e}(n.tooltip)?n.tooltip:new Zge(!0===n.tooltip?{}:n.tooltip).call,w.tooltip(e)}let I,{hover:A}=n;if(void 0===A&&(A="vega"===_),A){const{hoverSet:e,updateSet:t}="boolean"==typeof A?{}:A;w.hover(e,t)}if(n&&(null!=n.width&&w.width(n.width),null!=n.height&&w.height(n.height),null!=n.padding&&w.padding(n.padding)),yield w.initialize(v,n.bind).runAsync(),!1!==d){let e=g;if(!1!==n.defaultStyle){const t=document.createElement("details");t.title=h.CLICK_TO_VIEW_ACTIONS,g.append(t),e=t;const n=document.createElement("summary");n.innerHTML=d_e,t.append(n),I=e=>{t.contains(e.target)||t.removeAttribute("open")},document.addEventListener("click",I)}const i=document.createElement("div");if(e.append(i),i.classList.add("vega-actions"),!0===d||!1!==d.export)for(const e of["svg","png"])if(!0===d||!0===d.export||d.export[e]){const t=h[`${e.toUpperCase()}_ACTION`],r=document.createElement("a");r.text=t,r.href="#",r.target="_blank",r.download=`${m}.${e}`,r.addEventListener("mousedown",function(t){return Qge(this,void 0,void 0,function*(){t.preventDefault();const i=yield w.toImageURL(e,n.scaleFactor);this.href=i})}),i.append(r)}if(!0===d||!1!==d.source){const e=document.createElement("a");e.text=h.SOURCE_ACTION,e.href="#",e.addEventListener("click",function(e){var i,r;p_e(J()(t),null!==(i=n.sourceHeader)&&void 0!==i?i:"",null!==(r=n.sourceFooter)&&void 0!==r?r:"",_),e.preventDefault()}),i.append(e)}if("vega-lite"===_&&(!0===d||!1!==d.compiled)){const e=document.createElement("a");e.text=h.COMPILED_ACTION,e.href="#",e.addEventListener("click",function(e){var t,i;p_e(J()(y),null!==(t=n.sourceHeader)&&void 0!==t?t:"",null!==(i=n.sourceFooter)&&void 0!==i?i:"","vega"),e.preventDefault()}),i.append(e)}if(!0===d||!1!==d.editor){const e=null!==(u=n.editorUrl)&&void 0!==u?u:"https://vega.github.io/editor/",r=document.createElement("a");r.text=h.EDITOR_ACTION,r.href="#",r.addEventListener("click",function(n){!function(e,t,n){const i=e.open(t),{origin:r}=new URL(t);let s=40;e.addEventListener("message",function t(n){n.source===i&&(s=0,e.removeEventListener("message",t,!1))},!1),setTimeout(function e(){s<=0||(i.postMessage(n,r),setTimeout(e,250),s-=1)},250)}(window,e,{config:c,mode:_,renderer:p,spec:J()(t)}),n.preventDefault()}),i.append(r)}}function S(){I&&document.removeEventListener("click",I),w.finalize()}return{view:w,spec:t,vgSpec:y,finalize:S}})}(e,o,d,a)})}},66262:(e,t)=>{"use strict";t.A=(e,t)=>{const n=e.__vccOpts||e;for(const[e,i]of t)n[e]=i;return n}},26944:e=>{"use strict";e.exports=path},85817:()=>{},18590:()=>{},4530:()=>{},8108:()=>{},80551:()=>{},67425:()=>{},9496:()=>{},26786:()=>{},48884:()=>{},98001:()=>{},71613:()=>{},15312:()=>{},89032:()=>{},60574:()=>{},2672:()=>{},58215:()=>{},1417:()=>{},49391:()=>{},83220:()=>{},73985:()=>{},80032:()=>{},75650:()=>{},56644:()=>{},41234:()=>{},48487:e=>{"use strict";var t=/("(?:[^\\"]|\\.)*")|[:,]/g;e.exports=function(e,n){var i,r,s;return n=n||{},i=JSON.stringify([1],void 0,void 0===n.indent?2:n.indent).slice(2,-3),r=""===i?1/0:void 0===n.maxLength?80:n.maxLength,s=n.replacer,function e(n,o,a){var l,u,c,d,h,p,f,m,g,_,y,v;if(n&&"function"==typeof n.toJSON&&(n=n.toJSON()),void 0===(y=JSON.stringify(n,s)))return y;if(f=r-o.length-a,y.length<=f&&(g=y.replace(t,function(e,t){return t||e+" "})).length<=f)return g;if(null!=s&&(n=JSON.parse(y),s=void 0),"object"==typeof n&&null!==n){if(m=o+i,c=[],u=0,Array.isArray(n))for(_="[",l="]",f=n.length;u{const{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);const d=o(e),p=h(s(e),t,d,n,i,r,a);return p&&uS(p)&&"]"===p.data?s(t.anchor=p):(aS(),l(t.anchor=u("]"),d,p),p)},f=(e,t,i,r,l,u)=>{if(_S(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&UI("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":uS(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),aS()),t.el=null,u){const t=m(e);for(;;){const n=s(e);if(!n||n===t)break;a(n)}}const c=s(e),d=o(e);return a(e),n(null,t,d,c,i,r,lS(d),l),i&&(i.vnode.el=t.el,BO(i,t.el)),c},m=(e,t="[",n="]")=>{let i=0;for(;e;)if((e=s(e))&&uS(e)&&(e.data===t&&i++,e.data===n)){if(0===i)return s(e);i--}return e},g=(e,t,n)=>{const i=t.parentNode;i&&i.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},_=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&UI("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),aA(),void(t._vnode=e);c(t.firstChild,e,null,null,null),aA(),t._vnode=e},c]}function dS(e,t,n,i,r){let s,o,a,l;if("class"===t)a=e.getAttribute("class"),l=yE(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(hS(a||""),hS(l))||(s=2,o="class");else if("style"===t){a=e.getAttribute("style")||"",l=Vx(n)?n:function(e){if(!e)return"";if(Vx(e))return e;let t="";for(const n in e){const i=e[n];(Vx(i)||"number"==typeof i)&&(t+=`${n.startsWith("--")?n:nE(n)}:${i};`)}return t}(pE(n));const t=pS(a),u=pS(l);if(i.dirs)for(const{dir:e,value:t}of i.dirs)"show"!==e.name||t||u.set("display","none");r&&fS(r,i,u),function(e,t){if(e.size!==t.size)return!1;for(const[n,i]of e)if(i!==t.get(n))return!1;return!0}(t,u)||(s=3,o="style")}else(e instanceof SVGElement&&OE(t)||e instanceof HTMLElement&&(AE(t)||CE(t)))&&(AE(t)?(a=e.hasAttribute(t),l=SE(n)):null==n?(a=e.hasAttribute(t),l=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==l&&(s=4,o=t));if(null!=s&&!_S(e,s)){const t=e=>!1===e?"(not rendered)":`${o}="${e}"`;return UI(`Hydration ${gS[s]} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function hS(e){return new Set(e.trim().split(/\s+/))}function pS(e){const t=new Map;for(const n of e.split(";")){let[e,i]=n.split(":");e=e.trim(),i=i&&i.trim(),e&&i&&t.set(e,i)}return t}function fS(e,t,n){const i=e.subTree;if(e.getCssVars&&(t===i||i&&i.type===WO&&i.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${kE(e,!1)}`,String(t[e]))}t===i&&e.parent&&fS(e.parent,e.vnode,n)}const mS="data-allow-mismatch",gS={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function _S(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(mS);)e=e.parentElement;const n=e&&e.getAttribute(mS);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(gS[t])}}const yS=dE().requestIdleCallback||(e=>setTimeout(e,1)),vS=dE().cancelIdleCallback||(e=>clearTimeout(e)),bS=(e=1e4)=>t=>{const n=yS(t,{timeout:e});return()=>vS(n)};const TS=e=>(t,n)=>{const i=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){i.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:i,right:r}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:o}=window;return(t>0&&t {const{slotScopeIds:c}=t;c&&(r=r?r.concat(c):c);const d=o(e),p=h(s(e),t,d,n,i,r,a);return p&&pS(p)&&"]"===p.data?s(t.anchor=p):(dS(),l(t.anchor=u("]"),d,p),p)},f=(e,t,i,r,l,u)=>{if(TS(e.parentElement,1)||(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&YI("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":pS(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),dS()),t.el=null,u){const t=m(e);for(;;){const n=s(e);if(!n||n===t)break;a(n)}}const c=s(e),d=o(e);return a(e),n(null,t,d,c,i,r,hS(d),l),i&&(i.vnode.el=t.el,zO(i,t.el)),c},m=(e,t="[",n="]")=>{let i=0;for(;e;)if((e=s(e))&&pS(e)&&(e.data===t&&i++,e.data===n)){if(0===i)return s(e);i--}return e},g=(e,t,n)=>{const i=t.parentNode;i&&i.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},_=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&YI("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),dA(),void(t._vnode=e);c(t.firstChild,e,null,null,null),dA(),t._vnode=e},c]}function mS(e,t,n,i,r){let s,o,a,l;if("class"===t)a=e.getAttribute("class"),l=xE(n),function(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}(gS(a||""),gS(l))||(s=2,o="class");else if("style"===t){a=e.getAttribute("style")||"",l=Gx(n)?n:function(e){if(!e)return"";if(Gx(e))return e;let t="";for(const n in e){const i=e[n];(Gx(i)||"number"==typeof i)&&(t+=`${n.startsWith("--")?n:oE(n)}:${i};`)}return t}(_E(n));const t=_S(a),u=_S(l);if(i.dirs)for(const{dir:e,value:t}of i.dirs)"show"!==e.name||t||u.set("display","none");r&&yS(r,i,u),function(e,t){if(e.size!==t.size)return!1;for(const[n,i]of e)if(i!==t.get(n))return!1;return!0}(t,u)||(s=3,o="style")}else(e instanceof SVGElement&&NE(t)||e instanceof HTMLElement&&(ME(t)||RE(t)))&&(ME(t)?(a=e.hasAttribute(t),l=kE(n)):null==n?(a=e.hasAttribute(t),l=!1):(a=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,l=!!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(n)&&String(n)),a!==l&&(s=4,o=t));if(null!=s&&!TS(e,s)){const t=e=>!1===e?"(not rendered)":`${o}="${e}"`;return YI(`Hydration ${bS[s]} mismatch on`,e,`\n - rendered on server: ${t(a)}\n - expected on client: ${t(l)}\n Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n You should fix the source of the mismatch.`),!0}return!1}function gS(e){return new Set(e.trim().split(/\s+/))}function _S(e){const t=new Map;for(const n of e.split(";")){let[e,i]=n.split(":");e=e.trim(),i=i&&i.trim(),e&&i&&t.set(e,i)}return t}function yS(e,t,n){const i=e.subTree;if(e.getCssVars&&(t===i||i&&i.type===ZO&&i.children.includes(t))){const t=e.getCssVars();for(const e in t)n.set(`--${FE(e,!1)}`,String(t[e]))}t===i&&e.parent&&yS(e.parent,e.vnode,n)}const vS="data-allow-mismatch",bS={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function TS(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(vS);)e=e.parentElement;const n=e&&e.getAttribute(vS);if(null==n)return!1;if(""===n)return!0;{const e=n.split(",");return!(0!==t||!e.includes("children"))||n.split(",").includes(bS[t])}}const xS=mE().requestIdleCallback||(e=>setTimeout(e,1)),ES=mE().cancelIdleCallback||(e=>clearTimeout(e)),wS=(e=1e4)=>t=>{const n=xS(t,{timeout:e});return()=>ES(n)};const IS=e=>(t,n)=>{const i=new IntersectionObserver(e=>{for(const n of e)if(n.isIntersecting){i.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element)return function(e){const{top:t,left:n,bottom:i,right:r}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:o}=window;return(t>0&&t0&&i0&&n0&&i0&&nString(e)===String(o)):NE(t,o)>-1}else s.selected=t.has(o);else if(RE(NR(s),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function NR(e){return"_value"in e?e._value:e.value}function DR(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const FR={created(e,t,n){PR(e,t,n,null,"created")},mounted(e,t,n){PR(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){PR(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){PR(e,t,n,i,"updated")}};function LR(e,t){switch(e){case"SELECT":return kR;case"TEXTAREA":return SR;default:switch(t){case"checkbox":return CR;case"radio":return MR;default:return SR}}}function PR(e,t,n,i,r){const s=LR(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,i)}const BR=["ctrl","shift","alt","meta"],$R={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>BR.some(n=>e[`${n}Key`]&&!t.includes(n))},UR=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(n,...i)=>{for(let e=0;e
Vérifiez que votre navigateur est à jour.
Version détectée : ${t.name} ${t.version}.`);for(const e of document.body.querySelectorAll(".basthon-loader-foot"))e.classList.remove("basthon-loader-foot"),e.classList.add("basthon-loader-full");return o.classList.remove("basthon-loader-spinner"),o.classList.add("basthon-loader-error"),void(this._doNotHideLoader=!0)}this._doNotHideLoader=!1,n&&this.hideLoader()}setLoaderText(e){null!=this._loaderTextElem&&(this._loaderTextElem.innerHTML=e)}setErrorText(e){null!=this._loaderTextElem&&(this._loaderTextElem.style.display="none"),null!=this._loaderTextError&&(this._loaderTextError.style.display="",this._loaderTextError.innerHTML=e)}hideLoader(){if(this._doNotHideLoader)return;const e=this._rootLoader;null!=e&&(e.classList.add("basthon-loader-hide"),window.setTimeout(()=>{this._rootLoader=void 0,e.remove()},1100))}browser(){var e,t=navigator.userAgent,n=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?{name:"IE",version:(e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""}:"Chrome"===n[1]&&null!=(e=t.match(/\bOPR|Edge\/(\d+)/))?{name:"Opera",version:e[1]}:(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),{name:n[0],version:n[1]})}}class nP extends ze.PageBase{static{ze.HTMLTemplate.add("html/statusbar/statusbar-image.html",new ze.HTMLTemplate('\r\n')),this.init=function(){ze.StatusBarsManager.typesRegistry.register(["images"],nP);const e=ze.Workspace.getMain().getStatusBarsManager();return e.add({type:"images",id:"images",name:Ve.Msg.PYTHON_PYODIDE_IMAGE,title:Ve.Msg.PYTHON_PYODIDE_IMAGE}),e.changeTo("output"),e.get("images")}}constructor(){super();const e=wx()(ze.HTMLTemplate.get("html/statusbar/statusbar-image.html").render());this.setContent(e)}init(){super.init(),this.hideCloseBtn()}clean(){this.getContent().empty()}display(e){const t=this.getContent(),n=function(e){e.style.width="auto",e.style.height="auto",e.style.maxWidth="100%",e.style.maxHeight="100%"};this.clean();let i=e.content,r=null,s=null;switch(e.display_type){case"p5":i.style.width="100%",i.style.height="100%",i.style.display="flex",i.style.justifyContent="center",i.style.alignItems="center",new MutationObserver(function(e){e.forEach(e=>e.addedNodes.forEach(e=>{const t=e;null!=t.tagName&&["canvas","video"].includes(t.tagName.toLowerCase())&&n(t)}))}).observe(i,{childList:!0}),i.querySelectorAll("canvas,video").forEach(n),t.append(i);break;case"matplotlib":r=i.querySelector("canvas"),r&&(i=r),i.style.width="",i.style.height="",i.style.maxWidth="100%",i.style.maxHeight="100%",t.append(i);break;case"ocaml-canvas":i.style.width="",i.style.height="",i.style.maxWidth="100%",i.style.maxHeight="100%",t.append(i);break;case"turtle":i.setAttribute("width","100%"),i.setAttribute("height","100%"),t.append(i.outerHTML);break;case"sympy":t.append(e.content),void 0===window.MathJax?(console.log("Loading MathJax (Sympy expression needs it)."),function(){let e=document.createElement("script");e.type="text/javascript",e.src="https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-mml-chtml.js",document.getElementsByTagName("head")[0].appendChild(e)}()):window.MathJax.typeset();break;case"multiple":for(let n of["image/svg+xml","image/png","text/html","text/plain"])if(n in e.content){let i=e.content[n];"image/png"===n&&(i=''),t.append(i);break}break;case"tutor":if(t.append(wx()(e.content.replace("overflow-y%3A%20hidden%3B",""))),s=this.getContent()[0].getElementsByTagName("iframe")[0],null==s)return;s.style.maxHeight=s.style.minHeight="100%",new IntersectionObserver((e,t)=>{const n=e[0];n&&!n.isIntersecting||(s.contentWindow?.postMessage({type:"redraw"},"*"),t.disconnect())}).observe(s);break;default:console.error(`Not supported node type '${e.display_type}' in eval.display result processing.`)}}}const iP=layui;var rP;!function(e){e[e.EPERM=1]="EPERM",e[e.ENOENT=2]="ENOENT",e[e.EINTR=4]="EINTR",e[e.EIO=5]="EIO",e[e.ENXIO=6]="ENXIO",e[e.EBADF=9]="EBADF",e[e.EAGAIN=11]="EAGAIN",e[e.ENOMEM=12]="ENOMEM",e[e.EACCES=13]="EACCES",e[e.EFAULT=14]="EFAULT",e[e.ENOTBLK=15]="ENOTBLK",e[e.EBUSY=16]="EBUSY",e[e.EEXIST=17]="EEXIST",e[e.EXDEV=18]="EXDEV",e[e.ENODEV=19]="ENODEV",e[e.ENOTDIR=20]="ENOTDIR",e[e.EISDIR=21]="EISDIR",e[e.EINVAL=22]="EINVAL",e[e.ENFILE=23]="ENFILE",e[e.EMFILE=24]="EMFILE",e[e.ETXTBSY=26]="ETXTBSY",e[e.EFBIG=27]="EFBIG",e[e.ENOSPC=28]="ENOSPC",e[e.ESPIPE=29]="ESPIPE",e[e.EROFS=30]="EROFS",e[e.EMLINK=31]="EMLINK",e[e.EPIPE=32]="EPIPE",e[e.EDOM=33]="EDOM",e[e.ERANGE=34]="ERANGE",e[e.EDEADLK=35]="EDEADLK",e[e.ENAMETOOLONG=36]="ENAMETOOLONG",e[e.ENOLCK=37]="ENOLCK",e[e.ENOSYS=38]="ENOSYS",e[e.ENOTEMPTY=39]="ENOTEMPTY",e[e.ELOOP=40]="ELOOP",e[e.ENOMSG=42]="ENOMSG",e[e.EBADE=52]="EBADE",e[e.EBADR=53]="EBADR",e[e.EXFULL=54]="EXFULL",e[e.ENOANO=55]="ENOANO",e[e.EBADRQC=56]="EBADRQC",e[e.ENOSTR=60]="ENOSTR",e[e.ENODATA=61]="ENODATA",e[e.ETIME=62]="ETIME",e[e.ENOSR=63]="ENOSR",e[e.ENONET=64]="ENONET",e[e.EREMOTE=66]="EREMOTE",e[e.ENOLINK=67]="ENOLINK",e[e.ECOMM=70]="ECOMM",e[e.EPROTO=71]="EPROTO",e[e.EBADMSG=74]="EBADMSG",e[e.EOVERFLOW=75]="EOVERFLOW",e[e.EBADFD=77]="EBADFD",e[e.ESTRPIPE=86]="ESTRPIPE",e[e.ENOTSOCK=88]="ENOTSOCK",e[e.EDESTADDRREQ=89]="EDESTADDRREQ",e[e.EMSGSIZE=90]="EMSGSIZE",e[e.EPROTOTYPE=91]="EPROTOTYPE",e[e.ENOPROTOOPT=92]="ENOPROTOOPT",e[e.EPROTONOSUPPORT=93]="EPROTONOSUPPORT",e[e.ESOCKTNOSUPPORT=94]="ESOCKTNOSUPPORT",e[e.ENOTSUP=95]="ENOTSUP",e[e.ENETDOWN=100]="ENETDOWN",e[e.ENETUNREACH=101]="ENETUNREACH",e[e.ENETRESET=102]="ENETRESET",e[e.ETIMEDOUT=110]="ETIMEDOUT",e[e.ECONNREFUSED=111]="ECONNREFUSED",e[e.EHOSTDOWN=112]="EHOSTDOWN",e[e.EHOSTUNREACH=113]="EHOSTUNREACH",e[e.EALREADY=114]="EALREADY",e[e.EINPROGRESS=115]="EINPROGRESS",e[e.ESTALE=116]="ESTALE",e[e.EREMOTEIO=121]="EREMOTEIO",e[e.EDQUOT=122]="EDQUOT"}(rP||(rP={}));const sP={[rP.EPERM]:"Operation not permitted",[rP.ENOENT]:"No such file or directory",[rP.EINTR]:"Interrupted system call",[rP.EIO]:"Input/output error",[rP.ENXIO]:"No such device or address",[rP.EBADF]:"Bad file descriptor",[rP.EAGAIN]:"Resource temporarily unavailable",[rP.ENOMEM]:"Cannot allocate memory",[rP.EACCES]:"Permission denied",[rP.EFAULT]:"Bad address",[rP.ENOTBLK]:"Block device required",[rP.EBUSY]:"Resource busy or locked",[rP.EEXIST]:"File exists",[rP.EXDEV]:"Invalid cross-device link",[rP.ENODEV]:"No such device",[rP.ENOTDIR]:"File is not a directory",[rP.EISDIR]:"File is a directory",[rP.EINVAL]:"Invalid argument",[rP.ENFILE]:"Too many open files in system",[rP.EMFILE]:"Too many open files",[rP.ETXTBSY]:"Text file busy",[rP.EFBIG]:"File is too big",[rP.ENOSPC]:"No space left on disk",[rP.ESPIPE]:"Illegal seek",[rP.EROFS]:"Cannot modify a read-only file system",[rP.EMLINK]:"Too many links",[rP.EPIPE]:"Broken pipe",[rP.EDOM]:"Numerical argument out of domain",[rP.ERANGE]:"Numerical result out of range",[rP.EDEADLK]:"Resource deadlock would occur",[rP.ENAMETOOLONG]:"File name too long",[rP.ENOLCK]:"No locks available",[rP.ENOSYS]:"Function not implemented",[rP.ENOTEMPTY]:"Directory is not empty",[rP.ELOOP]:"Too many levels of symbolic links",[rP.ENOMSG]:"No message of desired type",[rP.EBADE]:"Invalid exchange",[rP.EBADR]:"Invalid request descriptor",[rP.EXFULL]:"Exchange full",[rP.ENOANO]:"No anode",[rP.EBADRQC]:"Invalid request code",[rP.ENOSTR]:"Device not a stream",[rP.ENODATA]:"No data available",[rP.ETIME]:"Timer expired",[rP.ENOSR]:"Out of streams resources",[rP.ENONET]:"Machine is not on the network",[rP.EREMOTE]:"Object is remote",[rP.ENOLINK]:"Link has been severed",[rP.ECOMM]:"Communication error on send",[rP.EPROTO]:"Protocol error",[rP.EBADMSG]:"Bad message",[rP.EOVERFLOW]:"Value too large for defined data type",[rP.EBADFD]:"File descriptor in bad state",[rP.ESTRPIPE]:"Streams pipe error",[rP.ENOTSOCK]:"Socket operation on non-socket",[rP.EDESTADDRREQ]:"Destination address required",[rP.EMSGSIZE]:"Message too long",[rP.EPROTOTYPE]:"Protocol wrong type for socket",[rP.ENOPROTOOPT]:"Protocol not available",[rP.EPROTONOSUPPORT]:"Protocol not supported",[rP.ESOCKTNOSUPPORT]:"Socket type not supported",[rP.ENOTSUP]:"Operation is not supported",[rP.ENETDOWN]:"Network is down",[rP.ENETUNREACH]:"Network is unreachable",[rP.ENETRESET]:"Network dropped connection on reset",[rP.ETIMEDOUT]:"Connection timed out",[rP.ECONNREFUSED]:"Connection refused",[rP.EHOSTDOWN]:"Host is down",[rP.EHOSTUNREACH]:"No route to host",[rP.EALREADY]:"Operation already in progress",[rP.EINPROGRESS]:"Operation now in progress",[rP.ESTALE]:"Stale file handle",[rP.EREMOTEIO]:"Remote I/O error",[rP.EDQUOT]:"Disk quota exceeded"};class oP extends Error{static fromJSON(e){const t=new oP(e.errno,e.message,e.path,e.syscall);return t.code=e.code,t.stack=e.stack,t}static With(e,t,n){return new oP(rP[e],sP[rP[e]],t,n)}constructor(e,t=sP[e],n,i=""){super(t),this.errno=e,this.path=n,this.syscall=i,this.code=rP[e],this.message=this.code+": "+t+(this.path?`, '${this.path}'`:"")}toString(){return this.message}toJSON(){return{errno:this.errno,code:this.code,path:this.path,stack:this.stack,message:this.message,syscall:this.syscall}}bufferSize(){return 4+JSON.stringify(this.toJSON()).length}}let aP="/";function lP(e,t){let n="",i=0,r=-1,s=0,o="\0";for(let a=0;a<=e.length;++a){if(a
String(e)===String(o)):PE(t,o)>-1}else s.selected=t.has(o);else if(LE(PR(s),t))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function PR(e){return"_value"in e?e._value:e.value}function BR(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $R={created(e,t,n){VR(e,t,n,null,"created")},mounted(e,t,n){VR(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){VR(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){VR(e,t,n,i,"updated")}};function UR(e,t){switch(e){case"SELECT":return FR;case"TEXTAREA":return kR;default:switch(t){case"checkbox":return RR;case"radio":return DR;default:return kR}}}function VR(e,t,n,i,r){const s=UR(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,i)}const zR=["ctrl","shift","alt","meta"],jR={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>zR.some(n=>e[`${n}Key`]&&!t.includes(n))},YR=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(n,...i)=>{for(let e=0;e
Vérifiez que votre navigateur est à jour.
Version détectée : ${t.name} ${t.version}.`);for(const e of document.body.querySelectorAll(".basthon-loader-foot"))e.classList.remove("basthon-loader-foot"),e.classList.add("basthon-loader-full");return o.classList.remove("basthon-loader-spinner"),o.classList.add("basthon-loader-error"),void(this._doNotHideLoader=!0)}this._doNotHideLoader=!1,n&&this.hideLoader()}setLoaderText(e){null!=this._loaderTextElem&&(this._loaderTextElem.innerHTML=e)}setErrorText(e){null!=this._loaderTextElem&&(this._loaderTextElem.style.display="none"),null!=this._loaderTextError&&(this._loaderTextError.style.display="",this._loaderTextError.innerHTML=e)}hideLoader(){if(this._doNotHideLoader)return;const e=this._rootLoader;null!=e&&(e.classList.add("basthon-loader-hide"),window.setTimeout(()=>{this._rootLoader=void 0,e.remove()},1100))}browser(){var e,t=navigator.userAgent,n=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(n[1])?{name:"IE",version:(e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""}:"Chrome"===n[1]&&null!=(e=t.match(/\bOPR|Edge\/(\d+)/))?{name:"Opera",version:e[1]}:(n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]),{name:n[0],version:n[1]})}}class oP extends ze.PageBase{static{ze.HTMLTemplate.add("html/statusbar/statusbar-image.html",new ze.HTMLTemplate('\r\n')),this.init=function(){ze.StatusBarsManager.typesRegistry.register(["images"],oP);const e=ze.Workspace.getMain().getStatusBarsManager();return e.add({type:"images",id:"images",name:Ve.Msg.PYTHON_PYODIDE_IMAGE,title:Ve.Msg.PYTHON_PYODIDE_IMAGE}),e.changeTo("output"),e.get("images")}}constructor(){super();const e=Cx()(ze.HTMLTemplate.get("html/statusbar/statusbar-image.html").render());this.setContent(e)}init(){super.init(),this.hideCloseBtn()}clean(){this.getContent().empty()}display(e){const t=this.getContent(),n=function(e){e.style.width="auto",e.style.height="auto",e.style.maxWidth="100%",e.style.maxHeight="100%"};this.clean();let i=e.content,r=null,s=null;switch(e.display_type){case"p5":i.style.width="100%",i.style.height="100%",i.style.display="flex",i.style.justifyContent="center",i.style.alignItems="center",new MutationObserver(function(e){e.forEach(e=>e.addedNodes.forEach(e=>{const t=e;null!=t.tagName&&["canvas","video"].includes(t.tagName.toLowerCase())&&n(t)}))}).observe(i,{childList:!0}),i.querySelectorAll("canvas,video").forEach(n),t.append(i);break;case"matplotlib":r=i.querySelector("canvas"),r&&(i=r),i.style.width="",i.style.height="",i.style.maxWidth="100%",i.style.maxHeight="100%",t.append(i);break;case"ocaml-canvas":i.style.width="",i.style.height="",i.style.maxWidth="100%",i.style.maxHeight="100%",t.append(i);break;case"turtle":i.setAttribute("width","100%"),i.setAttribute("height","100%"),t.append(i.outerHTML);break;case"sympy":t.append(e.content),void 0===window.MathJax?(console.log("Loading MathJax (Sympy expression needs it)."),function(){let e=document.createElement("script");e.type="text/javascript",e.src="https://cdn.jsdelivr.net/npm/mathjax@3.0.5/es5/tex-mml-chtml.js",document.getElementsByTagName("head")[0].appendChild(e)}()):window.MathJax.typeset();break;case"multiple":for(let n of["image/svg+xml","image/png","text/html","text/plain"])if(n in e.content){let i=e.content[n];"image/png"===n&&(i=''),t.append(i);break}break;case"tutor":if(t.append(Cx()(e.content.replace("overflow-y%3A%20hidden%3B",""))),s=this.getContent()[0].getElementsByTagName("iframe")[0],null==s)return;s.style.maxHeight=s.style.minHeight="100%",new IntersectionObserver((e,t)=>{const n=e[0];n&&!n.isIntersecting||(s.contentWindow?.postMessage({type:"redraw"},"*"),t.disconnect())}).observe(s);break;default:console.error(`Not supported node type '${e.display_type}' in eval.display result processing.`)}}}const aP=layui;var lP;!function(e){e[e.EPERM=1]="EPERM",e[e.ENOENT=2]="ENOENT",e[e.EINTR=4]="EINTR",e[e.EIO=5]="EIO",e[e.ENXIO=6]="ENXIO",e[e.EBADF=9]="EBADF",e[e.EAGAIN=11]="EAGAIN",e[e.ENOMEM=12]="ENOMEM",e[e.EACCES=13]="EACCES",e[e.EFAULT=14]="EFAULT",e[e.ENOTBLK=15]="ENOTBLK",e[e.EBUSY=16]="EBUSY",e[e.EEXIST=17]="EEXIST",e[e.EXDEV=18]="EXDEV",e[e.ENODEV=19]="ENODEV",e[e.ENOTDIR=20]="ENOTDIR",e[e.EISDIR=21]="EISDIR",e[e.EINVAL=22]="EINVAL",e[e.ENFILE=23]="ENFILE",e[e.EMFILE=24]="EMFILE",e[e.ETXTBSY=26]="ETXTBSY",e[e.EFBIG=27]="EFBIG",e[e.ENOSPC=28]="ENOSPC",e[e.ESPIPE=29]="ESPIPE",e[e.EROFS=30]="EROFS",e[e.EMLINK=31]="EMLINK",e[e.EPIPE=32]="EPIPE",e[e.EDOM=33]="EDOM",e[e.ERANGE=34]="ERANGE",e[e.EDEADLK=35]="EDEADLK",e[e.ENAMETOOLONG=36]="ENAMETOOLONG",e[e.ENOLCK=37]="ENOLCK",e[e.ENOSYS=38]="ENOSYS",e[e.ENOTEMPTY=39]="ENOTEMPTY",e[e.ELOOP=40]="ELOOP",e[e.ENOMSG=42]="ENOMSG",e[e.EBADE=52]="EBADE",e[e.EBADR=53]="EBADR",e[e.EXFULL=54]="EXFULL",e[e.ENOANO=55]="ENOANO",e[e.EBADRQC=56]="EBADRQC",e[e.ENOSTR=60]="ENOSTR",e[e.ENODATA=61]="ENODATA",e[e.ETIME=62]="ETIME",e[e.ENOSR=63]="ENOSR",e[e.ENONET=64]="ENONET",e[e.EREMOTE=66]="EREMOTE",e[e.ENOLINK=67]="ENOLINK",e[e.ECOMM=70]="ECOMM",e[e.EPROTO=71]="EPROTO",e[e.EBADMSG=74]="EBADMSG",e[e.EOVERFLOW=75]="EOVERFLOW",e[e.EBADFD=77]="EBADFD",e[e.ESTRPIPE=86]="ESTRPIPE",e[e.ENOTSOCK=88]="ENOTSOCK",e[e.EDESTADDRREQ=89]="EDESTADDRREQ",e[e.EMSGSIZE=90]="EMSGSIZE",e[e.EPROTOTYPE=91]="EPROTOTYPE",e[e.ENOPROTOOPT=92]="ENOPROTOOPT",e[e.EPROTONOSUPPORT=93]="EPROTONOSUPPORT",e[e.ESOCKTNOSUPPORT=94]="ESOCKTNOSUPPORT",e[e.ENOTSUP=95]="ENOTSUP",e[e.ENETDOWN=100]="ENETDOWN",e[e.ENETUNREACH=101]="ENETUNREACH",e[e.ENETRESET=102]="ENETRESET",e[e.ETIMEDOUT=110]="ETIMEDOUT",e[e.ECONNREFUSED=111]="ECONNREFUSED",e[e.EHOSTDOWN=112]="EHOSTDOWN",e[e.EHOSTUNREACH=113]="EHOSTUNREACH",e[e.EALREADY=114]="EALREADY",e[e.EINPROGRESS=115]="EINPROGRESS",e[e.ESTALE=116]="ESTALE",e[e.EREMOTEIO=121]="EREMOTEIO",e[e.EDQUOT=122]="EDQUOT"}(lP||(lP={}));const uP={[lP.EPERM]:"Operation not permitted",[lP.ENOENT]:"No such file or directory",[lP.EINTR]:"Interrupted system call",[lP.EIO]:"Input/output error",[lP.ENXIO]:"No such device or address",[lP.EBADF]:"Bad file descriptor",[lP.EAGAIN]:"Resource temporarily unavailable",[lP.ENOMEM]:"Cannot allocate memory",[lP.EACCES]:"Permission denied",[lP.EFAULT]:"Bad address",[lP.ENOTBLK]:"Block device required",[lP.EBUSY]:"Resource busy or locked",[lP.EEXIST]:"File exists",[lP.EXDEV]:"Invalid cross-device link",[lP.ENODEV]:"No such device",[lP.ENOTDIR]:"File is not a directory",[lP.EISDIR]:"File is a directory",[lP.EINVAL]:"Invalid argument",[lP.ENFILE]:"Too many open files in system",[lP.EMFILE]:"Too many open files",[lP.ETXTBSY]:"Text file busy",[lP.EFBIG]:"File is too big",[lP.ENOSPC]:"No space left on disk",[lP.ESPIPE]:"Illegal seek",[lP.EROFS]:"Cannot modify a read-only file system",[lP.EMLINK]:"Too many links",[lP.EPIPE]:"Broken pipe",[lP.EDOM]:"Numerical argument out of domain",[lP.ERANGE]:"Numerical result out of range",[lP.EDEADLK]:"Resource deadlock would occur",[lP.ENAMETOOLONG]:"File name too long",[lP.ENOLCK]:"No locks available",[lP.ENOSYS]:"Function not implemented",[lP.ENOTEMPTY]:"Directory is not empty",[lP.ELOOP]:"Too many levels of symbolic links",[lP.ENOMSG]:"No message of desired type",[lP.EBADE]:"Invalid exchange",[lP.EBADR]:"Invalid request descriptor",[lP.EXFULL]:"Exchange full",[lP.ENOANO]:"No anode",[lP.EBADRQC]:"Invalid request code",[lP.ENOSTR]:"Device not a stream",[lP.ENODATA]:"No data available",[lP.ETIME]:"Timer expired",[lP.ENOSR]:"Out of streams resources",[lP.ENONET]:"Machine is not on the network",[lP.EREMOTE]:"Object is remote",[lP.ENOLINK]:"Link has been severed",[lP.ECOMM]:"Communication error on send",[lP.EPROTO]:"Protocol error",[lP.EBADMSG]:"Bad message",[lP.EOVERFLOW]:"Value too large for defined data type",[lP.EBADFD]:"File descriptor in bad state",[lP.ESTRPIPE]:"Streams pipe error",[lP.ENOTSOCK]:"Socket operation on non-socket",[lP.EDESTADDRREQ]:"Destination address required",[lP.EMSGSIZE]:"Message too long",[lP.EPROTOTYPE]:"Protocol wrong type for socket",[lP.ENOPROTOOPT]:"Protocol not available",[lP.EPROTONOSUPPORT]:"Protocol not supported",[lP.ESOCKTNOSUPPORT]:"Socket type not supported",[lP.ENOTSUP]:"Operation is not supported",[lP.ENETDOWN]:"Network is down",[lP.ENETUNREACH]:"Network is unreachable",[lP.ENETRESET]:"Network dropped connection on reset",[lP.ETIMEDOUT]:"Connection timed out",[lP.ECONNREFUSED]:"Connection refused",[lP.EHOSTDOWN]:"Host is down",[lP.EHOSTUNREACH]:"No route to host",[lP.EALREADY]:"Operation already in progress",[lP.EINPROGRESS]:"Operation now in progress",[lP.ESTALE]:"Stale file handle",[lP.EREMOTEIO]:"Remote I/O error",[lP.EDQUOT]:"Disk quota exceeded"};class cP extends Error{static fromJSON(e){const t=new cP(e.errno,e.message,e.path,e.syscall);return t.code=e.code,t.stack=e.stack,t}static With(e,t,n){return new cP(lP[e],uP[lP[e]],t,n)}constructor(e,t=uP[e],n,i=""){super(t),this.errno=e,this.path=n,this.syscall=i,this.code=lP[e],this.message=this.code+": "+t+(this.path?`, '${this.path}'`:"")}toString(){return this.message}toJSON(){return{errno:this.errno,code:this.code,path:this.path,stack:this.stack,message:this.message,syscall:this.syscall}}bufferSize(){return 4+JSON.stringify(this.toJSON()).length}}let dP="/";function hP(e,t){let n="",i=0,r=-1,s=0,o="\0";for(let a=0;a<=e.length;++a){if(a