From dea365c19f2fef514cd26319c37cad68458e2359 Mon Sep 17 00:00:00 2001 From: Pierre GIRAUD Date: Thu, 4 Dec 2025 10:35:17 +0100 Subject: [PATCH] chore: update PEV2 to 1.19.0 --- app/static/dist/.vite/manifest.json | 26 +- app/static/dist/assets/about-CKQnskSa.js | 556 -- app/static/dist/assets/index-Dr3hVjsI.js | 5885 ---------------------- app/static/dist/assets/pev2-DHmpisUd.js | 708 --- app/static/dist/assets/plan-CoLxfwo8.css | 1 - app/static/dist/assets/plan-DKe1sD8E.js | 1 - app/static/dist/assets/vue-BjHIh3JK.js | 23 - package-lock.json | 495 +- package.json | 2 +- 9 files changed, 348 insertions(+), 7349 deletions(-) delete mode 100644 app/static/dist/assets/about-CKQnskSa.js delete mode 100644 app/static/dist/assets/index-Dr3hVjsI.js delete mode 100644 app/static/dist/assets/pev2-DHmpisUd.js delete mode 100644 app/static/dist/assets/plan-CoLxfwo8.css delete mode 100644 app/static/dist/assets/plan-DKe1sD8E.js delete mode 100644 app/static/dist/assets/vue-BjHIh3JK.js diff --git a/app/static/dist/.vite/manifest.json b/app/static/dist/.vite/manifest.json index bc466cc..0752262 100644 --- a/app/static/dist/.vite/manifest.json +++ b/app/static/dist/.vite/manifest.json @@ -3,52 +3,52 @@ "file": "assets/lodash-CMEUj9tG.js", "name": "lodash" }, - "_pev2-DHmpisUd.js": { - "file": "assets/pev2-DHmpisUd.js", + "_pev2-LJW4KdAJ.js": { + "file": "assets/pev2-LJW4KdAJ.js", "name": "pev2", "imports": [ - "_vue-BjHIh3JK.js" + "_vue-C2WJwuOg.js" ] }, - "_vue-BjHIh3JK.js": { - "file": "assets/vue-BjHIh3JK.js", + "_vue-C2WJwuOg.js": { + "file": "assets/vue-C2WJwuOg.js", "name": "vue" }, "app/static/js/common.js": { - "file": "assets/about-CKQnskSa.js", + "file": "assets/about-v_tSXYsd.js", "name": "about", "src": "app/static/js/common.js", "isEntry": true, "imports": [ - "_vue-BjHIh3JK.js" + "_vue-C2WJwuOg.js" ], "css": [ "assets/about-CJy7BhAo.css" ] }, "app/static/js/index.js": { - "file": "assets/index-Dr3hVjsI.js", + "file": "assets/index-BtUauzKv.js", "name": "index", "src": "app/static/js/index.js", "isEntry": true, "imports": [ "app/static/js/common.js", - "_vue-BjHIh3JK.js", + "_vue-C2WJwuOg.js", "_lodash-CMEUj9tG.js" ] }, "app/static/js/plan.js": { - "file": "assets/plan-DKe1sD8E.js", + "file": "assets/plan-CG1h-Kc6.js", "name": "plan", "src": "app/static/js/plan.js", "isEntry": true, "imports": [ "app/static/js/common.js", - "_vue-BjHIh3JK.js", - "_pev2-DHmpisUd.js" + "_vue-C2WJwuOg.js", + "_pev2-LJW4KdAJ.js" ], "css": [ - "assets/plan-CoLxfwo8.css" + "assets/plan-CD5tDWWA.css" ] } } \ No newline at end of file diff --git a/app/static/dist/assets/about-CKQnskSa.js b/app/static/dist/assets/about-CKQnskSa.js deleted file mode 100644 index 9a65163..0000000 --- a/app/static/dist/assets/about-CKQnskSa.js +++ /dev/null @@ -1,556 +0,0 @@ -import{d as Ba,c as Ft,w as Ya,J as Ka,K as Ua}from"./vue-BjHIh3JK.js";var M="top",j="bottom",H="right",R="left",Qe="auto",ee=[M,j,H,R],Dt="start",Ut="end",ns="clippingParents",or="viewport",Ht="popper",rs="reference",Rn=ee.reduce(function(e,t){return e.concat([t+"-"+Dt,t+"-"+Ut])},[]),lr=[].concat(ee,[Qe]).reduce(function(e,t){return e.concat([t,t+"-"+Dt,t+"-"+Ut])},[]),is="beforeRead",ss="read",as="afterRead",os="beforeMain",ls="main",cs="afterMain",fs="beforeWrite",us="write",ds="afterWrite",hs=[is,ss,as,os,ls,cs,fs,us,ds];function et(e){return e?(e.nodeName||"").toLowerCase():null}function W(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lt(e){var t=W(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=W(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function cr(e){if(typeof ShadowRoot>"u")return!1;var t=W(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ga(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!B(s)||!et(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(a){var o=i[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function Xa(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),o=a.reduce(function(l,f){return l[f]="",l},{});!B(i)||!et(i)||(Object.assign(i.style,o),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const fr={name:"applyStyles",enabled:!0,phase:"write",fn:Ga,effect:Xa,requires:["computeStyles"]};function J(e){return e.split("-")[0]}var It=Math.max,Be=Math.min,Gt=Math.round;function Fn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ps(){return!/^((?!chrome|android).)*safari/i.test(Fn())}function Xt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,s=1;t&&B(e)&&(i=e.offsetWidth>0&&Gt(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&Gt(r.height)/e.offsetHeight||1);var a=Lt(e)?W(e):window,o=a.visualViewport,l=!ps()&&n,f=(r.left+(l&&o?o.offsetLeft:0))/i,c=(r.top+(l&&o?o.offsetTop:0))/s,m=r.width/i,p=r.height/s;return{width:m,height:p,top:c,right:f+m,bottom:c+p,left:f,x:f,y:c}}function ur(e){var t=Xt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ms(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function st(e){return W(e).getComputedStyle(e)}function qa(e){return["table","td","th"].indexOf(et(e))>=0}function bt(e){return((Lt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ze(e){return et(e)==="html"?e:e.assignedSlot||e.parentNode||(cr(e)?e.host:null)||bt(e)}function Yr(e){return!B(e)||st(e).position==="fixed"?null:e.offsetParent}function Qa(e){var t=/firefox/i.test(Fn()),n=/Trident/i.test(Fn());if(n&&B(e)){var r=st(e);if(r.position==="fixed")return null}var i=Ze(e);for(cr(i)&&(i=i.host);B(i)&&["html","body"].indexOf(et(i))<0;){var s=st(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function ve(e){for(var t=W(e),n=Yr(e);n&&qa(n)&&st(n).position==="static";)n=Yr(n);return n&&(et(n)==="html"||et(n)==="body"&&st(n).position==="static")?t:n||Qa(e)||t}function dr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ue(e,t,n){return It(e,Be(t,n))}function Za(e,t,n){var r=ue(e,t,n);return r>n?n:r}function gs(){return{top:0,right:0,bottom:0,left:0}}function _s(e){return Object.assign({},gs(),e)}function vs(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Ja=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,_s(typeof t!="number"?t:vs(t,ee))};function to(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,o=J(n.placement),l=dr(o),f=[R,H].indexOf(o)>=0,c=f?"height":"width";if(!(!s||!a)){var m=Ja(i.padding,n),p=ur(s),_=l==="y"?M:R,O=l==="y"?j:H,y=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],A=a[l]-n.rects.reference[l],h=ve(s),g=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,T=y/2-A/2,b=m[_],w=g-p[c]-m[O],S=g/2-p[c]/2+T,C=ue(b,S,w),x=l;n.modifiersData[r]=(t={},t[x]=C,t.centerOffset=C-S,t)}}function eo(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||ms(t.elements.popper,i)&&(t.elements.arrow=i))}const bs={name:"arrow",enabled:!0,phase:"main",fn:to,effect:eo,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qt(e){return e.split("-")[1]}var no={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ro(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Gt(n*i)/i||0,y:Gt(r*i)/i||0}}function Kr(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,a=e.offsets,o=e.position,l=e.gpuAcceleration,f=e.adaptive,c=e.roundOffsets,m=e.isFixed,p=a.x,_=p===void 0?0:p,O=a.y,y=O===void 0?0:O,A=typeof c=="function"?c({x:_,y}):{x:_,y};_=A.x,y=A.y;var h=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),T=R,b=M,w=window;if(f){var S=ve(n),C="clientHeight",x="clientWidth";if(S===W(n)&&(S=bt(n),st(S).position!=="static"&&o==="absolute"&&(C="scrollHeight",x="scrollWidth")),S=S,i===M||(i===R||i===H)&&s===Ut){b=j;var D=m&&S===w&&w.visualViewport?w.visualViewport.height:S[C];y-=D-r.height,y*=l?1:-1}if(i===R||(i===M||i===j)&&s===Ut){T=H;var I=m&&S===w&&w.visualViewport?w.visualViewport.width:S[x];_-=I-r.width,_*=l?1:-1}}var L=Object.assign({position:o},f&&no),G=c===!0?ro({x:_,y},W(n)):{x:_,y};if(_=G.x,y=G.y,l){var $;return Object.assign({},L,($={},$[b]=g?"0":"",$[T]=h?"0":"",$.transform=(w.devicePixelRatio||1)<=1?"translate("+_+"px, "+y+"px)":"translate3d("+_+"px, "+y+"px, 0)",$))}return Object.assign({},L,(t={},t[b]=g?y+"px":"",t[T]=h?_+"px":"",t.transform="",t))}function io(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,o=n.roundOffsets,l=o===void 0?!0:o,f={placement:J(t.placement),variation:qt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kr(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kr(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const hr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:io,data:{}};var Ie={passive:!0};function so(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,a=r.resize,o=a===void 0?!0:a,l=W(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(c){c.addEventListener("scroll",n.update,Ie)}),o&&l.addEventListener("resize",n.update,Ie),function(){s&&f.forEach(function(c){c.removeEventListener("scroll",n.update,Ie)}),o&&l.removeEventListener("resize",n.update,Ie)}}const pr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:so,data:{}};var ao={left:"right",right:"left",bottom:"top",top:"bottom"};function Ve(e){return e.replace(/left|right|bottom|top/g,function(t){return ao[t]})}var oo={start:"end",end:"start"};function Ur(e){return e.replace(/start|end/g,function(t){return oo[t]})}function mr(e){var t=W(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function gr(e){return Xt(bt(e)).left+mr(e).scrollLeft}function lo(e,t){var n=W(e),r=bt(e),i=n.visualViewport,s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;var f=ps();(f||!f&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o+gr(e),y:l}}function co(e){var t,n=bt(e),r=mr(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=It(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=It(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-r.scrollLeft+gr(e),l=-r.scrollTop;return st(i||n).direction==="rtl"&&(o+=It(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:a,x:o,y:l}}function _r(e){var t=st(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Es(e){return["html","body","#document"].indexOf(et(e))>=0?e.ownerDocument.body:B(e)&&_r(e)?e:Es(Ze(e))}function de(e,t){var n;t===void 0&&(t=[]);var r=Es(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=W(r),a=i?[s].concat(s.visualViewport||[],_r(r)?r:[]):r,o=t.concat(a);return i?o:o.concat(de(Ze(a)))}function Vn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fo(e,t){var n=Xt(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Gr(e,t,n){return t===or?Vn(lo(e,n)):Lt(t)?fo(t,n):Vn(co(bt(e)))}function uo(e){var t=de(Ze(e)),n=["absolute","fixed"].indexOf(st(e).position)>=0,r=n&&B(e)?ve(e):e;return Lt(r)?t.filter(function(i){return Lt(i)&&ms(i,r)&&et(i)!=="body"}):[]}function ho(e,t,n,r){var i=t==="clippingParents"?uo(e):[].concat(t),s=[].concat(i,[n]),a=s[0],o=s.reduce(function(l,f){var c=Gr(e,f,r);return l.top=It(c.top,l.top),l.right=Be(c.right,l.right),l.bottom=Be(c.bottom,l.bottom),l.left=It(c.left,l.left),l},Gr(e,a,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ys(e){var t=e.reference,n=e.element,r=e.placement,i=r?J(r):null,s=r?qt(r):null,a=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2,l;switch(i){case M:l={x:a,y:t.y-n.height};break;case j:l={x:a,y:t.y+t.height};break;case H:l={x:t.x+t.width,y:o};break;case R:l={x:t.x-n.width,y:o};break;default:l={x:t.x,y:t.y}}var f=i?dr(i):null;if(f!=null){var c=f==="y"?"height":"width";switch(s){case Dt:l[f]=l[f]-(t[c]/2-n[c]/2);break;case Ut:l[f]=l[f]+(t[c]/2-n[c]/2);break}}return l}function Qt(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,o=n.boundary,l=o===void 0?ns:o,f=n.rootBoundary,c=f===void 0?or:f,m=n.elementContext,p=m===void 0?Ht:m,_=n.altBoundary,O=_===void 0?!1:_,y=n.padding,A=y===void 0?0:y,h=_s(typeof A!="number"?A:vs(A,ee)),g=p===Ht?rs:Ht,T=e.rects.popper,b=e.elements[O?g:p],w=ho(Lt(b)?b:b.contextElement||bt(e.elements.popper),l,c,a),S=Xt(e.elements.reference),C=ys({reference:S,element:T,placement:i}),x=Vn(Object.assign({},T,C)),D=p===Ht?x:S,I={top:w.top-D.top+h.top,bottom:D.bottom-w.bottom+h.bottom,left:w.left-D.left+h.left,right:D.right-w.right+h.right},L=e.modifiersData.offset;if(p===Ht&&L){var G=L[i];Object.keys(I).forEach(function($){var At=[H,j].indexOf($)>=0?1:-1,Tt=[M,j].indexOf($)>=0?"y":"x";I[$]+=G[Tt]*At})}return I}function po(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,f=l===void 0?lr:l,c=qt(r),m=c?o?Rn:Rn.filter(function(O){return qt(O)===c}):ee,p=m.filter(function(O){return f.indexOf(O)>=0});p.length===0&&(p=m);var _=p.reduce(function(O,y){return O[y]=Qt(e,{placement:y,boundary:i,rootBoundary:s,padding:a})[J(y)],O},{});return Object.keys(_).sort(function(O,y){return _[O]-_[y]})}function mo(e){if(J(e)===Qe)return[];var t=Ve(e);return[Ur(e),t,Ur(t)]}function go(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!0:a,l=n.fallbackPlacements,f=n.padding,c=n.boundary,m=n.rootBoundary,p=n.altBoundary,_=n.flipVariations,O=_===void 0?!0:_,y=n.allowedAutoPlacements,A=t.options.placement,h=J(A),g=h===A,T=l||(g||!O?[Ve(A)]:mo(A)),b=[A].concat(T).reduce(function(Rt,ft){return Rt.concat(J(ft)===Qe?po(t,{placement:ft,boundary:c,rootBoundary:m,padding:f,flipVariations:O,allowedAutoPlacements:y}):ft)},[]),w=t.rects.reference,S=t.rects.popper,C=new Map,x=!0,D=b[0],I=0;I=0,Tt=At?"width":"height",V=Qt(t,{placement:L,boundary:c,rootBoundary:m,altBoundary:p,padding:f}),X=At?$?H:R:$?j:M;w[Tt]>S[Tt]&&(X=Ve(X));var Oe=Ve(X),wt=[];if(s&&wt.push(V[G]<=0),o&&wt.push(V[X]<=0,V[Oe]<=0),wt.every(function(Rt){return Rt})){D=L,x=!1;break}C.set(L,wt)}if(x)for(var Se=O?3:1,un=function(ft){var oe=b.find(function(Ne){var Ot=C.get(Ne);if(Ot)return Ot.slice(0,ft).every(function(dn){return dn})});if(oe)return D=oe,"break"},ae=Se;ae>0;ae--){var Ce=un(ae);if(Ce==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}const As={name:"flip",enabled:!0,phase:"main",fn:go,requiresIfExists:["offset"],data:{_skip:!1}};function Xr(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function qr(e){return[M,H,j,R].some(function(t){return e[t]>=0})}function _o(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,a=Qt(t,{elementContext:"reference"}),o=Qt(t,{altBoundary:!0}),l=Xr(a,r),f=Xr(o,i,s),c=qr(l),m=qr(f);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":m})}const Ts={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:_o};function vo(e,t,n){var r=J(e),i=[R,M].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],o=s[1];return a=a||0,o=(o||0)*i,[R,H].indexOf(r)>=0?{x:o,y:a}:{x:a,y:o}}function bo(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,a=lr.reduce(function(c,m){return c[m]=vo(m,t.rects,s),c},{}),o=a[t.placement],l=o.x,f=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=f),t.modifiersData[r]=a}const ws={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bo};function Eo(e){var t=e.state,n=e.name;t.modifiersData[n]=ys({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const vr={name:"popperOffsets",enabled:!0,phase:"read",fn:Eo,data:{}};function yo(e){return e==="x"?"y":"x"}function Ao(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!1:a,l=n.boundary,f=n.rootBoundary,c=n.altBoundary,m=n.padding,p=n.tether,_=p===void 0?!0:p,O=n.tetherOffset,y=O===void 0?0:O,A=Qt(t,{boundary:l,rootBoundary:f,padding:m,altBoundary:c}),h=J(t.placement),g=qt(t.placement),T=!g,b=dr(h),w=yo(b),S=t.modifiersData.popperOffsets,C=t.rects.reference,x=t.rects.popper,D=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,I=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(S){if(s){var $,At=b==="y"?M:R,Tt=b==="y"?j:H,V=b==="y"?"height":"width",X=S[b],Oe=X+A[At],wt=X-A[Tt],Se=_?-x[V]/2:0,un=g===Dt?C[V]:x[V],ae=g===Dt?-x[V]:-C[V],Ce=t.elements.arrow,Rt=_&&Ce?ur(Ce):{width:0,height:0},ft=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gs(),oe=ft[At],Ne=ft[Tt],Ot=ue(0,C[V],Rt[V]),dn=T?C[V]/2-Se-Ot-oe-I.mainAxis:un-Ot-oe-I.mainAxis,Fa=T?-C[V]/2+Se+Ot+Ne+I.mainAxis:ae+Ot+Ne+I.mainAxis,hn=t.elements.arrow&&ve(t.elements.arrow),Va=hn?b==="y"?hn.clientTop||0:hn.clientLeft||0:0,Mr=($=L?.[b])!=null?$:0,ja=X+dn-Mr-Va,Ha=X+Fa-Mr,Rr=ue(_?Be(Oe,ja):Oe,X,_?It(wt,Ha):wt);S[b]=Rr,G[b]=Rr-X}if(o){var Fr,Wa=b==="x"?M:R,za=b==="x"?j:H,St=S[w],xe=w==="y"?"height":"width",Vr=St+A[Wa],jr=St-A[za],pn=[M,R].indexOf(h)!==-1,Hr=(Fr=L?.[w])!=null?Fr:0,Wr=pn?Vr:St-C[xe]-x[xe]-Hr+I.altAxis,zr=pn?St+C[xe]+x[xe]-Hr-I.altAxis:jr,Br=_&&pn?Za(Wr,St,zr):ue(_?Wr:Vr,St,_?zr:jr);S[w]=Br,G[w]=Br-St}t.modifiersData[r]=G}}const Os={name:"preventOverflow",enabled:!0,phase:"main",fn:Ao,requiresIfExists:["offset"]};function To(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wo(e){return e===W(e)||!B(e)?mr(e):To(e)}function Oo(e){var t=e.getBoundingClientRect(),n=Gt(t.width)/e.offsetWidth||1,r=Gt(t.height)/e.offsetHeight||1;return n!==1||r!==1}function So(e,t,n){n===void 0&&(n=!1);var r=B(t),i=B(t)&&Oo(t),s=bt(t),a=Xt(e,i,n),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((et(t)!=="body"||_r(s))&&(o=wo(t)),B(t)?(l=Xt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=gr(s))),{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function Co(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!n.has(o)){var l=t.get(o);l&&i(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function No(e){var t=Co(e);return hs.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function xo(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Io(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Qr={placement:"bottom",modifiers:[],strategy:"absolute"};function Zr(){for(var e=arguments.length,t=new Array(e),n=0;n(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),Ro=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Fo=e=>{do e+=Math.floor(Math.random()*$o);while(document.getElementById(e));return e},Vo=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),i=Number.parseFloat(n);return!r&&!i?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*Mo)},Ns=e=>{e.dispatchEvent(new Event(jn))},rt=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ht=e=>rt(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Cs(e)):null,ne=e=>{if(!rt(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const r=e.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return t},pt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",xs=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?xs(e.parentNode):null},Ye=()=>{},be=e=>{e.offsetHeight},Is=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,gn=[],jo=e=>{document.readyState==="loading"?(gn.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of gn)t()}),gn.push(e)):e()},Y=()=>document.documentElement.dir==="rtl",U=e=>{jo(()=>{const t=Is();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}})},F=(e,t=[],n=e)=>typeof e=="function"?e.call(...t):n,Ds=(e,t,n=!0)=>{if(!n){F(e);return}const i=Vo(t)+5;let s=!1;const a=({target:o})=>{o===t&&(s=!0,t.removeEventListener(jn,a),F(e))};t.addEventListener(jn,a),setTimeout(()=>{s||Ns(t)},i)},Er=(e,t,n,r)=>{const i=e.length;let s=e.indexOf(t);return s===-1?!n&&r?e[i-1]:e[0]:(s+=n?1:-1,r&&(s=(s+i)%i),e[Math.max(0,Math.min(s,i-1))])},Ho=/[^.]*(?=\..*)\.|.*/,Wo=/\..*/,zo=/::\d+$/,_n={};let Jr=1;const Ls={mouseenter:"mouseover",mouseleave:"mouseout"},Bo=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ps(e,t){return t&&`${t}::${Jr++}`||e.uidEvent||Jr++}function ks(e){const t=Ps(e);return e.uidEvent=t,_n[t]=_n[t]||{},_n[t]}function Yo(e,t){return function n(r){return yr(r,{delegateTarget:e}),n.oneOff&&u.off(e,r.type,t),t.apply(e,[r])}}function Ko(e,t,n){return function r(i){const s=e.querySelectorAll(t);for(let{target:a}=i;a&&a!==this;a=a.parentNode)for(const o of s)if(o===a)return yr(i,{delegateTarget:a}),r.oneOff&&u.off(e,i.type,t,n),n.apply(a,[i])}}function $s(e,t,n=null){return Object.values(e).find(r=>r.callable===t&&r.delegationSelector===n)}function Ms(e,t,n){const r=typeof t=="string",i=r?n:t||n;let s=Rs(e);return Bo.has(s)||(s=e),[r,i,s]}function ti(e,t,n,r,i){if(typeof t!="string"||!e)return;let[s,a,o]=Ms(t,n,r);t in Ls&&(a=(O=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return O.call(this,y)})(a));const l=ks(e),f=l[o]||(l[o]={}),c=$s(f,a,s?n:null);if(c){c.oneOff=c.oneOff&&i;return}const m=Ps(a,t.replace(Ho,"")),p=s?Ko(e,n,a):Yo(e,a);p.delegationSelector=s?n:null,p.callable=a,p.oneOff=i,p.uidEvent=m,f[m]=p,e.addEventListener(o,p,s)}function Hn(e,t,n,r,i){const s=$s(t[n],r,i);s&&(e.removeEventListener(n,s,!!i),delete t[n][s.uidEvent])}function Uo(e,t,n,r){const i=t[n]||{};for(const[s,a]of Object.entries(i))s.includes(r)&&Hn(e,t,n,a.callable,a.delegationSelector)}function Rs(e){return e=e.replace(Wo,""),Ls[e]||e}const u={on(e,t,n,r){ti(e,t,n,r,!1)},one(e,t,n,r){ti(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!="string"||!e)return;const[i,s,a]=Ms(t,n,r),o=a!==t,l=ks(e),f=l[a]||{},c=t.startsWith(".");if(typeof s<"u"){if(!Object.keys(f).length)return;Hn(e,l,a,s,i?n:null);return}if(c)for(const m of Object.keys(l))Uo(e,l,m,t.slice(1));for(const[m,p]of Object.entries(f)){const _=m.replace(zo,"");(!o||t.includes(_))&&Hn(e,l,a,p.callable,p.delegationSelector)}},trigger(e,t,n){if(typeof t!="string"||!e)return null;const r=Is(),i=Rs(t),s=t!==i;let a=null,o=!0,l=!0,f=!1;s&&r&&(a=r.Event(t,n),r(e).trigger(a),o=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented());const c=yr(new Event(t,{bubbles:o,cancelable:!0}),n);return f&&c.preventDefault(),l&&e.dispatchEvent(c),c.defaultPrevented&&a&&a.preventDefault(),c}};function yr(e,t={}){for(const[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get(){return r}})}return e}function ei(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function vn(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const it={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${vn(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${vn(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),t[i]=ei(e.dataset[r])}return t},getDataAttribute(e,t){return ei(e.getAttribute(`data-bs-${vn(t)}`))}};class Ee{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,n){const r=rt(n)?it.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...rt(n)?it.getDataAttributes(n):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,n=this.constructor.DefaultType){for(const[r,i]of Object.entries(n)){const s=t[r],a=rt(s)?"element":Ro(s);if(!new RegExp(i).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${a}" but expected type "${i}".`)}}}const Go="5.3.8";class q extends Ee{constructor(t,n){super(),t=ht(t),t&&(this._element=t,this._config=this._getConfig(n),mn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){mn.remove(this._element,this.constructor.DATA_KEY),u.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,n,r=!0){Ds(t,n,r)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return mn.get(ht(t),this.DATA_KEY)}static getOrCreateInstance(t,n={}){return this.getInstance(t)||new this(t,typeof n=="object"?n:null)}static get VERSION(){return Go}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const bn=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&n!=="#"?n.trim():null}return t?t.split(",").map(n=>Cs(n)).join(","):null},E={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(n=>n.matches(t))},parents(e,t){const n=[];let r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(n=>!pt(n)&&ne(n))},getSelectorFromElement(e){const t=bn(e);return t&&E.findOne(t)?t:null},getElementFromSelector(e){const t=bn(e);return t?E.findOne(t):null},getMultipleElementsFromSelector(e){const t=bn(e);return t?E.find(t):[]}},tn=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;u.on(document,n,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),pt(this))return;const s=E.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(s)[t]()})},Xo="alert",qo="bs.alert",Fs=`.${qo}`,Qo=`close${Fs}`,Zo=`closed${Fs}`,Jo="fade",tl="show";class en extends q{static get NAME(){return Xo}close(){if(u.trigger(this._element,Qo).defaultPrevented)return;this._element.classList.remove(tl);const n=this._element.classList.contains(Jo);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),u.trigger(this._element,Zo),this.dispose()}static jQueryInterface(t){return this.each(function(){const n=en.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}tn(en,"close");U(en);const el="button",nl="bs.button",rl=`.${nl}`,il=".data-api",sl="active",ni='[data-bs-toggle="button"]',al=`click${rl}${il}`;class nn extends q{static get NAME(){return el}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(sl))}static jQueryInterface(t){return this.each(function(){const n=nn.getOrCreateInstance(this);t==="toggle"&&n[t]()})}}u.on(document,al,ni,e=>{e.preventDefault();const t=e.target.closest(ni);nn.getOrCreateInstance(t).toggle()});U(nn);const ol="swipe",re=".bs.swipe",ll=`touchstart${re}`,cl=`touchmove${re}`,fl=`touchend${re}`,ul=`pointerdown${re}`,dl=`pointerup${re}`,hl="touch",pl="pen",ml="pointer-event",gl=40,_l={endCallback:null,leftCallback:null,rightCallback:null},vl={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ke extends Ee{constructor(t,n){super(),this._element=t,!(!t||!Ke.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return _l}static get DefaultType(){return vl}static get NAME(){return ol}dispose(){u.off(this._element,re)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),F(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=gl)return;const n=t/this._deltaX;this._deltaX=0,n&&F(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(u.on(this._element,ul,t=>this._start(t)),u.on(this._element,dl,t=>this._end(t)),this._element.classList.add(ml)):(u.on(this._element,ll,t=>this._start(t)),u.on(this._element,cl,t=>this._move(t)),u.on(this._element,fl,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===pl||t.pointerType===hl)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const bl="carousel",El="bs.carousel",Et=`.${El}`,Vs=".data-api",yl="ArrowLeft",Al="ArrowRight",Tl=500,le="next",Vt="prev",Wt="left",je="right",wl=`slide${Et}`,En=`slid${Et}`,Ol=`keydown${Et}`,Sl=`mouseenter${Et}`,Cl=`mouseleave${Et}`,Nl=`dragstart${Et}`,xl=`load${Et}${Vs}`,Il=`click${Et}${Vs}`,js="carousel",De="active",Dl="slide",Ll="carousel-item-end",Pl="carousel-item-start",kl="carousel-item-next",$l="carousel-item-prev",Hs=".active",Ws=".carousel-item",Ml=Hs+Ws,Rl=".carousel-item img",Fl=".carousel-indicators",Vl="[data-bs-slide], [data-bs-slide-to]",jl='[data-bs-ride="carousel"]',Hl={[yl]:je,[Al]:Wt},Wl={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},zl={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ye extends q{constructor(t,n){super(t,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=E.findOne(Fl,this._element),this._addEventListeners(),this._config.ride===js&&this.cycle()}static get Default(){return Wl}static get DefaultType(){return zl}static get NAME(){return bl}next(){this._slide(le)}nextWhenVisible(){!document.hidden&&ne(this._element)&&this.next()}prev(){this._slide(Vt)}pause(){this._isSliding&&Ns(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){u.one(this._element,En,()=>this.cycle());return}this.cycle()}}to(t){const n=this._getItems();if(t>n.length-1||t<0)return;if(this._isSliding){u.one(this._element,En,()=>this.to(t));return}const r=this._getItemIndex(this._getActive());if(r===t)return;const i=t>r?le:Vt;this._slide(i,n[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&u.on(this._element,Ol,t=>this._keydown(t)),this._config.pause==="hover"&&(u.on(this._element,Sl,()=>this.pause()),u.on(this._element,Cl,()=>this._maybeEnableCycle())),this._config.touch&&Ke.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of E.find(Rl,this._element))u.on(r,Nl,i=>i.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(Wt)),rightCallback:()=>this._slide(this._directionToOrder(je)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Tl+this._config.interval))}};this._swipeHelper=new Ke(this._element,n)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const n=Hl[t.key];n&&(t.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const n=E.findOne(Hs,this._indicatorsElement);n.classList.remove(De),n.removeAttribute("aria-current");const r=E.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);r&&(r.classList.add(De),r.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const n=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(t,n=null){if(this._isSliding)return;const r=this._getActive(),i=t===le,s=n||Er(this._getItems(),r,i,this._config.wrap);if(s===r)return;const a=this._getItemIndex(s),o=_=>u.trigger(this._element,_,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(r),to:a});if(o(wl).defaultPrevented||!r||!s)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=s;const c=i?Pl:Ll,m=i?kl:$l;s.classList.add(m),be(s),r.classList.add(c),s.classList.add(c);const p=()=>{s.classList.remove(c,m),s.classList.add(De),r.classList.remove(De,m,c),this._isSliding=!1,o(En)};this._queueCallback(p,r,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(Dl)}_getActive(){return E.findOne(Ml,this._element)}_getItems(){return E.find(Ws,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Y()?t===Wt?Vt:le:t===Wt?le:Vt}_orderToDirection(t){return Y()?t===Vt?Wt:je:t===Vt?je:Wt}static jQueryInterface(t){return this.each(function(){const n=ye.getOrCreateInstance(this,t);if(typeof t=="number"){n.to(t);return}if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}u.on(document,Il,Vl,function(e){const t=E.getElementFromSelector(this);if(!t||!t.classList.contains(js))return;e.preventDefault();const n=ye.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(it.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});u.on(window,xl,()=>{const e=E.find(jl);for(const t of e)ye.getOrCreateInstance(t)});U(ye);const Bl="collapse",Yl="bs.collapse",Ae=`.${Yl}`,Kl=".data-api",Ul=`show${Ae}`,Gl=`shown${Ae}`,Xl=`hide${Ae}`,ql=`hidden${Ae}`,Ql=`click${Ae}${Kl}`,yn="show",Bt="collapse",Le="collapsing",Zl="collapsed",Jl=`:scope .${Bt} .${Bt}`,tc="collapse-horizontal",ec="width",nc="height",rc=".collapse.show, .collapse.collapsing",Wn='[data-bs-toggle="collapse"]',ic={parent:null,toggle:!0},sc={parent:"(null|element)",toggle:"boolean"};class me extends q{constructor(t,n){super(t,n),this._isTransitioning=!1,this._triggerArray=[];const r=E.find(Wn);for(const i of r){const s=E.getSelectorFromElement(i),a=E.find(s).filter(o=>o===this._element);s!==null&&a.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return ic}static get DefaultType(){return sc}static get NAME(){return Bl}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(rc).filter(o=>o!==this._element).map(o=>me.getOrCreateInstance(o,{toggle:!1}))),t.length&&t[0]._isTransitioning||u.trigger(this._element,Ul).defaultPrevented)return;for(const o of t)o.hide();const r=this._getDimension();this._element.classList.remove(Bt),this._element.classList.add(Le),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(Bt,yn),this._element.style[r]="",u.trigger(this._element,Gl)},a=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||u.trigger(this._element,Xl).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,be(this._element),this._element.classList.add(Le),this._element.classList.remove(Bt,yn);for(const i of this._triggerArray){const s=E.getElementFromSelector(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Le),this._element.classList.add(Bt),u.trigger(this._element,ql)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(yn)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=ht(t.parent),t}_getDimension(){return this._element.classList.contains(tc)?ec:nc}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Wn);for(const n of t){const r=E.getElementFromSelector(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(t){const n=E.find(Jl,this._config.parent);return E.find(t,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(t,n){if(t.length)for(const r of t)r.classList.toggle(Zl,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(t){const n={};return typeof t=="string"&&/show|hide/.test(t)&&(n.toggle=!1),this.each(function(){const r=me.getOrCreateInstance(this,n);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}}u.on(document,Ql,Wn,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of E.getMultipleElementsFromSelector(this))me.getOrCreateInstance(t,{toggle:!1}).toggle()});U(me);const ri="dropdown",ac="bs.dropdown",$t=`.${ac}`,Ar=".data-api",oc="Escape",ii="Tab",lc="ArrowUp",si="ArrowDown",cc=2,fc=`hide${$t}`,uc=`hidden${$t}`,dc=`show${$t}`,hc=`shown${$t}`,zs=`click${$t}${Ar}`,Bs=`keydown${$t}${Ar}`,pc=`keyup${$t}${Ar}`,zt="show",mc="dropup",gc="dropend",_c="dropstart",vc="dropup-center",bc="dropdown-center",Ct='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ec=`${Ct}.${zt}`,He=".dropdown-menu",yc=".navbar",Ac=".navbar-nav",Tc=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",wc=Y()?"top-end":"top-start",Oc=Y()?"top-start":"top-end",Sc=Y()?"bottom-end":"bottom-start",Cc=Y()?"bottom-start":"bottom-end",Nc=Y()?"left-start":"right-start",xc=Y()?"right-start":"left-start",Ic="top",Dc="bottom",Lc={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Pc={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class tt extends q{constructor(t,n){super(t,n),this._popper=null,this._parent=this._element.parentNode,this._menu=E.next(this._element,He)[0]||E.prev(this._element,He)[0]||E.findOne(He,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Lc}static get DefaultType(){return Pc}static get NAME(){return ri}toggle(){return this._isShown()?this.hide():this.show()}show(){if(pt(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!u.trigger(this._element,dc,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Ac))for(const r of[].concat(...document.body.children))u.on(r,"mouseover",Ye);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(zt),this._element.classList.add(zt),u.trigger(this._element,hc,t)}}hide(){if(pt(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!u.trigger(this._element,fc,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))u.off(r,"mouseover",Ye);this._popper&&this._popper.destroy(),this._menu.classList.remove(zt),this._element.classList.remove(zt),this._element.setAttribute("aria-expanded","false"),it.removeDataAttribute(this._menu,"popper"),u.trigger(this._element,uc,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!rt(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${ri.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof Ss>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:rt(this._config.reference)?t=ht(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const n=this._getPopperConfig();this._popper=br(t,this._menu,n)}_isShown(){return this._menu.classList.contains(zt)}_getPlacement(){const t=this._parent;if(t.classList.contains(gc))return Nc;if(t.classList.contains(_c))return xc;if(t.classList.contains(vc))return Ic;if(t.classList.contains(bc))return Dc;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(mc)?n?Oc:wc:n?Cc:Sc}_detectNavbar(){return this._element.closest(yc)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(it.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...F(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:n}){const r=E.find(Tc,this._menu).filter(i=>ne(i));r.length&&Er(r,n,t===si,!r.includes(n)).focus()}static jQueryInterface(t){return this.each(function(){const n=tt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}static clearMenus(t){if(t.button===cc||t.type==="keyup"&&t.key!==ii)return;const n=E.find(Ec);for(const r of n){const i=tt.getInstance(r);if(!i||i._config.autoClose===!1)continue;const s=t.composedPath(),a=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!a||i._config.autoClose==="outside"&&a||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===ii||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:i._element};t.type==="click"&&(o.clickEvent=t),i._completeHide(o)}}static dataApiKeydownHandler(t){const n=/input|textarea/i.test(t.target.tagName),r=t.key===oc,i=[lc,si].includes(t.key);if(!i&&!r||n&&!r)return;t.preventDefault();const s=this.matches(Ct)?this:E.prev(this,Ct)[0]||E.next(this,Ct)[0]||E.findOne(Ct,t.delegateTarget.parentNode),a=tt.getOrCreateInstance(s);if(i){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),s.focus())}}u.on(document,Bs,Ct,tt.dataApiKeydownHandler);u.on(document,Bs,He,tt.dataApiKeydownHandler);u.on(document,zs,tt.clearMenus);u.on(document,pc,tt.clearMenus);u.on(document,zs,Ct,function(e){e.preventDefault(),tt.getOrCreateInstance(this).toggle()});U(tt);const Ys="backdrop",kc="fade",ai="show",oi=`mousedown.bs.${Ys}`,$c={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Mc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ks extends Ee{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return $c}static get DefaultType(){return Mc}static get NAME(){return Ys}show(t){if(!this._config.isVisible){F(t);return}this._append();const n=this._getElement();this._config.isAnimated&&be(n),n.classList.add(ai),this._emulateAnimation(()=>{F(t)})}hide(t){if(!this._config.isVisible){F(t);return}this._getElement().classList.remove(ai),this._emulateAnimation(()=>{this.dispose(),F(t)})}dispose(){this._isAppended&&(u.off(this._element,oi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(kc),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=ht(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),u.on(t,oi,()=>{F(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){Ds(t,this._getElement(),this._config.isAnimated)}}const Rc="focustrap",Fc="bs.focustrap",Ue=`.${Fc}`,Vc=`focusin${Ue}`,jc=`keydown.tab${Ue}`,Hc="Tab",Wc="forward",li="backward",zc={autofocus:!0,trapElement:null},Bc={autofocus:"boolean",trapElement:"element"};class Us extends Ee{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return zc}static get DefaultType(){return Bc}static get NAME(){return Rc}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),u.off(document,Ue),u.on(document,Vc,t=>this._handleFocusin(t)),u.on(document,jc,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,u.off(document,Ue))}_handleFocusin(t){const{trapElement:n}=this._config;if(t.target===document||t.target===n||n.contains(t.target))return;const r=E.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===li?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===Hc&&(this._lastTabNavDirection=t.shiftKey?li:Wc)}}const ci=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fi=".sticky-top",Pe="padding-right",ui="margin-right";class zn{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Pe,n=>n+t),this._setElementAttributes(ci,Pe,n=>n+t),this._setElementAttributes(fi,ui,n=>n-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Pe),this._resetElementAttributes(ci,Pe),this._resetElementAttributes(fi,ui)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,n,r){const i=this.getWidth(),s=a=>{if(a!==this._element&&window.innerWidth>a.clientWidth+i)return;this._saveInitialAttribute(a,n);const o=window.getComputedStyle(a).getPropertyValue(n);a.style.setProperty(n,`${r(Number.parseFloat(o))}px`)};this._applyManipulationCallback(t,s)}_saveInitialAttribute(t,n){const r=t.style.getPropertyValue(n);r&&it.setDataAttribute(t,n,r)}_resetElementAttributes(t,n){const r=i=>{const s=it.getDataAttribute(i,n);if(s===null){i.style.removeProperty(n);return}it.removeDataAttribute(i,n),i.style.setProperty(n,s)};this._applyManipulationCallback(t,r)}_applyManipulationCallback(t,n){if(rt(t)){n(t);return}for(const r of E.find(t,this._element))n(r)}}const Yc="modal",Kc="bs.modal",K=`.${Kc}`,Uc=".data-api",Gc="Escape",Xc=`hide${K}`,qc=`hidePrevented${K}`,Gs=`hidden${K}`,Xs=`show${K}`,Qc=`shown${K}`,Zc=`resize${K}`,Jc=`click.dismiss${K}`,tf=`mousedown.dismiss${K}`,ef=`keydown.dismiss${K}`,nf=`click${K}${Uc}`,di="modal-open",rf="fade",hi="show",An="modal-static",sf=".modal.show",af=".modal-dialog",of=".modal-body",lf='[data-bs-toggle="modal"]',cf={backdrop:!0,focus:!0,keyboard:!0},ff={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Zt extends q{constructor(t,n){super(t,n),this._dialog=E.findOne(af,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new zn,this._addEventListeners()}static get Default(){return cf}static get DefaultType(){return ff}static get NAME(){return Yc}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||u.trigger(this._element,Xs,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(di),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||u.trigger(this._element,Xc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(hi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){u.off(window,K),u.off(this._dialog,K),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ks({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Us({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=E.findOne(of,this._dialog);n&&(n.scrollTop=0),be(this._element),this._element.classList.add(hi);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,u.trigger(this._element,Qc,{relatedTarget:t})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){u.on(this._element,ef,t=>{if(t.key===Gc){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),u.on(window,Zc,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),u.on(this._element,tf,t=>{u.one(this._element,Jc,n=>{if(!(this._element!==t.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(di),this._resetAdjustments(),this._scrollBar.reset(),u.trigger(this._element,Gs)})}_isAnimated(){return this._element.classList.contains(rf)}_triggerBackdropTransition(){if(u.trigger(this._element,qc).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(An)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(An),this._queueCallback(()=>{this._element.classList.remove(An),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!t){const i=Y()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&t){const i=Y()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,n){return this.each(function(){const r=Zt.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](n)}})}}u.on(document,nf,lf,function(e){const t=E.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),u.one(t,Xs,i=>{i.defaultPrevented||u.one(t,Gs,()=>{ne(this)&&this.focus()})});const n=E.findOne(sf);n&&Zt.getInstance(n).hide(),Zt.getOrCreateInstance(t).toggle(this)});tn(Zt);U(Zt);const uf="offcanvas",df="bs.offcanvas",lt=`.${df}`,qs=".data-api",hf=`load${lt}${qs}`,pf="Escape",pi="show",mi="showing",gi="hiding",mf="offcanvas-backdrop",Qs=".offcanvas.show",gf=`show${lt}`,_f=`shown${lt}`,vf=`hide${lt}`,_i=`hidePrevented${lt}`,Zs=`hidden${lt}`,bf=`resize${lt}`,Ef=`click${lt}${qs}`,yf=`keydown.dismiss${lt}`,Af='[data-bs-toggle="offcanvas"]',Tf={backdrop:!0,keyboard:!0,scroll:!1},wf={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mt extends q{constructor(t,n){super(t,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Tf}static get DefaultType(){return wf}static get NAME(){return uf}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||u.trigger(this._element,gf,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new zn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(mi);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(pi),this._element.classList.remove(mi),u.trigger(this._element,_f,{relatedTarget:t})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||u.trigger(this._element,vf).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(gi),this._backdrop.hide();const n=()=>{this._element.classList.remove(pi,gi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new zn().reset(),u.trigger(this._element,Zs)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){u.trigger(this._element,_i);return}this.hide()},n=!!this._config.backdrop;return new Ks({className:mf,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?t:null})}_initializeFocusTrap(){return new Us({trapElement:this._element})}_addEventListeners(){u.on(this._element,yf,t=>{if(t.key===pf){if(this._config.keyboard){this.hide();return}u.trigger(this._element,_i)}})}static jQueryInterface(t){return this.each(function(){const n=mt.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}u.on(document,Ef,Af,function(e){const t=E.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),pt(this))return;u.one(t,Zs,()=>{ne(this)&&this.focus()});const n=E.findOne(Qs);n&&n!==t&&mt.getInstance(n).hide(),mt.getOrCreateInstance(t).toggle(this)});u.on(window,hf,()=>{for(const e of E.find(Qs))mt.getOrCreateInstance(e).show()});u.on(window,bf,()=>{for(const e of E.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&mt.getOrCreateInstance(e).hide()});tn(mt);U(mt);const Of=/^aria-[\w-]*$/i,Js={"*":["class","dir","id","lang","role",Of],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Sf=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Cf=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Nf=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?Sf.has(n)?!!Cf.test(e.nodeValue):!0:t.filter(r=>r instanceof RegExp).some(r=>r.test(n))};function xf(e,t,n){if(!e.length)return e;if(n&&typeof n=="function")return n(e);const i=new window.DOMParser().parseFromString(e,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(const a of s){const o=a.nodeName.toLowerCase();if(!Object.keys(t).includes(o)){a.remove();continue}const l=[].concat(...a.attributes),f=[].concat(t["*"]||[],t[o]||[]);for(const c of l)Nf(c,f)||a.removeAttribute(c.nodeName)}return i.body.innerHTML}const If="TemplateFactory",Df={allowList:Js,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Lf={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Pf={entry:"(string|element|function|null)",selector:"(string|element)"};class kf extends Ee{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Df}static get DefaultType(){return Lf}static get NAME(){return If}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,s]of Object.entries(this._config.content))this._setContent(t,s,i);const n=t.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[n,r]of Object.entries(t))super._typeCheckConfig({selector:n,entry:r},Pf)}_setContent(t,n,r){const i=E.findOne(r,t);if(i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(rt(n)){this._putElementInTemplate(ht(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(t){return this._config.sanitize?xf(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return F(t,[void 0,this])}_putElementInTemplate(t,n){if(this._config.html){n.innerHTML="",n.append(t);return}n.textContent=t.textContent}}const $f="tooltip",Mf=new Set(["sanitize","allowList","sanitizeFn"]),Tn="fade",Rf="modal",ke="show",Ff=".tooltip-inner",vi=`.${Rf}`,bi="hide.bs.modal",ce="hover",wn="focus",On="click",Vf="manual",jf="hide",Hf="hidden",Wf="show",zf="shown",Bf="inserted",Yf="click",Kf="focusin",Uf="focusout",Gf="mouseenter",Xf="mouseleave",qf={AUTO:"auto",TOP:"top",RIGHT:Y()?"left":"right",BOTTOM:"bottom",LEFT:Y()?"right":"left"},Qf={allowList:Js,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Zf={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ie extends q{constructor(t,n){if(typeof Ss>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Qf}static get DefaultType(){return Zf}static get NAME(){return $f}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),u.off(this._element.closest(vi),bi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=u.trigger(this._element,this.constructor.eventName(Wf)),r=(xs(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!r)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),u.trigger(this._element,this.constructor.eventName(Bf))),this._popper=this._createPopper(i),i.classList.add(ke),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))u.on(o,"mouseover",Ye);const a=()=>{u.trigger(this._element,this.constructor.eventName(zf)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||u.trigger(this._element,this.constructor.eventName(jf)).defaultPrevented)return;if(this._getTipElement().classList.remove(ke),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))u.off(i,"mouseover",Ye);this._activeTrigger[On]=!1,this._activeTrigger[wn]=!1,this._activeTrigger[ce]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),u.trigger(this._element,this.constructor.eventName(Hf)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const n=this._getTemplateFactory(t).toHtml();if(!n)return null;n.classList.remove(Tn,ke),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=Fo(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(Tn),n}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new kf({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ff]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Tn)}_isShown(){return this.tip&&this.tip.classList.contains(ke)}_createPopper(t){const n=F(this._config.placement,[this,t,this._element]),r=qf[n.toUpperCase()];return br(this._element,t,this._getPopperConfig(r))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(n=>Number.parseInt(n,10)):typeof t=="function"?n=>t(n,this._element):t}_resolvePossibleFunction(t){return F(t,[this._element,this._element])}_getPopperConfig(t){const n={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...F(this._config.popperConfig,[void 0,n])}}_setListeners(){const t=this._config.trigger.split(" ");for(const n of t)if(n==="click")u.on(this._element,this.constructor.eventName(Yf),this._config.selector,r=>{const i=this._initializeOnDelegatedTarget(r);i._activeTrigger[On]=!(i._isShown()&&i._activeTrigger[On]),i.toggle()});else if(n!==Vf){const r=n===ce?this.constructor.eventName(Gf):this.constructor.eventName(Kf),i=n===ce?this.constructor.eventName(Xf):this.constructor.eventName(Uf);u.on(this._element,r,this._config.selector,s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger[s.type==="focusin"?wn:ce]=!0,a._enter()}),u.on(this._element,i,this._config.selector,s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger[s.type==="focusout"?wn:ce]=a._element.contains(s.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},u.on(this._element.closest(vi),bi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,n){clearTimeout(this._timeout),this._timeout=setTimeout(t,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const n=it.getDataAttributes(this._element);for(const r of Object.keys(n))Mf.has(r)&&delete n[r];return t={...n,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:ht(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[n,r]of Object.entries(this._config))this.constructor.Default[n]!==r&&(t[n]=r);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const n=ie.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}U(ie);const Jf="popover",tu=".popover-header",eu=".popover-body",nu={...ie.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},ru={...ie.DefaultType,content:"(null|string|element|function)"};class Tr extends ie{static get Default(){return nu}static get DefaultType(){return ru}static get NAME(){return Jf}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[tu]:this._getTitle(),[eu]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const n=Tr.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}U(Tr);const iu="scrollspy",su="bs.scrollspy",wr=`.${su}`,au=".data-api",ou=`activate${wr}`,Ei=`click${wr}`,lu=`load${wr}${au}`,cu="dropdown-item",jt="active",fu='[data-bs-spy="scroll"]',Sn="[href]",uu=".nav, .list-group",yi=".nav-link",du=".nav-item",hu=".list-group-item",pu=`${yi}, ${du} > ${yi}, ${hu}`,mu=".dropdown",gu=".dropdown-toggle",_u={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},vu={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class rn extends q{constructor(t,n){super(t,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return _u}static get DefaultType(){return vu}static get NAME(){return iu}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ht(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(n=>Number.parseFloat(n))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(u.off(this._config.target,Ei),u.on(this._config.target,Ei,Sn,t=>{const n=this._observableSections.get(t.target.hash);if(n){t.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),t)}_observerCallback(t){const n=a=>this._targetLinks.get(`#${a.target.id}`),r=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(n(a))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(a));continue}const o=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&o){if(r(a),!i)return;continue}!s&&!o&&r(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=E.find(Sn,this._config.target);for(const n of t){if(!n.hash||pt(n))continue;const r=E.findOne(decodeURI(n.hash),this._element);ne(r)&&(this._targetLinks.set(decodeURI(n.hash),n),this._observableSections.set(n.hash,r))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(jt),this._activateParents(t),u.trigger(this._element,ou,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(cu)){E.findOne(gu,t.closest(mu)).classList.add(jt);return}for(const n of E.parents(t,uu))for(const r of E.prev(n,pu))r.classList.add(jt)}_clearActiveClass(t){t.classList.remove(jt);const n=E.find(`${Sn}.${jt}`,t);for(const r of n)r.classList.remove(jt)}static jQueryInterface(t){return this.each(function(){const n=rn.getOrCreateInstance(this,t);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}u.on(window,lu,()=>{for(const e of E.find(fu))rn.getOrCreateInstance(e)});U(rn);const bu="tab",Eu="bs.tab",Mt=`.${Eu}`,yu=`hide${Mt}`,Au=`hidden${Mt}`,Tu=`show${Mt}`,wu=`shown${Mt}`,Ou=`click${Mt}`,Su=`keydown${Mt}`,Cu=`load${Mt}`,Nu="ArrowLeft",Ai="ArrowRight",xu="ArrowUp",Ti="ArrowDown",Cn="Home",wi="End",Nt="active",Oi="fade",Nn="show",Iu="dropdown",ta=".dropdown-toggle",Du=".dropdown-menu",xn=`:not(${ta})`,Lu='.list-group, .nav, [role="tablist"]',Pu=".nav-item, .list-group-item",ku=`.nav-link${xn}, .list-group-item${xn}, [role="tab"]${xn}`,ea='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',In=`${ku}, ${ea}`,$u=`.${Nt}[data-bs-toggle="tab"], .${Nt}[data-bs-toggle="pill"], .${Nt}[data-bs-toggle="list"]`;class Jt extends q{constructor(t){super(t),this._parent=this._element.closest(Lu),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),u.on(this._element,Su,n=>this._keydown(n)))}static get NAME(){return bu}show(){const t=this._element;if(this._elemIsActive(t))return;const n=this._getActiveElem(),r=n?u.trigger(n,yu,{relatedTarget:t}):null;u.trigger(t,Tu,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,t),this._activate(t,n))}_activate(t,n){if(!t)return;t.classList.add(Nt),this._activate(E.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(Nn);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),u.trigger(t,wu,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(Oi))}_deactivate(t,n){if(!t)return;t.classList.remove(Nt),t.blur(),this._deactivate(E.getElementFromSelector(t));const r=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(Nn);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),u.trigger(t,Au,{relatedTarget:n})};this._queueCallback(r,t,t.classList.contains(Oi))}_keydown(t){if(![Nu,Ai,xu,Ti,Cn,wi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const n=this._getChildren().filter(i=>!pt(i));let r;if([Cn,wi].includes(t.key))r=n[t.key===Cn?0:n.length-1];else{const i=[Ai,Ti].includes(t.key);r=Er(n,t.target,i,!0)}r&&(r.focus({preventScroll:!0}),Jt.getOrCreateInstance(r).show())}_getChildren(){return E.find(In,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,n){this._setAttributeIfNotExists(t,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const n=this._elemIsActive(t),r=this._getOuterElement(t);t.setAttribute("aria-selected",n),r!==t&&this._setAttributeIfNotExists(r,"role","presentation"),n||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const n=E.getElementFromSelector(t);n&&(this._setAttributeIfNotExists(n,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,n){const r=this._getOuterElement(t);if(!r.classList.contains(Iu))return;const i=(s,a)=>{const o=E.findOne(s,r);o&&o.classList.toggle(a,n)};i(ta,Nt),i(Du,Nn),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(t,n,r){t.hasAttribute(n)||t.setAttribute(n,r)}_elemIsActive(t){return t.classList.contains(Nt)}_getInnerElement(t){return t.matches(In)?t:E.findOne(In,t)}_getOuterElement(t){return t.closest(Pu)||t}static jQueryInterface(t){return this.each(function(){const n=Jt.getOrCreateInstance(this);if(typeof t=="string"){if(n[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);n[t]()}})}}u.on(document,Ou,ea,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!pt(this)&&Jt.getOrCreateInstance(this).show()});u.on(window,Cu,()=>{for(const e of E.find($u))Jt.getOrCreateInstance(e)});U(Jt);const Mu="toast",Ru="bs.toast",yt=`.${Ru}`,Fu=`mouseover${yt}`,Vu=`mouseout${yt}`,ju=`focusin${yt}`,Hu=`focusout${yt}`,Wu=`hide${yt}`,zu=`hidden${yt}`,Bu=`show${yt}`,Yu=`shown${yt}`,Ku="fade",Si="hide",$e="show",Me="showing",Uu={animation:"boolean",autohide:"boolean",delay:"number"},Gu={animation:!0,autohide:!0,delay:5e3};class sn extends q{constructor(t,n){super(t,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Gu}static get DefaultType(){return Uu}static get NAME(){return Mu}show(){if(u.trigger(this._element,Bu).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ku);const n=()=>{this._element.classList.remove(Me),u.trigger(this._element,Yu),this._maybeScheduleHide()};this._element.classList.remove(Si),be(this._element),this._element.classList.add($e,Me),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||u.trigger(this._element,Wu).defaultPrevented)return;const n=()=>{this._element.classList.add(Si),this._element.classList.remove(Me,$e),u.trigger(this._element,zu)};this._element.classList.add(Me),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove($e),super.dispose()}isShown(){return this._element.classList.contains($e)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,n){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=t.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){u.on(this._element,Fu,t=>this._onInteraction(t,!0)),u.on(this._element,Vu,t=>this._onInteraction(t,!1)),u.on(this._element,ju,t=>this._onInteraction(t,!0)),u.on(this._element,Hu,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const n=sn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](this)}})}}tn(sn);U(sn);function Xu(e,t,n){return(t=Qu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{};let Or={},na={},ra=null,ia={mark:Ni,measure:Ni};try{typeof window<"u"&&(Or=window),typeof document<"u"&&(na=document),typeof MutationObserver<"u"&&(ra=MutationObserver),typeof performance<"u"&&(ia=performance)}catch{}const{userAgent:xi=""}=Or.navigator||{},gt=Or,N=na,Ii=ra,Re=ia;gt.document;const ct=!!N.documentElement&&!!N.head&&typeof N.addEventListener=="function"&&typeof N.createElement=="function",sa=~xi.indexOf("MSIE")||~xi.indexOf("Trident/");var Zu=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Ju=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,aa={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},td={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},oa=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],k="classic",an="duotone",ed="sharp",nd="sharp-duotone",la=[k,an,ed,nd],rd={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},id={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},sd=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),ad={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},od=["fak","fa-kit","fakd","fa-kit-duotone"],Di={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ld=["kit"],cd={kit:{"fa-kit":"fak"}},fd=["fak","fakd"],ud={kit:{fak:"fa-kit"}},Li={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Fe={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},dd=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],hd=["fak","fa-kit","fakd","fa-kit-duotone"],pd={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},md={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},gd={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Bn={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},_d=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Yn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...dd,..._d],vd=["solid","regular","light","thin","duotone","brands"],ca=[1,2,3,4,5,6,7,8,9,10],bd=ca.concat([11,12,13,14,15,16,17,18,19,20]),Ed=[...Object.keys(gd),...vd,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Fe.GROUP,Fe.SWAP_OPACITY,Fe.PRIMARY,Fe.SECONDARY].concat(ca.map(e=>"".concat(e,"x"))).concat(bd.map(e=>"w-".concat(e))),yd={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const at="___FONT_AWESOME___",Kn=16,fa="fa",ua="svg-inline--fa",Pt="data-fa-i2svg",Un="data-fa-pseudo-element",Ad="data-fa-pseudo-element-pending",Sr="data-prefix",Cr="data-icon",Pi="fontawesome-i2svg",Td="async",wd=["HTML","HEAD","STYLE","SCRIPT"],da=(()=>{try{return!0}catch{return!1}})();function Te(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[k]}})}const ha=d({},aa);ha[k]=d(d(d(d({},{"fa-duotone":"duotone"}),aa[k]),Di.kit),Di["kit-duotone"]);const Od=Te(ha),Gn=d({},ad);Gn[k]=d(d(d(d({},{duotone:"fad"}),Gn[k]),Li.kit),Li["kit-duotone"]);const ki=Te(Gn),Xn=d({},Bn);Xn[k]=d(d({},Xn[k]),ud.kit);const Nr=Te(Xn),qn=d({},md);qn[k]=d(d({},qn[k]),cd.kit);Te(qn);const Sd=Zu,pa="fa-layers-text",Cd=Ju,Nd=d({},rd);Te(Nd);const xd=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Dn=td,Id=[...ld,...Ed],he=gt.FontAwesomeConfig||{};function Dd(e){var t=N.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Ld(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}N&&typeof N.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const i=Ld(Dd(n));i!=null&&(he[r]=i)});const ma={styleDefault:"solid",familyDefault:k,cssPrefix:fa,replacementClass:ua,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};he.familyPrefix&&(he.cssPrefix=he.familyPrefix);const te=d(d({},ma),he);te.autoReplaceSvg||(te.observeMutations=!1);const v={};Object.keys(ma).forEach(e=>{Object.defineProperty(v,e,{enumerable:!0,set:function(t){te[e]=t,pe.forEach(n=>n(v))},get:function(){return te[e]}})});Object.defineProperty(v,"familyPrefix",{enumerable:!0,set:function(e){te.cssPrefix=e,pe.forEach(t=>t(v))},get:function(){return te.cssPrefix}});gt.FontAwesomeConfig=v;const pe=[];function Pd(e){return pe.push(e),()=>{pe.splice(pe.indexOf(e),1)}}const dt=Kn,Q={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function kd(e){if(!e||!ct)return;const t=N.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=N.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const s=n[i],a=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=s)}return N.head.insertBefore(t,r),e}const $d="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ge(){let e=12,t="";for(;e-- >0;)t+=$d[Math.random()*62|0];return t}function se(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function xr(e){return e.classList?se(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function ga(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Md(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(ga(e[n]),'" '),"").trim()}function on(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function Ir(e){return e.size!==Q.size||e.x!==Q.x||e.y!==Q.y||e.rotate!==Q.rotate||e.flipX||e.flipY}function Rd(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(a," ").concat(o)},f={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:f}}function Fd(e){let{transform:t,width:n=Kn,height:r=Kn,startCentered:i=!1}=e,s="";return i&&sa?s+="translate(".concat(t.x/dt-n/2,"em, ").concat(t.y/dt-r/2,"em) "):i?s+="translate(calc(-50% + ".concat(t.x/dt,"em), calc(-50% + ").concat(t.y/dt,"em)) "):s+="translate(".concat(t.x/dt,"em, ").concat(t.y/dt,"em) "),s+="scale(".concat(t.size/dt*(t.flipX?-1:1),", ").concat(t.size/dt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Vd=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - transform: scale(var(--fa-counter-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(-1 * var(--fa-li-width, 2em)); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - animation-name: fa-beat; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - animation-name: fa-bounce; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - animation-name: fa-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - animation-name: fa-beat-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - animation-name: fa-flip; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - animation-name: fa-shake; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - animation-name: fa-spin; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 2s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - animation-name: fa-spin; - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - animation-delay: -1ms; - animation-duration: 1ms; - animation-iteration-count: 1; - transition-delay: 0s; - transition-duration: 0s; - } -} -@keyframes fa-beat { - 0%, 90% { - transform: scale(1); - } - 45% { - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-bounce { - 0% { - transform: scale(1, 1) translateY(0); - } - 10% { - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - transform: scale(1, 1) translateY(0); - } - 100% { - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - transform: scale(1); - } - 50% { - opacity: 1; - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-flip { - 50% { - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-shake { - 0% { - transform: rotate(-15deg); - } - 4% { - transform: rotate(15deg); - } - 8%, 24% { - transform: rotate(-18deg); - } - 12%, 28% { - transform: rotate(18deg); - } - 16% { - transform: rotate(-22deg); - } - 20% { - transform: rotate(22deg); - } - 32% { - transform: rotate(-12deg); - } - 36% { - transform: rotate(12deg); - } - 40%, 100% { - transform: rotate(0deg); - } -} -@keyframes fa-spin { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } -} -.fa-rotate-90 { - transform: rotate(90deg); -} - -.fa-rotate-180 { - transform: rotate(180deg); -} - -.fa-rotate-270 { - transform: rotate(270deg); -} - -.fa-flip-horizontal { - transform: scale(-1, 1); -} - -.fa-flip-vertical { - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - transform: scale(-1, -1); -} - -.fa-rotate-by { - transform: rotate(var(--fa-rotate-angle, 0)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -}`;function _a(){const e=fa,t=ua,n=v.cssPrefix,r=v.replacementClass;let i=Vd;if(n!==e||r!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(o,".".concat(r))}return i}let $i=!1;function Ln(){v.autoAddCss&&!$i&&(kd(_a()),$i=!0)}var jd={mixout(){return{dom:{css:_a,insertCss:Ln}}},hooks(){return{beforeDOMElementCreation(){Ln()},beforeI2svg(){Ln()}}}};const ot=gt||{};ot[at]||(ot[at]={});ot[at].styles||(ot[at].styles={});ot[at].hooks||(ot[at].hooks={});ot[at].shims||(ot[at].shims=[]);var Z=ot[at];const va=[],ba=function(){N.removeEventListener("DOMContentLoaded",ba),Ge=1,va.map(e=>e())};let Ge=!1;ct&&(Ge=(N.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(N.readyState),Ge||N.addEventListener("DOMContentLoaded",ba));function Hd(e){ct&&(Ge?setTimeout(e,0):va.push(e))}function we(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?ga(e):"<".concat(t," ").concat(Md(n),">").concat(r.map(we).join(""),"")}function Mi(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Pn=function(t,n,r,i){var s=Object.keys(t),a=s.length,o=n,l,f,c;for(r===void 0?(l=1,c=t[s[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function Ri(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Zn(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=Ri(t);typeof Z.hooks.addPack=="function"&&!r?Z.hooks.addPack(e,Ri(t)):Z.styles[e]=d(d({},Z.styles[e]||{}),i),e==="fas"&&Zn("fa",t)}const{styles:_e,shims:Bd}=Z,Ea=Object.keys(Nr),Yd=Ea.reduce((e,t)=>(e[t]=Object.keys(Nr[t]),e),{});let Dr=null,ya={},Aa={},Ta={},wa={},Oa={};function Kd(e){return~Id.indexOf(e)}function Ud(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Kd(i)?i:null}const Sa=()=>{const e=r=>Pn(_e,(i,s,a)=>(i[a]=Pn(s,r,{}),i),{});ya=e((r,i,s)=>(i[3]&&(r[i[3]]=s),i[2]&&i[2].filter(o=>typeof o=="number").forEach(o=>{r[o.toString(16)]=s}),r)),Aa=e((r,i,s)=>(r[s]=s,i[2]&&i[2].filter(o=>typeof o=="string").forEach(o=>{r[o]=s}),r)),Oa=e((r,i,s)=>{const a=i[2];return r[s]=s,a.forEach(o=>{r[o]=s}),r});const t="far"in _e||v.autoFetchSvg,n=Pn(Bd,(r,i)=>{const s=i[0];let a=i[1];const o=i[2];return a==="far"&&!t&&(a="fas"),typeof s=="string"&&(r.names[s]={prefix:a,iconName:o}),typeof s=="number"&&(r.unicodes[s.toString(16)]={prefix:a,iconName:o}),r},{names:{},unicodes:{}});Ta=n.names,wa=n.unicodes,Dr=ln(v.styleDefault,{family:v.familyDefault})};Pd(e=>{Dr=ln(e.styleDefault,{family:v.familyDefault})});Sa();function Lr(e,t){return(ya[e]||{})[t]}function Gd(e,t){return(Aa[e]||{})[t]}function xt(e,t){return(Oa[e]||{})[t]}function Ca(e){return Ta[e]||{prefix:null,iconName:null}}function Xd(e){const t=wa[e],n=Lr("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function _t(){return Dr}const Na=()=>({prefix:null,iconName:null,rest:[]});function qd(e){let t=k;const n=Ea.reduce((r,i)=>(r[i]="".concat(v.cssPrefix,"-").concat(i),r),{});return la.forEach(r=>{(e.includes(n[r])||e.some(i=>Yd[r].includes(i)))&&(t=r)}),t}function ln(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=k}=t,r=Od[n][e];if(n===an&&!e)return"fad";const i=ki[n][e]||ki[n][r],s=e in Z.styles?e:null;return i||s||null}function Qd(e){let t=[],n=null;return e.forEach(r=>{const i=Ud(v.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function Fi(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function cn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const i=Yn.concat(hd),s=Fi(e.filter(m=>i.includes(m))),a=Fi(e.filter(m=>!Yn.includes(m))),o=s.filter(m=>(r=m,!oa.includes(m))),[l=null]=o,f=qd(s),c=d(d({},Qd(a)),{},{prefix:ln(l,{family:f})});return d(d(d({},c),eh({values:e,family:f,styles:_e,config:v,canonical:c,givenPrefix:r})),Zd(n,r,c))}function Zd(e,t,n){let{prefix:r,iconName:i}=n;if(e||!r||!i)return{prefix:r,iconName:i};const s=t==="fa"?Ca(i):{},a=xt(r,i);return i=s.iconName||a||i,r=s.prefix||r,r==="far"&&!_e.far&&_e.fas&&!v.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}const Jd=la.filter(e=>e!==k||e!==an),th=Object.keys(Bn).filter(e=>e!==k).map(e=>Object.keys(Bn[e])).flat();function eh(e){const{values:t,family:n,canonical:r,givenPrefix:i="",styles:s={},config:a={}}=e,o=n===an,l=t.includes("fa-duotone")||t.includes("fad"),f=a.familyDefault==="duotone",c=r.prefix==="fad"||r.prefix==="fa-duotone";if(!o&&(l||f||c)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&Jd.includes(n)&&(Object.keys(s).find(p=>th.includes(p))||a.autoFetchSvg)){const p=sd.get(n).defaultShortPrefixId;r.prefix=p,r.iconName=xt(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||i==="fa")&&(r.prefix=_t()||"fas"),r}class nh{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r{this.definitions[s]=d(d({},this.definitions[s]||{}),i[s]),Zn(s,i[s]);const a=Nr[k][s];a&&Zn(a,i[s]),Sa()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(i=>{const{prefix:s,iconName:a,icon:o}=r[i],l=o[2];t[s]||(t[s]={}),l.length>0&&l.forEach(f=>{typeof f=="string"&&(t[s][f]=o)}),t[s][a]=o}),t}}let Vi=[],Yt={};const Kt={},rh=Object.keys(Kt);function ih(e,t){let{mixoutsTo:n}=t;return Vi=e,Yt={},Object.keys(Kt).forEach(r=>{rh.indexOf(r)===-1&&delete Kt[r]}),Vi.forEach(r=>{const i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(s=>{typeof i[s]=="function"&&(n[s]=i[s]),typeof i[s]=="object"&&Object.keys(i[s]).forEach(a=>{n[s]||(n[s]={}),n[s][a]=i[s][a]})}),r.hooks){const s=r.hooks();Object.keys(s).forEach(a=>{Yt[a]||(Yt[a]=[]),Yt[a].push(s[a])})}r.provides&&r.provides(Kt)}),n}function Jn(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i{t=a.apply(null,[t,...r])}),t}function kt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{s.apply(null,n)})}function vt(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Kt[e]?Kt[e].apply(null,t):void 0}function tr(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||_t();if(t)return t=xt(n,t)||t,Mi(xa.definitions,n,t)||Mi(Z.styles,n,t)}const xa=new nh,sh=()=>{v.autoReplaceSvg=!1,v.observeMutations=!1,kt("noAuto")},ah={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ct?(kt("beforeI2svg",e),vt("pseudoElements2svg",e),vt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;v.autoReplaceSvg===!1&&(v.autoReplaceSvg=!0),v.observeMutations=!0,Hd(()=>{lh({autoReplaceSvgRoot:t}),kt("watch",e)})}},oh={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:xt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=ln(e[0]);return{prefix:n,iconName:xt(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(v.cssPrefix,"-"))>-1||e.match(Sd))){const t=cn(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||_t(),iconName:xt(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=_t();return{prefix:t,iconName:xt(t,e)||e}}}},z={noAuto:sh,config:v,dom:ah,parse:oh,library:xa,findIconDefinition:tr,toHtml:we},lh=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=N}=e;(Object.keys(Z.styles).length>0||v.autoFetchSvg)&&ct&&v.autoReplaceSvg&&z.dom.i2svg({node:t})};function fn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>we(n))}}),Object.defineProperty(e,"node",{get:function(){if(!ct)return;const n=N.createElement("div");return n.innerHTML=e.html,n.children}}),e}function ch(e){let{children:t,main:n,mask:r,attributes:i,styles:s,transform:a}=e;if(Ir(a)&&n.found&&!r.found){const{width:o,height:l}=n,f={x:o/l/2,y:.5};i.style=on(d(d({},s),{},{"transform-origin":"".concat(f.x+a.x/16,"em ").concat(f.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function fh(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:s}=e;const a=s===!0?"".concat(t,"-").concat(v.cssPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},i),{},{id:a}),children:r}]}]}function Pr(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:s,symbol:a,title:o,maskId:l,titleId:f,extra:c,watchable:m=!1}=e,{width:p,height:_}=n.found?n:t,O=fd.includes(r),y=[v.replacementClass,i?"".concat(v.cssPrefix,"-").concat(i):""].filter(w=>c.classes.indexOf(w)===-1).filter(w=>w!==""||!!w).concat(c.classes).join(" ");let A={children:[],attributes:d(d({},c.attributes),{},{"data-prefix":r,"data-icon":i,class:y,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(_)})};const h=O&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/_*16*.0625,"em")}:{};m&&(A.attributes[Pt]=""),o&&(A.children.push({tag:"title",attributes:{id:A.attributes["aria-labelledby"]||"title-".concat(f||ge())},children:[o]}),delete A.attributes.title);const g=d(d({},A),{},{prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:s,symbol:a,styles:d(d({},h),c.styles)}),{children:T,attributes:b}=n.found&&t.found?vt("generateAbstractMask",g)||{children:[],attributes:{}}:vt("generateAbstractIcon",g)||{children:[],attributes:{}};return g.children=T,g.attributes=b,a?fh(g):ch(g)}function ji(e){const{content:t,width:n,height:r,transform:i,title:s,extra:a,watchable:o=!1}=e,l=d(d(d({},a.attributes),s?{title:s}:{}),{},{class:a.classes.join(" ")});o&&(l[Pt]="");const f=d({},a.styles);Ir(i)&&(f.transform=Fd({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);const c=on(f);c.length>0&&(l.style=c);const m=[];return m.push({tag:"span",attributes:l,children:[t]}),s&&m.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),m}function uh(e){const{content:t,title:n,extra:r}=e,i=d(d(d({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=on(r.styles);s.length>0&&(i.style=s);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}const{styles:kn}=Z;function er(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return Array.isArray(r)?i={tag:"g",attributes:{class:"".concat(v.cssPrefix,"-").concat(Dn.GROUP)},children:[{tag:"path",attributes:{class:"".concat(v.cssPrefix,"-").concat(Dn.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(v.cssPrefix,"-").concat(Dn.PRIMARY),fill:"currentColor",d:r[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const dh={found:!1,width:512,height:512};function hh(e,t){!da&&!v.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function nr(e,t){let n=t;return t==="fa"&&v.styleDefault!==null&&(t=_t()),new Promise((r,i)=>{if(n==="fa"){const s=Ca(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&kn[t]&&kn[t][e]){const s=kn[t][e];return r(er(s))}hh(e,t),r(d(d({},dh),{},{icon:v.showMissingIcons&&e?vt("missingIconAbstract")||{}:{}}))})}const Hi=()=>{},rr=v.measurePerformance&&Re&&Re.mark&&Re.measure?Re:{mark:Hi,measure:Hi},fe='FA "6.7.2"',ph=e=>(rr.mark("".concat(fe," ").concat(e," begins")),()=>Ia(e)),Ia=e=>{rr.mark("".concat(fe," ").concat(e," ends")),rr.measure("".concat(fe," ").concat(e),"".concat(fe," ").concat(e," begins"),"".concat(fe," ").concat(e," ends"))};var kr={begin:ph,end:Ia};const We=()=>{};function Wi(e){return typeof(e.getAttribute?e.getAttribute(Pt):null)=="string"}function mh(e){const t=e.getAttribute?e.getAttribute(Sr):null,n=e.getAttribute?e.getAttribute(Cr):null;return t&&n}function gh(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(v.replacementClass)}function _h(){return v.autoReplaceSvg===!0?ze.replace:ze[v.autoReplaceSvg]||ze.replace}function vh(e){return N.createElementNS("http://www.w3.org/2000/svg",e)}function bh(e){return N.createElement(e)}function Da(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?vh:bh}=t;if(typeof e=="string")return N.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(s){r.setAttribute(s,e.attributes[s])}),(e.children||[]).forEach(function(s){r.appendChild(Da(s,{ceFn:n}))}),r}function Eh(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const ze={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Da(n),t)}),t.getAttribute(Pt)===null&&v.keepOriginalSource){let n=N.createComment(Eh(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~xr(t).indexOf(v.replacementClass))return ze.replace(e);const r=new RegExp("".concat(v.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const s=n[0].attributes.class.split(" ").reduce((a,o)=>(o===v.replacementClass||o.match(r)?a.toSvg.push(o):a.toNode.push(o),a),{toNode:[],toSvg:[]});n[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const i=n.map(s=>we(s)).join(` -`);t.setAttribute(Pt,""),t.innerHTML=i}};function zi(e){e()}function La(e,t){const n=typeof t=="function"?t:We;if(e.length===0)n();else{let r=zi;v.mutateApproach===Td&&(r=gt.requestAnimationFrame||zi),r(()=>{const i=_h(),s=kr.begin("mutate");e.map(i),s(),n()})}}let $r=!1;function Pa(){$r=!0}function ir(){$r=!1}let Xe=null;function Bi(e){if(!Ii||!v.observeMutations)return;const{treeCallback:t=We,nodeCallback:n=We,pseudoElementsCallback:r=We,observeMutationsRoot:i=N}=e;Xe=new Ii(s=>{if($r)return;const a=_t();se(s).forEach(o=>{if(o.type==="childList"&&o.addedNodes.length>0&&!Wi(o.addedNodes[0])&&(v.searchPseudoElements&&r(o.target),t(o.target)),o.type==="attributes"&&o.target.parentNode&&v.searchPseudoElements&&r(o.target.parentNode),o.type==="attributes"&&Wi(o.target)&&~xd.indexOf(o.attributeName))if(o.attributeName==="class"&&mh(o.target)){const{prefix:l,iconName:f}=cn(xr(o.target));o.target.setAttribute(Sr,l||a),f&&o.target.setAttribute(Cr,f)}else gh(o.target)&&n(o.target)})}),ct&&Xe.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function yh(){Xe&&Xe.disconnect()}function Ah(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const s=i.split(":"),a=s[0],o=s.slice(1);return a&&o.length>0&&(r[a]=o.join(":").trim()),r},{})),n}function Th(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=cn(xr(e));return i.prefix||(i.prefix=_t()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=Gd(i.prefix,e.innerText)||Lr(i.prefix,Qn(e.innerText))),!i.iconName&&v.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function wh(e){const t=se(e.attributes).reduce((i,s)=>(i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return v.autoA11y&&(n?t["aria-labelledby"]="".concat(v.replacementClass,"-title-").concat(r||ge()):(t["aria-hidden"]="true",t.focusable="false")),t}function Oh(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Q,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Yi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Th(e),s=wh(e),a=Jn("parseNodeAttributes",{},e);let o=t.styleParser?Ah(e):[];return d({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Q,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:o,attributes:s}},a)}const{styles:Sh}=Z;function ka(e){const t=v.autoReplaceSvg==="nest"?Yi(e,{styleParser:!1}):Yi(e);return~t.extra.classes.indexOf(pa)?vt("generateLayersText",e,t):vt("generateSvgReplacementMutation",e,t)}function Ch(){return[...od,...Yn]}function Ki(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ct)return Promise.resolve();const n=N.documentElement.classList,r=c=>n.add("".concat(Pi,"-").concat(c)),i=c=>n.remove("".concat(Pi,"-").concat(c)),s=v.autoFetchSvg?Ch():oa.concat(Object.keys(Sh));s.includes("fa")||s.push("fa");const a=[".".concat(pa,":not([").concat(Pt,"])")].concat(s.map(c=>".".concat(c,":not([").concat(Pt,"])"))).join(", ");if(a.length===0)return Promise.resolve();let o=[];try{o=se(e.querySelectorAll(a))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();const l=kr.begin("onTree"),f=o.reduce((c,m)=>{try{const p=ka(m);p&&c.push(p)}catch(p){da||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,m)=>{Promise.all(f).then(p=>{La(p,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(p=>{l(),m(p)})})}function Nh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ka(e).then(n=>{n&&La([n],t)})}function xh(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:tr(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:tr(i||{})),e(r,d(d({},n),{},{mask:i}))}}const Ih=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Q,symbol:r=!1,mask:i=null,maskId:s=null,title:a=null,titleId:o=null,classes:l=[],attributes:f={},styles:c={}}=t;if(!e)return;const{prefix:m,iconName:p,icon:_}=e;return fn(d({type:"icon"},e),()=>(kt("beforeDOMElementCreation",{iconDefinition:e,params:t}),v.autoA11y&&(a?f["aria-labelledby"]="".concat(v.replacementClass,"-title-").concat(o||ge()):(f["aria-hidden"]="true",f.focusable="false")),Pr({icons:{main:er(_),mask:i?er(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:m,iconName:p,transform:d(d({},Q),n),symbol:r,title:a,maskId:s,titleId:o,extra:{attributes:f,styles:c,classes:l}})))};var Dh={mixout(){return{icon:xh(Ih)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Ki,e.nodeCallback=Nh,e}}},provides(e){e.i2svg=function(t){const{node:n=N,callback:r=()=>{}}=t;return Ki(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:i,titleId:s,prefix:a,transform:o,symbol:l,mask:f,maskId:c,extra:m}=n;return new Promise((p,_)=>{Promise.all([nr(r,a),f.iconName?nr(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(O=>{let[y,A]=O;p([t,Pr({icons:{main:y,mask:A},prefix:a,iconName:r,transform:o,symbol:l,maskId:c,title:i,titleId:s,extra:m,watchable:!0})])}).catch(_)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:i,transform:s,styles:a}=t;const o=on(a);o.length>0&&(r.style=o);let l;return Ir(s)&&(l=vt("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:r}}}},Lh={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return fn({type:"layer"},()=>{kt("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(i=>{Array.isArray(i)?i.map(s=>{r=r.concat(s.abstract)}):r=r.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(v.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},Ph={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:s={}}=t;return fn({type:"counter",content:e},()=>(kt("beforeDOMElementCreation",{content:e,params:t}),uh({content:e.toString(),title:n,extra:{attributes:i,styles:s,classes:["".concat(v.cssPrefix,"-layers-counter"),...r]}})))}}}},kh={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Q,title:r=null,classes:i=[],attributes:s={},styles:a={}}=t;return fn({type:"text",content:e},()=>(kt("beforeDOMElementCreation",{content:e,params:t}),ji({content:e,transform:d(d({},Q),n),title:r,extra:{attributes:s,styles:a,classes:["".concat(v.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:i,extra:s}=n;let a=null,o=null;if(sa){const l=parseInt(getComputedStyle(t).fontSize,10),f=t.getBoundingClientRect();a=f.width/l,o=f.height/l}return v.autoA11y&&!r&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,ji({content:t.innerHTML,width:a,height:o,transform:i,title:r,extra:s,watchable:!0})])}}};const $h=new RegExp('"',"ug"),Ui=[1105920,1112319],Gi=d(d(d(d({},{FontAwesome:{normal:"fas",400:"fas"}}),id),yd),pd),sr=Object.keys(Gi).reduce((e,t)=>(e[t.toLowerCase()]=Gi[t],e),{}),Mh=Object.keys(sr).reduce((e,t)=>{const n=sr[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function Rh(e){const t=e.replace($h,""),n=zd(t,0),r=n>=Ui[0]&&n<=Ui[1],i=t.length===2?t[0]===t[1]:!1;return{value:Qn(i?t[0]:t),isSecondary:r||i}}function Fh(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(sr[n]||{})[i]||Mh[n]}function Xi(e,t){const n="".concat(Ad).concat(t.replace(":","-"));return new Promise((r,i)=>{if(e.getAttribute(n)!==null)return r();const a=se(e.children).filter(p=>p.getAttribute(Un)===t)[0],o=gt.getComputedStyle(e,t),l=o.getPropertyValue("font-family"),f=l.match(Cd),c=o.getPropertyValue("font-weight"),m=o.getPropertyValue("content");if(a&&!f)return e.removeChild(a),r();if(f&&m!=="none"&&m!==""){const p=o.getPropertyValue("content");let _=Fh(l,c);const{value:O,isSecondary:y}=Rh(p),A=f[0].startsWith("FontAwesome");let h=Lr(_,O),g=h;if(A){const T=Xd(O);T.iconName&&T.prefix&&(h=T.iconName,_=T.prefix)}if(h&&!y&&(!a||a.getAttribute(Sr)!==_||a.getAttribute(Cr)!==g)){e.setAttribute(n,g),a&&e.removeChild(a);const T=Oh(),{extra:b}=T;b.attributes[Un]=t,nr(h,_).then(w=>{const S=Pr(d(d({},T),{},{icons:{main:w,mask:Na()},prefix:_,iconName:g,extra:b,watchable:!0})),C=N.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(C,e.firstChild):e.appendChild(C),C.outerHTML=S.map(x=>we(x)).join(` -`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function Vh(e){return Promise.all([Xi(e,"::before"),Xi(e,"::after")])}function jh(e){return e.parentNode!==document.head&&!~wd.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Un)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function qi(e){if(ct)return new Promise((t,n)=>{const r=se(e.querySelectorAll("*")).filter(jh).map(Vh),i=kr.begin("searchPseudoElements");Pa(),Promise.all(r).then(()=>{i(),ir(),t()}).catch(()=>{i(),ir(),n()})})}var Hh={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=qi,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=N}=t;v.searchPseudoElements&&qi(n)}}};let Qi=!1;var Wh={mixout(){return{dom:{unwatch(){Pa(),Qi=!0}}}},hooks(){return{bootstrap(){Bi(Jn("mutationObserverCallbacks",{}))},noAuto(){yh()},watch(e){const{observeMutationsRoot:t}=e;Qi?ir():Bi(Jn("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Zi=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),s=i[0];let a=i.slice(1).join("-");if(s&&a==="h")return n.flipX=!0,n;if(s&&a==="v")return n.flipY=!0,n;if(a=parseFloat(a),isNaN(a))return n;switch(s){case"grow":n.size=n.size+a;break;case"shrink":n.size=n.size-a;break;case"left":n.x=n.x-a;break;case"right":n.x=n.x+a;break;case"up":n.y=n.y-a;break;case"down":n.y=n.y+a;break;case"rotate":n.rotate=n.rotate+a;break}return n},t)};var zh={mixout(){return{parse:{transform:e=>Zi(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=Zi(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:s}=t;const a={transform:"translate(".concat(i/2," 256)")},o="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),f="rotate(".concat(r.rotate," 0 0)"),c={transform:"".concat(o," ").concat(l," ").concat(f)},m={transform:"translate(".concat(s/2*-1," -256)")},p={outer:a,inner:c,path:m};return{tag:"g",attributes:d({},p.outer),children:[{tag:"g",attributes:d({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:d(d({},n.icon.attributes),p.path)}]}]}}}};const $n={x:0,y:0,width:"100%",height:"100%"};function Ji(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Bh(e){return e.tag==="g"?e.children:[e]}var Yh={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?cn(n.split(" ").map(i=>i.trim())):Na();return r.prefix||(r.prefix=_t()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:s,maskId:a,transform:o}=t;const{width:l,icon:f}=i,{width:c,icon:m}=s,p=Rd({transform:o,containerWidth:c,iconWidth:l}),_={tag:"rect",attributes:d(d({},$n),{},{fill:"white"})},O=f.children?{children:f.children.map(Ji)}:{},y={tag:"g",attributes:d({},p.inner),children:[Ji(d({tag:f.tag,attributes:d(d({},f.attributes),p.path)},O))]},A={tag:"g",attributes:d({},p.outer),children:[y]},h="mask-".concat(a||ge()),g="clip-".concat(a||ge()),T={tag:"mask",attributes:d(d({},$n),{},{id:h,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[_,A]},b={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:Bh(m)},T]};return n.push(b,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(h,")")},$n)}),{children:n,attributes:r}}}},Kh={provides(e){let t=!1;gt.matchMedia&&(t=gt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:d(d({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=d(d({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:d(d({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:d(d({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},s),{},{values:"1;0;1;1;0;1;"})}),n.push(a),n.push({tag:"path",attributes:d(d({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:d(d({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:d(d({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Uh={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},Gh=[jd,Dh,Lh,Ph,kh,Hh,Wh,zh,Yh,Kh,Uh];ih(Gh,{mixoutsTo:z});z.noAuto;z.config;const Xh=z.library;z.dom;const ar=z.parse;z.findIconDefinition;z.toHtml;const qh=z.icon;z.layer;z.text;z.counter;const Qh={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},dp=Qh,Zh={prefix:"fas",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]},hp={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},pp={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]};function P(e,t,n){return(t=np(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ts(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t0||!Array.isArray(t)&&t?P({},e,t):{}}function rp(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},P(P(P(P(P(P(P(P(P(P(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),P(P(P(P(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}var ip=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},$a={exports:{}};(function(e){(function(t){var n=function(h,g,T){if(!f(g)||m(g)||p(g)||_(g)||l(g))return g;var b,w=0,S=0;if(c(g))for(b=[],S=g.length;w1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return Ma(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,f){var c=e.attributes[f];switch(f){case"class":l.class=lp(c);break;case"style":l.style=op(c);break;default:l.attrs[f]=c}return l},{attrs:{},class:{},style:{}});n.class;var s=n.style,a=s===void 0?{}:s,o=Jh(n,ap);return Ka(e.tag,nt(nt(nt({},t),{},{class:i.class,style:nt(nt({},i.style),a)},i.attrs),o),r)}var Ra=!1;try{Ra=!0}catch{}function cp(){if(!Ra&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function es(e){if(e&&qe(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(ar.icon)return ar.icon(e);if(e===null)return null;if(qe(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var fp=Ba({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=Ft(function(){return es(t.icon)}),s=Ft(function(){return Mn("classes",rp(t))}),a=Ft(function(){return Mn("transform",typeof t.transform=="string"?ar.transform(t.transform):t.transform)}),o=Ft(function(){return Mn("mask",es(t.mask))}),l=Ft(function(){var c=nt(nt(nt(nt({},s.value),a.value),o.value),{},{symbol:t.symbol,maskId:t.maskId});return c.title=t.title,c.titleId=t.titleId,qh(i.value,c)});Ya(l,function(c){if(!c)return cp("Could not find one or more icon(s)",i.value,o.value)},{immediate:!0});var f=Ft(function(){return l.value?Ma(l.value.abstract[0],{},r):null});return function(){return f.value}}});Xh.add(Zh);if(document.getElementById("footer")){const e=Ua({});e.component("font-awesome-icon",fp),e.mount("#footer")}export{fp as F,Zt as M,pp as a,dp as b,hp as f,Xh as l}; diff --git a/app/static/dist/assets/index-Dr3hVjsI.js b/app/static/dist/assets/index-Dr3hVjsI.js deleted file mode 100644 index 870f4b3..0000000 --- a/app/static/dist/assets/index-Dr3hVjsI.js +++ /dev/null @@ -1,5885 +0,0 @@ -var Qr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);import{l as ei,f as ti,a as ai,b as si,M as as,F as ri}from"./about-CKQnskSa.js";import{d as ii,J as oi,r as ee,o as ni,e as li,w as Rt,K as ci,b as di}from"./vue-BjHIh3JK.js";import{r as ui,g as pi}from"./lodash-CMEUj9tG.js";var v0=Qr((ap,Nt)=>{function Cs(e,t){return function(){return e.apply(t,arguments)}}const{toString:mi}=Object.prototype,{getPrototypeOf:La}=Object,{iterator:Mt,toStringTag:vs}=Symbol,Ft=(e=>t=>{const a=mi.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),ne=e=>(e=e.toLowerCase(),t=>Ft(t)===e),Ut=e=>t=>typeof t===e,{isArray:Je}=Array,ze=Ut("undefined");function lt(e){return e!==null&&!ze(e)&&e.constructor!==null&&!ze(e.constructor)&&G(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ws=ne("ArrayBuffer");function hi(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ws(e.buffer),t}const fi=Ut("string"),G=Ut("function"),Ps=Ut("number"),ct=e=>e!==null&&typeof e=="object",_i=e=>e===!0||e===!1,wt=e=>{if(Ft(e)!=="object")return!1;const t=La(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vs in e)&&!(Mt in e)},Si=e=>{if(!ct(e)||lt(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},ki=ne("Date"),Ti=ne("File"),Bi=ne("Blob"),Ei=ne("FileList"),Ri=e=>ct(e)&&G(e.pipe),wi=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||G(e.append)&&((t=Ft(e))==="formdata"||t==="object"&&G(e.toString)&&e.toString()==="[object FormData]"))},gi=ne("URLSearchParams"),[Ai,Li,yi,bi]=["ReadableStream","Request","Response","Headers"].map(ne),Ni=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dt(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),Je(e))for(s=0,r=e.length;s0;)if(r=a[s],t===r.toLowerCase())return r;return null}const xe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hs=e=>!ze(e)&&e!==xe;function ha(){const{caseless:e,skipUndefined:t}=Hs(this)&&this||{},a={},s=(r,i)=>{const o=e&&Ds(a,i)||i;wt(a[o])&&wt(r)?a[o]=ha(a[o],r):wt(r)?a[o]=ha({},r):Je(r)?a[o]=r.slice():(!t||!ze(r))&&(a[o]=r)};for(let r=0,i=arguments.length;r(dt(t,(r,i)=>{a&&G(r)?e[i]=Cs(r,a):e[i]=r},{allOwnKeys:s}),e),xi=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ci=(e,t,a,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),a&&Object.assign(e.prototype,a)},vi=(e,t,a,s)=>{let r,i,o;const n={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!n[o]&&(t[o]=e[o],n[o]=!0);e=a!==!1&&La(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},Wi=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;const s=e.indexOf(t,a);return s!==-1&&s===a},Pi=e=>{if(!e)return null;if(Je(e))return e;let t=e.length;if(!Ps(t))return null;const a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},Di=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&La(Uint8Array)),Hi=(e,t)=>{const s=(e&&e[Mt]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},Ii=(e,t)=>{let a;const s=[];for(;(a=e.exec(t))!==null;)s.push(a);return s},Mi=ne("HTMLFormElement"),Fi=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,r){return s.toUpperCase()+r}),ss=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),Ui=ne("RegExp"),Is=(e,t)=>{const a=Object.getOwnPropertyDescriptors(e),s={};dt(a,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},qi=e=>{Is(e,(t,a)=>{if(G(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const s=e[a];if(G(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},Yi=(e,t)=>{const a={},s=r=>{r.forEach(i=>{a[i]=!0})};return Je(e)?s(e):s(String(e).split(t)),a},zi=()=>{},Ji=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ji(e){return!!(e&&G(e.append)&&e[vs]==="FormData"&&e[Mt])}const Vi=e=>{const t=new Array(10),a=(s,r)=>{if(ct(s)){if(t.indexOf(s)>=0)return;if(lt(s))return s;if(!("toJSON"in s)){t[r]=s;const i=Je(s)?[]:{};return dt(s,(o,n)=>{const u=a(o,r+1);!ze(u)&&(i[n]=u)}),t[r]=void 0,i}}return s};return a(e,0)},Gi=ne("AsyncFunction"),$i=e=>e&&(ct(e)||G(e))&&G(e.then)&&G(e.catch),Ms=((e,t)=>e?setImmediate:t?((a,s)=>(xe.addEventListener("message",({source:r,data:i})=>{r===xe&&i===a&&s.length&&s.shift()()},!1),r=>{s.push(r),xe.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",G(xe.postMessage)),Ki=typeof queueMicrotask<"u"?queueMicrotask.bind(xe):typeof process<"u"&&process.nextTick||Ms,Zi=e=>e!=null&&G(e[Mt]),c={isArray:Je,isArrayBuffer:Ws,isBuffer:lt,isFormData:wi,isArrayBufferView:hi,isString:fi,isNumber:Ps,isBoolean:_i,isObject:ct,isPlainObject:wt,isEmptyObject:Si,isReadableStream:Ai,isRequest:Li,isResponse:yi,isHeaders:bi,isUndefined:ze,isDate:ki,isFile:Ti,isBlob:Bi,isRegExp:Ui,isFunction:G,isStream:Ri,isURLSearchParams:gi,isTypedArray:Di,isFileList:Ei,forEach:dt,merge:ha,extend:Oi,trim:Ni,stripBOM:xi,inherits:Ci,toFlatObject:vi,kindOf:Ft,kindOfTest:ne,endsWith:Wi,toArray:Pi,forEachEntry:Hi,matchAll:Ii,isHTMLForm:Mi,hasOwnProperty:ss,hasOwnProp:ss,reduceDescriptors:Is,freezeMethods:qi,toObjectSet:Yi,toCamelCase:Fi,noop:zi,toFiniteNumber:Ji,findKey:Ds,global:xe,isContextDefined:Hs,isSpecCompliantForm:ji,toJSONObject:Vi,isAsyncFn:Gi,isThenable:$i,setImmediate:Ms,asap:Ki,isIterable:Zi};function E(e,t,a,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),a&&(this.config=a),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}c.inherits(E,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.status}}});const Fs=E.prototype,Us={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Us[e]={value:e}});Object.defineProperties(E,Us);Object.defineProperty(Fs,"isAxiosError",{value:!0});E.from=(e,t,a,s,r,i)=>{const o=Object.create(Fs);c.toFlatObject(e,o,function(d){return d!==Error.prototype},l=>l!=="isAxiosError");const n=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return E.call(o,n,u,a,s,r),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const Xi=null;function fa(e){return c.isPlainObject(e)||c.isArray(e)}function qs(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function rs(e,t,a){return e?e.concat(t).map(function(r,i){return r=qs(r),!a&&i?"["+r+"]":r}).join(a?".":""):t}function Qi(e){return c.isArray(e)&&!e.some(fa)}const eo=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function qt(e,t,a){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,a=c.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,_){return!c.isUndefined(_[T])});const s=a.metaTokens,r=a.visitor||d,i=a.dots,o=a.indexes,u=(a.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(r))throw new TypeError("visitor must be a function");function l(p){if(p===null)return"";if(c.isDate(p))return p.toISOString();if(c.isBoolean(p))return p.toString();if(!u&&c.isBlob(p))throw new E("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(p)||c.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,T,_){let W=p;if(p&&!_&&typeof p=="object"){if(c.endsWith(T,"{}"))T=s?T:T.slice(0,-2),p=JSON.stringify(p);else if(c.isArray(p)&&Qi(p)||(c.isFileList(p)||c.endsWith(T,"[]"))&&(W=c.toArray(p)))return T=qs(T),W.forEach(function(C,F){!(c.isUndefined(C)||C===null)&&t.append(o===!0?rs([T],F,i):o===null?T:T+"[]",l(C))}),!1}return fa(p)?!0:(t.append(rs(_,T,i),l(p)),!1)}const h=[],R=Object.assign(eo,{defaultVisitor:d,convertValue:l,isVisitable:fa});function N(p,T){if(!c.isUndefined(p)){if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+T.join("."));h.push(p),c.forEach(p,function(W,U){(!(c.isUndefined(W)||W===null)&&r.call(t,W,c.isString(U)?U.trim():U,T,R))===!0&&N(W,T?T.concat(U):[U])}),h.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return N(e),t}function is(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function ya(e,t){this._pairs=[],e&&qt(e,this,t)}const Ys=ya.prototype;Ys.append=function(t,a){this._pairs.push([t,a])};Ys.toString=function(t){const a=t?function(s){return t.call(this,s,is)}:is;return this._pairs.map(function(r){return a(r[0])+"="+a(r[1])},"").join("&")};function to(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function zs(e,t,a){if(!t)return e;const s=a&&a.encode||to;c.isFunction(a)&&(a={serialize:a});const r=a&&a.serialize;let i;if(r?i=r(t,a):i=c.isURLSearchParams(t)?t.toString():new ya(t,a).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class os{constructor(){this.handlers=[]}use(t,a,s){return this.handlers.push({fulfilled:t,rejected:a,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Js={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ao=typeof URLSearchParams<"u"?URLSearchParams:ya,so=typeof FormData<"u"?FormData:null,ro=typeof Blob<"u"?Blob:null,io={isBrowser:!0,classes:{URLSearchParams:ao,FormData:so,Blob:ro},protocols:["http","https","file","blob","url","data"]},ba=typeof window<"u"&&typeof document<"u",_a=typeof navigator=="object"&&navigator||void 0,oo=ba&&(!_a||["ReactNative","NativeScript","NS"].indexOf(_a.product)<0),no=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",lo=ba&&window.location.href||"http://localhost",co=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ba,hasStandardBrowserEnv:oo,hasStandardBrowserWebWorkerEnv:no,navigator:_a,origin:lo},Symbol.toStringTag,{value:"Module"})),Y={...co,...io};function uo(e,t){return qt(e,new Y.classes.URLSearchParams,{visitor:function(a,s,r,i){return Y.isNode&&c.isBuffer(a)?(this.append(s,a.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function po(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function mo(e){const t={},a=Object.keys(e);let s;const r=a.length;let i;for(s=0;s=a.length;return o=!o&&c.isArray(r)?r.length:o,u?(c.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!n):((!r[o]||!c.isObject(r[o]))&&(r[o]=[]),t(a,s,r[o],i)&&c.isArray(r[o])&&(r[o]=mo(r[o])),!n)}if(c.isFormData(e)&&c.isFunction(e.entries)){const a={};return c.forEachEntry(e,(s,r)=>{t(po(s),r,a,0)}),a}return null}function ho(e,t,a){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(a||JSON.stringify)(e)}const ut={transitional:Js,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){const s=a.getContentType()||"",r=s.indexOf("application/json")>-1,i=c.isObject(t);if(i&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return r?JSON.stringify(js(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t)||c.isReadableStream(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let n;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return uo(t,this.formSerializer).toString();if((n=c.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return qt(n?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||r?(a.setContentType("application/json",!1),ho(t)):t}],transformResponse:[function(t){const a=this.transitional||ut.transitional,s=a&&a.forcedJSONParsing,r=this.responseType==="json";if(c.isResponse(t)||c.isReadableStream(t))return t;if(t&&c.isString(t)&&(s&&!this.responseType||r)){const o=!(a&&a.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(n){if(o)throw n.name==="SyntaxError"?E.from(n,E.ERR_BAD_RESPONSE,this,null,this.response):n}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Y.classes.FormData,Blob:Y.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{ut.headers[e]={}});const fo=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_o=e=>{const t={};let a,s,r;return e&&e.split(` -`).forEach(function(o){r=o.indexOf(":"),a=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!a||t[a]&&fo[a])&&(a==="set-cookie"?t[a]?t[a].push(s):t[a]=[s]:t[a]=t[a]?t[a]+", "+s:s)}),t},ns=Symbol("internals");function Ke(e){return e&&String(e).trim().toLowerCase()}function gt(e){return e===!1||e==null?e:c.isArray(e)?e.map(gt):String(e)}function So(e){const t=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=a.exec(e);)t[s[1]]=s[2];return t}const ko=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function sa(e,t,a,s,r){if(c.isFunction(s))return s.call(this,t,a);if(r&&(t=a),!!c.isString(t)){if(c.isString(s))return t.indexOf(s)!==-1;if(c.isRegExp(s))return s.test(t)}}function To(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,a,s)=>a.toUpperCase()+s)}function Bo(e,t){const a=c.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+a,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}let $=class{constructor(t){t&&this.set(t)}set(t,a,s){const r=this;function i(n,u,l){const d=Ke(u);if(!d)throw new Error("header name must be a non-empty string");const h=c.findKey(r,d);(!h||r[h]===void 0||l===!0||l===void 0&&r[h]!==!1)&&(r[h||u]=gt(n))}const o=(n,u)=>c.forEach(n,(l,d)=>i(l,d,u));if(c.isPlainObject(t)||t instanceof this.constructor)o(t,a);else if(c.isString(t)&&(t=t.trim())&&!ko(t))o(_o(t),a);else if(c.isObject(t)&&c.isIterable(t)){let n={},u,l;for(const d of t){if(!c.isArray(d))throw TypeError("Object iterator must return a key-value pair");n[l=d[0]]=(u=n[l])?c.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}o(n,a)}else t!=null&&i(a,t,s);return this}get(t,a){if(t=Ke(t),t){const s=c.findKey(this,t);if(s){const r=this[s];if(!a)return r;if(a===!0)return So(r);if(c.isFunction(a))return a.call(this,r,s);if(c.isRegExp(a))return a.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,a){if(t=Ke(t),t){const s=c.findKey(this,t);return!!(s&&this[s]!==void 0&&(!a||sa(this,this[s],s,a)))}return!1}delete(t,a){const s=this;let r=!1;function i(o){if(o=Ke(o),o){const n=c.findKey(s,o);n&&(!a||sa(s,s[n],n,a))&&(delete s[n],r=!0)}}return c.isArray(t)?t.forEach(i):i(t),r}clear(t){const a=Object.keys(this);let s=a.length,r=!1;for(;s--;){const i=a[s];(!t||sa(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const a=this,s={};return c.forEach(this,(r,i)=>{const o=c.findKey(s,i);if(o){a[o]=gt(r),delete a[i];return}const n=t?To(i):String(i).trim();n!==i&&delete a[i],a[n]=gt(r),s[n]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const a=Object.create(null);return c.forEach(this,(s,r)=>{s!=null&&s!==!1&&(a[r]=t&&c.isArray(s)?s.join(", "):s)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,a])=>t+": "+a).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...a){const s=new this(t);return a.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ns]=this[ns]={accessors:{}}).accessors,r=this.prototype;function i(o){const n=Ke(o);s[n]||(Bo(r,o),s[n]=!0)}return c.isArray(t)?t.forEach(i):i(t),this}};$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors($.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[a]=s}}});c.freezeMethods($);function ra(e,t){const a=this||ut,s=t||a,r=$.from(s.headers);let i=s.data;return c.forEach(e,function(n){i=n.call(a,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Vs(e){return!!(e&&e.__CANCEL__)}function je(e,t,a){E.call(this,e??"canceled",E.ERR_CANCELED,t,a),this.name="CanceledError"}c.inherits(je,E,{__CANCEL__:!0});function Gs(e,t,a){const s=a.config.validateStatus;!a.status||!s||s(a.status)?e(a):t(new E("Request failed with status code "+a.status,[E.ERR_BAD_REQUEST,E.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function Eo(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ro(e,t){e=e||10;const a=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),d=s[i];o||(o=l),a[r]=u,s[r]=l;let h=i,R=0;for(;h!==r;)R+=a[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-o{a=d,r=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const d=Date.now(),h=d-a;h>=s?o(l,d):(r=l,i||(i=setTimeout(()=>{i=null,o(r)},s-h)))},()=>r&&o(r)]}const Ot=(e,t,a=3)=>{let s=0;const r=Ro(50,250);return wo(i=>{const o=i.loaded,n=i.lengthComputable?i.total:void 0,u=o-s,l=r(u),d=o<=n;s=o;const h={loaded:o,total:n,progress:n?o/n:void 0,bytes:u,rate:l||void 0,estimated:l&&n&&d?(n-o)/l:void 0,event:i,lengthComputable:n!=null,[t?"download":"upload"]:!0};e(h)},a)},ls=(e,t)=>{const a=e!=null;return[s=>t[0]({lengthComputable:a,total:e,loaded:s}),t[1]]},cs=e=>(...t)=>c.asap(()=>e(...t)),go=Y.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,Y.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(Y.origin),Y.navigator&&/(msie|trident)/i.test(Y.navigator.userAgent)):()=>!0,Ao=Y.hasStandardBrowserEnv?{write(e,t,a,s,r,i){const o=[e+"="+encodeURIComponent(t)];c.isNumber(a)&&o.push("expires="+new Date(a).toGMTString()),c.isString(s)&&o.push("path="+s),c.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Lo(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function yo(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $s(e,t,a){let s=!Lo(t);return e&&(s||a==!1)?yo(e,t):t}const ds=e=>e instanceof $?{...e}:e;function Pe(e,t){t=t||{};const a={};function s(l,d,h,R){return c.isPlainObject(l)&&c.isPlainObject(d)?c.merge.call({caseless:R},l,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function r(l,d,h,R){if(c.isUndefined(d)){if(!c.isUndefined(l))return s(void 0,l,h,R)}else return s(l,d,h,R)}function i(l,d){if(!c.isUndefined(d))return s(void 0,d)}function o(l,d){if(c.isUndefined(d)){if(!c.isUndefined(l))return s(void 0,l)}else return s(void 0,d)}function n(l,d,h){if(h in t)return s(l,d);if(h in e)return s(void 0,l)}const u={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:n,headers:(l,d,h)=>r(ds(l),ds(d),h,!0)};return c.forEach(Object.keys({...e,...t}),function(d){const h=u[d]||r,R=h(e[d],t[d],d);c.isUndefined(R)&&h!==n||(a[d]=R)}),a}const Ks=e=>{const t=Pe({},e);let{data:a,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:n}=t;if(t.headers=o=$.from(o),t.url=zs($s(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),n&&o.set("Authorization","Basic "+btoa((n.username||"")+":"+(n.password?unescape(encodeURIComponent(n.password)):""))),c.isFormData(a)){if(Y.hasStandardBrowserEnv||Y.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(c.isFunction(a.getHeaders)){const u=a.getHeaders(),l=["content-type","content-length"];Object.entries(u).forEach(([d,h])=>{l.includes(d.toLowerCase())&&o.set(d,h)})}}if(Y.hasStandardBrowserEnv&&(s&&c.isFunction(s)&&(s=s(t)),s||s!==!1&&go(t.url))){const u=r&&i&&Ao.read(i);u&&o.set(r,u)}return t},bo=typeof XMLHttpRequest<"u",No=bo&&function(e){return new Promise(function(a,s){const r=Ks(e);let i=r.data;const o=$.from(r.headers).normalize();let{responseType:n,onUploadProgress:u,onDownloadProgress:l}=r,d,h,R,N,p;function T(){N&&N(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function W(){if(!_)return;const C=$.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),B={data:!n||n==="text"||n==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:C,config:e,request:_};Gs(function(q){a(q),T()},function(q){s(q),T()},B),_=null}"onloadend"in _?_.onloadend=W:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(W)},_.onabort=function(){_&&(s(new E("Request aborted",E.ECONNABORTED,e,_)),_=null)},_.onerror=function(F){const B=F&&F.message?F.message:"Network Error",P=new E(B,E.ERR_NETWORK,e,_);P.event=F||null,s(P),_=null},_.ontimeout=function(){let F=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const B=r.transitional||Js;r.timeoutErrorMessage&&(F=r.timeoutErrorMessage),s(new E(F,B.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,_)),_=null},i===void 0&&o.setContentType(null),"setRequestHeader"in _&&c.forEach(o.toJSON(),function(F,B){_.setRequestHeader(B,F)}),c.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),n&&n!=="json"&&(_.responseType=r.responseType),l&&([R,p]=Ot(l,!0),_.addEventListener("progress",R)),u&&_.upload&&([h,N]=Ot(u),_.upload.addEventListener("progress",h),_.upload.addEventListener("loadend",N)),(r.cancelToken||r.signal)&&(d=C=>{_&&(s(!C||C.type?new je(null,e,_):C),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const U=Eo(r.url);if(U&&Y.protocols.indexOf(U)===-1){s(new E("Unsupported protocol "+U+":",E.ERR_BAD_REQUEST,e));return}_.send(i||null)})},Oo=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let s=new AbortController,r;const i=function(l){if(!r){r=!0,n();const d=l instanceof Error?l:this.reason;s.abort(d instanceof E?d:new je(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,i(new E(`timeout ${t} of ms exceeded`,E.ETIMEDOUT))},t);const n=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:u}=s;return u.unsubscribe=()=>c.asap(n),u}},xo=function*(e,t){let a=e.byteLength;if(a{const r=Co(e,t);let i=0,o,n=u=>{o||(o=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:l,value:d}=await r.next();if(l){n(),u.close();return}let h=d.byteLength;if(a){let R=i+=h;a(R)}u.enqueue(new Uint8Array(d))}catch(l){throw n(l),l}},cancel(u){return n(u),r.return()}},{highWaterMark:2})},ps=64*1024,{isFunction:kt}=c,Wo=(({Request:e,Response:t})=>({Request:e,Response:t}))(c.global),{ReadableStream:ms,TextEncoder:hs}=c.global,fs=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Po=e=>{e=c.merge.call({skipUndefined:!0},Wo,e);const{fetch:t,Request:a,Response:s}=e,r=t?kt(t):typeof fetch=="function",i=kt(a),o=kt(s);if(!r)return!1;const n=r&&kt(ms),u=r&&(typeof hs=="function"?(p=>T=>p.encode(T))(new hs):async p=>new Uint8Array(await new a(p).arrayBuffer())),l=i&&n&&fs(()=>{let p=!1;const T=new a(Y.origin,{body:new ms,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!T}),d=o&&n&&fs(()=>c.isReadableStream(new s("").body)),h={stream:d&&(p=>p.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!h[p]&&(h[p]=(T,_)=>{let W=T&&T[p];if(W)return W.call(T);throw new E(`Response type '${p}' is not supported`,E.ERR_NOT_SUPPORT,_)})});const R=async p=>{if(p==null)return 0;if(c.isBlob(p))return p.size;if(c.isSpecCompliantForm(p))return(await new a(Y.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(c.isArrayBufferView(p)||c.isArrayBuffer(p))return p.byteLength;if(c.isURLSearchParams(p)&&(p=p+""),c.isString(p))return(await u(p)).byteLength},N=async(p,T)=>{const _=c.toFiniteNumber(p.getContentLength());return _??R(T)};return async p=>{let{url:T,method:_,data:W,signal:U,cancelToken:C,timeout:F,onDownloadProgress:B,onUploadProgress:P,responseType:q,headers:Z,withCredentials:we="same-origin",fetchOptions:Ka}=Ks(p),Za=t||fetch;q=q?(q+"").toLowerCase():"text";let _t=Oo([U,C&&C.toAbortSignal()],F),$e=null;const Ne=_t&&_t.unsubscribe&&(()=>{_t.unsubscribe()});let Xa;try{if(P&&l&&_!=="get"&&_!=="head"&&(Xa=await N(Z,W))!==0){let Ae=new a(T,{method:"POST",body:W,duplex:"half"}),He;if(c.isFormData(W)&&(He=Ae.headers.get("content-type"))&&Z.setContentType(He),Ae.body){const[aa,St]=ls(Xa,Ot(cs(P)));W=us(Ae.body,ps,aa,St)}}c.isString(we)||(we=we?"include":"omit");const ce=i&&"credentials"in a.prototype,Qa={...Ka,signal:_t,method:_.toUpperCase(),headers:Z.normalize().toJSON(),body:W,duplex:"half",credentials:ce?we:void 0};$e=i&&new a(T,Qa);let ge=await(i?Za($e,Ka):Za(T,Qa));const es=d&&(q==="stream"||q==="response");if(d&&(B||es&&Ne)){const Ae={};["status","statusText","headers"].forEach(ts=>{Ae[ts]=ge[ts]});const He=c.toFiniteNumber(ge.headers.get("content-length")),[aa,St]=B&&ls(He,Ot(cs(B),!0))||[];ge=new s(us(ge.body,ps,aa,()=>{St&&St(),Ne&&Ne()}),Ae)}q=q||"text";let Xr=await h[c.findKey(h,q)||"text"](ge,p);return!es&&Ne&&Ne(),await new Promise((Ae,He)=>{Gs(Ae,He,{data:Xr,headers:$.from(ge.headers),status:ge.status,statusText:ge.statusText,config:p,request:$e})})}catch(ce){throw Ne&&Ne(),ce&&ce.name==="TypeError"&&/Load failed|fetch/i.test(ce.message)?Object.assign(new E("Network Error",E.ERR_NETWORK,p,$e),{cause:ce.cause||ce}):E.from(ce,ce&&ce.code,p,$e)}}},Do=new Map,Zs=e=>{let t=e?e.env:{};const{fetch:a,Request:s,Response:r}=t,i=[s,r,a];let o=i.length,n=o,u,l,d=Do;for(;n--;)u=i[n],l=d.get(u),l===void 0&&d.set(u,l=n?new Map:Po(t)),d=l;return l};Zs();const Sa={http:Xi,xhr:No,fetch:{get:Zs}};c.forEach(Sa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _s=e=>`- ${e}`,Ho=e=>c.isFunction(e)||e===null||e===!1,Xs={getAdapter:(e,t)=>{e=c.isArray(e)?e:[e];const{length:a}=e;let s,r;const i={};for(let o=0;o`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let n=a?o.length>1?`since : -`+o.map(_s).join(` -`):" "+_s(o[0]):"as no adapter specified";throw new E("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:Sa};function ia(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function Ss(e){return ia(e),e.headers=$.from(e.headers),e.data=ra.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xs.getAdapter(e.adapter||ut.adapter,e)(e).then(function(s){return ia(e),s.data=ra.call(e,e.transformResponse,s),s.headers=$.from(s.headers),s},function(s){return Vs(s)||(ia(e),s&&s.response&&(s.response.data=ra.call(e,e.transformResponse,s.response),s.response.headers=$.from(s.response.headers))),Promise.reject(s)})}const Qs="1.12.2",Yt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yt[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ks={};Yt.transitional=function(t,a,s){function r(i,o){return"[Axios v"+Qs+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,n)=>{if(t===!1)throw new E(r(o," has been removed"+(a?" in "+a:"")),E.ERR_DEPRECATED);return a&&!ks[o]&&(ks[o]=!0,console.warn(r(o," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(i,o,n):!0}};Yt.spelling=function(t){return(a,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Io(e,t,a){if(typeof e!="object")throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const n=e[i],u=n===void 0||o(n,i,e);if(u!==!0)throw new E("option "+i+" must be "+u,E.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new E("Unknown option "+i,E.ERR_BAD_OPTION)}}const At={assertOptions:Io,validators:Yt},de=At.validators;let ve=class{constructor(t){this.defaults=t||{},this.interceptors={request:new os,response:new os}}async request(t,a){try{return await this._request(t,a)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+i):s.stack=i}catch{}}throw s}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=Pe(this.defaults,a);const{transitional:s,paramsSerializer:r,headers:i}=a;s!==void 0&&At.assertOptions(s,{silentJSONParsing:de.transitional(de.boolean),forcedJSONParsing:de.transitional(de.boolean),clarifyTimeoutError:de.transitional(de.boolean)},!1),r!=null&&(c.isFunction(r)?a.paramsSerializer={serialize:r}:At.assertOptions(r,{encode:de.function,serialize:de.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),At.assertOptions(a,{baseUrl:de.spelling("baseURL"),withXsrfToken:de.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let o=i&&c.merge(i.common,i[a.method]);i&&c.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),a.headers=$.concat(o,i);const n=[];let u=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(a)===!1||(u=u&&T.synchronous,n.unshift(T.fulfilled,T.rejected))});const l=[];this.interceptors.response.forEach(function(T){l.push(T.fulfilled,T.rejected)});let d,h=0,R;if(!u){const p=[Ss.bind(this),void 0];for(p.unshift(...n),p.push(...l),R=p.length,d=Promise.resolve(a);h{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(n=>{s.subscribe(n),i=n}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,n){s.reason||(s.reason=new je(i,o,n),a(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=s=>{t.abort(s)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new er(function(r){t=r}),cancel:t}}};function Fo(e){return function(a){return e.apply(null,a)}}function Uo(e){return c.isObject(e)&&e.isAxiosError===!0}const ka={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ka).forEach(([e,t])=>{ka[t]=e});function tr(e){const t=new ve(e),a=Cs(ve.prototype.request,t);return c.extend(a,ve.prototype,t,{allOwnKeys:!0}),c.extend(a,t,null,{allOwnKeys:!0}),a.create=function(r){return tr(Pe(e,r))},a}const D=tr(ut);D.Axios=ve;D.CanceledError=je;D.CancelToken=Mo;D.isCancel=Vs;D.VERSION=Qs;D.toFormData=qt;D.AxiosError=E;D.Cancel=D.CanceledError;D.all=function(t){return Promise.all(t)};D.spread=Fo;D.isAxiosError=Uo;D.mergeConfig=Pe;D.AxiosHeaders=$;D.formToJSON=e=>js(c.isHTMLForm(e)?new FormData(e):e);D.getAdapter=Xs.getAdapter;D.HttpStatusCode=ka;D.default=D;const{Axios:F0,AxiosError:U0,CanceledError:q0,isCancel:Y0,CancelToken:z0,VERSION:J0,all:j0,Cancel:V0,isAxiosError:G0,spread:$0,toFormData:K0,AxiosHeaders:Z0,HttpStatusCode:X0,formToJSON:Q0,getAdapter:ep,mergeConfig:tp}=D;var ar;function f(){return ar.apply(null,arguments)}function qo(e){ar=e}function ie(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function We(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Na(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(L(e,t))return!1;return!0}function V(e){return e===void 0}function Be(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function pt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function sr(e,t){var a=[],s,r=e.length;for(s=0;s>>0,s;for(s=0;s0)for(a=0;a=0;return(i?a?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+s}var va=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,na={},Ue={};function k(e,t,a,s){var r=s;typeof s=="string"&&(r=function(){return this[s]()}),e&&(Ue[e]=r),t&&(Ue[t[0]]=function(){return pe(r.apply(this,arguments),t[1],t[2])}),a&&(Ue[a]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function Vo(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Go(e){var t=e.match(va),a,s;for(a=0,s=t.length;a=0&&Tt.test(e);)e=e.replace(Tt,s),Tt.lastIndex=0,a-=1;return e}var $o={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ko(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(va).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Zo="Invalid date";function Xo(){return this._invalidDate}var Qo="%d",en=/\d{1,2}/;function tn(e){return this._ordinal.replace("%d",e)}var an={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function sn(e,t,a,s){var r=this._relativeTime[a];return he(r)?r(e,t,a,s):r.replace(/%d/i,e)}function rn(e,t){var a=this._relativeTime[e>0?"future":"past"];return he(a)?a(t):a.replace(/%s/i,t)}var at={};function J(e,t){var a=e.toLowerCase();at[a]=at[a+"s"]=at[t]=e}function se(e){return typeof e=="string"?at[e]||at[e.toLowerCase()]:void 0}function Wa(e){var t={},a,s;for(s in e)L(e,s)&&(a=se(s),a&&(t[a]=e[s]));return t}var nr={};function j(e,t){nr[e]=t}function on(e){var t=[],a;for(a in e)L(e,a)&&t.push({unit:a,priority:nr[a]});return t.sort(function(s,r){return s.priority-r.priority}),t}function Jt(e){return e%4===0&&e%100!==0||e%400===0}function te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var t=+e,a=0;return t!==0&&isFinite(t)&&(a=te(t)),a}function Ve(e,t){return function(a){return a!=null?(lr(this,e,a),f.updateOffset(this,t),this):xt(this,e)}}function xt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function lr(e,t,a){e.isValid()&&!isNaN(a)&&(t==="FullYear"&&Jt(e.year())&&e.month()===1&&e.date()===29?(a=g(a),e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),Zt(a,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](a))}function nn(e){return e=se(e),he(this[e])?this[e]():this}function ln(e,t){if(typeof e=="object"){e=Wa(e);var a=on(e),s,r=a.length;for(s=0;s68?1900:2e3)};var kr=Ve("FullYear",!0);function yn(){return Jt(this.year())}function bn(e,t,a,s,r,i,o){var n;return e<100&&e>=0?(n=new Date(e+400,t,a,s,r,i,o),isFinite(n.getFullYear())&&n.setFullYear(e)):n=new Date(e,t,a,s,r,i,o),n}function it(e){var t,a;return e<100&&e>=0?(a=Array.prototype.slice.call(arguments),a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function vt(e,t,a){var s=7+t-a,r=(7+it(e,0,s).getUTCDay()-t)%7;return-r+s-1}function Tr(e,t,a,s,r){var i=(7+a-s)%7,o=vt(e,s,r),n=1+7*(t-1)+i+o,u,l;return n<=0?(u=e-1,l=st(u)+n):n>st(e)?(u=e+1,l=n-st(e)):(u=e,l=n),{year:u,dayOfYear:l}}function ot(e,t,a){var s=vt(e.year(),t,a),r=Math.floor((e.dayOfYear()-s-1)/7)+1,i,o;return r<1?(o=e.year()-1,i=r+Te(o,t,a)):r>Te(e.year(),t,a)?(i=r-Te(e.year(),t,a),o=e.year()+1):(o=e.year(),i=r),{week:i,year:o}}function Te(e,t,a){var s=vt(e,t,a),r=vt(e+1,t,a);return(st(e)-s+r)/7}k("w",["ww",2],"wo","week");k("W",["WW",2],"Wo","isoWeek");J("week","w");J("isoWeek","W");j("week",5);j("isoWeek",5);S("w",x);S("ww",x,Q);S("W",x);S("WW",x,Q);ft(["w","ww","W","WW"],function(e,t,a,s){t[s.substr(0,1)]=g(e)});function Nn(e){return ot(e,this._week.dow,this._week.doy).week}var On={dow:0,doy:6};function xn(){return this._week.dow}function Cn(){return this._week.doy}function vn(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Wn(e){var t=ot(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day");k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});k("e",0,0,"weekday");k("E",0,0,"isoWeekday");J("day","d");J("weekday","e");J("isoWeekday","E");j("day",11);j("weekday",11);j("isoWeekday",11);S("d",x);S("e",x);S("E",x);S("dd",function(e,t){return t.weekdaysMinRegex(e)});S("ddd",function(e,t){return t.weekdaysShortRegex(e)});S("dddd",function(e,t){return t.weekdaysRegex(e)});ft(["dd","ddd","dddd"],function(e,t,a,s){var r=a._locale.weekdaysParse(e,s,a._strict);r!=null?t.d=r:w(a).invalidWeekday=e});ft(["d","e","E"],function(e,t,a,s){t[s]=g(e)});function Pn(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Dn(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ha(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Hn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Br="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),In="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mn=ht,Fn=ht,Un=ht;function qn(e,t){var a=ie(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ha(a,this._week.dow):e?a[e.day()]:a}function Yn(e){return e===!0?Ha(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function zn(e){return e===!0?Ha(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Jn(e,t,a){var s,r,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=me([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return a?t==="dddd"?(r=H.call(this._weekdaysParse,o),r!==-1?r:null):t==="ddd"?(r=H.call(this._shortWeekdaysParse,o),r!==-1?r:null):(r=H.call(this._minWeekdaysParse,o),r!==-1?r:null):t==="dddd"?(r=H.call(this._weekdaysParse,o),r!==-1||(r=H.call(this._shortWeekdaysParse,o),r!==-1)?r:(r=H.call(this._minWeekdaysParse,o),r!==-1?r:null)):t==="ddd"?(r=H.call(this._shortWeekdaysParse,o),r!==-1||(r=H.call(this._weekdaysParse,o),r!==-1)?r:(r=H.call(this._minWeekdaysParse,o),r!==-1?r:null)):(r=H.call(this._minWeekdaysParse,o),r!==-1||(r=H.call(this._weekdaysParse,o),r!==-1)?r:(r=H.call(this._shortWeekdaysParse,o),r!==-1?r:null))}function jn(e,t,a){var s,r,i;if(this._weekdaysParseExact)return Jn.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(r=me([2e3,1]).day(s),a&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),a&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(a&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(a&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!a&&this._weekdaysParse[s].test(e))return s}}function Vn(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Pn(e,this.localeData()),this.add(e-t,"d")):t}function Gn(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function $n(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Dn(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Kn(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ia.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=Mn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zn(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ia.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fn),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xn(e){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Ia.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Un),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ia(){function e(d,h){return h.length-d.length}var t=[],a=[],s=[],r=[],i,o,n,u,l;for(i=0;i<7;i++)o=me([2e3,1]).day(i),n=X(this.weekdaysMin(o,"")),u=X(this.weekdaysShort(o,"")),l=X(this.weekdays(o,"")),t.push(n),a.push(u),s.push(l),r.push(n),r.push(u),r.push(l);t.sort(e),a.sort(e),s.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ma(){return this.hours()%12||12}function Qn(){return this.hours()||24}k("H",["HH",2],0,"hour");k("h",["hh",2],0,Ma);k("k",["kk",2],0,Qn);k("hmm",0,0,function(){return""+Ma.apply(this)+pe(this.minutes(),2)});k("hmmss",0,0,function(){return""+Ma.apply(this)+pe(this.minutes(),2)+pe(this.seconds(),2)});k("Hmm",0,0,function(){return""+this.hours()+pe(this.minutes(),2)});k("Hmmss",0,0,function(){return""+this.hours()+pe(this.minutes(),2)+pe(this.seconds(),2)});function Er(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Er("a",!0);Er("A",!1);J("hour","h");j("hour",13);function Rr(e,t){return t._meridiemParse}S("a",Rr);S("A",Rr);S("H",x);S("h",x);S("k",x);S("HH",x,Q);S("hh",x,Q);S("kk",x,Q);S("hmm",ur);S("hmmss",pr);S("Hmm",ur);S("Hmmss",pr);b(["H","HH"],M);b(["k","kk"],function(e,t,a){var s=g(e);t[M]=s===24?0:s});b(["a","A"],function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e});b(["h","hh"],function(e,t,a){t[M]=g(e),w(a).bigHour=!0});b("hmm",function(e,t,a){var s=e.length-2;t[M]=g(e.substr(0,s)),t[re]=g(e.substr(s)),w(a).bigHour=!0});b("hmmss",function(e,t,a){var s=e.length-4,r=e.length-2;t[M]=g(e.substr(0,s)),t[re]=g(e.substr(s,2)),t[ke]=g(e.substr(r)),w(a).bigHour=!0});b("Hmm",function(e,t,a){var s=e.length-2;t[M]=g(e.substr(0,s)),t[re]=g(e.substr(s))});b("Hmmss",function(e,t,a){var s=e.length-4,r=e.length-2;t[M]=g(e.substr(0,s)),t[re]=g(e.substr(s,2)),t[ke]=g(e.substr(r))});function el(e){return(e+"").toLowerCase().charAt(0)==="p"}var tl=/[ap]\.?m?\.?/i,al=Ve("Hours",!0);function sl(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}var wr={calendar:Jo,longDateFormat:$o,invalidDate:Zo,ordinal:Qo,dayOfMonthOrdinalParse:en,relativeTime:an,months:Sn,monthsShort:mr,week:On,weekdays:Hn,weekdaysMin:In,weekdaysShort:Br,meridiemParse:tl},v={},Ze={},nt;function rl(e,t){var a,s=Math.min(e.length,t.length);for(a=0;a0;){if(r=Xt(i.slice(0,a).join("-")),r)return r;if(s&&s.length>=a&&rl(i,s)>=a-1)break;a--}t++}return nt}function ol(e){return e.match("^[^/\\\\]*$")!=null}function Xt(e){var t=null,a;if(v[e]===void 0&&typeof Nt<"u"&&Nt&&Nt.exports&&ol(e))try{t=nt._abbr,a=require,a("./locale/"+e),be(t)}catch{v[e]=null}return v[e]}function be(e,t){var a;return e&&(V(t)?a=Ee(e):a=Fa(e,t),a?nt=a:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function Fa(e,t){if(t!==null){var a,s=wr;if(t.abbr=e,v[e]!=null)ir("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=v[e]._config;else if(t.parentLocale!=null)if(v[t.parentLocale]!=null)s=v[t.parentLocale]._config;else if(a=Xt(t.parentLocale),a!=null)s=a._config;else return Ze[t.parentLocale]||(Ze[t.parentLocale]=[]),Ze[t.parentLocale].push({name:e,config:t}),null;return v[e]=new Ca(Ba(s,t)),Ze[e]&&Ze[e].forEach(function(r){Fa(r.name,r.config)}),be(e),v[e]}else return delete v[e],null}function nl(e,t){if(t!=null){var a,s,r=wr;v[e]!=null&&v[e].parentLocale!=null?v[e].set(Ba(v[e]._config,t)):(s=Xt(e),s!=null&&(r=s._config),t=Ba(r,t),s==null&&(t.abbr=e),a=new Ca(t),a.parentLocale=v[e],v[e]=a),be(e)}else v[e]!=null&&(v[e].parentLocale!=null?(v[e]=v[e].parentLocale,e===be()&&be(e)):v[e]!=null&&delete v[e]);return v[e]}function Ee(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return nt;if(!ie(e)){if(t=Xt(e),t)return t;e=[e]}return il(e)}function ll(){return Ea(v)}function Ua(e){var t,a=e._a;return a&&w(e).overflow===-2&&(t=a[Se]<0||a[Se]>11?Se:a[ue]<1||a[ue]>Zt(a[z],a[Se])?ue:a[M]<0||a[M]>24||a[M]===24&&(a[re]!==0||a[ke]!==0||a[Ce]!==0)?M:a[re]<0||a[re]>59?re:a[ke]<0||a[ke]>59?ke:a[Ce]<0||a[Ce]>999?Ce:-1,w(e)._overflowDayOfYear&&(tue)&&(t=ue),w(e)._overflowWeeks&&t===-1&&(t=hn),w(e)._overflowWeekday&&t===-1&&(t=fn),w(e).overflow=t),e}var cl=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dl=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ul=/Z|[+-]\d\d(?::?\d\d)?/,Bt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],la=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pl=/^\/?Date\((-?\d+)/i,ml=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,hl={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function gr(e){var t,a,s=e._i,r=cl.exec(s)||dl.exec(s),i,o,n,u,l=Bt.length,d=la.length;if(r){for(w(e).iso=!0,t=0,a=l;tst(o)||e._dayOfYear===0)&&(w(e)._overflowDayOfYear=!0),a=it(o,0,e._dayOfYear),e._a[Se]=a.getUTCMonth(),e._a[ue]=a.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[M]===24&&e._a[re]===0&&e._a[ke]===0&&e._a[Ce]===0&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?it:bn).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(w(e).weekdayMismatch=!0)}}function Rl(e){var t,a,s,r,i,o,n,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,a=Me(t.GG,e._a[z],ot(O(),1,4).year),s=Me(t.W,1),r=Me(t.E,1),(r<1||r>7)&&(u=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,l=ot(O(),i,o),a=Me(t.gg,e._a[z],l.year),s=Me(t.w,l.week),t.d!=null?(r=t.d,(r<0||r>6)&&(u=!0)):t.e!=null?(r=t.e+i,(t.e<0||t.e>6)&&(u=!0)):r=i),s<1||s>Te(a,i,o)?w(e)._overflowWeeks=!0:u!=null?w(e)._overflowWeekday=!0:(n=Tr(a,s,r,i,o),e._a[z]=n.year,e._dayOfYear=n.dayOfYear)}f.ISO_8601=function(){};f.RFC_2822=function(){};function Ya(e){if(e._f===f.ISO_8601){gr(e);return}if(e._f===f.RFC_2822){Ar(e);return}e._a=[],w(e).empty=!0;var t=""+e._i,a,s,r,i,o,n=t.length,u=0,l,d;for(r=or(e._f,e._locale).match(va)||[],d=r.length,a=0;a0&&w(e).unusedInput.push(o),t=t.slice(t.indexOf(s)+s.length),u+=s.length),Ue[i]?(s?w(e).empty=!1:w(e).unusedTokens.push(i),mn(i,s,e)):e._strict&&!s&&w(e).unusedTokens.push(i);w(e).charsLeftOver=n-u,t.length>0&&w(e).unusedInput.push(t),e._a[M]<=12&&w(e).bigHour===!0&&e._a[M]>0&&(w(e).bigHour=void 0),w(e).parsedDateParts=e._a.slice(0),w(e).meridiem=e._meridiem,e._a[M]=wl(e._locale,e._a[M],e._meridiem),l=w(e).era,l!==null&&(e._a[z]=e._locale.erasConvertYear(l,e._a[z])),qa(e),Ua(e)}function wl(e,t,a){var s;return a==null?t:e.meridiemHour!=null?e.meridiemHour(t,a):(e.isPM!=null&&(s=e.isPM(a),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function gl(e){var t,a,s,r,i,o,n=!1,u=e._f.length;if(u===0){w(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;rthis?this:e:zt()});function br(e,t){var a,s;if(t.length===1&&ie(t[0])&&(t=t[0]),!t.length)return O();for(a=t[0],s=1;sthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jl(){if(!V(this._isDSTShifted))return this._isDSTShifted;var e={},t;return xa(e,this),e=Lr(e),e._a?(t=e._isUTC?me(e._a):O(e._a),this._isDSTShifted=this.isValid()&&Dl(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jl(){return this.isValid()?!this._isUTC:!1}function Vl(){return this.isValid()?this._isUTC:!1}function Or(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Gl=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function le(e,t){var a=e,s=null,r,i,o;return yt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:Be(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Gl.exec(e))?(r=s[1]==="-"?-1:1,a={y:0,d:g(s[ue])*r,h:g(s[M])*r,m:g(s[re])*r,s:g(s[ke])*r,ms:g(wa(s[Ce]*1e3))*r}):(s=$l.exec(e))?(r=s[1]==="-"?-1:1,a={y:Oe(s[2],r),M:Oe(s[3],r),w:Oe(s[4],r),d:Oe(s[5],r),h:Oe(s[6],r),m:Oe(s[7],r),s:Oe(s[8],r)}):a==null?a={}:typeof a=="object"&&("from"in a||"to"in a)&&(o=Kl(O(a.from),O(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),i=new Qt(a),yt(e)&&L(e,"_locale")&&(i._locale=e._locale),yt(e)&&L(e,"_isValid")&&(i._isValid=e._isValid),i}le.fn=Qt.prototype;le.invalid=Pl;function Oe(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Rs(e,t){var a={};return a.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function Kl(e,t){var a;return e.isValid()&&t.isValid()?(t=Ja(t,e),e.isBefore(t)?a=Rs(e,t):(a=Rs(t,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function xr(e,t){return function(a,s){var r,i;return s!==null&&!isNaN(+s)&&(ir(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=a,a=s,s=i),r=le(a,s),Cr(this,r,e),this}}function Cr(e,t,a,s){var r=t._milliseconds,i=wa(t._days),o=wa(t._months);e.isValid()&&(s=s??!0,o&&fr(e,xt(e,"Month")+o*a),i&&lr(e,"Date",xt(e,"Date")+i*a),r&&e._d.setTime(e._d.valueOf()+r*a),s&&f.updateOffset(e,i||o))}var Zl=xr(1,"add"),Xl=xr(-1,"subtract");function vr(e){return typeof e=="string"||e instanceof String}function Ql(e){return oe(e)||pt(e)||vr(e)||Be(e)||tc(e)||ec(e)||e===null||e===void 0}function ec(e){var t=We(e)&&!Na(e),a=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,i,o=s.length;for(r=0;ra.valueOf():a.valueOf()9999?Lt(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):he(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Lt(a,"Z")):Lt(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fc(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",a,s,r,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),a="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(a+s+r+i)}function _c(e){e||(e=this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var t=Lt(this,e);return this.localeData().postformat(t)}function Sc(e,t){return this.isValid()&&(oe(e)&&e.isValid()||O(e).isValid())?le({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function kc(e){return this.from(O(),e)}function Tc(e,t){return this.isValid()&&(oe(e)&&e.isValid()||O(e).isValid())?le({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bc(e){return this.to(O(),e)}function Wr(e){var t;return e===void 0?this._locale._abbr:(t=Ee(e),t!=null&&(this._locale=t),this)}var Pr=ae("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Dr(){return this._locale}var Wt=1e3,qe=60*Wt,Pt=60*qe,Hr=(365*400+97)*24*Pt;function Ye(e,t){return(e%t+t)%t}function Ir(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-Hr:new Date(e,t,a).valueOf()}function Mr(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-Hr:Date.UTC(e,t,a)}function Ec(e){var t,a;if(e=se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?Mr:Ir,e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ye(t+(this._isUTC?0:this.utcOffset()*qe),Pt);break;case"minute":t=this._d.valueOf(),t-=Ye(t,qe);break;case"second":t=this._d.valueOf(),t-=Ye(t,Wt);break}return this._d.setTime(t),f.updateOffset(this,!0),this}function Rc(e){var t,a;if(e=se(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(a=this._isUTC?Mr:Ir,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Pt-Ye(t+(this._isUTC?0:this.utcOffset()*qe),Pt)-1;break;case"minute":t=this._d.valueOf(),t+=qe-Ye(t,qe)-1;break;case"second":t=this._d.valueOf(),t+=Wt-Ye(t,Wt)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this}function wc(){return this._d.valueOf()-(this._offset||0)*6e4}function gc(){return Math.floor(this.valueOf()/1e3)}function Ac(){return new Date(this.valueOf())}function Lc(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function yc(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function bc(){return this.isValid()?this.toISOString():null}function Nc(){return Oa(this)}function Oc(){return Le({},w(this))}function xc(){return w(this).overflow}function Cc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr");k("NN",0,0,"eraAbbr");k("NNN",0,0,"eraAbbr");k("NNNN",0,0,"eraName");k("NNNNN",0,0,"eraNarrow");k("y",["y",1],"yo","eraYear");k("y",["yy",2],0,"eraYear");k("y",["yyy",3],0,"eraYear");k("y",["yyyy",4],0,"eraYear");S("N",ja);S("NN",ja);S("NNN",ja);S("NNNN",Yc);S("NNNNN",zc);b(["N","NN","NNN","NNNN","NNNNN"],function(e,t,a,s){var r=a._locale.erasParse(e,s,a._strict);r?w(a).era=r:w(a).invalidEra=e});S("y",Ge);S("yy",Ge);S("yyy",Ge);S("yyyy",Ge);S("yo",Jc);b(["y","yy","yyy","yyyy"],z);b(["yo"],function(e,t,a,s){var r;a._locale._eraYearOrdinalRegex&&(r=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[z]=a._locale.eraYearOrdinalParse(e,r):t[z]=parseInt(e,10)});function vc(e,t){var a,s,r,i=this._eras||Ee("en")._eras;for(a=0,s=i.length;a=0)return i[s]}function Pc(e,t){var a=e.since<=e.until?1:-1;return t===void 0?f(e.since).year():f(e.since).year()+(t-e.offset)*a}function Dc(){var e,t,a,s=this.localeData().eras();for(e=0,t=s.length;ei&&(t=i),Xc.call(this,e,t,a,s,r))}function Xc(e,t,a,s,r){var i=Tr(e,t,a,s,r),o=it(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}k("Q",0,"Qo","quarter");J("quarter","Q");j("quarter",7);S("Q",cr);b("Q",function(e,t){t[Se]=(g(e)-1)*3});function Qc(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date");J("date","D");j("date",9);S("D",x);S("DD",x,Q);S("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});b(["D","DD"],ue);b("Do",function(e,t){t[ue]=g(e.match(x)[0])});var Ur=Ve("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear");J("dayOfYear","DDD");j("dayOfYear",4);S("DDD",Vt);S("DDDD",dr);b(["DDD","DDDD"],function(e,t,a){a._dayOfYear=g(e)});function ed(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute");J("minute","m");j("minute",14);S("m",x);S("mm",x,Q);b(["m","mm"],re);var td=Ve("Minutes",!1);k("s",["ss",2],0,"second");J("second","s");j("second",15);S("s",x);S("ss",x,Q);b(["s","ss"],ke);var ad=Ve("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)});k(0,["SS",2],0,function(){return~~(this.millisecond()/10)});k(0,["SSS",3],0,"millisecond");k(0,["SSSS",4],0,function(){return this.millisecond()*10});k(0,["SSSSS",5],0,function(){return this.millisecond()*100});k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});J("millisecond","ms");j("millisecond",16);S("S",Vt,cr);S("SS",Vt,Q);S("SSS",Vt,dr);var ye,qr;for(ye="SSSS";ye.length<=9;ye+="S")S(ye,Ge);function sd(e,t){t[Ce]=g(("0."+e)*1e3)}for(ye="S";ye.length<=9;ye+="S")b(ye,sd);qr=Ve("Milliseconds",!1);k("z",0,0,"zoneAbbr");k("zz",0,0,"zoneName");function rd(){return this._isUTC?"UTC":""}function id(){return this._isUTC?"Coordinated Universal Time":""}var m=mt.prototype;m.add=Zl;m.calendar=rc;m.clone=ic;m.diff=pc;m.endOf=Rc;m.format=_c;m.from=Sc;m.fromNow=kc;m.to=Tc;m.toNow=Bc;m.get=nn;m.invalidAt=xc;m.isAfter=oc;m.isBefore=nc;m.isBetween=lc;m.isSame=cc;m.isSameOrAfter=dc;m.isSameOrBefore=uc;m.isValid=Nc;m.lang=Pr;m.locale=Wr;m.localeData=Dr;m.max=Nl;m.min=bl;m.parsingFlags=Oc;m.set=ln;m.startOf=Ec;m.subtract=Xl;m.toArray=Lc;m.toObject=yc;m.toDate=Ac;m.toISOString=hc;m.inspect=fc;typeof Symbol<"u"&&Symbol.for!=null&&(m[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});m.toJSON=bc;m.toString=mc;m.unix=gc;m.valueOf=wc;m.creationData=Cc;m.eraName=Dc;m.eraNarrow=Hc;m.eraAbbr=Ic;m.eraYear=Mc;m.year=kr;m.isLeapYear=yn;m.weekYear=jc;m.isoWeekYear=Vc;m.quarter=m.quarters=Qc;m.month=_r;m.daysInMonth=gn;m.week=m.weeks=vn;m.isoWeek=m.isoWeeks=Wn;m.weeksInYear=Kc;m.weeksInWeekYear=Zc;m.isoWeeksInYear=Gc;m.isoWeeksInISOWeekYear=$c;m.date=Ur;m.day=m.days=Vn;m.weekday=Gn;m.isoWeekday=$n;m.dayOfYear=ed;m.hour=m.hours=al;m.minute=m.minutes=td;m.second=m.seconds=ad;m.millisecond=m.milliseconds=qr;m.utcOffset=Il;m.utc=Fl;m.local=Ul;m.parseZone=ql;m.hasAlignedHourOffset=Yl;m.isDST=zl;m.isLocal=jl;m.isUtcOffset=Vl;m.isUtc=Or;m.isUTC=Or;m.zoneAbbr=rd;m.zoneName=id;m.dates=ae("dates accessor is deprecated. Use date instead.",Ur);m.months=ae("months accessor is deprecated. Use month instead",_r);m.years=ae("years accessor is deprecated. Use year instead",kr);m.zone=ae("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ml);m.isDSTShifted=ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jl);function od(e){return O(e*1e3)}function nd(){return O.apply(null,arguments).parseZone()}function Yr(e){return e}var y=Ca.prototype;y.calendar=jo;y.longDateFormat=Ko;y.invalidDate=Xo;y.ordinal=tn;y.preparse=Yr;y.postformat=Yr;y.relativeTime=sn;y.pastFuture=rn;y.set=zo;y.eras=vc;y.erasParse=Wc;y.erasConvertYear=Pc;y.erasAbbrRegex=Uc;y.erasNameRegex=Fc;y.erasNarrowRegex=qc;y.months=Bn;y.monthsShort=En;y.monthsParse=wn;y.monthsRegex=Ln;y.monthsShortRegex=An;y.week=Nn;y.firstDayOfYear=Cn;y.firstDayOfWeek=xn;y.weekdays=qn;y.weekdaysMin=zn;y.weekdaysShort=Yn;y.weekdaysParse=jn;y.weekdaysRegex=Kn;y.weekdaysShortRegex=Zn;y.weekdaysMinRegex=Xn;y.isPM=el;y.meridiem=sl;function Dt(e,t,a,s){var r=Ee(),i=me().set(s,t);return r[a](i,e)}function zr(e,t,a){if(Be(e)&&(t=e,e=void 0),e=e||"",t!=null)return Dt(e,t,a,"month");var s,r=[];for(s=0;s<12;s++)r[s]=Dt(e,s,a,"month");return r}function Ga(e,t,a,s){typeof e=="boolean"?(Be(t)&&(a=t,t=void 0),t=t||""):(t=e,a=t,e=!1,Be(t)&&(a=t,t=void 0),t=t||"");var r=Ee(),i=e?r._week.dow:0,o,n=[];if(a!=null)return Dt(t,(a+i)%7,s,"day");for(o=0;o<7;o++)n[o]=Dt(t,(o+i)%7,s,"day");return n}function ld(e,t){return zr(e,t,"months")}function cd(e,t){return zr(e,t,"monthsShort")}function dd(e,t,a){return Ga(e,t,a,"weekdays")}function ud(e,t,a){return Ga(e,t,a,"weekdaysShort")}function pd(e,t,a){return Ga(e,t,a,"weekdaysMin")}be("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,a=g(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+a}});f.lang=ae("moment.lang is deprecated. Use moment.locale instead.",be);f.langData=ae("moment.langData is deprecated. Use moment.localeData instead.",Ee);var fe=Math.abs;function md(){var e=this._data;return this._milliseconds=fe(this._milliseconds),this._days=fe(this._days),this._months=fe(this._months),e.milliseconds=fe(e.milliseconds),e.seconds=fe(e.seconds),e.minutes=fe(e.minutes),e.hours=fe(e.hours),e.months=fe(e.months),e.years=fe(e.years),this}function Jr(e,t,a,s){var r=le(t,a);return e._milliseconds+=s*r._milliseconds,e._days+=s*r._days,e._months+=s*r._months,e._bubble()}function hd(e,t){return Jr(this,e,t,1)}function fd(e,t){return Jr(this,e,t,-1)}function ws(e){return e<0?Math.floor(e):Math.ceil(e)}function _d(){var e=this._milliseconds,t=this._days,a=this._months,s=this._data,r,i,o,n,u;return e>=0&&t>=0&&a>=0||e<=0&&t<=0&&a<=0||(e+=ws(Aa(a)+t)*864e5,t=0,a=0),s.milliseconds=e%1e3,r=te(e/1e3),s.seconds=r%60,i=te(r/60),s.minutes=i%60,o=te(i/60),s.hours=o%24,t+=te(o/24),u=te(jr(t)),a+=u,t-=ws(Aa(u)),n=te(a/12),a%=12,s.days=t,s.months=a,s.years=n,this}function jr(e){return e*4800/146097}function Aa(e){return e*146097/4800}function Sd(e){if(!this.isValid())return NaN;var t,a,s=this._milliseconds;if(e=se(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,a=this._months+jr(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(Aa(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function kd(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+g(this._months/12)*31536e6:NaN}function Re(e){return function(){return this.as(e)}}var Td=Re("ms"),Bd=Re("s"),Ed=Re("m"),Rd=Re("h"),wd=Re("d"),gd=Re("w"),Ad=Re("M"),Ld=Re("Q"),yd=Re("y");function bd(){return le(this)}function Nd(e){return e=se(e),this.isValid()?this[e+"s"]():NaN}function De(e){return function(){return this.isValid()?this._data[e]:NaN}}var Od=De("milliseconds"),xd=De("seconds"),Cd=De("minutes"),vd=De("hours"),Wd=De("days"),Pd=De("months"),Dd=De("years");function Hd(){return te(this.days()/7)}var _e=Math.round,Fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Id(e,t,a,s,r){return r.relativeTime(t||1,!!a,e,s)}function Md(e,t,a,s){var r=le(e).abs(),i=_e(r.as("s")),o=_e(r.as("m")),n=_e(r.as("h")),u=_e(r.as("d")),l=_e(r.as("M")),d=_e(r.as("w")),h=_e(r.as("y")),R=i<=a.ss&&["s",i]||i0,R[4]=s,Id.apply(null,R)}function Fd(e){return e===void 0?_e:typeof e=="function"?(_e=e,!0):!1}function Ud(e,t){return Fe[e]===void 0?!1:t===void 0?Fe[e]:(Fe[e]=t,e==="s"&&(Fe.ss=t-1),!0)}function qd(e,t){if(!this.isValid())return this.localeData().invalidDate();var a=!1,s=Fe,r,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(a=e),typeof t=="object"&&(s=Object.assign({},Fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),r=this.localeData(),i=Md(this,!a,s,r),a&&(i=r.pastFuture(+this,i)),r.postformat(i)}var ca=Math.abs;function Ie(e){return(e>0)-(e<0)||+e}function ta(){if(!this.isValid())return this.localeData().invalidDate();var e=ca(this._milliseconds)/1e3,t=ca(this._days),a=ca(this._months),s,r,i,o,n=this.asSeconds(),u,l,d,h;return n?(s=te(e/60),r=te(s/60),e%=60,s%=60,i=te(a/12),a%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=n<0?"-":"",l=Ie(this._months)!==Ie(n)?"-":"",d=Ie(this._days)!==Ie(n)?"-":"",h=Ie(this._milliseconds)!==Ie(n)?"-":"",u+"P"+(i?l+i+"Y":"")+(a?l+a+"M":"")+(t?d+t+"D":"")+(r||s||e?"T":"")+(r?h+r+"H":"")+(s?h+s+"M":"")+(e?h+o+"S":"")):"P0D"}var A=Qt.prototype;A.isValid=Wl;A.abs=md;A.add=hd;A.subtract=fd;A.as=Sd;A.asMilliseconds=Td;A.asSeconds=Bd;A.asMinutes=Ed;A.asHours=Rd;A.asDays=wd;A.asWeeks=gd;A.asMonths=Ad;A.asQuarters=Ld;A.asYears=yd;A.valueOf=kd;A._bubble=_d;A.clone=bd;A.get=Nd;A.milliseconds=Od;A.seconds=xd;A.minutes=Cd;A.hours=vd;A.days=Wd;A.weeks=Hd;A.months=Pd;A.years=Dd;A.humanize=qd;A.toISOString=ta;A.toString=ta;A.toJSON=ta;A.locale=Wr;A.localeData=Dr;A.toIsoString=ae("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ta);A.lang=Pr;k("X",0,0,"unix");k("x",0,0,"valueOf");S("x",$t);S("X",dn);b("X",function(e,t,a){a._d=new Date(parseFloat(e)*1e3)});b("x",function(e,t,a){a._d=new Date(g(e))});f.version="2.29.4";qo(O);f.fn=m;f.min=Ol;f.max=xl;f.now=Cl;f.utc=me;f.unix=od;f.months=ld;f.isDate=pt;f.locale=be;f.invalid=zt;f.duration=le;f.isMoment=oe;f.weekdays=dd;f.parseZone=nd;f.localeData=Ee;f.isDuration=yt;f.monthsShort=cd;f.weekdaysMin=pd;f.defineLocale=Fa;f.updateLocale=nl;f.locales=ll;f.weekdaysShort=ud;f.normalizeUnits=se;f.relativeTimeRounding=Fd;f.relativeTimeThreshold=Ud;f.calendarFormat=sc;f.prototype=m;f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Yd(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function K(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function I(e){K(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function Ht(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()}function rt(e,t){K(2,arguments);var a=I(e),s=I(t),r=a.getTime()-s.getTime();return r<0?-1:r>0?1:r}var Vr=6e4,Gr=36e5;function zd(e,t){K(2,arguments);var a=I(e),s=I(t),r=a.getFullYear()-s.getFullYear(),i=a.getMonth()-s.getMonth();return r*12+i}function Jd(e,t){return K(2,arguments),I(e).getTime()-I(t).getTime()}var gs={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},jd="trunc";function Vd(e){return e?gs[e]:gs[jd]}function Gd(e){K(1,arguments);var t=I(e);return t.setHours(23,59,59,999),t}function $d(e){K(1,arguments);var t=I(e),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function Kd(e){K(1,arguments);var t=I(e);return Gd(t).getTime()===$d(t).getTime()}function Zd(e,t){K(2,arguments);var a=I(e),s=I(t),r=rt(a,s),i=Math.abs(zd(a,s)),o;if(i<1)o=0;else{a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-r*i);var n=rt(a,s)===-r;Kd(I(e))&&i===1&&rt(e,s)===1&&(n=!1),o=r*(i-Number(n))}return o===0?0:o}function Xd(e,t,a){K(2,arguments);var s=Jd(e,t)/1e3;return Vd(void 0)(s)}var Qd={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"}},eu=function(e,t,a){var s,r=Qd[e];return typeof r=="string"?s=r:t===1?s=r.one:s=r.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+s:s+" ago":s},tu=eu;function da(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=t.width?String(t.width):e.defaultWidth,s=e.formats[a]||e.formats[e.defaultWidth];return s}}var au={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},su={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ru={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},iu={date:da({formats:au,defaultWidth:"full"}),time:da({formats:su,defaultWidth:"full"}),dateTime:da({formats:ru,defaultWidth:"full"})},ou=iu,nu={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},lu=function(e,t,a,s){return nu[e]},cu=lu;function Qe(e){return function(t,a){var s=a||{},r=s.context?String(s.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,n=s.width?String(s.width):o;i=e.formattingValues[n]||e.formattingValues[o]}else{var u=e.defaultWidth,l=s.width?String(s.width):e.defaultWidth;i=e.values[l]||e.values[u]}var d=e.argumentCallback?e.argumentCallback(t):t;return i[d]}}var du={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},uu={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},pu={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"]},mu={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"]},hu={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"}},fu={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"}},_u=function(e,t){var a=Number(e),s=a%100;if(s>20||s<10)switch(s%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Su={ordinalNumber:_u,era:Qe({values:du,defaultWidth:"wide"}),quarter:Qe({values:uu,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Qe({values:pu,defaultWidth:"wide"}),day:Qe({values:mu,defaultWidth:"wide"}),dayPeriod:Qe({values:hu,defaultWidth:"wide",formattingValues:fu,defaultFormattingWidth:"wide"})},ku=Su;function et(e){return function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=a.width,r=s&&e.matchPatterns[s]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var o=i[0],n=s&&e.parsePatterns[s]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(n)?Bu(n,function(h){return h.test(o)}):Tu(n,function(h){return h.test(o)}),l;l=e.valueCallback?e.valueCallback(u):u,l=a.valueCallback?a.valueCallback(l):l;var d=t.slice(o.length);return{value:l,rest:d}}}function Tu(e,t){for(var a in e)if(e.hasOwnProperty(a)&&t(e[a]))return a}function Bu(e,t){for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},s=t.match(e.matchPattern);if(!s)return null;var r=s[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=a.valueCallback?a.valueCallback(o):o;var n=t.slice(r.length);return{value:o,rest:n}}}var Ru=/^(\d+)(th|st|nd|rd)?/i,wu=/\d+/i,gu={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},Au={any:[/^b/i,/^(a|c)/i]},Lu={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yu={any:[/1/i,/2/i,/3/i,/4/i]},bu={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},Nu={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]},Ou={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},xu={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]},Cu={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},vu={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}},Wu={ordinalNumber:Eu({matchPattern:Ru,parsePattern:wu,valueCallback:function(e){return parseInt(e,10)}}),era:et({matchPatterns:gu,defaultMatchWidth:"wide",parsePatterns:Au,defaultParseWidth:"any"}),quarter:et({matchPatterns:Lu,defaultMatchWidth:"wide",parsePatterns:yu,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:et({matchPatterns:bu,defaultMatchWidth:"wide",parsePatterns:Nu,defaultParseWidth:"any"}),day:et({matchPatterns:Ou,defaultMatchWidth:"wide",parsePatterns:xu,defaultParseWidth:"any"}),dayPeriod:et({matchPatterns:Cu,defaultMatchWidth:"any",parsePatterns:vu,defaultParseWidth:"any"})},Pu=Wu,Du={code:"en-US",formatDistance:tu,formatLong:ou,formatRelative:cu,localize:ku,match:Pu,options:{weekStartsOn:0,firstWeekContainsDate:1}},$r=Du;function Hu(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");t=t||{};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}function Kr(e){return Hu({},e)}var As=1440,Iu=2520,ua=43200,Mu=86400;function Fu(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};K(2,arguments);var s=a.locale||$r;if(!s.formatDistance)throw new RangeError("locale must contain formatDistance property");var r=rt(e,t);if(isNaN(r))throw new RangeError("Invalid time value");var i=Kr(a);i.addSuffix=!!a.addSuffix,i.comparison=r;var o,n;r>0?(o=I(t),n=I(e)):(o=I(e),n=I(t));var u=Xd(n,o),l=(Ht(n)-Ht(o))/1e3,d=Math.round((u-l)/60),h;if(d<2)return a.includeSeconds?u<5?s.formatDistance("lessThanXSeconds",5,i):u<10?s.formatDistance("lessThanXSeconds",10,i):u<20?s.formatDistance("lessThanXSeconds",20,i):u<40?s.formatDistance("halfAMinute",null,i):u<60?s.formatDistance("lessThanXMinutes",1,i):s.formatDistance("xMinutes",1,i):d===0?s.formatDistance("lessThanXMinutes",1,i):s.formatDistance("xMinutes",d,i);if(d<45)return s.formatDistance("xMinutes",d,i);if(d<90)return s.formatDistance("aboutXHours",1,i);if(d2&&arguments[2]!==void 0?arguments[2]:{};K(2,arguments);var s=a.locale||$r;if(!s.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var r=rt(e,t);if(isNaN(r))throw new RangeError("Invalid time value");var i=Kr(a);i.addSuffix=!!a.addSuffix,i.comparison=r;var o,n;r>0?(o=I(t),n=I(e)):(o=I(e),n=I(t));var u=a.roundingMethod==null?"round":String(a.roundingMethod),l;if(u==="floor")l=Math.floor;else if(u==="ceil")l=Math.ceil;else if(u==="round")l=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var d=n.getTime()-o.getTime(),h=d/Ls,R=Ht(n)-Ht(o),N=(d-R)/Ls,p;if(a.unit==null?h<1?p="second":h<60?p="minute":h2)return t;if(/:/.test(a[0])?s=a[0]:(t.date=a[0],s=a[1],Et.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Et.timeZoneDelimiter)[0],s=e.substr(t.date.length,e.length))),s){var r=Et.timezone.exec(s);r?(t.time=s.replace(r[1],""),t.timezone=r[1]):t.time=s}return t}function $u(e,t){var a=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),s=e.match(a);if(!s)return{year:NaN,restDateString:""};var r=s[1]?parseInt(s[1]):null,i=s[2]?parseInt(s[2]):null;return{year:i===null?r:i*100,restDateString:e.slice((s[1]||s[2]).length)}}function Ku(e,t){if(t===null)return new Date(NaN);var a=e.match(Ju);if(!a)return new Date(NaN);var s=!!a[4],r=tt(a[1]),i=tt(a[2])-1,o=tt(a[3]),n=tt(a[4]),u=tt(a[5])-1;if(s)return s0(t,n,u)?Qu(t,n,u):new Date(NaN);var l=new Date(0);return!t0(t,i,o)||!a0(t,r)?new Date(NaN):(l.setUTCFullYear(t,i,Math.max(r,o)),l)}function tt(e){return e?parseInt(e):1}function Zu(e){var t=e.match(ju);if(!t)return NaN;var a=pa(t[1]),s=pa(t[2]),r=pa(t[3]);return r0(a,s,r)?a*Gr+s*Vr+r*1e3:NaN}function pa(e){return e&&parseFloat(e.replace(",","."))||0}function Xu(e){if(e==="Z")return 0;var t=e.match(Vu);if(!t)return 0;var a=t[1]==="+"?-1:1,s=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return i0(s,r)?a*(s*Gr+r*Vr):NaN}function Qu(e,t,a){var s=new Date(0);s.setUTCFullYear(e,0,4);var r=s.getUTCDay()||7,i=(t-1)*7+a+1-r;return s.setUTCDate(s.getUTCDate()+i),s}var e0=[31,null,31,30,31,30,31,31,30,31,30,31];function Zr(e){return e%400===0||e%4===0&&e%100!==0}function t0(e,t,a){return t>=0&&t<=11&&a>=1&&a<=(e0[t]||(Zr(e)?29:28))}function a0(e,t){return t>=1&&t<=(Zr(e)?366:365)}function s0(e,t,a){return t>=1&&t<=53&&a>=0&&a<=6}function r0(e,t,a){return e===24?t===0&&a===0:a>=0&&a<60&&t>=0&&t<60&&e>=0&&e<25}function i0(e,t){return t>=0&&t<=59}var o0=(e,t={},a)=>{var s,r;return typeof e=="string"&&(e=zu(e)),t.useStrict?Yu(e,{addSuffix:(s=t.addSuffix)!=null?s:!0,locale:a,unit:t.unit,roundingMethod:t.roundingMethod}):qu(e,{includeSeconds:t.includeSeconds,addSuffix:(r=t.addSuffix)!=null?r:!0,locale:a})};const n0=(e={})=>{const t=e.name||"Timeago";return ii({name:t,props:{datetime:{type:[String,Number,Date],required:!0},title:{type:[String,Boolean],required:!1,default:null},autoUpdate:{type:[Number,Boolean],required:!1,default:null},converter:{type:Function,required:!1,default:null},converterOptions:{type:Object,required:!1,default:null},locale:{type:Object,required:!1,default:null}},setup(a){const s=ee();ni(()=>{n()}),li(()=>{u()});const r=l=>(a.converter||o0)(l||a.datetime,a.converterOptions||e.converterOptions,a.locale||e.locale),i=ee(r()),o=l=>{i.value=r(l)},n=()=>{if(a.autoUpdate){const l=a.autoUpdate===!0?60:a.autoUpdate;s.value=setInterval(()=>{o(a.datetime)},l*1e3)}},u=()=>{s.value&&(clearInterval(s.value),s.value=void 0)};return Rt(()=>a.autoUpdate,l=>{u(),l&&n()}),Rt(()=>[a.datetime,a.converter],()=>{o()}),Rt(()=>a.converterOptions,()=>{o()},{deep:!0}),{timeago:i,updateTimer:s}},render(){return oi("timeago",{attrs:{datetime:new Date(this.datetime).toISOString(),title:typeof this.title=="string"?this.title:this.title===!1?null:this.timeago}},[this.timeago])}})};var l0=(e,t)=>{if(e.config.globalProperties.$timeago)return;Number(e.version.split(".")[0])<3&&console.warn("[vue-timeago3] This plugin requires at least Vue version 3.0");const s=n0(t);e.component(s.name,s)},c0=ui();const Ns=pi(c0);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function a(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=a(r);fetch(r.href,i)}})();const d0=`Nested Loop Left Join (cost=11.95..28.52 rows=5 width=157) (actual time=0.010..0.010 rows=0 loops=1) - Output: rel_users_exams.user_username, rel_users_exams.exam_id, rel_users_exams.started_at, rel_users_exams.finished_at, exam_1.id, exam_1.title, exam_1.date_from, exam_1.date_to, exam_1.created, exam_1.created_by_, exam_1.duration, exam_1.success_threshold, exam_1.published - Inner Unique: true - Join Filter: (exam_1.id = rel_users_exams.exam_id) - Buffers: shared hit=1 - -> Bitmap Heap Scan on public.rel_users_exams (cost=11.80..20.27 rows=5 width=52) (actual time=0.009..0.009 rows=0 loops=1) - Output: rel_users_exams.user_username, rel_users_exams.exam_id, rel_users_exams.started_at, rel_users_exams.finished_at - Recheck Cond: (1 = rel_users_exams.exam_id) - Buffers: shared hit=1 - -> Bitmap Index Scan on rel_users_exams_pkey (cost=0.00..11.80 rows=5 width=0) (actual time=0.005..0.005 rows=0 loops=1) - Index Cond: (1 = rel_users_exams.exam_id) - Buffers: shared hit=1 - -> Materialize (cost=0.15..8.17 rows=1 width=105) (never executed) - Output: exam_1.id, exam_1.title, exam_1.date_from, exam_1.date_to, exam_1.created, exam_1.created_by_, exam_1.duration, exam_1.success_threshold, exam_1.published - -> Index Scan using exam_pkey on public.exam exam_1 (cost=0.15..8.17 rows=1 width=105) (never executed) - Output: exam_1.id, exam_1.title, exam_1.date_from, exam_1.date_to, exam_1.created, exam_1.created_by_, exam_1.duration, exam_1.success_threshold, exam_1.published - Index Cond: (exam_1.id = 1) -Planning Time: 1.110 ms -Execution Time: 0.170 ms -`,Os=`/* A join between two tables */ -SELECT rel_users_exams.user_username AS rel_users_exams_user_username, - rel_users_exams.exam_id AS rel_users_exams_exam_id, - rel_users_exams.started_at AS rel_users_exams_started_at, - rel_users_exams.finished_at AS rel_users_exams_finished_at, - exam_1.id AS exam_1_id, - exam_1.title AS exam_1_title, - exam_1.date_from AS exam_1_date_from, - exam_1.date_to AS exam_1_date_to, - exam_1.created AS exam_1_created, - exam_1.created_by_ AS exam_1_created_by_, - exam_1.duration AS exam_1_duration, - exam_1.success_threshold AS exam_1_success_threshold, - exam_1.published AS exam_1_published -FROM rel_users_exams LEFT OUTER -JOIN exam AS exam_1 - ON exam_1.id = rel_users_exams.exam_id -WHERE 1 = rel_users_exams.exam_id; -`,u0=`[ - { - "Plan": { - "Node Type": "Nested Loop", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 11.95, - "Total Cost": 28.52, - "Plan Rows": 5, - "Plan Width": 157, - "Actual Startup Time": 0.007, - "Actual Total Time": 0.007, - "Actual Rows": 0, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at", "exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Inner Unique": true, - "Join Filter": "(exam_1.id = rel_users_exams.exam_id)", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Bitmap Heap Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "rel_users_exams", - "Schema": "public", - "Alias": "rel_users_exams", - "Startup Cost": 11.80, - "Total Cost": 20.27, - "Plan Rows": 5, - "Plan Width": 52, - "Actual Startup Time": 0.006, - "Actual Total Time": 0.006, - "Actual Rows": 0, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at"], - "Recheck Cond": "(1 = rel_users_exams.exam_id)", - "Rows Removed by Index Recheck": 0, - "Exact Heap Blocks": 0, - "Lossy Heap Blocks": 0, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Bitmap Index Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Index Name": "rel_users_exams_pkey", - "Startup Cost": 0.00, - "Total Cost": 11.80, - "Plan Rows": 5, - "Plan Width": 0, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.004, - "Actual Rows": 0, - "Actual Loops": 1, - "Index Cond": "(1 = rel_users_exams.exam_id)", - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - }, - { - "Node Type": "Materialize", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 0.15, - "Total Cost": 8.17, - "Plan Rows": 1, - "Plan Width": 105, - "Actual Startup Time": 0.000, - "Actual Total Time": 0.000, - "Actual Rows": 0, - "Actual Loops": 0, - "Output": ["exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Index Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "exam_pkey", - "Relation Name": "exam", - "Schema": "public", - "Alias": "exam_1", - "Startup Cost": 0.15, - "Total Cost": 8.17, - "Plan Rows": 1, - "Plan Width": 105, - "Actual Startup Time": 0.000, - "Actual Total Time": 0.000, - "Actual Rows": 0, - "Actual Loops": 0, - "Output": ["exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Index Cond": "(exam_1.id = 1)", - "Rows Removed by Index Recheck": 0, - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - "Planning Time": 0.905, - "Triggers": [ - ], - "Execution Time": 0.134 - } -]`,p0=`[ - { - "Plan": { - "Node Type": "Sort", - "Parallel Aware": false, - "Startup Cost": 624.86, - "Total Cost": 625.88, - "Plan Rows": 410, - "Plan Width": 726, - "Actual Startup Time": 6.039, - "Actual Total Time": 6.088, - "Actual Rows": 339, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at", "answer_1.id", "answer_1.text", "answer_1.correct", "answer_1.fraction", "answer_1.question_id", "question_1.id", "question_1.title", "question_1.text", "question_1.file", "question_1.type", "question_1.source", "question_1.exam_id", "exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Sort Key": ["question_1.id"], - "Sort Method": "quicksort", - "Sort Space Used": 409, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 363, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 228.60, - "Total Cost": 607.06, - "Plan Rows": 410, - "Plan Width": 726, - "Actual Startup Time": 1.074, - "Actual Total Time": 5.576, - "Actual Rows": 339, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at", "answer_1.id", "answer_1.text", "answer_1.correct", "answer_1.fraction", "answer_1.question_id", "question_1.id", "question_1.title", "question_1.text", "question_1.file", "question_1.type", "question_1.source", "question_1.exam_id", "exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Join Filter": "(exam_1.id = question_1.exam_id)", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 360, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 0.00, - "Total Cost": 2.94, - "Plan Rows": 1, - "Plan Width": 99, - "Actual Startup Time": 0.025, - "Actual Total Time": 0.033, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at", "exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Join Filter": "(exam_1.id = rel_users_exams.exam_id)", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 2, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "rel_users_exams", - "Schema": "public", - "Alias": "rel_users_exams", - "Startup Cost": 0.00, - "Total Cost": 1.73, - "Plan Rows": 1, - "Plan Width": 27, - "Actual Startup Time": 0.016, - "Actual Total Time": 0.021, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["rel_users_exams.user_username", "rel_users_exams.exam_id", "rel_users_exams.started_at", "rel_users_exams.finished_at"], - "Filter": "((rel_users_exams.exam_id = 1) AND ((rel_users_exams.user_username)::text = 'nicolas1'::text))", - "Rows Removed by Filter": 56, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Seq Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Relation Name": "exam", - "Schema": "public", - "Alias": "exam_1", - "Startup Cost": 0.00, - "Total Cost": 1.19, - "Plan Rows": 1, - "Plan Width": 72, - "Actual Startup Time": 0.006, - "Actual Total Time": 0.009, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["exam_1.id", "exam_1.title", "exam_1.date_from", "exam_1.date_to", "exam_1.created", "exam_1.created_by_", "exam_1.duration", "exam_1.success_threshold", "exam_1.published"], - "Filter": "(exam_1.id = 1)", - "Rows Removed by Filter": 35, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - }, - { - "Node Type": "Hash Join", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Join Type": "Right", - "Startup Cost": 228.60, - "Total Cost": 599.00, - "Plan Rows": 410, - "Plan Width": 627, - "Actual Startup Time": 1.047, - "Actual Total Time": 5.420, - "Actual Rows": 339, - "Actual Loops": 1, - "Output": ["question_1.id", "question_1.title", "question_1.text", "question_1.file", "question_1.type", "question_1.source", "question_1.exam_id", "answer_1.id", "answer_1.text", "answer_1.correct", "answer_1.fraction", "answer_1.question_id"], - "Hash Cond": "(answer_1.question_id = question_1.id)", - "Shared Hit Blocks": 358, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "answer", - "Schema": "public", - "Alias": "answer_1", - "Startup Cost": 0.00, - "Total Cost": 311.13, - "Plan Rows": 14713, - "Plan Width": 55, - "Actual Startup Time": 0.007, - "Actual Total Time": 1.962, - "Actual Rows": 14726, - "Actual Loops": 1, - "Output": ["answer_1.id", "answer_1.text", "answer_1.correct", "answer_1.fraction", "answer_1.question_id"], - "Shared Hit Blocks": 164, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 227.66, - "Total Cost": 227.66, - "Plan Rows": 75, - "Plan Width": 572, - "Actual Startup Time": 1.025, - "Actual Total Time": 1.025, - "Actual Rows": 63, - "Actual Loops": 1, - "Output": ["question_1.id", "question_1.title", "question_1.text", "question_1.file", "question_1.type", "question_1.source", "question_1.exam_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 46, - "Shared Hit Blocks": 194, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "question", - "Schema": "public", - "Alias": "question_1", - "Startup Cost": 0.00, - "Total Cost": 227.66, - "Plan Rows": 75, - "Plan Width": 572, - "Actual Startup Time": 0.004, - "Actual Total Time": 0.984, - "Actual Rows": 63, - "Actual Loops": 1, - "Output": ["question_1.id", "question_1.title", "question_1.text", "question_1.file", "question_1.type", "question_1.source", "question_1.exam_id"], - "Filter": "(question_1.exam_id = 1)", - "Rows Removed by Filter": 2637, - "Shared Hit Blocks": 194, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - }, - "Planning Time": 1.206, - "Triggers": [ - ], - "Execution Time": 6.248 - } -] -`,m0=`/* Joins between four tables */ -SELECT rel_users_exams.user_username AS rel_users_exams_user_username, - rel_users_exams.exam_id AS rel_users_exams_exam_id, - rel_users_exams.started_at AS rel_users_exams_started_at, - rel_users_exams.finished_at AS rel_users_exams_finished_at, - answer_1.id AS answer_1_id, - answer_1.text AS answer_1_text, - answer_1.correct AS answer_1_correct, - answer_1.fraction AS answer_1_fraction, - answer_1.question_id AS answer_1_question_id, - question_1.id AS question_1_id, - question_1.title AS question_1_title, - question_1.text AS question_1_text, - question_1.file AS question_1_file, - question_1.type AS question_1_type, - question_1.source AS question_1_source, - question_1.exam_id AS question_1_exam_id, - exam_1.id AS exam_1_id, - exam_1.title AS exam_1_title, - exam_1.date_from AS exam_1_date_from, - exam_1.date_to AS exam_1_date_to, - exam_1.created AS exam_1_created, - exam_1.created_by_ AS exam_1_created_by_, - exam_1.duration AS exam_1_duration, - exam_1.success_threshold AS exam_1_success_threshold, - exam_1.published AS exam_1_published -FROM rel_users_exams LEFT OUTER -JOIN exam AS exam_1 - ON exam_1.id = rel_users_exams.exam_id LEFT OUTER -JOIN question AS question_1 - ON exam_1.id = question_1.exam_id LEFT OUTER -JOIN answer AS answer_1 - ON question_1.id = answer_1.question_id -WHERE rel_users_exams.user_username = %(param_1)s - AND rel_users_exams.exam_id = %(param_2)s -ORDER BY question_1.id; -`,h0=`[ - { - "Plan": { - "Node Type": "Sort", - "Startup Cost": 1460.74, - "Total Cost": 1470.87, - "Plan Rows": 4050, - "Plan Width": 183, - "Actual Startup Time": 13.766, - "Actual Total Time": 13.793, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.sku", "sp.slug", "sp.name", "vc.color", "pr.min_price", "pcc.available_colors", "sv.product_id"], - "Sort Key": ["sv.product_id"], - "Sort Method": "quicksort", - "Sort Space Used": 101, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 2695, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "InitPlan", - "Subplan Name": "CTE catalog_variants", - "Relation Name": "spree_variants", - "Schema": "public", - "Alias": "spree_variants", - "Startup Cost": 0.00, - "Total Cost": 80.47, - "Plan Rows": 352, - "Plan Width": 19, - "Actual Startup Time": 0.022, - "Actual Total Time": 0.740, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["spree_variants.id", "spree_variants.product_id", "spree_variants.sku"], - "Filter": "((spree_variants.deleted_at IS NULL) AND spree_variants.show_in_catalog)", - "Rows Removed by Filter": 3595, - "Shared Hit Blocks": 41, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Aggregate", - "Strategy": "Sorted", - "Parent Relationship": "InitPlan", - "Subplan Name": "CTE product_color_classifications", - "Startup Cost": 288.86, - "Total Cost": 292.38, - "Plan Rows": 176, - "Plan Width": 12, - "Actual Startup Time": 2.799, - "Actual Total Time": 3.980, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["sv_1.product_id", "array_agg(DISTINCT sov.presentation)"], - "Group Key": ["sv_1.product_id"], - "Shared Hit Blocks": 1295, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Sort", - "Parent Relationship": "Outer", - "Startup Cost": 288.86, - "Total Cost": 289.30, - "Plan Rows": 176, - "Plan Width": 12, - "Actual Startup Time": 2.676, - "Actual Total Time": 2.705, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_1.product_id", "sov.presentation"], - "Sort Key": ["sv_1.product_id"], - "Sort Method": "quicksort", - "Sort Space Used": 41, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 1287, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 20.28, - "Total Cost": 282.30, - "Plan Rows": 176, - "Plan Width": 12, - "Actual Startup Time": 0.312, - "Actual Total Time": 2.450, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_1.product_id", "sov.presentation"], - "Hash Cond": "(sov_sv.option_value_id = sov.id)", - "Shared Hit Blocks": 1287, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 12.71, - "Total Cost": 270.98, - "Plan Rows": 528, - "Plan Width": 8, - "Actual Startup Time": 0.229, - "Actual Total Time": 2.086, - "Actual Rows": 1056, - "Actual Loops": 1, - "Output": ["sv_1.product_id", "sov_sv.option_value_id"], - "Shared Hit Blocks": 1284, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 12.42, - "Total Cost": 24.30, - "Plan Rows": 176, - "Plan Width": 12, - "Actual Startup Time": 0.221, - "Actual Total Time": 0.468, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_1.product_id", "sv_1.variant_id", "catalog_variants.variant_id"], - "Hash Cond": "(sv_1.variant_id = catalog_variants.variant_id)", - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "sv_1", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 8, - "Actual Startup Time": 0.000, - "Actual Total Time": 0.086, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_1.variant_id", "sv_1.product_id", "sv_1.sku"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 9.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 0.212, - "Actual Total Time": 0.212, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants.variant_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 21, - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Hashed", - "Parent Relationship": "Outer", - "Startup Cost": 7.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 0.112, - "Actual Total Time": 0.158, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants.variant_id"], - "Group Key": ["catalog_variants.variant_id"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "catalog_variants", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 4, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.029, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants.variant_id", "catalog_variants.product_id", "catalog_variants.sku"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Scan Direction": "Forward", - "Index Name": "index_spree_option_values_variants_on_variant_id", - "Relation Name": "spree_option_values_variants", - "Schema": "public", - "Alias": "sov_sv", - "Startup Cost": 0.29, - "Total Cost": 1.37, - "Plan Rows": 3, - "Plan Width": 8, - "Actual Startup Time": 0.002, - "Actual Total Time": 0.003, - "Actual Rows": 3, - "Actual Loops": 352, - "Output": ["sov_sv.variant_id", "sov_sv.option_value_id", "sov_sv.id"], - "Index Cond": "(sov_sv.variant_id = sv_1.variant_id)", - "Rows Removed by Index Recheck": 0, - "Shared Hit Blocks": 1284, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 6.69, - "Total Cost": 6.69, - "Plan Rows": 71, - "Plan Width": 12, - "Actual Startup Time": 0.064, - "Actual Total Time": 0.064, - "Actual Rows": 11, - "Actual Loops": 1, - "Output": ["sov.presentation", "sov.id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 3, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 1.05, - "Total Cost": 6.69, - "Plan Rows": 71, - "Plan Width": 12, - "Actual Startup Time": 0.020, - "Actual Total Time": 0.062, - "Actual Rows": 11, - "Actual Loops": 1, - "Output": ["sov.presentation", "sov.id"], - "Hash Cond": "(sov.option_type_id = sot.id)", - "Shared Hit Blocks": 3, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_option_values", - "Schema": "public", - "Alias": "sov", - "Startup Cost": 0.00, - "Total Cost": 4.13, - "Plan Rows": 213, - "Plan Width": 16, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.017, - "Actual Rows": 213, - "Actual Loops": 1, - "Output": ["sov.id", "sov.position", "sov.name", "sov.presentation", "sov.option_type_id", "sov.created_at", "sov.updated_at"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 1.04, - "Total Cost": 1.04, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.007, - "Actual Total Time": 0.007, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["sot.id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_option_types", - "Schema": "public", - "Alias": "sot", - "Startup Cost": 0.00, - "Total Cost": 1.04, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.003, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["sot.id"], - "Filter": "((sot.name)::text = 'color_classification'::text)", - "Rows Removed by Filter": 2, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash Join", - "Parent Relationship": "InitPlan", - "Subplan Name": "CTE variant_colors", - "Join Type": "Inner", - "Startup Cost": 20.28, - "Total Cost": 282.30, - "Plan Rows": 176, - "Plan Width": 12, - "Actual Startup Time": 0.357, - "Actual Total Time": 1.844, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_2.variant_id", "sov_1.presentation"], - "Hash Cond": "(sov_sv_1.option_value_id = sov_1.id)", - "Shared Hit Blocks": 1287, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 12.71, - "Total Cost": 270.98, - "Plan Rows": 528, - "Plan Width": 8, - "Actual Startup Time": 0.233, - "Actual Total Time": 1.555, - "Actual Rows": 1056, - "Actual Loops": 1, - "Output": ["sv_2.variant_id", "sov_sv_1.option_value_id"], - "Shared Hit Blocks": 1284, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 12.42, - "Total Cost": 24.30, - "Plan Rows": 176, - "Plan Width": 8, - "Actual Startup Time": 0.214, - "Actual Total Time": 0.350, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_2.variant_id", "catalog_variants_1.variant_id"], - "Hash Cond": "(sv_2.variant_id = catalog_variants_1.variant_id)", - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "sv_2", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 4, - "Actual Startup Time": 0.000, - "Actual Total Time": 0.046, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv_2.variant_id", "sv_2.product_id", "sv_2.sku"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 9.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 0.204, - "Actual Total Time": 0.204, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_1.variant_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 21, - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Hashed", - "Parent Relationship": "Outer", - "Startup Cost": 7.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 0.115, - "Actual Total Time": 0.150, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_1.variant_id"], - "Group Key": ["catalog_variants_1.variant_id"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "catalog_variants_1", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 4, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.027, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_1.variant_id", "catalog_variants_1.product_id", "catalog_variants_1.sku"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Scan Direction": "Forward", - "Index Name": "index_spree_option_values_variants_on_variant_id", - "Relation Name": "spree_option_values_variants", - "Schema": "public", - "Alias": "sov_sv_1", - "Startup Cost": 0.29, - "Total Cost": 1.37, - "Plan Rows": 3, - "Plan Width": 8, - "Actual Startup Time": 0.002, - "Actual Total Time": 0.003, - "Actual Rows": 3, - "Actual Loops": 352, - "Output": ["sov_sv_1.variant_id", "sov_sv_1.option_value_id", "sov_sv_1.id"], - "Index Cond": "(sov_sv_1.variant_id = sv_2.variant_id)", - "Rows Removed by Index Recheck": 0, - "Shared Hit Blocks": 1284, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 6.69, - "Total Cost": 6.69, - "Plan Rows": 71, - "Plan Width": 12, - "Actual Startup Time": 0.109, - "Actual Total Time": 0.109, - "Actual Rows": 88, - "Actual Loops": 1, - "Output": ["sov_1.presentation", "sov_1.id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 13, - "Shared Hit Blocks": 3, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 1.05, - "Total Cost": 6.69, - "Plan Rows": 71, - "Plan Width": 12, - "Actual Startup Time": 0.034, - "Actual Total Time": 0.090, - "Actual Rows": 88, - "Actual Loops": 1, - "Output": ["sov_1.presentation", "sov_1.id"], - "Hash Cond": "(sov_1.option_type_id = sot_1.id)", - "Shared Hit Blocks": 3, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_option_values", - "Schema": "public", - "Alias": "sov_1", - "Startup Cost": 0.00, - "Total Cost": 4.13, - "Plan Rows": 213, - "Plan Width": 16, - "Actual Startup Time": 0.007, - "Actual Total Time": 0.028, - "Actual Rows": 213, - "Actual Loops": 1, - "Output": ["sov_1.id", "sov_1.position", "sov_1.name", "sov_1.presentation", "sov_1.option_type_id", "sov_1.created_at", "sov_1.updated_at"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 1.04, - "Total Cost": 1.04, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.018, - "Actual Total Time": 0.018, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["sot_1.id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_option_types", - "Schema": "public", - "Alias": "sot_1", - "Startup Cost": 0.00, - "Total Cost": 1.04, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.014, - "Actual Total Time": 0.015, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["sot_1.id"], - "Filter": "((sot_1.name)::text = 'color'::text)", - "Rows Removed by Filter": 2, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Aggregate", - "Strategy": "Hashed", - "Parent Relationship": "InitPlan", - "Subplan Name": "CTE variants_min_prices", - "Startup Cost": 225.63, - "Total Cost": 271.84, - "Plan Rows": 4621, - "Plan Width": 7, - "Actual Startup Time": 5.936, - "Actual Total Time": 6.037, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["spree_prices.variant_id", "COALESCE(min(spree_prices.amount), '0'::numeric)"], - "Group Key": ["spree_prices.variant_id"], - "Shared Hit Blocks": 102, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 12.42, - "Total Cost": 202.53, - "Plan Rows": 4621, - "Plan Width": 7, - "Actual Startup Time": 2.415, - "Actual Total Time": 5.785, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["spree_prices.variant_id", "spree_prices.amount"], - "Hash Cond": "(spree_prices.variant_id = catalog_variants_2.variant_id)", - "Shared Hit Blocks": 102, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_prices", - "Schema": "public", - "Alias": "spree_prices", - "Startup Cost": 0.00, - "Total Cost": 153.42, - "Plan Rows": 9242, - "Plan Width": 7, - "Actual Startup Time": 0.023, - "Actual Total Time": 2.548, - "Actual Rows": 9242, - "Actual Loops": 1, - "Output": ["spree_prices.id", "spree_prices.variant_id", "spree_prices.amount", "spree_prices.currency", "spree_prices.deleted_at", "spree_prices.is_default"], - "Shared Hit Blocks": 61, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 9.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 1.229, - "Actual Total Time": 1.229, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_2.variant_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 21, - "Shared Hit Blocks": 41, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Hashed", - "Parent Relationship": "Outer", - "Startup Cost": 7.92, - "Total Cost": 9.92, - "Plan Rows": 200, - "Plan Width": 4, - "Actual Startup Time": 1.075, - "Actual Total Time": 1.140, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_2.variant_id"], - "Group Key": ["catalog_variants_2.variant_id"], - "Shared Hit Blocks": 41, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "catalog_variants_2", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 4, - "Actual Startup Time": 0.024, - "Actual Total Time": 0.915, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["catalog_variants_2.variant_id", "catalog_variants_2.product_id", "catalog_variants_2.sku"], - "Shared Hit Blocks": 41, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 42.71, - "Total Cost": 291.08, - "Plan Rows": 4050, - "Plan Width": 183, - "Actual Startup Time": 13.149, - "Actual Total Time": 13.526, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.sku", "sp.slug", "sp.name", "vc.color", "pr.min_price", "pcc.available_colors", "sv.product_id"], - "Hash Cond": "(pr.variant_id = sv.variant_id)", - "Shared Hit Blocks": 2692, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "variants_min_prices", - "Alias": "pr", - "Startup Cost": 0.00, - "Total Cost": 92.42, - "Plan Rows": 4621, - "Plan Width": 36, - "Actual Startup Time": 5.939, - "Actual Total Time": 6.157, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["pr.variant_id", "pr.min_price"], - "Shared Hit Blocks": 102, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 40.52, - "Total Cost": 40.52, - "Plan Rows": 175, - "Plan Width": 155, - "Actual Startup Time": 7.189, - "Actual Total Time": 7.189, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.sku", "sv.product_id", "sp.slug", "sp.name", "vc.color", "vc.variant_id", "pcc.available_colors"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 63, - "Shared Hit Blocks": 2590, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 27.68, - "Total Cost": 40.52, - "Plan Rows": 175, - "Plan Width": 155, - "Actual Startup Time": 6.664, - "Actual Total Time": 7.024, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.sku", "sv.product_id", "sp.slug", "sp.name", "vc.color", "vc.variant_id", "pcc.available_colors"], - "Hash Cond": "(sv.variant_id = vc.variant_id)", - "Shared Hit Blocks": 2590, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 21.96, - "Total Cost": 32.31, - "Plan Rows": 199, - "Plan Width": 119, - "Actual Startup Time": 4.636, - "Actual Total Time": 4.846, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.sku", "sv.product_id", "sp.slug", "sp.name", "pcc.available_colors"], - "Hash Cond": "(sv.product_id = sp.id)", - "Shared Hit Blocks": 1303, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "catalog_variants", - "Alias": "sv", - "Startup Cost": 0.00, - "Total Cost": 7.04, - "Plan Rows": 352, - "Plan Width": 40, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.059, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["sv.variant_id", "sv.product_id", "sv.sku"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 19.76, - "Total Cost": 19.76, - "Plan Rows": 176, - "Plan Width": 87, - "Actual Startup Time": 4.622, - "Actual Total Time": 4.622, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["sp.slug", "sp.name", "sp.id", "pcc.available_colors", "pcc.product_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 47, - "Shared Hit Blocks": 1303, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 5.72, - "Total Cost": 19.76, - "Plan Rows": 176, - "Plan Width": 87, - "Actual Startup Time": 4.258, - "Actual Total Time": 4.510, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["sp.slug", "sp.name", "sp.id", "pcc.available_colors", "pcc.product_id"], - "Hash Cond": "(sp.id = pcc.product_id)", - "Shared Hit Blocks": 1303, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "spree_products", - "Schema": "public", - "Alias": "sp", - "Startup Cost": 0.00, - "Total Cost": 11.11, - "Plan Rows": 311, - "Plan Width": 51, - "Actual Startup Time": 0.016, - "Actual Total Time": 0.115, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["sp.id", "sp.name", "sp.description", "sp.available_on", "sp.deleted_at", "sp.slug", "sp.meta_description", "sp.meta_keywords", "sp.tax_category_id", "sp.shipping_category_id", "sp.created_at", "sp.updated_at", "sp.promotionable", "sp.meta_title", "sp.fashion_xl_id"], - "Filter": "(sp.deleted_at IS NULL)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 8, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 3.52, - "Total Cost": 3.52, - "Plan Rows": 176, - "Plan Width": 36, - "Actual Startup Time": 4.228, - "Actual Total Time": 4.228, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["pcc.available_colors", "pcc.product_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 31, - "Shared Hit Blocks": 1295, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "product_color_classifications", - "Alias": "pcc", - "Startup Cost": 0.00, - "Total Cost": 3.52, - "Plan Rows": 176, - "Plan Width": 36, - "Actual Startup Time": 2.801, - "Actual Total Time": 4.136, - "Actual Rows": 311, - "Actual Loops": 1, - "Output": ["pcc.available_colors", "pcc.product_id"], - "Shared Hit Blocks": 1295, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 3.52, - "Total Cost": 3.52, - "Plan Rows": 176, - "Plan Width": 36, - "Actual Startup Time": 2.018, - "Actual Total Time": 2.018, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["vc.color", "vc.variant_id"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 26, - "Shared Hit Blocks": 1287, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "CTE Name": "variant_colors", - "Alias": "vc", - "Startup Cost": 0.00, - "Total Cost": 3.52, - "Plan Rows": 176, - "Plan Width": 36, - "Actual Startup Time": 0.358, - "Actual Total Time": 1.945, - "Actual Rows": 352, - "Actual Loops": 1, - "Output": ["vc.color", "vc.variant_id"], - "Shared Hit Blocks": 1287, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - } - ] - }, - "Planning Time": 4.462, - "Triggers": [ - ], - "Execution Time": 14.391 - } -] -`,f0=` -[ - { - "Plan": { - "Node Type": "Limit", - "Startup Cost": 17024.84, - "Total Cost": 17024.87, - "Plan Rows": 10, - "Plan Width": 133, - "Actual Startup Time": 725.773, - "Actual Total Time": 725.775, - "Actual Rows": 10, - "Actual Loops": 1, - "Output": ["c.state", "cat.categoryname", "(sum(o.netamount))", "(sum(o.totalamount))"], - "Shared Hit Blocks": 23, - "Shared Read Blocks": 1392, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Sort", - "Parent Relationship": "Outer", - "Startup Cost": 17024.84, - "Total Cost": 17026.88, - "Plan Rows": 816, - "Plan Width": 133, - "Actual Startup Time": 725.771, - "Actual Total Time": 725.772, - "Actual Rows": 11, - "Actual Loops": 1, - "Output": ["c.state", "cat.categoryname", "(sum(o.netamount))", "(sum(o.totalamount))"], - "Sort Key": ["c.state", "(sum(o.totalamount))"], - "Sort Method": "top-N heapsort", - "Sort Space Used": 25, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 23, - "Shared Read Blocks": 1392, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Hashed", - "Parent Relationship": "Outer", - "Startup Cost": 16994.41, - "Total Cost": 17006.65, - "Plan Rows": 816, - "Plan Width": 133, - "Actual Startup Time": 723.877, - "Actual Total Time": 724.417, - "Actual Rows": 832, - "Actual Loops": 1, - "Output": ["c.state", "cat.categoryname", "sum(o.netamount)", "sum(o.totalamount)"], - "Group Key": ["c.state", "cat.categoryname"], - "Shared Hit Blocks": 13, - "Shared Read Blocks": 1392, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 4966.48, - "Total Cost": 13742.65, - "Plan Rows": 325176, - "Plan Width": 133, - "Actual Startup Time": 118.314, - "Actual Total Time": 354.285, - "Actual Rows": 383270, - "Actual Loops": 1, - "Output": ["c.state", "o.netamount", "o.totalamount", "cat.categoryname"], - "Hash Cond": "(o.orderid = ch.orderid)", - "Shared Hit Blocks": 13, - "Shared Read Blocks": 1392, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 834.86, - "Total Cost": 4539.11, - "Plan Rows": 60350, - "Plan Width": 138, - "Actual Startup Time": 22.651, - "Actual Total Time": 133.484, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["o.netamount", "o.totalamount", "o.orderid", "ol.orderid", "cat.categoryname"], - "Hash Cond": "(ol.orderid = o.orderid)", - "Shared Hit Blocks": 9, - "Shared Read Blocks": 581, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 464.86, - "Total Cost": 2962.11, - "Plan Rows": 60350, - "Plan Width": 122, - "Actual Startup Time": 12.467, - "Actual Total Time": 85.647, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["ol.orderid", "cat.categoryname"], - "Hash Cond": "(ol.prod_id = p.prod_id)", - "Shared Hit Blocks": 4, - "Shared Read Blocks": 483, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "orderlines", - "Schema": "public", - "Alias": "ol", - "Startup Cost": 0.00, - "Total Cost": 988.50, - "Plan Rows": 60350, - "Plan Width": 8, - "Actual Startup Time": 0.005, - "Actual Total Time": 14.054, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["ol.orderlineid", "ol.orderid", "ol.prod_id", "ol.quantity", "ol.orderdate"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 383, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 339.86, - "Total Cost": 339.86, - "Plan Rows": 10000, - "Plan Width": 122, - "Actual Startup Time": 12.446, - "Actual Total Time": 12.446, - "Actual Rows": 10000, - "Actual Loops": 1, - "Output": ["p.prod_id", "cat.categoryname"], - "Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 425, - "Shared Hit Blocks": 2, - "Shared Read Blocks": 100, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 1.36, - "Total Cost": 339.86, - "Plan Rows": 10000, - "Plan Width": 122, - "Actual Startup Time": 0.283, - "Actual Total Time": 9.015, - "Actual Rows": 10000, - "Actual Loops": 1, - "Output": ["p.prod_id", "cat.categoryname"], - "Hash Cond": "(p.category = cat.category)", - "Shared Hit Blocks": 2, - "Shared Read Blocks": 100, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "products", - "Schema": "public", - "Alias": "p", - "Startup Cost": 0.00, - "Total Cost": 201.00, - "Plan Rows": 10000, - "Plan Width": 8, - "Actual Startup Time": 0.003, - "Actual Total Time": 4.330, - "Actual Rows": 10000, - "Actual Loops": 1, - "Output": ["p.prod_id", "p.category", "p.title", "p.actor", "p.price", "p.special", "p.common_prod_id"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 99, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 1.16, - "Total Cost": 1.16, - "Plan Rows": 16, - "Plan Width": 122, - "Actual Startup Time": 0.265, - "Actual Total Time": 0.265, - "Actual Rows": 16, - "Actual Loops": 1, - "Output": ["cat.categoryname", "cat.category"], - "Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 1, - "Shared Hit Blocks": 0, - "Shared Read Blocks": 1, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "categories", - "Schema": "public", - "Alias": "cat", - "Startup Cost": 0.00, - "Total Cost": 1.16, - "Plan Rows": 16, - "Plan Width": 122, - "Actual Startup Time": 0.250, - "Actual Total Time": 0.252, - "Actual Rows": 16, - "Actual Loops": 1, - "Output": ["cat.categoryname", "cat.category"], - "Shared Hit Blocks": 0, - "Shared Read Blocks": 1, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 220.00, - "Total Cost": 220.00, - "Plan Rows": 12000, - "Plan Width": 16, - "Actual Startup Time": 10.159, - "Actual Total Time": 10.159, - "Actual Rows": 12000, - "Actual Loops": 1, - "Output": ["o.netamount", "o.totalamount", "o.orderid"], - "Hash Buckets": 2048, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 609, - "Shared Hit Blocks": 2, - "Shared Read Blocks": 98, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "orders", - "Schema": "public", - "Alias": "o", - "Startup Cost": 0.00, - "Total Cost": 220.00, - "Plan Rows": 12000, - "Plan Width": 16, - "Actual Startup Time": 0.008, - "Actual Total Time": 5.548, - "Actual Rows": 12000, - "Actual Loops": 1, - "Output": ["o.netamount", "o.totalamount", "o.orderid"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 98, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 3377.25, - "Total Cost": 3377.25, - "Plan Rows": 60350, - "Plan Width": 7, - "Actual Startup Time": 95.610, - "Actual Total Time": 95.610, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["c.state", "ch.orderid"], - "Hash Buckets": 8192, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 2239, - "Shared Hit Blocks": 4, - "Shared Read Blocks": 811, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Join Type": "Inner", - "Startup Cost": 938.00, - "Total Cost": 3377.25, - "Plan Rows": 60350, - "Plan Width": 7, - "Actual Startup Time": 24.115, - "Actual Total Time": 74.639, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["c.state", "ch.orderid"], - "Hash Cond": "(ch.customerid = c.customerid)", - "Shared Hit Blocks": 4, - "Shared Read Blocks": 811, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "cust_hist", - "Schema": "public", - "Alias": "ch", - "Startup Cost": 0.00, - "Total Cost": 930.50, - "Plan Rows": 60350, - "Plan Width": 8, - "Actual Startup Time": 0.294, - "Actual Total Time": 11.812, - "Actual Rows": 60350, - "Actual Loops": 1, - "Output": ["ch.customerid", "ch.orderid", "ch.prod_id"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 325, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Startup Cost": 688.00, - "Total Cost": 688.00, - "Plan Rows": 20000, - "Plan Width": 7, - "Actual Startup Time": 23.786, - "Actual Total Time": 23.786, - "Actual Rows": 20000, - "Actual Loops": 1, - "Output": ["c.state", "c.customerid"], - "Hash Buckets": 2048, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 743, - "Shared Hit Blocks": 2, - "Shared Read Blocks": 486, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Relation Name": "customers", - "Schema": "public", - "Alias": "c", - "Startup Cost": 0.00, - "Total Cost": 688.00, - "Plan Rows": 20000, - "Plan Width": 7, - "Actual Startup Time": 0.005, - "Actual Total Time": 16.771, - "Actual Rows": 20000, - "Actual Loops": 1, - "Output": ["c.state", "c.customerid"], - "Shared Hit Blocks": 2, - "Shared Read Blocks": 486, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "I/O Read Time": 0.000, - "I/O Write Time": 0.000 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - }, - "Planning Time": 26.171, - "Triggers": [ - ], - "Execution Time": 726.800 - } -] -`,_0=`/* An aggregate with four joins */ -SELECT c.state, - cat.categoryname, - sum(o.netamount), - sum(o.totalamount) -FROM customers c - INNER JOIN cust_hist ch ON c.customerid = ch.customerid - INNER JOIN orders o ON ch.orderid = o.orderid - INNER JOIN orderlines ol ON ol.orderid = o.orderid - INNER JOIN products p ON ol.prod_id = p.prod_id - INNER JOIN categories cat ON p.category = cat.category -GROUP BY c.state, cat.categoryname -ORDER BY c.state, sum(o.totalamount) DESC LIMIT 10 OFFSET 1; -`,S0=`"Limit (cost=1.27..3878.21 rows=5 width=172) (actual time=0.245..2.544 rows=5 loops=1)" -" -> Nested Loop (cost=1.27..48075.41 rows=62 width=172) (actual time=0.244..2.539 rows=5 loops=1)" -" -> Nested Loop (cost=0.84..2420.02 rows=65 width=85) (actual time=0.137..0.151 rows=5 loops=1)" -" -> Nested Loop (cost=0.42..2356.20 rows=5 width=85) (actual time=0.118..0.119 rows=1 loops=1)" -" -> Seq Scan on top_challenge_list (cost=0.00..30.26 rows=58 width=57) (actual time=0.036..0.043 rows=4 loops=1)" -" Filter: (is_active AND ((template_challenge)::text = 'top_turnover'::text))" -" Rows Removed by Filter: 26" -" -> Index Scan using ref_people_xperf1 on ref_people (cost=0.42..40.09 rows=1 width=28) (actual time=0.017..0.017 rows=0 loops=4)" -" Index Cond: (id_int = top_challenge_list.id_int_manager)" -" Filter: (is_active AND (id_statut <> 2) AND (COALESCE(id_qualification, 1) >= 1) AND (id_type = 5))" -" Rows Removed by Filter: 4" -" -> Index Scan using ref_genealogy_xperf5 on ref_genealogy (cost=0.42..12.56 rows=20 width=8) (actual time=0.017..0.026 rows=5 loops=1)" -" Index Cond: (id_int = ref_people.id_int)" -" Filter: is_active" -" -> Index Scan using ref_people_xperf1 on ref_people filleuls (cost=0.42..0.82 rows=1 width=47) (actual time=0.012..0.030 rows=1 loops=5)" -" Index Cond: (id_int = ref_genealogy.id_int_level)" -" Filter: (is_active AND (id_type = ANY ('{5,14}'::integer[])))" -" Rows Removed by Filter: 7" -" SubPlan 1" -" -> Aggregate (cost=361.46..361.47 rows=1 width=8) (actual time=0.233..0.233 rows=1 loops=5)" -" -> Index Scan using ref_transaction_xperf4 on ref_transaction (cost=0.42..361.46 rows=1 width=8) (actual time=0.155..0.229 rows=0 loops=5)" -" Index Cond: (id_int_agent_out = filleuls.id_int)" -" Filter: (is_active AND (date_acte IS NOT NULL) AND (date_acte >= top_challenge_list.date_deb_challenge) AND (date_acte <= top_challenge_list.date_fin_challenge) AND (id_type_transaction = 1))" -" Rows Removed by Filter: 100" -" SubPlan 2" -" -> Aggregate (cost=373.99..374.00 rows=1 width=8) (actual time=0.177..0.178 rows=1 loops=5)" -" -> Index Scan using ref_transaction_xperf3 on ref_transaction ref_transaction_1 (cost=0.42..373.99 rows=1 width=8) (actual time=0.117..0.174 rows=0 loops=5)" -" Index Cond: (id_int_agent_in = filleuls.id_int)" -" Filter: (is_active AND (date_acte IS NOT NULL) AND (date_acte >= top_challenge_list.date_deb_challenge) AND (date_acte <= top_challenge_list.date_fin_challenge) AND (id_type_transaction = 1))" -" Rows Removed by Filter: 102" -"Planning Time: 2.916 ms" -"Execution Time: 2.900 ms"`,k0=String.raw` - QUERY PLAN -═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ - Merge on public.t1 (cost=1824058.07..1336099696.57 rows=0 width=0) (actual time=16254.981..16254.984 rows=0 loops=1) - Tuples: deleted=2499999 - Buffers: shared hit=5002762 read=51294 dirtied=13514 written=8006, local hit=7541658 read=25779 dirtied=46608 written=67441, temp read=98262 written=150446 - WAL: records=2500630 fpi=8047 bytes=200763653 - CTE t2bb - -> Update on pg_temp.t2 (cost=0.00..54898.62 rows=2912462 width=14) (actual time=244.180..2939.572 rows=2499999 loops=1) - Output: t2.i, t2.x, t2.filler - Buffers: local hit=7541658 read=25779 dirtied=46608 written=67441 - -> Seq Scan on pg_temp.t2 (cost=0.00..54898.62 rows=2912462 width=14) (actual time=226.341..690.083 rows=2499999 loops=1) - Output: NULL::double precision, t2.ctid - Buffers: local read=25774 dirtied=25774 written=25771 - CTE t2b - -> Sort (cost=650151.19..657432.35 rows=2912462 width=52) (actual time=5387.848..5800.321 rows=2499999 loops=1) - Output: t2bb.i, t2bb.x, t2bb.filler, (random()) - Sort Key: (random()) - Sort Method: external merge Disk: 141936kB - Buffers: shared hit=3, local hit=7541658 read=25779 dirtied=46608 written=67441, temp read=35480 written=49892 - -> CTE Scan on t2bb (cost=0.00..65530.39 rows=2912462 width=52) (actual time=244.188..3856.231 rows=2499999 loops=1) - Output: t2bb.i, t2bb.x, t2bb.filler, random() - Buffers: local hit=7541658 read=25779 dirtied=46608 written=67441, temp written=14343 - -> Merge Left Join (cost=1111727.10..1335387365.61 rows=88949720377 width=42) (actual time=10989.361..12903.243 rows=2499999 loops=1) - Output: t1.ctid, t2b.i, t2b.filler - Merge Cond: (t2b.i = t1.i) - Buffers: shared hit=15647 read=38411 dirtied=631, local hit=7541658 read=25779 dirtied=46608 written=67441, temp read=98262 written=150446 - WAL: records=631 fpi=631 bytes=5182403 - -> Sort (cost=530235.49..537516.64 rows=2912462 width=36) (actual time=7556.652..7928.837 rows=2499999 loops=1) - Output: t2b.i, t2b.filler - Sort Key: t2b.i - Sort Method: external merge Disk: 115072kB - Buffers: shared hit=3, local hit=7541658 read=25779 dirtied=46608 written=67441, temp read=64238 written=96414 - -> CTE Scan on t2b (cost=0.00..58249.24 rows=2912462 width=36) (actual time=5387.869..6356.641 rows=2499999 loops=1) - Output: t2b.i, t2b.filler - Buffers: shared hit=3, local hit=7541658 read=25779 dirtied=46608 written=67441, temp read=35480 written=67592 - -> Materialize (cost=1012385.82..1042926.89 rows=6108215 width=10) (actual time=3432.664..4124.070 rows=2500000 loops=1) - Output: t1.ctid, t1.i - Buffers: shared hit=15644 read=38411 dirtied=631, temp read=34024 written=54032 - WAL: records=631 fpi=631 bytes=5182403 - -> Sort (cost=1012385.82..1027656.36 rows=6108215 width=10) (actual time=3432.659..3773.369 rows=2500000 loops=1) - Output: t1.ctid, t1.i - Sort Key: t1.i - Sort Method: external merge Disk: 215352kB - Buffers: shared hit=15644 read=38411 dirtied=631, temp read=34024 written=54032 - WAL: records=631 fpi=631 bytes=5182403 - -> Seq Scan on public.t1 (cost=0.00..115137.15 rows=6108215 width=10) (actual time=0.031..1073.371 rows=10000000 loops=1) - Output: t1.ctid, t1.i - Buffers: shared hit=15644 read=38411 dirtied=631 - WAL: records=631 fpi=631 bytes=5182403 - Planning: - Buffers: shared hit=21 read=7 - Planning Time: 0.237 ms - JIT: - Functions: 20 - Options: Inlining true, Optimization true, Expressions true, Deforming true - Timing: Generation 0.948 ms, Inlining 76.071 ms, Optimization 97.998 ms, Emission 70.028 ms, Total 245.045 ms - Execution Time: 16365.829 ms -(55 lignes) -`,T0=String.raw` --- create a plan with all written/buffers/shared/local/temp at once - -\timing off - -\set NB 10000000 -\set MINIMUM :NB/4 - - -SET synchronous_commit TO off; - -\set ON_ERROR_STOP 1 - -\set ECHO queries - -DROP TABLE IF EXISTS t1, t2 ; - -CREATE TABLE t1 (i int GENERATED BY DEFAULT AS IDENTITY, x float DEFAULT random(), filler text DEFAULT NULL) ; - -CREATE TEMP TABLE t2 (LIKE t1); -VACUUM (ANALYZE,VERBOSE) t1,t2; - -\d+ t1 -\d+ t2 - -INSERT INTO t1 SELECT FROM generate_series (1,:NB) i ; - -INSERT INTO t2 SELECT i,x,md5(i::text) FROM t1 WHERE i < :MINIMUM ; - -\dt+ t? - -SET work_mem TO '4MB' ; - -\echo "Update T1 from a modified version of T2" - -EXPLAIN (ANALYZE,BUFFERS,VERBOSE,SETTINGS,WAL) -WITH t2bb AS ( UPDATE t2 SET x=null RETURNING * ), -t2b AS ( SELECT * FROM t2bb ORDER BY random()) -MERGE INTO t1 -USING t2b -ON (t1.i=t2b.i) -WHEN NOT MATCHED AND t2b.i >= :MINIMUM THEN - INSERT VALUES (t2b.i, null, t2b.filler) -WHEN MATCHED AND t2b.i < :MINIMUM THEN - DELETE -WHEN MATCHED THEN - UPDATE SET filler=t2b.filler, x=null ; -`,B0=`Append (actual time=102.409..302.675 rows=3 loops=1) - CTE init - -> Append (actual time=102.397..302.649 rows=2 loops=1) - -> Function Scan on pg_sleep pg_sleep_for (actual time=102.396..102.398 rows=1 loops=1) - -> Function Scan on pg_sleep pg_sleep_for_1 (actual time=200.243..200.245 rows=1 loops=1) - -> Limit (actual time=102.407..102.409 rows=1 loops=1) - -> CTE Scan on init init_1 (actual time=102.402..102.402 rows=1 loops=1) - -> CTE Scan on init (actual time=0.001..200.256 rows=2 loops=1) -Planning Time: 47.003 ms -Execution Time: 303.905 ms -`,E0=`WITH init AS ( - SELECT * FROM pg_sleep_for('100ms') - UNION ALL - SELECT * FROM pg_sleep_for('200ms') -) -(SELECT * FROM init LIMIT 1) -UNION ALL -(SELECT * FROM init); -`,R0=String.raw`{ - "Plan": { - "Node Type": "Hash Join", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 394.93, - "Total Cost": 417.11, - "Plan Rows": 12, - "Plan Width": 316, - "Actual Startup Time": 226.103, - "Actual Total Time": 232.217, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "c.relname", - "(pg_total_relation_size((c.oid)::regclass))", - "(pg_indexes_size((c.oid)::regclass))", - "(COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint))", - "(((pg_total_relation_size((c.oid)::regclass)) - (pg_indexes_size((c.oid)::regclass))) - (COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint)))", - "COALESCE((count(*)), '0'::bigint)", - "pg_size_pretty((pg_total_relation_size((c.oid)::regclass)))", - "pg_size_pretty((pg_indexes_size((c.oid)::regclass)))", - "pg_size_pretty((COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint)))", - "pg_size_pretty((((pg_total_relation_size((c.oid)::regclass)) - (pg_indexes_size((c.oid)::regclass))) - (COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint))))", - "CASE WHEN ((((s.heappages + s.toastpages))::double precision - (ceil((s.reltuples / ((((s.bs - (s.page_hdr)::numeric) * (s.fillfactor)::numeric))::double precision / (((((((4 + s.tpl_hdr_size))::double precision + s.tpl_data_size) + ((2 * s.ma))::double precision) - (CASE WHEN ((s.tpl_hdr_size % (s.ma)::bigint) = 0) THEN (s.ma)::bigint ELSE (s.tpl_hdr_size % (s.ma)::bigint) END)::double precision) - (CASE WHEN (((ceil(s.tpl_data_size))::integer % s.ma) = 0) THEN s.ma ELSE ((ceil(s.tpl_data_size))::integer % s.ma) END)::double precision) * '100'::double precision)))) + ceil((s.toasttuples / '4'::double precision)))) > '0'::double precision) THEN ((((s.heappages + s.toastpages))::double precision - (ceil((s.reltuples / ((((s.bs - (s.page_hdr)::numeric) * (s.fillfactor)::numeric))::double precision / (((((((4 + s.tpl_hdr_size))::double precision + s.tpl_data_size) + ((2 * s.ma))::double precision) - (CASE WHEN ((s.tpl_hdr_size % (s.ma)::bigint) = 0) THEN (s.ma)::bigint ELSE (s.tpl_hdr_size % (s.ma)::bigint) END)::double precision) - (CASE WHEN (((ceil(s.tpl_data_size))::integer % s.ma) = 0) THEN s.ma ELSE ((ceil(s.tpl_data_size))::integer % s.ma) END)::double precision) * '100'::double precision)))) + ceil((s.toasttuples / '4'::double precision)))) * (s.bs)::double precision) ELSE '0'::double precision END", - "pg_size_pretty((CASE WHEN ((((s.heappages + s.toastpages))::double precision - (ceil((s.reltuples / ((((s.bs - (s.page_hdr)::numeric) * (s.fillfactor)::numeric))::double precision / (((((((4 + s.tpl_hdr_size))::double precision + s.tpl_data_size) + ((2 * s.ma))::double precision) - (CASE WHEN ((s.tpl_hdr_size % (s.ma)::bigint) = 0) THEN (s.ma)::bigint ELSE (s.tpl_hdr_size % (s.ma)::bigint) END)::double precision) - (CASE WHEN (((ceil(s.tpl_data_size))::integer % s.ma) = 0) THEN s.ma ELSE ((ceil(s.tpl_data_size))::integer % s.ma) END)::double precision) * '100'::double precision)))) + ceil((s.toasttuples / '4'::double precision)))) > '0'::double precision) THEN ((((s.heappages + s.toastpages))::double precision - (ceil((s.reltuples / ((((s.bs - (s.page_hdr)::numeric) * (s.fillfactor)::numeric))::double precision / (((((((4 + s.tpl_hdr_size))::double precision + s.tpl_data_size) + ((2 * s.ma))::double precision) - (CASE WHEN ((s.tpl_hdr_size % (s.ma)::bigint) = 0) THEN (s.ma)::bigint ELSE (s.tpl_hdr_size % (s.ma)::bigint) END)::double precision) - (CASE WHEN (((ceil(s.tpl_data_size))::integer % s.ma) = 0) THEN s.ma ELSE ((ceil(s.tpl_data_size))::integer % s.ma) END)::double precision) * '100'::double precision)))) + ceil((s.toasttuples / '4'::double precision)))) * (s.bs)::double precision) ELSE '0'::double precision END)::bigint)", - "(sum((CASE WHEN ((q.relpages)::double precision > COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision)) THEN ((((current_setting('block_size'::text))::numeric))::double precision * ((q.relpages)::double precision - COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision))) ELSE '0'::double precision END)))", - "pg_size_pretty(((sum((CASE WHEN ((q.relpages)::double precision > COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision)) THEN ((((current_setting('block_size'::text))::numeric))::double precision * ((q.relpages)::double precision - COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision))) ELSE '0'::double precision END))))::bigint)", - "c.reltuples" - ], - "Inner Unique": true, - "Hash Cond": "((n.nspname = q.nspname) AND (c.relname = q.tblname))", - "Shared Hit Blocks": 218101, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 211.58, - "Total Cost": 228.59, - "Plan Rows": 12, - "Plan Width": 240, - "Actual Startup Time": 35.727, - "Actual Total Time": 41.452, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "c.relname", - "(pg_total_relation_size((c.oid)::regclass))", - "(pg_indexes_size((c.oid)::regclass))", - "(COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint))", - "c.reltuples", - "n.nspname", - "(count(*))", - "s.heappages", - "s.toastpages", - "s.reltuples", - "s.bs", - "s.page_hdr", - "s.fillfactor", - "s.tpl_hdr_size", - "s.tpl_data_size", - "s.ma", - "s.toasttuples" - ], - "Inner Unique": false, - "Hash Cond": "(c.relname = s.tblname)", - "Shared Hit Blocks": 2449, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 42.71, - "Total Cost": 59.55, - "Plan Rows": 12, - "Plan Width": 164, - "Actual Startup Time": 0.697, - "Actual Total Time": 6.325, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "c.relname", - "(pg_total_relation_size((c.oid)::regclass))", - "(pg_indexes_size((c.oid)::regclass))", - "(COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint))", - "c.reltuples", - "n.nspname", - "(count(*))" - ], - "Inner Unique": true, - "Hash Cond": "(c.relname = c_1.relname)", - "Shared Hit Blocks": 694, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 1.09, - "Total Cost": 17.77, - "Plan Rows": 12, - "Plan Width": 160, - "Actual Startup Time": 0.151, - "Actual Total Time": 5.685, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "NULL::oid", - "n.nspname", - "c.relname", - "c.reltuples", - "pg_total_relation_size((c.oid)::regclass)", - "pg_indexes_size((c.oid)::regclass)", - "COALESCE(pg_total_relation_size((c.reltoastrelid)::regclass), '0'::bigint)" - ], - "Inner Unique": true, - "Hash Cond": "(c.relnamespace = n.oid)", - "Shared Hit Blocks": 663, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "c", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 80, - "Actual Startup Time": 0.014, - "Actual Total Time": 0.135, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "c.relname", - "c.reltuples", - "c.oid", - "c.reltoastrelid", - "c.relnamespace" - ], - "Filter": "(c.relkind = 'r'::\"char\")", - "Rows Removed by Filter": 277, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 1.07, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.014, - "Actual Total Time": 0.014, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["n.nspname", "n.oid"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_namespace", - "Schema": "pg_catalog", - "Alias": "n", - "Startup Cost": 0.0, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.006, - "Actual Total Time": 0.007, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["n.nspname", "n.oid"], - "Filter": "(n.nspname = 'pg_catalog'::name)", - "Rows Removed by Filter": 6, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 41.44, - "Total Cost": 41.44, - "Plan Rows": 14, - "Plan Width": 72, - "Actual Startup Time": 0.529, - "Actual Total Time": 0.529, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": ["(count(*))", "c_1.relname"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 15, - "Shared Hit Blocks": 31, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Sorted", - "Partial Mode": "Simple", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 41.06, - "Total Cost": 41.3, - "Plan Rows": 14, - "Plan Width": 72, - "Actual Startup Time": 0.474, - "Actual Total Time": 0.504, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": ["count(*)", "c_1.relname"], - "Group Key": ["c_1.relname"], - "Shared Hit Blocks": 31, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Sort", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 41.06, - "Total Cost": 41.09, - "Plan Rows": 14, - "Plan Width": 64, - "Actual Startup Time": 0.463, - "Actual Total Time": 0.469, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": ["c_1.relname"], - "Sort Key": ["c_1.relname"], - "Sort Method": "quicksort", - "Sort Space Used": 41, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 31, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 23.87, - "Total Cost": 40.79, - "Plan Rows": 14, - "Plan Width": 64, - "Actual Startup Time": 0.266, - "Actual Total Time": 0.366, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": ["c_1.relname"], - "Inner Unique": false, - "Hash Cond": "(i.oid = x.indexrelid)", - "Shared Hit Blocks": 28, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "i", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 135, - "Plan Width": 8, - "Actual Startup Time": 0.009, - "Actual Total Time": 0.09, - "Actual Rows": 137, - "Actual Loops": 1, - "Output": ["i.oid", "i.reltablespace"], - "Filter": "(i.relkind = 'i'::\"char\")", - "Rows Removed by Filter": 211, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 23.42, - "Total Cost": 23.42, - "Plan Rows": 36, - "Plan Width": 68, - "Actual Startup Time": 0.237, - "Actual Total Time": 0.237, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": ["x.indexrelid", "c_1.relname"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 20, - "Shared Hit Blocks": 16, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 17.14, - "Total Cost": 23.42, - "Plan Rows": 36, - "Plan Width": 68, - "Actual Startup Time": 0.145, - "Actual Total Time": 0.21, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": ["x.indexrelid", "c_1.relname"], - "Inner Unique": true, - "Hash Cond": "(x.indrelid = c_1.oid)", - "Shared Hit Blocks": 16, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_index", - "Schema": "pg_catalog", - "Alias": "x", - "Startup Cost": 0.0, - "Total Cost": 5.8, - "Plan Rows": 180, - "Plan Width": 8, - "Actual Startup Time": 0.005, - "Actual Total Time": 0.018, - "Actual Rows": 137, - "Actual Loops": 1, - "Output": [ - "x.indexrelid", - "x.indrelid", - "x.indnatts", - "x.indnkeyatts", - "x.indisunique", - "x.indisprimary", - "x.indisexclusion", - "x.indimmediate", - "x.indisclustered", - "x.indisvalid", - "x.indcheckxmin", - "x.indisready", - "x.indislive", - "x.indisreplident", - "x.indkey", - "x.indcollation", - "x.indclass", - "x.indoption", - "x.indexprs", - "x.indpred" - ], - "Shared Hit Blocks": 4, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 16.27, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 72, - "Actual Startup Time": 0.124, - "Actual Total Time": 0.124, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "c_1.relname", - "c_1.oid", - "c_1.relnamespace" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 16, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "c_1", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 72, - "Actual Startup Time": 0.005, - "Actual Total Time": 0.11, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "c_1.relname", - "c_1.oid", - "c_1.relnamespace" - ], - "Filter": "(c_1.relkind = ANY ('{r,m}'::\"char\"[]))", - "Rows Removed by Filter": 277, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 168.03, - "Total Cost": 168.03, - "Plan Rows": 68, - "Plan Width": 204, - "Actual Startup Time": 34.99, - "Actual Total Time": 34.99, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "s.heappages", - "s.toastpages", - "s.reltuples", - "s.bs", - "s.page_hdr", - "s.fillfactor", - "s.tpl_hdr_size", - "s.tpl_data_size", - "s.ma", - "s.toasttuples", - "s.schemaname", - "s.tblname" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 22, - "Shared Hit Blocks": 1755, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Subquery Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Alias": "s", - "Startup Cost": 160.72, - "Total Cost": 168.03, - "Plan Rows": 68, - "Plan Width": 204, - "Actual Startup Time": 34.381, - "Actual Total Time": 34.907, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "s.heappages", - "s.toastpages", - "s.reltuples", - "s.bs", - "s.page_hdr", - "s.fillfactor", - "s.tpl_hdr_size", - "s.tpl_data_size", - "s.ma", - "s.toasttuples", - "s.schemaname", - "s.tblname" - ], - "Shared Hit Blocks": 1755, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Sorted", - "Partial Mode": "Simple", - "Parent Relationship": "Subquery", - "Parallel Aware": false, - "Startup Cost": 160.72, - "Total Cost": 167.35, - "Plan Rows": 68, - "Plan Width": 210, - "Actual Startup Time": 34.375, - "Actual Total Time": 34.86, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "ns.nspname", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "(COALESCE(toast.relpages, 0))", - "(COALESCE(toast.reltuples, '0'::real))", - "(COALESCE(((\"substring\"(array_to_string(tbl.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 100))", - "((current_setting('block_size'::text))::numeric)", - "(CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)", - "24", - "((23 + CASE WHEN (max(COALESCE(s_1.null_frac, '0'::real)) > '0'::double precision) THEN ((7 + count(*)) / 8) ELSE '0'::bigint END) + CASE WHEN tbl.relhasoids THEN 4 ELSE 0 END)", - "sum((('1'::double precision - COALESCE(s_1.null_frac, '0'::real)) * (COALESCE(s_1.avg_width, 1024))::double precision))", - "NULL::boolean", - "tbl.relhasoids" - ], - "Group Key": [ - "ns.nspname", - "tbl.relname", - "tbl.oid", - "tbl.reltuples", - "tbl.relpages", - "(COALESCE(toast.relpages, 0))", - "(COALESCE(toast.reltuples, '0'::real))", - "(COALESCE(((\"substring\"(array_to_string(tbl.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 100))", - "((current_setting('block_size'::text))::numeric)", - "(CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)", - "tbl.relhasoids" - ], - "Shared Hit Blocks": 1755, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Sort", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 160.72, - "Total Cost": 160.89, - "Plan Rows": 68, - "Plan Width": 197, - "Actual Startup Time": 34.295, - "Actual Total Time": 34.371, - "Actual Rows": 522, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "ns.nspname", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "(COALESCE(toast.relpages, 0))", - "(COALESCE(toast.reltuples, '0'::real))", - "(COALESCE(((\"substring\"(array_to_string(tbl.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 100))", - "((current_setting('block_size'::text))::numeric)", - "(CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)", - "tbl.relhasoids", - "s_1.null_frac", - "s_1.avg_width" - ], - "Sort Key": [ - "tbl.relname", - "tbl.oid", - "tbl.reltuples", - "tbl.relpages", - "(COALESCE(toast.relpages, 0))", - "(COALESCE(toast.reltuples, '0'::real))", - "(COALESCE(((\"substring\"(array_to_string(tbl.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 100))", - "tbl.relhasoids" - ], - "Sort Method": "quicksort", - "Sort Space Used": 163, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 1755, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 21.53, - "Total Cost": 158.65, - "Plan Rows": 68, - "Plan Width": 197, - "Actual Startup Time": 4.752, - "Actual Total Time": 33.21, - "Actual Rows": 522, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "ns.nspname", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "COALESCE(toast.relpages, 0)", - "COALESCE(toast.reltuples, '0'::real)", - "COALESCE(((\"substring\"(array_to_string(tbl.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 100)", - "(current_setting('block_size'::text))::numeric", - "CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END", - "tbl.relhasoids", - "s_1.null_frac", - "s_1.avg_width" - ], - "Inner Unique": false, - "Join Filter": "((s_1.schemaname = ns.nspname) AND (s_1.tablename = tbl.relname) AND (s_1.attname = att.attname))", - "Rows Removed by Join Filter": 190165, - "Shared Hit Blocks": 1741, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 1.64, - "Total Cost": 76.04, - "Plan Rows": 68, - "Plan Width": 262, - "Actual Startup Time": 0.083, - "Actual Total Time": 1.493, - "Actual Rows": 522, - "Actual Loops": 1, - "Output": [ - "att.attname", - "tbl.oid", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "tbl.reloptions", - "tbl.relhasoids", - "ns.nspname", - "toast.relpages", - "toast.reltuples" - ], - "Inner Unique": false, - "Shared Hit Blocks": 351, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Left", - "Startup Cost": 1.36, - "Total Cost": 32.29, - "Plan Rows": 12, - "Plan Width": 198, - "Actual Startup Time": 0.033, - "Actual Total Time": 0.576, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "tbl.reloptions", - "tbl.relhasoids", - "ns.nspname", - "toast.relpages", - "toast.reltuples" - ], - "Inner Unique": true, - "Shared Hit Blocks": 149, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 1.09, - "Total Cost": 17.68, - "Plan Rows": 12, - "Plan Width": 194, - "Actual Startup Time": 0.023, - "Actual Total Time": 0.32, - "Actual Rows": 62, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "tbl.reloptions", - "tbl.relhasoids", - "tbl.reltoastrelid", - "ns.nspname" - ], - "Inner Unique": true, - "Hash Cond": "(tbl.relnamespace = ns.oid)", - "Shared Hit Blocks": 13, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "tbl", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 134, - "Actual Startup Time": 0.005, - "Actual Total Time": 0.235, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "tbl.oid", - "tbl.relname", - "tbl.reltuples", - "tbl.relpages", - "tbl.reloptions", - "tbl.relhasoids", - "tbl.relnamespace", - "tbl.reltoastrelid" - ], - "Filter": "(tbl.relkind = 'r'::\"char\")", - "Rows Removed by Filter": 277, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 1.07, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.007, - "Actual Total Time": 0.007, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["ns.nspname", "ns.oid"], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_namespace", - "Schema": "pg_catalog", - "Alias": "ns", - "Startup Cost": 0.0, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.003, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": [ - "ns.nspname", - "ns.oid" - ], - "Filter": "(ns.nspname = 'pg_catalog'::name)", - "Rows Removed by Filter": 6, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_class_oid_index", - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "toast", - "Startup Cost": 0.27, - "Total Cost": 1.22, - "Plan Rows": 1, - "Plan Width": 12, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.003, - "Actual Rows": 0, - "Actual Loops": 62, - "Output": [ - "toast.relpages", - "toast.reltuples", - "toast.oid" - ], - "Index Cond": "(tbl.reltoastrelid = toast.oid)", - "Rows Removed by Index Recheck": 0, - "Shared Hit Blocks": 136, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_attribute_relid_attnum_index", - "Relation Name": "pg_attribute", - "Schema": "pg_catalog", - "Alias": "att", - "Startup Cost": 0.28, - "Total Cost": 3.59, - "Plan Rows": 6, - "Plan Width": 68, - "Actual Startup Time": 0.006, - "Actual Total Time": 0.013, - "Actual Rows": 8, - "Actual Loops": 62, - "Output": [ - "att.attrelid", - "att.attname", - "att.atttypid", - "att.attstattarget", - "att.attlen", - "att.attnum", - "att.attndims", - "att.attcacheoff", - "att.atttypmod", - "att.attbyval", - "att.attstorage", - "att.attalign", - "att.attnotnull", - "att.atthasdef", - "att.atthasmissing", - "att.attidentity", - "att.attisdropped", - "att.attislocal", - "att.attinhcount", - "att.attcollation", - "att.attacl", - "att.attoptions", - "att.attfdwoptions", - "att.attmissingval" - ], - "Index Cond": "((att.attrelid = tbl.oid) AND (att.attnum > 0))", - "Rows Removed by Index Recheck": 0, - "Filter": "(NOT att.attisdropped)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 202, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - }, - { - "Node Type": "Materialize", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 19.89, - "Total Cost": 79.21, - "Plan Rows": 1, - "Plan Width": 200, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.021, - "Actual Rows": 365, - "Actual Loops": 522, - "Output": [ - "s_1.null_frac", - "s_1.avg_width", - "s_1.schemaname", - "s_1.tablename", - "s_1.attname" - ], - "Shared Hit Blocks": 1390, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Subquery Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Alias": "s_1", - "Startup Cost": 19.89, - "Total Cost": 79.2, - "Plan Rows": 1, - "Plan Width": 200, - "Actual Startup Time": 0.464, - "Actual Total Time": 4.067, - "Actual Rows": 365, - "Actual Loops": 1, - "Output": [ - "s_1.null_frac", - "s_1.avg_width", - "s_1.schemaname", - "s_1.tablename", - "s_1.attname" - ], - "Shared Hit Blocks": 1390, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Subquery", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 19.89, - "Total Cost": 79.19, - "Plan Rows": 1, - "Plan Width": 401, - "Actual Startup Time": 0.459, - "Actual Total Time": 4.022, - "Actual Rows": 365, - "Actual Loops": 1, - "Output": [ - "n_1.nspname", - "c_2.relname", - "a.attname", - "NULL::boolean", - "s_2.stanullfrac", - "s_2.stawidth", - "NULL::real", - "NULL::anyarray", - "NULL::real[]", - "NULL::anyarray", - "NULL::real", - "NULL::anyarray", - "NULL::real[]", - "NULL::real[]" - ], - "Inner Unique": true, - "Join Filter": "(s_2.staattnum = a.attnum)", - "Rows Removed by Join Filter": 5375, - "Shared Hit Blocks": 1390, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 19.61, - "Total Cost": 40.66, - "Plan Rows": 33, - "Plan Width": 146, - "Actual Startup Time": 0.365, - "Actual Total Time": 0.749, - "Actual Rows": 365, - "Actual Loops": 1, - "Output": [ - "s_2.stanullfrac", - "s_2.stawidth", - "s_2.starelid", - "s_2.staattnum", - "c_2.relname", - "c_2.oid", - "n_1.nspname" - ], - "Inner Unique": false, - "Hash Cond": "(s_2.starelid = c_2.oid)", - "Shared Hit Blocks": 29, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_statistic", - "Schema": "pg_catalog", - "Alias": "s_2", - "Startup Cost": 0.0, - "Total Cost": 19.98, - "Plan Rows": 199, - "Plan Width": 14, - "Actual Startup Time": 0.011, - "Actual Total Time": 0.294, - "Actual Rows": 398, - "Actual Loops": 1, - "Output": [ - "s_2.starelid", - "s_2.staattnum", - "s_2.stainherit", - "s_2.stanullfrac", - "s_2.stawidth", - "s_2.stadistinct", - "s_2.stakind1", - "s_2.stakind2", - "s_2.stakind3", - "s_2.stakind4", - "s_2.stakind5", - "s_2.staop1", - "s_2.staop2", - "s_2.staop3", - "s_2.staop4", - "s_2.staop5", - "s_2.stanumbers1", - "s_2.stanumbers2", - "s_2.stanumbers3", - "s_2.stanumbers4", - "s_2.stanumbers5", - "s_2.stavalues1", - "s_2.stavalues2", - "s_2.stavalues3", - "s_2.stavalues4", - "s_2.stavalues5" - ], - "Filter": "(NOT s_2.stainherit)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 16, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 18.89, - "Total Cost": 18.89, - "Plan Rows": 57, - "Plan Width": 132, - "Actual Startup Time": 0.313, - "Actual Total Time": 0.313, - "Actual Rows": 237, - "Actual Loops": 1, - "Output": [ - "c_2.relname", - "c_2.oid", - "n_1.nspname" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 46, - "Shared Hit Blocks": 13, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 1.09, - "Total Cost": 18.89, - "Plan Rows": 57, - "Plan Width": 132, - "Actual Startup Time": 0.074, - "Actual Total Time": 0.216, - "Actual Rows": 237, - "Actual Loops": 1, - "Output": [ - "c_2.relname", - "c_2.oid", - "n_1.nspname" - ], - "Inner Unique": true, - "Hash Cond": "(c_2.relnamespace = n_1.oid)", - "Shared Hit Blocks": 13, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "c_2", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 342, - "Plan Width": 72, - "Actual Startup Time": 0.006, - "Actual Total Time": 0.106, - "Actual Rows": 348, - "Actual Loops": 1, - "Output": [ - "c_2.relname", - "c_2.oid", - "c_2.relnamespace" - ], - "Filter": "((NOT c_2.relrowsecurity) OR (NOT row_security_active(c_2.oid)))", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 1.07, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.018, - "Actual Total Time": 0.018, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": [ - "n_1.nspname", - "n_1.oid" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_namespace", - "Schema": "pg_catalog", - "Alias": "n_1", - "Startup Cost": 0.0, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.007, - "Actual Total Time": 0.008, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": [ - "n_1.nspname", - "n_1.oid" - ], - "Filter": "(n_1.nspname = 'pg_catalog'::name)", - "Rows Removed by Filter": 6, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_attribute_relid_attnum_index", - "Relation Name": "pg_attribute", - "Schema": "pg_catalog", - "Alias": "a", - "Startup Cost": 0.28, - "Total Cost": 1.13, - "Plan Rows": 3, - "Plan Width": 70, - "Actual Startup Time": 0.002, - "Actual Total Time": 0.008, - "Actual Rows": 16, - "Actual Loops": 365, - "Output": [ - "a.attrelid", - "a.attname", - "a.atttypid", - "a.attstattarget", - "a.attlen", - "a.attnum", - "a.attndims", - "a.attcacheoff", - "a.atttypmod", - "a.attbyval", - "a.attstorage", - "a.attalign", - "a.attnotnull", - "a.atthasdef", - "a.atthasmissing", - "a.attidentity", - "a.attisdropped", - "a.attislocal", - "a.attinhcount", - "a.attcollation", - "a.attacl", - "a.attoptions", - "a.attfdwoptions", - "a.attmissingval" - ], - "Index Cond": "(a.attrelid = c_2.oid)", - "Rows Removed by Index Recheck": 0, - "Filter": "((NOT a.attisdropped) AND has_column_privilege(c_2.oid, a.attnum, 'select'::text))", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 1361, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 183.33, - "Total Cost": 183.33, - "Plan Rows": 1, - "Plan Width": 136, - "Actual Startup Time": 190.33, - "Actual Total Time": 190.33, - "Actual Rows": 36, - "Actual Loops": 1, - "Output": [ - "(sum((CASE WHEN ((q.relpages)::double precision > COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision)) THEN ((((current_setting('block_size'::text))::numeric))::double precision * ((q.relpages)::double precision - COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision))) ELSE '0'::double precision END)))", - "q.nspname", - "q.tblname" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 14, - "Shared Hit Blocks": 215652, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Sorted", - "Partial Mode": "Simple", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 181.95, - "Total Cost": 183.32, - "Plan Rows": 1, - "Plan Width": 136, - "Actual Startup Time": 190.008, - "Actual Total Time": 190.312, - "Actual Rows": 36, - "Actual Loops": 1, - "Output": [ - "sum((CASE WHEN ((q.relpages)::double precision > COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision)) THEN ((((current_setting('block_size'::text))::numeric))::double precision * ((q.relpages)::double precision - COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision))) ELSE '0'::double precision END))", - "q.nspname", - "q.tblname" - ], - "Group Key": ["q.nspname", "q.tblname"], - "Shared Hit Blocks": 215652, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 181.95, - "Total Cost": 183.3, - "Plan Rows": 1, - "Plan Width": 349, - "Actual Startup Time": 189.991, - "Actual Total Time": 190.29, - "Actual Rows": 47, - "Actual Loops": 1, - "Output": [ - "NULL::name", - "q.nspname", - "q.tblname", - "q.idxname", - "NULL::numeric", - "NULL::numeric", - "NULL::double precision", - "NULL::integer", - "CASE WHEN ((q.relpages)::double precision > COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision)) THEN ((((current_setting('block_size'::text))::numeric))::double precision * ((q.relpages)::double precision - COALESCE(('1'::double precision + ceil((q.reltuples / floor((((((((current_setting('block_size'::text))::numeric) - ((16))::numeric) - ((24))::numeric) * (q.fillfactor)::numeric))::double precision / ('100'::double precision * (('4'::numeric + ((((((((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) + (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) - CASE WHEN (((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE ((CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END) % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END))::double precision + (sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision)))) + ((CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END))::double precision) - (CASE WHEN ((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))) = '0'::double precision) THEN 0 WHEN ((((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) = 0) THEN (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END) ELSE (((sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))))::integer % (CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END)) END)::double precision))::numeric))::double precision)))))), '0'::double precision))) ELSE '0'::double precision END", - "NULL::double precision", - "NULL::boolean" - ], - "Inner Unique": true, - "Join Filter": "(q.relam = am.oid)", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 215652, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Sorted", - "Partial Mode": "Simple", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 181.95, - "Total Cost": 182.02, - "Plan Rows": 1, - "Plan Width": 269, - "Actual Startup Time": 189.969, - "Actual Total Time": 190.143, - "Actual Rows": 47, - "Actual Loops": 1, - "Output": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "((current_setting('block_size'::text))::numeric)", - "q.fillfactor", - "CASE WHEN ((version() ~ 'mingw32'::text) OR (version() ~ '64-bit|x86_64|ppc64|ia64|amd64'::text)) THEN 8 ELSE 4 END", - "24", - "16", - "CASE WHEN (max(COALESCE(s_3.stanullfrac, '0'::real)) = '0'::double precision) THEN 2 ELSE 6 END", - "sum((('1'::double precision - COALESCE(s_3.stanullfrac, '0'::real)) * (COALESCE(s_3.stawidth, 1024))::double precision))", - "NULL::boolean" - ], - "Group Key": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "((current_setting('block_size'::text))::numeric)", - "q.fillfactor" - ], - "Shared Hit Blocks": 215605, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Sort", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 181.95, - "Total Cost": 181.95, - "Plan Rows": 1, - "Plan Width": 252, - "Actual Startup Time": 189.921, - "Actual Total Time": 189.926, - "Actual Rows": 100, - "Actual Loops": 1, - "Output": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "((current_setting('block_size'::text))::numeric)", - "q.fillfactor", - "s_3.stanullfrac", - "s_3.stawidth" - ], - "Sort Key": [ - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "q.fillfactor" - ], - "Sort Method": "quicksort", - "Sort Space Used": 51, - "Sort Space Type": "Memory", - "Shared Hit Blocks": 215605, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 93.79, - "Total Cost": 181.94, - "Plan Rows": 1, - "Plan Width": 252, - "Actual Startup Time": 2.371, - "Actual Total Time": 189.594, - "Actual Rows": 100, - "Actual Loops": 1, - "Output": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "(current_setting('block_size'::text))::numeric", - "q.fillfactor", - "s_3.stanullfrac", - "s_3.stawidth" - ], - "Inner Unique": true, - "Shared Hit Blocks": 215605, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 93.65, - "Total Cost": 177.74, - "Plan Rows": 1, - "Plan Width": 224, - "Actual Startup Time": 2.26, - "Actual Total Time": 188.458, - "Actual Rows": 100, - "Actual Loops": 1, - "Output": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "q.attrelid", - "q.fillfactor", - "q.atttypid", - "s_3.stanullfrac", - "s_3.stawidth" - ], - "Inner Unique": false, - "Join Filter": "(((c_3.relname = q.tblname) AND ((a_1.attname)::text = pg_get_indexdef(q.attrelid, (q.attnum)::integer, true))) OR ((c_3.relname = q.idxname) AND (a_1.attname = q.attname)))", - "Rows Removed by Join Filter": 70345, - "Shared Hit Blocks": 215504, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "CTE Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "CTE Name": "q", - "Alias": "q", - "Startup Cost": 73.76, - "Total Cost": 76.03, - "Plan Rows": 1, - "Plan Width": 453, - "Actual Startup Time": 0.663, - "Actual Total Time": 4.145, - "Actual Rows": 193, - "Actual Loops": 1, - "Output": [ - "q.nspname", - "q.tblname", - "q.idxname", - "q.reltuples", - "q.relpages", - "q.relam", - "NULL::oid", - "NULL::oid", - "q.fillfactor", - "q.attrelid", - "q.attname", - "q.atttypid", - "NULL::integer", - "NULL::smallint", - "q.attnum", - "NULL::integer", - "NULL::integer", - "NULL::integer", - "NULL::boolean", - "NULL::\"char\"", - "NULL::\"char\"", - "NULL::boolean", - "NULL::boolean", - "NULL::boolean", - "NULL::\"char\"", - "NULL::boolean", - "NULL::boolean", - "NULL::integer", - "NULL::oid", - "NULL::aclitem[]", - "NULL::text[]", - "NULL::text[]", - "NULL::anyarray" - ], - "Filter": "(q.nspname = 'pg_catalog'::name)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 380, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Nested Loop", - "Parent Relationship": "InitPlan", - "Subplan Name": "CTE q", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 25.29, - "Total Cost": 73.76, - "Plan Rows": 101, - "Plan Width": 454, - "Actual Startup Time": 0.643, - "Actual Total Time": 2.855, - "Actual Rows": 193, - "Actual Loops": 1, - "Output": [ - "pg_namespace.nspname", - "tbl_1.relname", - "idx.relname", - "idx.reltuples", - "idx.relpages", - "idx.relam", - "pg_index.indrelid", - "pg_index.indexrelid", - "COALESCE(((\"substring\"(array_to_string(idx.reloptions, ' '::text), 'fillfactor=([0-9]+)'::text))::smallint)::integer, 90)", - "a_2.attrelid", - "a_2.attname", - "a_2.atttypid", - "a_2.attstattarget", - "a_2.attlen", - "a_2.attnum", - "a_2.attndims", - "a_2.attcacheoff", - "a_2.atttypmod", - "a_2.attbyval", - "a_2.attstorage", - "a_2.attalign", - "a_2.attnotnull", - "a_2.atthasdef", - "a_2.atthasmissing", - "a_2.attidentity", - "a_2.attisdropped", - "a_2.attislocal", - "a_2.attinhcount", - "a_2.attcollation", - "a_2.attacl", - "a_2.attoptions", - "a_2.attfdwoptions", - "a_2.attmissingval" - ], - "Inner Unique": false, - "Join Filter": "(idx.oid = a_2.attrelid)", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 380, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 25.01, - "Total Cost": 42.13, - "Plan Rows": 17, - "Plan Width": 265, - "Actual Startup Time": 0.604, - "Actual Total Time": 1.613, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": [ - "pg_index.indrelid", - "pg_index.indexrelid", - "idx.relname", - "idx.reltuples", - "idx.relpages", - "idx.relam", - "idx.reloptions", - "idx.oid", - "tbl_1.relname", - "pg_namespace.nspname" - ], - "Inner Unique": true, - "Hash Cond": "(idx.relnamespace = pg_namespace.oid)", - "Shared Hit Blocks": 29, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 23.87, - "Total Cost": 40.92, - "Plan Rows": 17, - "Plan Width": 205, - "Actual Startup Time": 0.534, - "Actual Total Time": 1.282, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": [ - "pg_index.indrelid", - "pg_index.indexrelid", - "idx.relname", - "idx.reltuples", - "idx.relpages", - "idx.relam", - "idx.reloptions", - "idx.oid", - "idx.relnamespace", - "tbl_1.relname" - ], - "Inner Unique": false, - "Hash Cond": "(idx.oid = pg_index.indexrelid)", - "Shared Hit Blocks": 28, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "idx", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 161, - "Plan Width": 133, - "Actual Startup Time": 0.013, - "Actual Total Time": 0.407, - "Actual Rows": 182, - "Actual Loops": 1, - "Output": [ - "idx.relname", - "idx.reltuples", - "idx.relpages", - "idx.relam", - "idx.reloptions", - "idx.oid", - "idx.relnamespace" - ], - "Filter": "(idx.relpages > 0)", - "Rows Removed by Filter": 166, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 23.42, - "Total Cost": 23.42, - "Plan Rows": 36, - "Plan Width": 72, - "Actual Startup Time": 0.441, - "Actual Total Time": 0.442, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": [ - "pg_index.indrelid", - "pg_index.indexrelid", - "tbl_1.relname" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 20, - "Shared Hit Blocks": 16, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 17.14, - "Total Cost": 23.42, - "Plan Rows": 36, - "Plan Width": 72, - "Actual Startup Time": 0.266, - "Actual Total Time": 0.378, - "Actual Rows": 116, - "Actual Loops": 1, - "Output": [ - "pg_index.indrelid", - "pg_index.indexrelid", - "tbl_1.relname" - ], - "Inner Unique": true, - "Hash Cond": "(pg_index.indrelid = tbl_1.oid)", - "Shared Hit Blocks": 16, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_index", - "Schema": "pg_catalog", - "Alias": "pg_index", - "Startup Cost": 0.0, - "Total Cost": 5.8, - "Plan Rows": 180, - "Plan Width": 8, - "Actual Startup Time": 0.003, - "Actual Total Time": 0.073, - "Actual Rows": 137, - "Actual Loops": 1, - "Output": [ - "pg_index.indexrelid", - "pg_index.indrelid", - "pg_index.indnatts", - "pg_index.indnkeyatts", - "pg_index.indisunique", - "pg_index.indisprimary", - "pg_index.indisexclusion", - "pg_index.indimmediate", - "pg_index.indisclustered", - "pg_index.indisvalid", - "pg_index.indcheckxmin", - "pg_index.indisready", - "pg_index.indislive", - "pg_index.indisreplident", - "pg_index.indkey", - "pg_index.indcollation", - "pg_index.indclass", - "pg_index.indoption", - "pg_index.indexprs", - "pg_index.indpred" - ], - "Filter": "pg_index.indisvalid", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 4, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 16.27, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 68, - "Actual Startup Time": 0.229, - "Actual Total Time": 0.229, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "tbl_1.relname", - "tbl_1.oid" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 15, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "tbl_1", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 69, - "Plan Width": 68, - "Actual Startup Time": 0.01, - "Actual Total Time": 0.182, - "Actual Rows": 71, - "Actual Loops": 1, - "Output": [ - "tbl_1.relname", - "tbl_1.oid" - ], - "Filter": "(tbl_1.relkind = 'r'::\"char\")", - "Rows Removed by Filter": 277, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 1.06, - "Total Cost": 1.06, - "Plan Rows": 6, - "Plan Width": 68, - "Actual Startup Time": 0.037, - "Actual Total Time": 0.037, - "Actual Rows": 7, - "Actual Loops": 1, - "Output": [ - "pg_namespace.nspname", - "pg_namespace.oid" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_namespace", - "Schema": "pg_catalog", - "Alias": "pg_namespace", - "Startup Cost": 0.0, - "Total Cost": 1.06, - "Plan Rows": 6, - "Plan Width": 68, - "Actual Startup Time": 0.022, - "Actual Total Time": 0.024, - "Actual Rows": 7, - "Actual Loops": 1, - "Output": [ - "pg_namespace.nspname", - "pg_namespace.oid" - ], - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_attribute_relid_attnum_index", - "Relation Name": "pg_attribute", - "Schema": "pg_catalog", - "Alias": "a_2", - "Startup Cost": 0.28, - "Total Cost": 1.71, - "Plan Rows": 6, - "Plan Width": 238, - "Actual Startup Time": 0.004, - "Actual Total Time": 0.005, - "Actual Rows": 2, - "Actual Loops": 116, - "Output": [ - "a_2.attrelid", - "a_2.attname", - "a_2.atttypid", - "a_2.attstattarget", - "a_2.attlen", - "a_2.attnum", - "a_2.attndims", - "a_2.attcacheoff", - "a_2.atttypmod", - "a_2.attbyval", - "a_2.attstorage", - "a_2.attalign", - "a_2.attnotnull", - "a_2.atthasdef", - "a_2.atthasmissing", - "a_2.attidentity", - "a_2.attisdropped", - "a_2.attislocal", - "a_2.attinhcount", - "a_2.attcollation", - "a_2.attacl", - "a_2.attoptions", - "a_2.attfdwoptions", - "a_2.attmissingval" - ], - "Index Cond": "((a_2.attrelid = pg_index.indexrelid) AND (a_2.attnum > 0))", - "Rows Removed by Index Recheck": 0, - "Shared Hit Blocks": 351, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - { - "Node Type": "Nested Loop", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 19.89, - "Total Cost": 101.67, - "Plan Rows": 1, - "Plan Width": 401, - "Actual Startup Time": 0.008, - "Actual Total Time": 0.857, - "Actual Rows": 365, - "Actual Loops": 193, - "Output": [ - "n_2.nspname", - "c_3.relname", - "a_1.attname", - "NULL::boolean", - "s_3.stanullfrac", - "s_3.stawidth", - "NULL::real", - "NULL::anyarray", - "NULL::real[]", - "NULL::anyarray", - "NULL::real", - "NULL::anyarray", - "NULL::real[]", - "NULL::real[]" - ], - "Inner Unique": true, - "Join Filter": "(has_column_privilege(c_3.oid, a_1.attnum, 'select'::text) AND (c_3.oid = a_1.attrelid))", - "Rows Removed by Join Filter": 0, - "Shared Hit Blocks": 214436, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 19.61, - "Total Cost": 41.74, - "Plan Rows": 66, - "Plan Width": 146, - "Actual Startup Time": 0.004, - "Actual Total Time": 0.157, - "Actual Rows": 365, - "Actual Loops": 193, - "Output": [ - "s_3.stanullfrac", - "s_3.stawidth", - "s_3.starelid", - "s_3.staattnum", - "c_3.relname", - "c_3.oid", - "n_2.nspname" - ], - "Inner Unique": false, - "Hash Cond": "(s_3.starelid = c_3.oid)", - "Shared Hit Blocks": 3101, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_statistic", - "Schema": "pg_catalog", - "Alias": "s_3", - "Startup Cost": 0.0, - "Total Cost": 19.98, - "Plan Rows": 398, - "Plan Width": 14, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.035, - "Actual Rows": 398, - "Actual Loops": 193, - "Output": [ - "s_3.starelid", - "s_3.staattnum", - "s_3.stainherit", - "s_3.stanullfrac", - "s_3.stawidth", - "s_3.stadistinct", - "s_3.stakind1", - "s_3.stakind2", - "s_3.stakind3", - "s_3.stakind4", - "s_3.stakind5", - "s_3.staop1", - "s_3.staop2", - "s_3.staop3", - "s_3.staop4", - "s_3.staop5", - "s_3.stanumbers1", - "s_3.stanumbers2", - "s_3.stanumbers3", - "s_3.stanumbers4", - "s_3.stanumbers5", - "s_3.stavalues1", - "s_3.stavalues2", - "s_3.stavalues3", - "s_3.stavalues4", - "s_3.stavalues5" - ], - "Shared Hit Blocks": 3088, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 18.89, - "Total Cost": 18.89, - "Plan Rows": 57, - "Plan Width": 132, - "Actual Startup Time": 0.476, - "Actual Total Time": 0.476, - "Actual Rows": 237, - "Actual Loops": 1, - "Output": [ - "c_3.relname", - "c_3.oid", - "n_2.nspname" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 46, - "Shared Hit Blocks": 13, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Hash Join", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Join Type": "Inner", - "Startup Cost": 1.09, - "Total Cost": 18.89, - "Plan Rows": 57, - "Plan Width": 132, - "Actual Startup Time": 0.098, - "Actual Total Time": 0.355, - "Actual Rows": 237, - "Actual Loops": 1, - "Output": [ - "c_3.relname", - "c_3.oid", - "n_2.nspname" - ], - "Inner Unique": true, - "Hash Cond": "(c_3.relnamespace = n_2.oid)", - "Shared Hit Blocks": 13, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_class", - "Schema": "pg_catalog", - "Alias": "c_3", - "Startup Cost": 0.0, - "Total Cost": 16.27, - "Plan Rows": 342, - "Plan Width": 72, - "Actual Startup Time": 0.012, - "Actual Total Time": 0.206, - "Actual Rows": 348, - "Actual Loops": 1, - "Output": [ - "c_3.relname", - "c_3.oid", - "c_3.relnamespace" - ], - "Filter": "((NOT c_3.relrowsecurity) OR (NOT row_security_active(c_3.oid)))", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 12, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - }, - { - "Node Type": "Hash", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Startup Cost": 1.07, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.027, - "Actual Total Time": 0.027, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": [ - "n_2.nspname", - "n_2.oid" - ], - "Hash Buckets": 1024, - "Original Hash Buckets": 1024, - "Hash Batches": 1, - "Original Hash Batches": 1, - "Peak Memory Usage": 9, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0, - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Relation Name": "pg_namespace", - "Schema": "pg_catalog", - "Alias": "n_2", - "Startup Cost": 0.0, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 68, - "Actual Startup Time": 0.021, - "Actual Total Time": 0.022, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": [ - "n_2.nspname", - "n_2.oid" - ], - "Filter": "(n_2.nspname = 'pg_catalog'::name)", - "Rows Removed by Filter": 6, - "Shared Hit Blocks": 1, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "Node Type": "Index Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_attribute_relid_attnum_index", - "Relation Name": "pg_attribute", - "Schema": "pg_catalog", - "Alias": "a_1", - "Startup Cost": 0.28, - "Total Cost": 0.89, - "Plan Rows": 1, - "Plan Width": 70, - "Actual Startup Time": 0.001, - "Actual Total Time": 0.001, - "Actual Rows": 1, - "Actual Loops": 70445, - "Output": [ - "a_1.attrelid", - "a_1.attname", - "a_1.atttypid", - "a_1.attstattarget", - "a_1.attlen", - "a_1.attnum", - "a_1.attndims", - "a_1.attcacheoff", - "a_1.atttypmod", - "a_1.attbyval", - "a_1.attstorage", - "a_1.attalign", - "a_1.attnotnull", - "a_1.atthasdef", - "a_1.atthasmissing", - "a_1.attidentity", - "a_1.attisdropped", - "a_1.attislocal", - "a_1.attinhcount", - "a_1.attcollation", - "a_1.attacl", - "a_1.attoptions", - "a_1.attfdwoptions", - "a_1.attmissingval" - ], - "Index Cond": "((a_1.attrelid = s_3.starelid) AND (a_1.attnum = s_3.staattnum))", - "Rows Removed by Index Recheck": 0, - "Filter": "(NOT a_1.attisdropped)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 211335, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - }, - { - "Node Type": "Index Only Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Scan Direction": "Forward", - "Index Name": "pg_type_oid_index", - "Relation Name": "pg_type", - "Schema": "pg_catalog", - "Alias": "t", - "Startup Cost": 0.15, - "Total Cost": 4.17, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.005, - "Actual Total Time": 0.005, - "Actual Rows": 1, - "Actual Loops": 100, - "Output": ["t.oid"], - "Index Cond": "(t.oid = q.atttypid)", - "Rows Removed by Index Recheck": 0, - "Heap Fetches": 0, - "Shared Hit Blocks": 101, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - }, - { - "Node Type": "Seq Scan", - "Parent Relationship": "Inner", - "Parallel Aware": false, - "Relation Name": "pg_am", - "Schema": "pg_catalog", - "Alias": "am", - "Startup Cost": 0.0, - "Total Cost": 1.07, - "Plan Rows": 1, - "Plan Width": 4, - "Actual Startup Time": 0.0, - "Actual Total Time": 0.0, - "Actual Rows": 1, - "Actual Loops": 47, - "Output": ["am.oid"], - "Filter": "(am.amname = 'btree'::name)", - "Rows Removed by Filter": 0, - "Shared Hit Blocks": 47, - "Shared Read Blocks": 0, - "Shared Dirtied Blocks": 0, - "Shared Written Blocks": 0, - "Local Hit Blocks": 0, - "Local Read Blocks": 0, - "Local Dirtied Blocks": 0, - "Local Written Blocks": 0, - "Temp Read Blocks": 0, - "Temp Written Blocks": 0 - } - ] - } - ] - } - ] - } - ] - } -} -`,w0=` Merge on public.tb (cost=262602.88..306621.45 rows=0 width=0) (actual time=7798.118..7798.122 rows=0 loops=1) - Tuples: inserted=9995 updated=9679 deleted=326 - Buffers: shared hit=7731564 read=22226 dirtied=27295 written=38115, temp read=9593 written=27592 - I/O Timings: shared read=22.960 write=186.426, temp read=17.017 write=119.861 - WAL: records=5049414 fpi=5192 bytes=416135793 - CTE tbl - -> Insert on pg_temp.tblog (cost=8704.82..8705.65 rows=0 width=0) (actual time=509.761..509.761 rows=0 loops=1) - Buffers: shared hit=3 read=5448 written=5276, local hit=494411 dirtied=2644 written=4269, temp read=1559 written=1568 - I/O Timings: shared read=10.578 write=13.760, local write=54.430, temp read=2.942 write=6.888 - -> Sort (cost=8704.82..8705.65 rows=333 width=12) (actual time=286.491..347.529 rows=489127 loops=1) - Output: tb_1.i, tb_1.x - Sort Key: tb_1.x - Sort Method: external merge Disk: 12472kB - Buffers: shared hit=3 read=5448 written=5276, temp read=1559 written=1568 - I/O Timings: shared read=10.578 write=13.760, temp read=2.942 write=6.888 - -> Bitmap Heap Scan on public.tb tb_1 (cost=180.48..8690.86 rows=333 width=12) (actual time=30.582..122.685 rows=489127 loops=1) - Output: tb_1.i, tb_1.x - Recheck Cond: ((tb_1.i >= 4000000) AND (tb_1.i <= 5000000)) - Filter: ((mod(tb_1.i, 99) > 0) AND (mod(tb_1.i, 98) > 0) AND (mod(tb_1.i, 98) > 0) AND ((tb_1.i + 1) > 0)) - Rows Removed by Filter: 10068 - Heap Blocks: exact=3181 - Buffers: shared hit=3 read=5448 written=5276 - I/O Timings: shared read=10.578 write=13.760 - -> Bitmap Index Scan on tb_pkey (cost=0.00..180.40 rows=8997 width=0) (actual time=30.251..30.251 rows=499195 loops=1) - Index Cond: ((tb_1.i >= 4000000) AND (tb_1.i <= 5000000)) - Buffers: shared hit=2 read=2268 written=2181 - I/O Timings: shared read=4.315 write=5.384 - CTE tabb - -> Update on public.ta (cost=96.13..93079.47 rows=1667044 width=18) (actual time=11.270..6418.935 rows=2499947 loops=1) - Output: ta_1.i, ta_1.x, ta_1.filler - Update on public.ta1 ta_1 - Update on public.ta2 ta_2 - Buffers: shared hit=7542762 read=22126 dirtied=26988 written=37604 - I/O Timings: shared read=22.722 write=184.053 - WAL: records=4999894 fpi=5162 bytes=412139886 - InitPlan 3 - -> Result (cost=96.12..96.13 rows=1 width=4) (actual time=0.052..0.053 rows=1 loops=1) - Output: ((InitPlan 2).col1 / 2) - Buffers: shared hit=2 read=2 - I/O Timings: shared read=0.007 - InitPlan 2 - -> Limit (cost=0.43..96.12 rows=1 width=4) (actual time=0.048..0.048 rows=1 loops=1) - Output: tb_2.i - Buffers: shared hit=2 read=2 - I/O Timings: shared read=0.007 - -> Index Only Scan Backward using tb_pkey on public.tb tb_2 (cost=0.43..95690.29 rows=1000 width=4) (actual time=0.045..0.045 rows=1 loops=1) - Output: tb_2.i - Filter: (((tb_2.i + 1) > 0) AND ((tb_2.i + 2) > 0) AND (mod(tb_2.i, 99) = 0)) - Rows Removed by Filter: 38 - Heap Fetches: 39 - Buffers: shared hit=2 read=2 - I/O Timings: shared read=0.007 - -> Append (cost=0.00..92983.35 rows=1667044 width=18) (actual time=0.078..650.328 rows=2499947 loops=1) - Buffers: shared hit=2 read=22126 written=8891 - I/O Timings: shared read=22.722 write=25.883 - -> Seq Scan on public.ta1 ta_1 (cost=0.00..84624.00 rows=1666667 width=18) (actual time=0.016..486.444 rows=2499947 loops=1) - Output: '2'::double precision, ta_1.tableoid, ta_1.ctid - Filter: (ta_1.i < (InitPlan 3).col1) - Rows Removed by Filter: 2500053 - Buffers: shared read=22124 written=8891 - I/O Timings: shared read=22.715 write=25.883 - -> Seq Scan on public.ta2 ta_2 (cost=0.00..24.12 rows=377 width=18) (never executed) - Output: '2'::double precision, ta_2.tableoid, ta_2.ctid - Filter: (ta_2.i < (InitPlan 3).col1) - CTE tab - -> Limit (cost=160767.33..160817.33 rows=20000 width=44) (actual time=7700.673..7704.219 rows=20000 loops=1) - Output: tabb.i, tabb.x, tabb.filler - Buffers: shared hit=7542762 read=22126 dirtied=26988 written=37604, temp read=9593 written=27592 - I/O Timings: shared read=22.722 write=184.053, temp read=17.017 write=119.861 - WAL: records=4999894 fpi=5162 bytes=412139886 - -> Sort (cost=160767.33..164934.94 rows=1667044 width=44) (actual time=7563.572..7565.984 rows=20000 loops=1) - Output: tabb.i, tabb.x, tabb.filler - Sort Key: tabb.x - Sort Method: external merge Disk: 73440kB - Buffers: shared hit=7542762 read=22126 dirtied=26988 written=37604, temp read=9593 written=27592 - I/O Timings: shared read=22.722 write=184.053, temp read=17.017 write=119.861 - WAL: records=4999894 fpi=5162 bytes=412139886 - -> CTE Scan on tabb (cost=0.00..33340.88 rows=1667044 width=44) (actual time=11.274..7104.296 rows=2499947 loops=1) - Output: tabb.i, tabb.x, tabb.filler - Buffers: shared hit=7542762 read=22126 dirtied=26988 written=37604, temp written=9155 - I/O Timings: shared read=22.722 write=184.053, temp write=58.774 - WAL: records=4999894 fpi=5162 bytes=412139886 - -> Nested Loop Left Join (cost=0.43..44019.00 rows=20000 width=102) (actual time=7700.749..7733.331 rows=20000 loops=1) - Output: tb.ctid, tab.i, tab.filler, tab.* - Inner Unique: true - Buffers: shared hit=7612704 read=22189 dirtied=26988 written=37663, temp read=9593 written=27592 - I/O Timings: shared read=22.871 write=184.243, temp read=17.017 write=119.861 - WAL: records=4999894 fpi=5162 bytes=412139886 - -> CTE Scan on tab (cost=0.00..400.00 rows=20000 width=96) (actual time=7700.708..7709.042 rows=20000 loops=1) - Output: tab.i, tab.filler, tab.* - Buffers: shared hit=7542762 read=22126 dirtied=26988 written=37604, temp read=9593 written=27592 - I/O Timings: shared read=22.722 write=184.053, temp read=17.017 write=119.861 - WAL: records=4999894 fpi=5162 bytes=412139886 - -> Index Scan using tb_pkey on public.tb (cost=0.43..2.18 rows=1 width=10) (actual time=0.001..0.001 rows=1 loops=20000) - Output: tb.ctid, tb.i - Index Cond: (tb.i = tab.i) - Buffers: shared hit=69942 read=63 written=59 - I/O Timings: shared read=0.149 write=0.190 - Settings: work_mem = '3MB', random_page_cost = '1.5', parallel_tuple_cost = '0', jit_above_cost = '0', jit_inline_above_cost = '0', jit_optimize_above_cost = '0' - Planning: - Buffers: shared hit=26 read=1 - I/O Timings: shared read=0.003 - Memory: used=165kB allocated=264kB - Planning Time: 0.289 ms - Trigger RI_ConstraintTrigger_a_18153 for constraint tc1_fkey on tb: time=4399.335 calls=326 - Trigger RI_ConstraintTrigger_a_18161 for constraint tc2_fkey on tc1: time=6000.010 calls=326 - JIT: - Functions: 31 - Options: Inlining true, Optimization true, Expressions true, Deforming true - Timing: Generation 1.340 ms (Deform 0.303 ms), Inlining 9.145 ms, Optimization 82.044 ms, Emission 57.043 ms, Total 149.572 ms - Serialization: time=0.000 ms output=0kB format=text - Execution Time: 18733.542 ms -(112 lignes) -`,g0=`EXPLAIN (ANALYZE,BUFFERS,VERBOSE,SETTINGS,WAL,SERIALIZE,MEMORY,FORMAT TEXT) -WITH -tBl AS ( INSERT INTO tBlog SELECT i,x FROM tB - WHERE i BETWEEN 4000000 AND 5000000 - AND mod(i,99)>0 AND mod(i,98)>0 AND mod(i,98)>0 and i+1>0 /* force bitmap index */ - ORDER BY x), -tAbb AS ( UPDATE tA SET x=2 WHERE i < ( - SELECT max(i)/2 FROM tB WHERE mod(i,99)=0 AND i+1>0 AND i+2>0 /* for bad stats */ - ) - RETURNING * ), -tAb AS MATERIALIZED ( SELECT * FROM tAbb ORDER BY x LIMIT 20000) -MERGE INTO tB -USING tAb ON (tB.i=tAb.i) -WHEN NOT MATCHED THEN - INSERT VALUES (tAb.i, 0.0, '000') -WHEN MATCHED AND tB.x > 0.97 THEN - DELETE /* will raise the ON DELETE trigger (very costly) */ -WHEN MATCHED THEN - UPDATE SET filler=tAb.filler -; -`,A0=`[ - { - "Plan": { - "Node Type": "Aggregate", - "Strategy": "Plain", - "Partial Mode": "Finalize", - "Parallel Aware": false, - "Startup Cost": 144975.01, - "Total Cost": 144975.02, - "Plan Rows": 1, - "Plan Width": 32, - "Actual Startup Time": 484.97, - "Actual Total Time": 484.97, - "Actual Rows": 1, - "Actual Loops": 1, - "Output": ["sum(l_quantity)"], - "Plans": [ - { - "Node Type": "Gather", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 144974.57, - "Total Cost": 144974.98, - "Plan Rows": 4, - "Plan Width": 32, - "Actual Startup Time": 484.868, - "Actual Total Time": 486.428, - "Actual Rows": 3, - "Actual Loops": 1, - "Output": ["(PARTIAL sum(l_quantity))"], - "Workers Planned": 4, - "Workers Launched": 2, - "Single Copy": false, - "Plans": [ - { - "Node Type": "Aggregate", - "Strategy": "Plain", - "Partial Mode": "Partial", - "Parent Relationship": "Outer", - "Parallel Aware": false, - "Startup Cost": 143974.57, - "Total Cost": 143974.58, - "Plan Rows": 1, - "Plan Width": 32, - "Actual Startup Time": 482.39, - "Actual Total Time": 482.39, - "Actual Rows": 1, - "Actual Loops": 3, - "Output": ["PARTIAL sum(l_quantity)"], - "Workers": [ - { - "Worker Number": 0, - "Actual Startup Time": 481.485, - "Actual Total Time": 481.485, - "Actual Rows": 1, - "Actual Loops": 1 - }, - { - "Worker Number": 1, - "Actual Startup Time": 481.56, - "Actual Total Time": 481.56, - "Actual Rows": 1, - "Actual Loops": 1 - } - ], - "Plans": [ - { - "Node Type": "Seq Scan", - "Parent Relationship": "Outer", - "Parallel Aware": true, - "Relation Name": "lineitem", - "Schema": "public", - "Alias": "lineitem", - "Startup Cost": 0.0, - "Total Cost": 140298.89, - "Plan Rows": 1470273, - "Plan Width": 5, - "Actual Startup Time": 0.652, - "Actual Total Time": 344.447, - "Actual Rows": 1962085, - "Actual Loops": 3, - "Output": [ - "l_orderkey", - "l_partkey", - "l_suppkey", - "l_linenumber", - "l_quantity", - "l_extendedprice", - "l_discount", - "l_tax", - "l_returnflag", - "l_linestatus", - "l_shipdate", - "l_commitdate", - "l_receiptdate", - "l_shipinstruct", - "l_shipmode", - "l_comment" - ], - "Filter": "(lineitem.l_shipdate <= '1998-08-18 00:00:00'::timestamp without time zone)", - "Rows Removed by Filter": 38320, - "Workers": [ - { - "Worker Number": 0, - "Actual Startup Time": 0.414, - "Actual Total Time": 344.435, - "Actual Rows": 1962858, - "Actual Loops": 1 - }, - { - "Worker Number": 1, - "Actual Startup Time": 0.441, - "Actual Total Time": 344.431, - "Actual Rows": 1971199, - "Actual Loops": 1 - } - ] - } - ] - } - ] - } - ] - }, - "Planning Time": 0.591, - "Triggers": [], - "Execution Time": 486.495 - } -]`,L0=`select - l_shipmode, - sum(case - when o_orderpriority = '1-URGENT' - or o_orderpriority = '2-HIGH' - then 1 - else 0 - end) as high_line_count, - sum(case - when o_orderpriority <> '1-URGENT' - and o_orderpriority <> '2-HIGH' - then 1 - else 0 - end) as low_line_count -from - orders, - lineitem -where - o_orderkey = l_orderkey - and l_shipmode in ('MAIL', 'AIR') - and l_commitdate < l_receiptdate - and l_shipdate < l_commitdate - and l_receiptdate >= date '1996-01-01' - and l_receiptdate < date '1996-01-01' + interval '1' year -group by - l_shipmode -order by - l_shipmode -LIMIT 1; -`,y0=` Limit (cost=1964755.66..1964961.44 rows=1 width=27) (actual time=7579.592..7922.997 rows=1 loops=1) - -> Finalize GroupAggregate (cost=1964755.66..1966196.11 rows=7 width=27) (actual time=7579.590..7579.591 rows=1 loops=1) - Group Key: lineitem.l_shipmode - -> Gather Merge (cost=1964755.66..1966195.83 rows=28 width=27) (actual time=7559.593..7922.319 rows=6 loops=1) - Workers Planned: 4 - Workers Launched: 4 - -> Partial GroupAggregate (cost=1963755.61..1965192.44 rows=7 width=27) (actual time=7548.103..7564.592 rows=2 loops=5) - Group Key: lineitem.l_shipmode - -> Sort (cost=1963755.61..1963935.20 rows=71838 width=27) (actual time=7530.280..7539.688 rows=62519 loops=5) - Sort Key: lineitem.l_shipmode - Sort Method: external merge Disk: 2304kB - Worker 0: Sort Method: external merge Disk: 2064kB - Worker 1: Sort Method: external merge Disk: 2384kB - Worker 2: Sort Method: external merge Disk: 2264kB - Worker 3: Sort Method: external merge Disk: 2336kB - -> Parallel Hash Join (cost=382571.01..1957960.99 rows=71838 width=27) (actual time=7036.917..7499.692 rows=62519 loops=5) - Hash Cond: (lineitem.l_orderkey = orders.o_orderkey) - -> Parallel Seq Scan on lineitem (cost=0.00..1552386.40 rows=71838 width=19) (actual time=0.583..4901.063 rows=62519 loops=5) - Filter: ((l_shipmode = ANY ('{MAIL,AIR}'::bpchar[])) AND (l_commitdate < l_receiptdate) AND (l_shipdate < l_commitdate) AND (l_receiptdate >= '1996-01-01'::date) AND (l_receiptdate < '1997-01-01 00:00:00'::timestamp without time zone)) - Rows Removed by Filter: 11934691 - -> Parallel Hash (cost=313722.45..313722.45 rows=3750045 width=20) (actual time=2011.518..2011.518 rows=3000000 loops=5) - Buckets: 65536 Batches: 256 Memory Usage: 3840kB - -> Parallel Seq Scan on orders (cost=0.00..313722.45 rows=3750045 width=20) (actual time=0.029..995.948 rows=3000000 loops=5) - Planning Time: 0.977 ms - Execution Time: 7923.770 ms`,b0=` QUERY PLAN --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Delete on emailmessages (cost=224.85..38989.92 rows=5000 width=34) (actual time=217158.570..217158.570 rows=0 loops=1) - Buffers: shared hit=2579331 read=506594 dirtied=503671 - -> Nested Loop (cost=224.85..38989.92 rows=5000 width=34) (actual time=7.105..4576.019 rows=5000 loops=1) - Buffers: shared hit=20223 read=395 - -> HashAggregate (cost=224.42..274.42 rows=5000 width=32) (actual time=7.072..23.891 rows=5000 loops=1) - Group Key: "ANY_subquery".emailmessageid - Buffers: shared hit=583 - -> Subquery Scan on "ANY_subquery" (cost=0.43..211.92 rows=5000 width=32) (actual time=0.064..3.892 rows=5000 loops=1) - Buffers: shared hit=583 - -> Limit (cost=0.43..161.92 rows=5000 width=4) (actual time=0.053..2.808 rows=5000 loops=1) - Buffers: shared hit=583 - -> Index Only Scan using emailmessages_pkey on emailmessages emailmessages_1 (cost=0.43..89834.20 rows=2781465 width=4) (actual time=0.051..2.260 rows=5000 loops=1) - Heap Fetches: 609 - Buffers: shared hit=583 - -> Index Scan using emailmessages_pkey on emailmessages (cost=0.43..7.73 rows=1 width=10) (actual time=0.903..0.905 rows=1 loops=5000) - Index Cond: (emailmessageid = "ANY_subquery".emailmessageid) - Buffers: shared hit=19640 read=395 - Planning time: 2.482 ms - Trigger for constraint headeremessageref: time=4038.247 calls=5000 - Trigger for constraint formdataemessageref: time=81.415 calls=5000 - Trigger for constraint attachemessageref: time=158945.774 calls=5000 - Trigger for constraint outgoingemessageref: time=332.316 calls=5000 - Trigger for constraint incomingemessageref: time=125.492 calls=5000 - Trigger for constraint eventemessageref: time=251.365 calls=5000 - Trigger for constraint filteredemessageref: time=125.894 calls=5000 - Execution time: 381072.164 ms -(26 rows)`,N0="DELETE FROM emailmessages where emailmessageid in ( select emailmessageid from emailmessages limit 5000 );",O0=` - Append (cost=0.43..170502.33 rows=4018259 width=97) (actual time=0.007..464.318 rows=4000001 loops=1) - Buffers: shared hit=39 read=69641 - I/O Timings: shared read=66.219 - -> Index Scan using pgbench_accounts_2_pkey on pgbench_accounts_2 pgbench_accounts_1 (cost=0.43..8.45 rows=1 width=97) (actual time=0.006..0.007 rows=1 loops=1) - Index Cond: ((aid >= 5000000) AND (aid <= 9000000)) - Buffers: shared hit=4 - -> Seq Scan on pgbench_accounts_3 pgbench_accounts_2 (cost=0.00..78484.00 rows=2500000 width=97) (actual time=0.032..163.701 rows=2500000 loops=1) - Filter: ((aid >= 5000000) AND (aid <= 9000000)) - Buffers: shared hit=32 read=40952 - I/O Timings: shared read=32.345 - -> Index Scan using pgbench_accounts_4_pkey on pgbench_accounts_4 pgbench_accounts_3 (cost=0.43..71918.59 rows=1518258 width=97) (actual time=0.020..148.504 rows=1500000 loops=1) - Index Cond: ((aid >= 5000000) AND (aid <= 9000000)) - Buffers: shared hit=3 read=28689 - I/O Timings: shared read=33.874 - Settings: jit = 'off' - Planning: - Buffers: shared hit=20 - Planning Time: 0.271 ms - Execution Time: 548.488 ms -`,x0=` -/* Query on a pgbench database with 4 partitions, - only 3 are used */ -EXPLAIN (ANALYZE,BUFFERS,SETTINGS) -SELECT * from pgbench_accounts where aid BETWEEN 5000000 AND 9000000 ; -`,C0=[["Simple join (TEXT format)",d0,Os],["Simple join (JSON format)",u0,Os],["Three joins, missing an index",p0,m0],["Aggregate with four joins",f0,_0],["With subplan",S0,""],["With Buffers",k0,T0],["A single CTE",B0,E0],["Many CTEs",h0,""],["Very large plan",R0,""],["DELETE with triggers",b0,N0],["With many options",w0,g0],["Parallel (verbose)",A0,""],["Parallel (4 workers)",y0,L0],["Partitions",O0,x0]];ei.add(ti,ai,si);let ma,xs;const $a=ci({setup(){const e=ee(""),t=ee(""),a=ee(""),s=ee(""),r=ee(!1),i=ee(!1),o=ee([]),n=ee(null),u=ee(null),l=ee(!1);function d(B){n.value=null,B.preventDefault(),localStorage.getItem("dontAskBeforeSubmit")?h():ma.show()}function h(){document.getElementById("dontAskAgain").checked&&localStorage.setItem("dontAskBeforeSubmit",!0);let P=n.value;P||(e.value=e.value||"Plan created on "+f().format("MMMM Do YYYY, h:mm a"),P={title:e.value,plan:t.value,query:a.value,password:s.value,createdOn:new Date}),C(P)}function R(B){[e.value,t.value,a.value]=B}function N(B){const P=B.srcElement;if(!(P instanceof HTMLTextAreaElement)||(r.value=!1,i.value=!1,!B.dataTransfer))return;const q=B.dataTransfer.files[0],Z=new FileReader;Z.onload=we=>{Z.result instanceof ArrayBuffer||(P.value=Z.result||"",P.dispatchEvent(new Event("input")))},Z.readAsText(q)}function p(){const B=[];for(let P in localStorage)Ns.startsWith(P,"plan_")&&B.push(JSON.parse(localStorage[P]));o.value=Ns.chain(B).sortBy("createdOn").reverse().value()}function T(B){B.value=B,localStorage.getItem("dontAskBeforeSubmit")?C(B):ma.show()}function _(B){return B.shareId?"/"+B.shareId:"#"+B.id}function W(B){l.value&&B.shareId?D.get("/plan/"+B.shareId+"/"+B.deleteKey).then(U.bind(this,B)):U(B)}function U(B){localStorage.removeItem(B.id?B.id:"plan_"+B.shareId),p(),xs.hide()}function C(B){const P=document.getElementById("submitForm");D.post(P.action,{title:B.title,plan:B.plan,query:B.query,password:B.password}).then(q=>{localStorage.removeItem(B.id);const Z=q.data,we="plan_"+Z.id;localStorage.setItem(we,JSON.stringify({id:we,shareId:Z.id,title:B.title,createdOn:B.createdOn,deleteKey:Z.deleteKey})),window.location.href="/plan/"+Z.id})}function F(B){return new Date(B).toLocaleDateString(navigator.language,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"})}return di(()=>{document.getElementsByTagName("textarea"),p(),ma=new as(document.getElementById("confirmSubmitModal")),xs=new as(document.getElementById("deletePlanModal"))}),Rt(u,(B,P)=>{l.value=!1}),{samples:C0,titleInput:e,planInput:t,queryInput:a,passwordInput:s,draggingPlan:r,draggingQuery:i,plans:o,plan:n,planToDelete:u,deleteFromServer:l,checkForm:d,submitPlan:h,loadSample:R,handleDrop:N,loadPlan:T,getPlanUrl:_,deletePlan:W,formattedDate:F}}});$a.use(l0);$a.component("font-awesome-icon",ri);$a.mount("#app")});export default v0(); diff --git a/app/static/dist/assets/pev2-DHmpisUd.js b/app/static/dist/assets/pev2-DHmpisUd.js deleted file mode 100644 index cd3f1c5..0000000 --- a/app/static/dist/assets/pev2-DHmpisUd.js +++ /dev/null @@ -1,708 +0,0 @@ -import{d as Ut,r as je,a as Pn,c as ge,o as Qa,n as Fa,b as Za,e as Qc,w as en,f as L,g as b,h as T,i as m,j as ye,k as $,u as d,l as Te,t as ie,m as yt,p as mt,F as ze,q as Ft,s as At,v as Bt,x as Tt,y as M_,z as Oo,A as jt,B as Iy,C as on,D as by,E as Ny,G as Ly,H as ca,I as Xp,J as Ha,K as el,L as Cy}from"./vue-BjHIh3JK.js";var xy=Object.defineProperty,My=(e,t,r)=>t in e?xy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Oe=(e,t,r)=>My(e,typeof t!="symbol"?t+"":t,r),Ns=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fs={exports:{}};var wy=Fs.exports,Fp;function Dy(){return Fp||(Fp=1,function(e,t){(function(){var r,o="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",_=500,E="__lodash_placeholder__",A=1,S=2,g=4,N=1,M=2,V=1,C=2,J=4,P=8,w=16,ae=32,W=64,q=128,he=256,Ue=512,Ve=30,Ae="...",I=800,Pe=16,G=1,K=2,x=3,ce=1/0,fe=9007199254740991,_e=17976931348623157e292,Ie=NaN,j=4294967295,U=j-1,R=j>>>1,Q=[["ary",q],["bind",V],["bindKey",C],["curry",P],["curryRight",w],["flip",Ue],["partial",ae],["partialRight",W],["rearg",he]],ee="[object Arguments]",X="[object Array]",Y="[object AsyncFunction]",de="[object Boolean]",le="[object Date]",Se="[object DOMException]",Ne="[object Error]",Qe="[object Function]",lt="[object GeneratorFunction]",we="[object Map]",We="[object Number]",ft="[object Null]",nt="[object Object]",Ht="[object Promise]",ne="[object Proxy]",Ce="[object RegExp]",ot="[object Set]",Gt="[object String]",wt="[object Symbol]",hn="[object Undefined]",ln="[object WeakMap]",lr="[object WeakSet]",Un="[object ArrayBuffer]",kn="[object DataView]",ga="[object Float32Array]",va="[object Float64Array]",Ta="[object Int8Array]",Aa="[object Int16Array]",ea="[object Int32Array]",te="[object Uint8Array]",De="[object Uint8ClampedArray]",Ke="[object Uint16Array]",Et="[object Uint32Array]",dt=/\b__p \+= '';/g,qt=/\b(__p \+=) '' \+/g,En=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Kn=/&(?:amp|lt|gt|quot|#39);/g,On=/[&<>"']/g,k=RegExp(Kn.source),oe=RegExp(On.source),Re=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,Ct=/<%=([\s\S]+?)%>/g,xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ke=/^\w*$/,xe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$e=/[\\^$.*+?()[\]{}|]/g,Qt=RegExp($e.source),Wt=/^\s+/,Sa=/\s/,Fo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Go=/\{\n\/\* \[wrapped with (.+)\] \*/,xl=/,? & /,zo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ml=/[()=,{}\[\]\/\s]/,wl=/\\(\\)?/g,Dl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,jo=/\w*$/,to=/^[-+]0x[0-9a-f]+$/i,Pl=/^0b[01]+$/i,Ul=/^\[object .+?Constructor\]$/,kl=/^0o[0-7]+$/i,vr=/^(?:0|[1-9]\d*)$/,Bi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ya=/($^)/,Bl=/['\n\r\u2028\u2029\\]/g,no="\\ud800-\\udfff",Vl="\\u0300-\\u036f",ro="\\ufe20-\\ufe2f",Hl="\\u20d0-\\u20ff",ve=Vl+ro+Hl,Fe="\\u2700-\\u27bf",pt="a-z\\xdf-\\xf6\\xf8-\\xff",Mt="\\xac\\xb1\\xd7\\xf7",Yt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Yn="\\u2000-\\u206f",Tr=" \\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",Ra="A-Z\\xc0-\\xd6\\xd8-\\xde",_n="\\ufe0e\\ufe0f",Bn=Mt+Yt+Yn+Tr,ao="['’]",Vi="["+no+"]",Ko="["+Bn+"]",oo="["+ve+"]",Hi="\\d+",Wl="["+Fe+"]",Wi="["+pt+"]",Oa="[^"+no+Bn+Hi+Fe+pt+Ra+"]",io="\\ud83c[\\udffb-\\udfff]",$n="(?:"+oo+"|"+io+")",Xi="[^"+no+"]",Ia="(?:\\ud83c[\\udde6-\\uddff]){2}",et="[\\ud800-\\udbff][\\udc00-\\udfff]",Ur="["+Ra+"]",Zt="\\u200d",Nt="(?:"+Wi+"|"+Oa+")",so="(?:"+Ur+"|"+Oa+")",Ar="(?:"+ao+"(?:d|ll|m|re|s|t|ve))?",lo="(?:"+ao+"(?:D|LL|M|RE|S|T|VE))?",uo=$n+"?",be="["+_n+"]?",He="(?:"+Zt+"(?:"+[Xi,Ia,et].join("|")+")"+be+uo+")*",it="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",tn=be+uo+He,ur="(?:"+[Wl,Ia,et].join("|")+")"+tn,Xl="(?:"+[Xi+oo+"?",oo,Ia,et,Vi].join("|")+")",Fl=RegExp(ao,"g"),Ug=RegExp(oo,"g"),Gl=RegExp(io+"(?="+io+")|"+Xl+tn,"g"),kg=RegExp([Ur+"?"+Wi+"+"+Ar+"(?="+[Ko,Ur,"$"].join("|")+")",so+"+"+lo+"(?="+[Ko,Ur+Nt,"$"].join("|")+")",Ur+"?"+Nt+"+"+Ar,Ur+"+"+lo,It,it,Hi,ur].join("|"),"g"),Bg=RegExp("["+Zt+no+ve+_n+"]"),Vg=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hg=["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"],Wg=-1,kt={};kt[ga]=kt[va]=kt[Ta]=kt[Aa]=kt[ea]=kt[te]=kt[De]=kt[Ke]=kt[Et]=!0,kt[ee]=kt[X]=kt[Un]=kt[de]=kt[kn]=kt[le]=kt[Ne]=kt[Qe]=kt[we]=kt[We]=kt[nt]=kt[Ce]=kt[ot]=kt[Gt]=kt[ln]=!1;var Pt={};Pt[ee]=Pt[X]=Pt[Un]=Pt[kn]=Pt[de]=Pt[le]=Pt[ga]=Pt[va]=Pt[Ta]=Pt[Aa]=Pt[ea]=Pt[we]=Pt[We]=Pt[nt]=Pt[Ce]=Pt[ot]=Pt[Gt]=Pt[wt]=Pt[te]=Pt[De]=Pt[Ke]=Pt[Et]=!0,Pt[Ne]=Pt[Qe]=Pt[ln]=!1;var Xg={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"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"},Fg={"&":"&","<":"<",">":">",'"':""","'":"'"},Gg={"&":"&","<":"<",">":">",""":'"',"'":"'"},zg={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jg=parseFloat,Kg=parseInt,Pf=typeof Ns=="object"&&Ns&&Ns.Object===Object&&Ns,Yg=typeof self=="object"&&self&&self.Object===Object&&self,un=Pf||Yg||Function("return this")(),zl=t&&!t.nodeType&&t,ba=zl&&!0&&e&&!e.nodeType&&e,Uf=ba&&ba.exports===zl,jl=Uf&&Pf.process,Jn=function(){try{var F=ba&&ba.require&&ba.require("util").types;return F||jl&&jl.binding&&jl.binding("util")}catch{}}(),kf=Jn&&Jn.isArrayBuffer,Bf=Jn&&Jn.isDate,Vf=Jn&&Jn.isMap,Hf=Jn&&Jn.isRegExp,Wf=Jn&&Jn.isSet,Xf=Jn&&Jn.isTypedArray;function Vn(F,re,Z){switch(Z.length){case 0:return F.call(re);case 1:return F.call(re,Z[0]);case 2:return F.call(re,Z[0],Z[1]);case 3:return F.call(re,Z[0],Z[1],Z[2])}return F.apply(re,Z)}function $g(F,re,Z,Me){for(var rt=-1,Ot=F==null?0:F.length;++rt-1}function Kl(F,re,Z){for(var Me=-1,rt=F==null?0:F.length;++Me-1;);return Z}function Jf(F,re){for(var Z=F.length;Z--&&co(re,F[Z],0)>-1;);return Z}function av(F,re){for(var Z=F.length,Me=0;Z--;)F[Z]===re&&++Me;return Me}var ov=ql(Xg),iv=ql(Fg);function sv(F){return"\\"+zg[F]}function lv(F,re){return F==null?r:F[re]}function fo(F){return Bg.test(F)}function uv(F){return Vg.test(F)}function cv(F){for(var re,Z=[];!(re=F.next()).done;)Z.push(re.value);return Z}function tu(F){var re=-1,Z=Array(F.size);return F.forEach(function(Me,rt){Z[++re]=[rt,Me]}),Z}function qf(F,re){return function(Z){return F(re(Z))}}function ra(F,re){for(var Z=-1,Me=F.length,rt=0,Ot=[];++Z-1}function qv(n,a){var l=this.__data__,h=is(l,n);return h<0?(++this.size,l.push([n,a])):l[h][1]=a,this}kr.prototype.clear=Kv,kr.prototype.delete=Yv,kr.prototype.get=$v,kr.prototype.has=Jv,kr.prototype.set=qv;function Br(n){var a=-1,l=n==null?0:n.length;for(this.clear();++a=a?n:a)),n}function er(n,a,l,h,v,O){var D,H=a&A,z=a&S,se=a&g;if(l&&(D=v?l(n,h,v,O):l(n)),D!==r)return D;if(!zt(n))return n;var ue=at(n);if(ue){if(D=t0(n),!H)return In(n,D)}else{var pe=gn(n),Le=pe==Qe||pe==lt;if(ua(n))return wd(n,H);if(pe==nt||pe==ee||Le&&!v){if(D=z||Le?{}:Qd(n),!H)return z?G1(n,p1(D,n)):F1(n,ud(D,n))}else{if(!Pt[pe])return v?n:{};D=n0(n,pe,H)}}O||(O=new fr);var Be=O.get(n);if(Be)return Be;O.set(n,D),bp(n)?n.forEach(function(qe){D.add(er(qe,a,l,qe,n,O))}):Op(n)&&n.forEach(function(qe,_t){D.set(_t,er(qe,a,l,_t,n,O))});var Je=se?z?bu:Iu:z?Nn:an,ut=ue?r:Je(n);return qn(ut||n,function(qe,_t){ut&&(_t=qe,qe=n[_t]),ei(D,_t,er(qe,a,l,_t,n,O))}),D}function h1(n){var a=an(n);return function(l){return cd(l,n,a)}}function cd(n,a,l){var h=l.length;if(n==null)return!h;for(n=Dt(n);h--;){var v=l[h],O=a[v],D=n[v];if(D===r&&!(v in n)||!O(D))return!1}return!0}function fd(n,a,l){if(typeof n!="function")throw new Qn(u);return si(function(){n.apply(r,l)},a)}function ti(n,a,l,h){var v=-1,O=Fi,D=!0,H=n.length,z=[],se=a.length;if(!H)return z;l&&(a=Xt(a,Hn(l))),h?(O=Kl,D=!1):a.length>=i&&(O=Yo,D=!1,a=new Ca(a));e:for(;++vv?0:v+l),h=h===r||h>v?v:st(h),h<0&&(h+=v),h=l>h?0:Lp(h);l0&&l(H)?a>1?cn(H,a-1,l,h,v):na(v,H):h||(v[v.length]=H)}return v}var lu=Vd(),hd=Vd(!0);function Sr(n,a){return n&&lu(n,a,an)}function uu(n,a){return n&&hd(n,a,an)}function ls(n,a){return ta(a,function(l){return Fr(n[l])})}function Ma(n,a){a=sa(a,n);for(var l=0,h=a.length;n!=null&&la}function m1(n,a){return n!=null&&Lt.call(n,a)}function g1(n,a){return n!=null&&a in Dt(n)}function v1(n,a,l){return n>=mn(a,l)&&n=120&&ue.length>=120)?new Ca(D&&ue):r}ue=n[0];var pe=-1,Le=H[0];e:for(;++pe-1;)H!==n&&Zi.call(H,z,1),Zi.call(n,z,1);return n}function Od(n,a){for(var l=n?a.length:0,h=l-1;l--;){var v=a[l];if(l==h||v!==O){var O=v;Xr(v)?Zi.call(n,v,1):vu(n,v)}}return n}function _u(n,a){return n+ns(od()*(a-n+1))}function M1(n,a,l,h){for(var v=-1,O=rn(ts((a-n)/(l||1)),0),D=Z(O);O--;)D[h?O:++v]=n,n+=l;return D}function mu(n,a){var l="";if(!n||a<1||a>fe)return l;do a%2&&(l+=n),a=ns(a/2),a&&(n+=n);while(a);return l}function ct(n,a){return Du(tp(n,a,Ln),n+"")}function w1(n){return ld(yo(n))}function D1(n,a){var l=yo(n);return vs(l,xa(a,0,l.length))}function ai(n,a,l,h){if(!zt(n))return n;a=sa(a,n);for(var v=-1,O=a.length,D=O-1,H=n;H!=null&&++vv?0:v+a),l=l>v?v:l,l<0&&(l+=v),v=a>l?0:l-a>>>0,a>>>=0;for(var O=Z(v);++h>>1,D=n[O];D!==null&&!Xn(D)&&(l?D<=a:D=i){var se=a?null:Y1(n);if(se)return zi(se);D=!1,v=Yo,z=new Ca}else z=a?[]:H;e:for(;++h=h?n:tr(n,a,l)}var Md=Ov||function(n){return un.clearTimeout(n)};function wd(n,a){if(a)return n.slice();var l=n.length,h=ed?ed(l):new n.constructor(l);return n.copy(h),h}function yu(n){var a=new n.constructor(n.byteLength);return new qi(a).set(new qi(n)),a}function V1(n,a){var l=a?yu(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.byteLength)}function H1(n){var a=new n.constructor(n.source,jo.exec(n));return a.lastIndex=n.lastIndex,a}function W1(n){return Zo?Dt(Zo.call(n)):{}}function Dd(n,a){var l=a?yu(n.buffer):n.buffer;return new n.constructor(l,n.byteOffset,n.length)}function Pd(n,a){if(n!==a){var l=n!==r,h=n===null,v=n===n,O=Xn(n),D=a!==r,H=a===null,z=a===a,se=Xn(a);if(!H&&!se&&!O&&n>a||O&&D&&z&&!H&&!se||h&&D&&z||!l&&z||!v)return 1;if(!h&&!O&&!se&&n=H)return z;var se=l[h];return z*(se=="desc"?-1:1)}}return n.index-a.index}function Ud(n,a,l,h){for(var v=-1,O=n.length,D=l.length,H=-1,z=a.length,se=rn(O-D,0),ue=Z(z+se),pe=!h;++H1?l[v-1]:r,D=v>2?l[2]:r;for(O=n.length>3&&typeof O=="function"?(v--,O):r,D&&yn(l[0],l[1],D)&&(O=v<3?r:O,v=1),a=Dt(a);++h-1?v[O?a[D]:D]:r}}function Xd(n){return Wr(function(a){var l=a.length,h=l,v=Zn.prototype.thru;for(n&&a.reverse();h--;){var O=a[h];if(typeof O!="function")throw new Qn(u);if(v&&!D&&ms(O)=="wrapper")var D=new Zn([],!0)}for(h=D?h:l;++h1&&vt.reverse(),ue&&z<_t&&(vt.length=z),this&&this!==un&&this instanceof qe&&(zr=ut||oi(zr)),zr.apply(pr,vt)}return qe}function Fd(n,a){return function(l,h){return T1(l,n,a(h),{})}}function hs(n,a){return function(l,h){var v;if(l===r&&h===r)return a;if(l!==r&&(v=l),h!==r){if(v===r)return h;typeof l=="string"||typeof h=="string"?(l=Wn(l),h=Wn(h)):(l=Nd(l),h=Nd(h)),v=n(l,h)}return v}}function Ru(n){return Wr(function(a){return a=Xt(a,Hn(Ye())),ct(function(l){var h=this;return n(a,function(v){return Vn(v,h,l)})})})}function Es(n,a){a=a===r?" ":Wn(a);var l=a.length;if(l<2)return l?mu(a,n):a;var h=mu(a,ts(n/po(a)));return fo(a)?la(cr(h),0,n).join(""):h.slice(0,n)}function K1(n,a,l,h){var v=a&V,O=oi(n);function D(){for(var H=-1,z=arguments.length,se=-1,ue=h.length,pe=Z(ue+z),Le=this&&this!==un&&this instanceof D?O:n;++seH))return!1;var se=O.get(n),ue=O.get(a);if(se&&ue)return se==a&&ue==n;var pe=-1,Le=!0,Be=l&M?new Ca:r;for(O.set(n,a),O.set(a,n);++pe1?"& ":"")+a[h],a=a.join(l>2?", ":" "),n.replace(Fo,`{ -/* [wrapped with `+a+`] */ -`)}function a0(n){return at(n)||Pa(n)||!!(rd&&n&&n[rd])}function Xr(n,a){var l=typeof n;return a=a??fe,!!a&&(l=="number"||l!="symbol"&&vr.test(n))&&n>-1&&n%1==0&&n0){if(++a>=I)return arguments[0]}else a=0;return n.apply(r,arguments)}}function vs(n,a){var l=-1,h=n.length,v=h-1;for(a=a===r?h:a;++l1?n[a-1]:r;return l=typeof l=="function"?(n.pop(),l):r,pp(n,l)});function hp(n){var a=y(n);return a.__chain__=!0,a}function ET(n,a){return a(n),n}function Ts(n,a){return a(n)}var _T=Wr(function(n){var a=n.length,l=a?n[0]:0,h=this.__wrapped__,v=function(O){return su(O,n)};return a>1||this.__actions__.length||!(h instanceof gt)||!Xr(l)?this.thru(v):(h=h.slice(l,+l+(a?1:0)),h.__actions__.push({func:Ts,args:[v],thisArg:r}),new Zn(h,this.__chain__).thru(function(O){return a&&!O.length&&O.push(r),O}))});function mT(){return hp(this)}function gT(){return new Zn(this.value(),this.__chain__)}function vT(){this.__values__===r&&(this.__values__=Np(this.value()));var n=this.__index__>=this.__values__.length,a=n?r:this.__values__[this.__index__++];return{done:n,value:a}}function TT(){return this}function AT(n){for(var a,l=this;l instanceof os;){var h=sp(l);h.__index__=0,h.__values__=r,a?v.__wrapped__=h:a=h;var v=h;l=l.__wrapped__}return v.__wrapped__=n,a}function ST(){var n=this.__wrapped__;if(n instanceof gt){var a=n;return this.__actions__.length&&(a=new gt(this)),a=a.reverse(),a.__actions__.push({func:Ts,args:[Pu],thisArg:r}),new Zn(a,this.__chain__)}return this.thru(Pu)}function yT(){return Cd(this.__wrapped__,this.__actions__)}var RT=ds(function(n,a,l){Lt.call(n,l)?++n[l]:Vr(n,l,1)});function OT(n,a,l){var h=at(n)?Ff:E1;return l&&yn(n,a,l)&&(a=r),h(n,Ye(a,3))}function IT(n,a){var l=at(n)?ta:pd;return l(n,Ye(a,3))}var bT=Wd(lp),NT=Wd(up);function LT(n,a){return cn(As(n,a),1)}function CT(n,a){return cn(As(n,a),ce)}function xT(n,a,l){return l=l===r?1:st(l),cn(As(n,a),l)}function Ep(n,a){var l=at(n)?qn:oa;return l(n,Ye(a,3))}function _p(n,a){var l=at(n)?Jg:dd;return l(n,Ye(a,3))}var MT=ds(function(n,a,l){Lt.call(n,l)?n[l].push(a):Vr(n,l,[a])});function wT(n,a,l,h){n=bn(n)?n:yo(n),l=l&&!h?st(l):0;var v=n.length;return l<0&&(l=rn(v+l,0)),Is(n)?l<=v&&n.indexOf(a,l)>-1:!!v&&co(n,a,l)>-1}var DT=ct(function(n,a,l){var h=-1,v=typeof a=="function",O=bn(n)?Z(n.length):[];return oa(n,function(D){O[++h]=v?Vn(a,D,l):ni(D,a,l)}),O}),PT=ds(function(n,a,l){Vr(n,l,a)});function As(n,a){var l=at(n)?Xt:vd;return l(n,Ye(a,3))}function UT(n,a,l,h){return n==null?[]:(at(a)||(a=a==null?[]:[a]),l=h?r:l,at(l)||(l=l==null?[]:[l]),yd(n,a,l))}var kT=ds(function(n,a,l){n[l?0:1].push(a)},function(){return[[],[]]});function BT(n,a,l){var h=at(n)?Yl:Kf,v=arguments.length<3;return h(n,Ye(a,4),l,v,oa)}function VT(n,a,l){var h=at(n)?qg:Kf,v=arguments.length<3;return h(n,Ye(a,4),l,v,dd)}function HT(n,a){var l=at(n)?ta:pd;return l(n,Rs(Ye(a,3)))}function WT(n){var a=at(n)?ld:w1;return a(n)}function XT(n,a,l){(l?yn(n,a,l):a===r)?a=1:a=st(a);var h=at(n)?c1:D1;return h(n,a)}function FT(n){var a=at(n)?f1:U1;return a(n)}function GT(n){if(n==null)return 0;if(bn(n))return Is(n)?po(n):n.length;var a=gn(n);return a==we||a==ot?n.size:pu(n).length}function zT(n,a,l){var h=at(n)?$l:k1;return l&&yn(n,a,l)&&(a=r),h(n,Ye(a,3))}var jT=ct(function(n,a){if(n==null)return[];var l=a.length;return l>1&&yn(n,a[0],a[1])?a=[]:l>2&&yn(a[0],a[1],a[2])&&(a=[a[0]]),yd(n,cn(a,1),[])}),Ss=Iv||function(){return un.Date.now()};function KT(n,a){if(typeof a!="function")throw new Qn(u);return n=st(n),function(){if(--n<1)return a.apply(this,arguments)}}function mp(n,a,l){return a=l?r:a,a=n&&a==null?n.length:a,Hr(n,q,r,r,r,r,a)}function gp(n,a){var l;if(typeof a!="function")throw new Qn(u);return n=st(n),function(){return--n>0&&(l=a.apply(this,arguments)),n<=1&&(a=r),l}}var ku=ct(function(n,a,l){var h=V;if(l.length){var v=ra(l,Ao(ku));h|=ae}return Hr(n,h,a,l,v)}),vp=ct(function(n,a,l){var h=V|C;if(l.length){var v=ra(l,Ao(vp));h|=ae}return Hr(a,h,n,l,v)});function Tp(n,a,l){a=l?r:a;var h=Hr(n,P,r,r,r,r,r,a);return h.placeholder=Tp.placeholder,h}function Ap(n,a,l){a=l?r:a;var h=Hr(n,w,r,r,r,r,r,a);return h.placeholder=Ap.placeholder,h}function Sp(n,a,l){var h,v,O,D,H,z,se=0,ue=!1,pe=!1,Le=!0;if(typeof n!="function")throw new Qn(u);a=rr(a)||0,zt(l)&&(ue=!!l.leading,pe="maxWait"in l,O=pe?rn(rr(l.maxWait)||0,a):O,Le="trailing"in l?!!l.trailing:Le);function Be(Jt){var pr=h,zr=v;return h=v=r,se=Jt,D=n.apply(zr,pr),D}function Je(Jt){return se=Jt,H=si(_t,a),ue?Be(Jt):D}function ut(Jt){var pr=Jt-z,zr=Jt-se,Wp=a-pr;return pe?mn(Wp,O-zr):Wp}function qe(Jt){var pr=Jt-z,zr=Jt-se;return z===r||pr>=a||pr<0||pe&&zr>=O}function _t(){var Jt=Ss();if(qe(Jt))return vt(Jt);H=si(_t,ut(Jt))}function vt(Jt){return H=r,Le&&h?Be(Jt):(h=v=r,D)}function Fn(){H!==r&&Md(H),se=0,h=z=v=H=r}function Rn(){return H===r?D:vt(Ss())}function Gn(){var Jt=Ss(),pr=qe(Jt);if(h=arguments,v=this,z=Jt,pr){if(H===r)return Je(z);if(pe)return Md(H),H=si(_t,a),Be(z)}return H===r&&(H=si(_t,a)),D}return Gn.cancel=Fn,Gn.flush=Rn,Gn}var YT=ct(function(n,a){return fd(n,1,a)}),$T=ct(function(n,a,l){return fd(n,rr(a)||0,l)});function JT(n){return Hr(n,Ue)}function ys(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new Qn(u);var l=function(){var h=arguments,v=a?a.apply(this,h):h[0],O=l.cache;if(O.has(v))return O.get(v);var D=n.apply(this,h);return l.cache=O.set(v,D)||O,D};return l.cache=new(ys.Cache||Br),l}ys.Cache=Br;function Rs(n){if(typeof n!="function")throw new Qn(u);return function(){var a=arguments;switch(a.length){case 0:return!n.call(this);case 1:return!n.call(this,a[0]);case 2:return!n.call(this,a[0],a[1]);case 3:return!n.call(this,a[0],a[1],a[2])}return!n.apply(this,a)}}function qT(n){return gp(2,n)}var QT=B1(function(n,a){a=a.length==1&&at(a[0])?Xt(a[0],Hn(Ye())):Xt(cn(a,1),Hn(Ye()));var l=a.length;return ct(function(h){for(var v=-1,O=mn(h.length,l);++v=a}),Pa=_d(function(){return arguments}())?_d:function(n){return Kt(n)&&Lt.call(n,"callee")&&!nd.call(n,"callee")},at=Z.isArray,pA=kf?Hn(kf):A1;function bn(n){return n!=null&&Os(n.length)&&!Fr(n)}function $t(n){return Kt(n)&&bn(n)}function hA(n){return n===!0||n===!1||Kt(n)&&Sn(n)==de}var ua=Nv||$u,EA=Bf?Hn(Bf):S1;function _A(n){return Kt(n)&&n.nodeType===1&&!li(n)}function mA(n){if(n==null)return!0;if(bn(n)&&(at(n)||typeof n=="string"||typeof n.splice=="function"||ua(n)||So(n)||Pa(n)))return!n.length;var a=gn(n);if(a==we||a==ot)return!n.size;if(ii(n))return!pu(n).length;for(var l in n)if(Lt.call(n,l))return!1;return!0}function gA(n,a){return ri(n,a)}function vA(n,a,l){l=typeof l=="function"?l:r;var h=l?l(n,a):r;return h===r?ri(n,a,r,l):!!h}function Vu(n){if(!Kt(n))return!1;var a=Sn(n);return a==Ne||a==Se||typeof n.message=="string"&&typeof n.name=="string"&&!li(n)}function TA(n){return typeof n=="number"&&ad(n)}function Fr(n){if(!zt(n))return!1;var a=Sn(n);return a==Qe||a==lt||a==Y||a==ne}function Rp(n){return typeof n=="number"&&n==st(n)}function Os(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=fe}function zt(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}function Kt(n){return n!=null&&typeof n=="object"}var Op=Vf?Hn(Vf):R1;function AA(n,a){return n===a||du(n,a,Lu(a))}function SA(n,a,l){return l=typeof l=="function"?l:r,du(n,a,Lu(a),l)}function yA(n){return Ip(n)&&n!=+n}function RA(n){if(s0(n))throw new rt(s);return md(n)}function OA(n){return n===null}function IA(n){return n==null}function Ip(n){return typeof n=="number"||Kt(n)&&Sn(n)==We}function li(n){if(!Kt(n)||Sn(n)!=nt)return!1;var a=Qi(n);if(a===null)return!0;var l=Lt.call(a,"constructor")&&a.constructor;return typeof l=="function"&&l instanceof l&&Yi.call(l)==Sv}var Hu=Hf?Hn(Hf):O1;function bA(n){return Rp(n)&&n>=-9007199254740991&&n<=fe}var bp=Wf?Hn(Wf):I1;function Is(n){return typeof n=="string"||!at(n)&&Kt(n)&&Sn(n)==Gt}function Xn(n){return typeof n=="symbol"||Kt(n)&&Sn(n)==wt}var So=Xf?Hn(Xf):b1;function NA(n){return n===r}function LA(n){return Kt(n)&&gn(n)==ln}function CA(n){return Kt(n)&&Sn(n)==lr}var xA=_s(hu),MA=_s(function(n,a){return n<=a});function Np(n){if(!n)return[];if(bn(n))return Is(n)?cr(n):In(n);if($o&&n[$o])return cv(n[$o]());var a=gn(n),l=a==we?tu:a==ot?zi:yo;return l(n)}function Gr(n){if(!n)return n===0?n:0;if(n=rr(n),n===ce||n===-1/0){var a=n<0?-1:1;return a*_e}return n===n?n:0}function st(n){var a=Gr(n),l=a%1;return a===a?l?a-l:a:0}function Lp(n){return n?xa(st(n),0,j):0}function rr(n){if(typeof n=="number")return n;if(Xn(n))return Ie;if(zt(n)){var a=typeof n.valueOf=="function"?n.valueOf():n;n=zt(a)?a+"":a}if(typeof n!="string")return n===0?n:+n;n=Yf(n);var l=Pl.test(n);return l||kl.test(n)?Kg(n.slice(2),l?2:8):to.test(n)?Ie:+n}function Cp(n){return yr(n,Nn(n))}function wA(n){return n?xa(st(n),-9007199254740991,fe):n===0?n:0}function bt(n){return n==null?"":Wn(n)}var DA=vo(function(n,a){if(ii(a)||bn(a)){yr(a,an(a),n);return}for(var l in a)Lt.call(a,l)&&ei(n,l,a[l])}),xp=vo(function(n,a){yr(a,Nn(a),n)}),bs=vo(function(n,a,l,h){yr(a,Nn(a),n,h)}),PA=vo(function(n,a,l,h){yr(a,an(a),n,h)}),UA=Wr(su);function kA(n,a){var l=go(n);return a==null?l:ud(l,a)}var BA=ct(function(n,a){n=Dt(n);var l=-1,h=a.length,v=h>2?a[2]:r;for(v&&yn(a[0],a[1],v)&&(h=1);++l1),O}),yr(n,bu(n),l),h&&(l=er(l,A|S|g,$1));for(var v=a.length;v--;)vu(l,a[v]);return l});function nS(n,a){return wp(n,Rs(Ye(a)))}var rS=Wr(function(n,a){return n==null?{}:C1(n,a)});function wp(n,a){if(n==null)return{};var l=Xt(bu(n),function(h){return[h]});return a=Ye(a),Rd(n,l,function(h,v){return a(h,v[0])})}function aS(n,a,l){a=sa(a,n);var h=-1,v=a.length;for(v||(v=1,n=r);++ha){var h=n;n=a,a=h}if(l||n%1||a%1){var v=od();return mn(n+v*(a-n+jg("1e-"+((v+"").length-1))),a)}return _u(n,a)}var ES=To(function(n,a,l){return a=a.toLowerCase(),n+(l?Up(a):a)});function Up(n){return Fu(bt(n).toLowerCase())}function kp(n){return n=bt(n),n&&n.replace(Bi,ov).replace(Ug,"")}function _S(n,a,l){n=bt(n),a=Wn(a);var h=n.length;l=l===r?h:xa(st(l),0,h);var v=l;return l-=a.length,l>=0&&n.slice(l,v)==a}function mS(n){return n=bt(n),n&&oe.test(n)?n.replace(On,iv):n}function gS(n){return n=bt(n),n&&Qt.test(n)?n.replace($e,"\\$&"):n}var vS=To(function(n,a,l){return n+(l?"-":"")+a.toLowerCase()}),TS=To(function(n,a,l){return n+(l?" ":"")+a.toLowerCase()}),AS=Hd("toLowerCase");function SS(n,a,l){n=bt(n),a=st(a);var h=a?po(n):0;if(!a||h>=a)return n;var v=(a-h)/2;return Es(ns(v),l)+n+Es(ts(v),l)}function yS(n,a,l){n=bt(n),a=st(a);var h=a?po(n):0;return a&&h>>0,l?(n=bt(n),n&&(typeof a=="string"||a!=null&&!Hu(a))&&(a=Wn(a),!a&&fo(n))?la(cr(n),0,l):n.split(a,l)):[]}var CS=To(function(n,a,l){return n+(l?" ":"")+Fu(a)});function xS(n,a,l){return n=bt(n),l=l==null?0:xa(st(l),0,n.length),a=Wn(a),n.slice(l,l+a.length)==a}function MS(n,a,l){var h=y.templateSettings;l&&yn(n,a,l)&&(a=r),n=bt(n),a=bs({},a,h,Kd);var v=bs({},a.imports,h.imports,Kd),O=an(v),D=eu(v,O),H,z,se=0,ue=a.interpolate||ya,pe="__p += '",Le=nu((a.escape||ya).source+"|"+ue.source+"|"+(ue===Ct?Dl:ya).source+"|"+(a.evaluate||ya).source+"|$","g"),Be="//# sourceURL="+(Lt.call(a,"sourceURL")?(a.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Wg+"]")+` -`;n.replace(Le,function(qe,_t,vt,Fn,Rn,Gn){return vt||(vt=Fn),pe+=n.slice(se,Gn).replace(Bl,sv),_t&&(H=!0,pe+=`' + -__e(`+_t+`) + -'`),Rn&&(z=!0,pe+=`'; -`+Rn+`; -__p += '`),vt&&(pe+=`' + -((__t = (`+vt+`)) == null ? '' : __t) + -'`),se=Gn+qe.length,qe}),pe+=`'; -`;var Je=Lt.call(a,"variable")&&a.variable;if(!Je)pe=`with (obj) { -`+pe+` -} -`;else if(Ml.test(Je))throw new rt(c);pe=(z?pe.replace(dt,""):pe).replace(qt,"$1").replace(En,"$1;"),pe="function("+(Je||"obj")+`) { -`+(Je?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(H?", __e = _.escape":"")+(z?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+pe+`return __p -}`;var ut=Vp(function(){return Ot(O,Be+"return "+pe).apply(r,D)});if(ut.source=pe,Vu(ut))throw ut;return ut}function wS(n){return bt(n).toLowerCase()}function DS(n){return bt(n).toUpperCase()}function PS(n,a,l){if(n=bt(n),n&&(l||a===r))return Yf(n);if(!n||!(a=Wn(a)))return n;var h=cr(n),v=cr(a),O=$f(h,v),D=Jf(h,v)+1;return la(h,O,D).join("")}function US(n,a,l){if(n=bt(n),n&&(l||a===r))return n.slice(0,Qf(n)+1);if(!n||!(a=Wn(a)))return n;var h=cr(n),v=Jf(h,cr(a))+1;return la(h,0,v).join("")}function kS(n,a,l){if(n=bt(n),n&&(l||a===r))return n.replace(Wt,"");if(!n||!(a=Wn(a)))return n;var h=cr(n),v=$f(h,cr(a));return la(h,v).join("")}function BS(n,a){var l=Ve,h=Ae;if(zt(a)){var v="separator"in a?a.separator:v;l="length"in a?st(a.length):l,h="omission"in a?Wn(a.omission):h}n=bt(n);var O=n.length;if(fo(n)){var D=cr(n);O=D.length}if(l>=O)return n;var H=l-po(h);if(H<1)return h;var z=D?la(D,0,H).join(""):n.slice(0,H);if(v===r)return z+h;if(D&&(H+=z.length-H),Hu(v)){if(n.slice(H).search(v)){var se,ue=z;for(v.global||(v=nu(v.source,bt(jo.exec(v))+"g")),v.lastIndex=0;se=v.exec(ue);)var pe=se.index;z=z.slice(0,pe===r?H:pe)}}else if(n.indexOf(Wn(v),H)!=H){var Le=z.lastIndexOf(v);Le>-1&&(z=z.slice(0,Le))}return z+h}function VS(n){return n=bt(n),n&&k.test(n)?n.replace(Kn,hv):n}var HS=To(function(n,a,l){return n+(l?" ":"")+a.toUpperCase()}),Fu=Hd("toUpperCase");function Bp(n,a,l){return n=bt(n),a=l?r:a,a===r?uv(n)?mv(n):ev(n):n.match(a)||[]}var Vp=ct(function(n,a){try{return Vn(n,r,a)}catch(l){return Vu(l)?l:new rt(l)}}),WS=Wr(function(n,a){return qn(a,function(l){l=Rr(l),Vr(n,l,ku(n[l],n))}),n});function XS(n){var a=n==null?0:n.length,l=Ye();return n=a?Xt(n,function(h){if(typeof h[1]!="function")throw new Qn(u);return[l(h[0]),h[1]]}):[],ct(function(h){for(var v=-1;++vfe)return[];var l=j,h=mn(n,j);a=Ye(a),n-=j;for(var v=Zl(h,a);++l0||a<0)?new gt(l):(n<0?l=l.takeRight(-n):n&&(l=l.drop(n)),a!==r&&(a=st(a),l=a<0?l.dropRight(-a):l.take(a-n)),l)},gt.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},gt.prototype.toArray=function(){return this.take(j)},Sr(gt.prototype,function(n,a){var l=/^(?:filter|find|map|reject)|While$/.test(a),h=/^(?:head|last)$/.test(a),v=y[h?"take"+(a=="last"?"Right":""):a],O=h||/^find/.test(a);v&&(y.prototype[a]=function(){var D=this.__wrapped__,H=h?[1]:arguments,z=D instanceof gt,se=H[0],ue=z||at(D),pe=function(_t){var vt=v.apply(y,na([_t],H));return h&&Le?vt[0]:vt};ue&&l&&typeof se=="function"&&se.length!=1&&(z=ue=!1);var Le=this.__chain__,Be=!!this.__actions__.length,Je=O&&!Le,ut=z&&!Be;if(!O&&ue){D=ut?D:new gt(this);var qe=n.apply(D,H);return qe.__actions__.push({func:Ts,args:[pe],thisArg:r}),new Zn(qe,Le)}return Je&&ut?n.apply(this,H):(qe=this.thru(pe),Je?h?qe.value()[0]:qe.value():qe)})}),qn(["pop","push","shift","sort","splice","unshift"],function(n){var a=ji[n],l=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",h=/^(?:pop|shift)$/.test(n);y.prototype[n]=function(){var v=arguments;if(h&&!this.__chain__){var O=this.value();return a.apply(at(O)?O:[],v)}return this[l](function(D){return a.apply(at(D)?D:[],v)})}}),Sr(gt.prototype,function(n,a){var l=y[a];if(l){var h=l.name+"";Lt.call(mo,h)||(mo[h]=[]),mo[h].push({name:a,func:l})}}),mo[ps(r,C).name]=[{name:"wrapper",func:r}],gt.prototype.clone=Vv,gt.prototype.reverse=Hv,gt.prototype.value=Wv,y.prototype.at=_T,y.prototype.chain=mT,y.prototype.commit=gT,y.prototype.next=vT,y.prototype.plant=AT,y.prototype.reverse=ST,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=yT,y.prototype.first=y.prototype.head,$o&&(y.prototype[$o]=TT),y},ho=gv();ba?((ba.exports=ho)._=ho,zl._=ho):un._=ho}).call(wy)}(Fs,Fs.exports)),Fs.exports}var w_=Dy();const B=Zc(w_),Py={__name:"splitpanes",props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],setup(e,{emit:t}){const r=t,o=e,i=Iy(),s=je([]),u=ge(()=>s.value.reduce((X,Y)=>(X[~~Y.id]=Y)&&X,{})),c=ge(()=>s.value.length),p=je(null),_=je(!1),E=je({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),A=je({splitter:null,timeoutId:null}),S=ge(()=>({[`splitpanes splitpanes--${o.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":E.value.dragging})),g=()=>{document.addEventListener("mousemove",V,{passive:!1}),document.addEventListener("mouseup",C),"ontouchstart"in window&&(document.addEventListener("touchmove",V,{passive:!1}),document.addEventListener("touchend",C))},N=()=>{document.removeEventListener("mousemove",V,{passive:!1}),document.removeEventListener("mouseup",C),"ontouchstart"in window&&(document.removeEventListener("touchmove",V,{passive:!1}),document.removeEventListener("touchend",C))},M=(X,Y)=>{const de=X.target.closest(".splitpanes__splitter");if(de){const{left:le,top:Se}=de.getBoundingClientRect(),{clientX:Ne,clientY:Qe}="ontouchstart"in window&&X.touches?X.touches[0]:X;E.value.cursorOffset=o.horizontal?Qe-Se:Ne-le}g(),E.value.mouseDown=!0,E.value.activeSplitter=Y},V=X=>{E.value.mouseDown&&(X.preventDefault(),E.value.dragging=!0,requestAnimationFrame(()=>{q(ae(X)),r("resize",s.value.map(Y=>({min:Y.min,max:Y.max,size:Y.size})))}))},C=()=>{E.value.dragging&&r("resized",s.value.map(X=>({min:X.min,max:X.max,size:X.size}))),E.value.mouseDown=!1,setTimeout(()=>{E.value.dragging=!1,N()},100)},J=(X,Y)=>{"ontouchstart"in window&&(X.preventDefault(),o.dblClickSplitter&&(A.value.splitter===Y?(clearTimeout(A.value.timeoutId),A.value.timeoutId=null,P(X,Y),A.value.splitter=null):(A.value.splitter=Y,A.value.timeoutId=setTimeout(()=>A.value.splitter=null,500)))),E.value.dragging||r("splitter-click",s.value[Y])},P=(X,Y)=>{let de=0;s.value=s.value.map((le,Se)=>(le.size=Se===Y?le.max:le.min,Se!==Y&&(de+=le.min),le)),s.value[Y].size-=de,r("pane-maximize",s.value[Y]),r("resized",s.value.map(le=>({min:le.min,max:le.max,size:le.size})))},w=(X,Y)=>{r("pane-click",u.value[Y])},ae=X=>{const Y=p.value.getBoundingClientRect(),{clientX:de,clientY:le}="ontouchstart"in window&&X.touches?X.touches[0]:X;return{x:de-(o.horizontal?0:E.value.cursorOffset)-Y.left,y:le-(o.horizontal?E.value.cursorOffset:0)-Y.top}},W=X=>{X=X[o.horizontal?"y":"x"];const Y=p.value[o.horizontal?"clientHeight":"clientWidth"];return o.rtl&&!o.horizontal&&(X=Y-X),X*100/Y},q=X=>{const Y=E.value.activeSplitter;let de={prevPanesSize:Ue(Y),nextPanesSize:Ve(Y),prevReachedMinPanes:0,nextReachedMinPanes:0};const le=0+(o.pushOtherPanes?0:de.prevPanesSize),Se=100-(o.pushOtherPanes?0:de.nextPanesSize),Ne=Math.max(Math.min(W(X),Se),le);let Qe=[Y,Y+1],lt=s.value[Qe[0]]||null,we=s.value[Qe[1]]||null;const We=lt.max<100&&Ne>=lt.max+de.prevPanesSize,ft=we.max<100&&Ne<=100-(we.max+Ve(Y+1));if(We||ft){We?(lt.size=lt.max,we.size=Math.max(100-lt.max-de.prevPanesSize-de.nextPanesSize,0)):(lt.size=Math.max(100-we.max-de.prevPanesSize-Ve(Y+1),0),we.size=we.max);return}if(o.pushOtherPanes){const nt=he(de,Ne);if(!nt)return;({sums:de,panesToResize:Qe}=nt),lt=s.value[Qe[0]]||null,we=s.value[Qe[1]]||null}lt!==null&&(lt.size=Math.min(Math.max(Ne-de.prevPanesSize-de.prevReachedMinPanes,lt.min),lt.max)),we!==null&&(we.size=Math.min(Math.max(100-Ne-de.nextPanesSize-de.nextReachedMinPanes,we.min),we.max))},he=(X,Y)=>{const de=E.value.activeSplitter,le=[de,de+1];return Y{Ne>le[0]&&Ne<=de&&(Se.size=Se.min,X.prevReachedMinPanes+=Se.min)}),X.prevPanesSize=Ue(le[0]),le[0]===void 0)?(X.prevReachedMinPanes=0,s.value[0].size=s.value[0].min,s.value.forEach((Se,Ne)=>{Ne>0&&Ne<=de&&(Se.size=Se.min,X.prevReachedMinPanes+=Se.min)}),s.value[le[1]].size=100-X.prevReachedMinPanes-s.value[0].min-X.prevPanesSize-X.nextPanesSize,null):Y>100-X.nextPanesSize-s.value[le[1]].min&&(le[1]=I(de).index,X.nextReachedMinPanes=0,le[1]>de+1&&s.value.forEach((Se,Ne)=>{Ne>de&&Ne{Ne=de+1&&(Se.size=Se.min,X.nextReachedMinPanes+=Se.min)}),s.value[le[0]].size=100-X.prevPanesSize-Ve(le[0]-1),null):{sums:X,panesToResize:le}},Ue=X=>s.value.reduce((Y,de,le)=>Y+(les.value.reduce((Y,de,le)=>Y+(le>X+1?de.size:0),0),Ae=X=>[...s.value].reverse().find(Y=>Y.indexY.min)||{},I=X=>s.value.find(Y=>Y.index>X+1&&Y.size>Y.min)||{},Pe=()=>{var X;Array.from(((X=p.value)==null?void 0:X.children)||[]).forEach(Y=>{const de=Y.classList.contains("splitpanes__pane"),le=Y.classList.contains("splitpanes__splitter");!de&&!le&&(Y.remove(),console.warn("Splitpanes: Only elements are allowed at the root of . One of your DOM nodes was removed."))})},G=(X,Y,de=!1)=>{const le=X-1,Se=document.createElement("div");Se.classList.add("splitpanes__splitter"),de||(Se.onmousedown=Ne=>M(Ne,le),typeof window<"u"&&"ontouchstart"in window&&(Se.ontouchstart=Ne=>M(Ne,le)),Se.onclick=Ne=>J(Ne,le+1)),o.dblClickSplitter&&(Se.ondblclick=Ne=>P(Ne,le+1)),Y.parentNode.insertBefore(Se,Y)},K=X=>{X.onmousedown=void 0,X.onclick=void 0,X.ondblclick=void 0,X.remove()},x=()=>{var X;const Y=Array.from(((X=p.value)==null?void 0:X.children)||[]);Y.forEach(le=>{le.className.includes("splitpanes__splitter")&&K(le)});let de=0;Y.forEach(le=>{le.className.includes("splitpanes__pane")&&(!de&&o.firstSplitter?G(de,le,!0):de&&G(de,le),de++)})},ce=({uid:X,...Y})=>{const de=u.value[X];Object.entries(Y).forEach(([le,Se])=>de[le]=Se)},fe=X=>{var Y;let de=-1;Array.from(((Y=p.value)==null?void 0:Y.children)||[]).some(le=>(le.className.includes("splitpanes__pane")&&de++,le.isSameNode(X.el))),s.value.splice(de,0,{...X,index:de}),s.value.forEach((le,Se)=>le.index=Se),_.value&&Fa(()=>{x(),Ie({addedPane:s.value[de]}),r("pane-add",{index:de,panes:s.value.map(le=>({min:le.min,max:le.max,size:le.size}))})})},_e=X=>{const Y=s.value.findIndex(le=>le.id===X),de=s.value.splice(Y,1)[0];s.value.forEach((le,Se)=>le.index=Se),Fa(()=>{x(),Ie({removedPane:{...de}}),r("pane-remove",{removed:de,panes:s.value.map(le=>({min:le.min,max:le.max,size:le.size}))})})},Ie=(X={})=>{!X.addedPane&&!X.removedPane?U():s.value.some(Y=>Y.givenSize!==null||Y.min||Y.max<100)?R(X):j(),_.value&&r("resized",s.value.map(Y=>({min:Y.min,max:Y.max,size:Y.size})))},j=()=>{const X=100/c.value;let Y=0;const de=[],le=[];s.value.forEach(Se=>{Se.size=Math.max(Math.min(X,Se.max),Se.min),Y-=Se.size,Se.size>=Se.max&&de.push(Se.id),Se.size<=Se.min&&le.push(Se.id)}),Y>.1&&Q(Y,de,le)},U=()=>{let X=100;const Y=[],de=[];let le=0;s.value.forEach(Ne=>{X-=Ne.size,Ne.givenSize!==null&&le++,Ne.size>=Ne.max&&Y.push(Ne.id),Ne.size<=Ne.min&&de.push(Ne.id)});let Se=100;X>.1&&(s.value.forEach(Ne=>{Ne.givenSize===null&&(Ne.size=Math.max(Math.min(X/(c.value-le),Ne.max),Ne.min)),Se-=Ne.size}),Se>.1&&Q(Se,Y,de))},R=({addedPane:X,removedPane:Y}={})=>{let de=100/c.value,le=0;const Se=[],Ne=[];(X?.givenSize??null)!==null&&(de=(100-X.givenSize)/(c.value-1).value),s.value.forEach(Qe=>{le-=Qe.size,Qe.size>=Qe.max&&Se.push(Qe.id),Qe.size<=Qe.min&&Ne.push(Qe.id)}),!(Math.abs(le)<.1)&&(s.value.forEach(Qe=>{X?.givenSize!==null&&X?.id===Qe.id||(Qe.size=Math.max(Math.min(de,Qe.max),Qe.min)),le-=Qe.size,Qe.size>=Qe.max&&Se.push(Qe.id),Qe.size<=Qe.min&&Ne.push(Qe.id)}),le>.1&&Q(le,Se,Ne))},Q=(X,Y,de)=>{let le;X>0?le=X/(c.value-Y.length):le=X/(c.value-de.length),s.value.forEach((Se,Ne)=>{if(X>0&&!Y.includes(Se.id)){const Qe=Math.max(Math.min(Se.size+le,Se.max),Se.min),lt=Qe-Se.size;X-=lt,Se.size=Qe}else if(!de.includes(Se.id)){const Qe=Math.max(Math.min(Se.size+le,Se.max),Se.min),lt=Qe-Se.size;X-=lt,Se.size=Qe}}),Math.abs(X)>.1&&Fa(()=>{_.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})};en(()=>o.firstSplitter,()=>x()),en(()=>o.dblClickSplitter,X=>{[...p.value.querySelectorAll(".splitpanes__splitter")].forEach((Y,de)=>{Y.ondblclick=X?le=>P(le,de):void 0})}),Qc(()=>_.value=!1),Za(()=>{Pe(),x(),Ie(),r("ready"),_.value=!0});const ee=()=>{var X;return Ha("div",{ref:p,class:S.value},(X=i.default)==null?void 0:X.call(i))};return on("panes",s),on("indexedPanes",u),on("horizontal",ge(()=>o.horizontal)),on("requestUpdate",ce),on("onPaneAdd",fe),on("onPaneRemove",_e),on("onPaneClick",w),(X,Y)=>(b(),mt(by(ee)))}},Gp={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var t;const r=e,o=Tt("requestUpdate"),i=Tt("onPaneAdd"),s=Tt("horizontal"),u=Tt("onPaneRemove"),c=Tt("onPaneClick"),p=(t=M_())==null?void 0:t.uid,_=Tt("indexedPanes"),E=ge(()=>_.value[p]),A=je(null),S=ge(()=>{const V=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(V,N.value),g.value)}),g=ge(()=>{const V=parseFloat(r.minSize);return isNaN(V)?0:V}),N=ge(()=>{const V=parseFloat(r.maxSize);return isNaN(V)?100:V}),M=ge(()=>{var V;return`${s.value?"height":"width"}: ${(V=E.value)==null?void 0:V.size}%`});return Za(()=>{i({id:p,el:A.value,min:g.value,max:N.value,givenSize:r.size===void 0?null:S.value,size:S.value})}),en(()=>S.value,V=>o({uid:p,size:V})),en(()=>g.value,V=>o({uid:p,min:V})),en(()=>N.value,V=>o({uid:p,max:V})),Qc(()=>u(p)),(V,C)=>(b(),L("div",{ref_key:"paneEl",ref:A,class:"splitpanes__pane",onClick:C[0]||(C[0]=J=>d(c)(J,V._.uid)),style:jt(M.value)},[Oo(V.$slots,"default")],4))}},tl=Symbol("selectedNodeId"),gl=Symbol("highlightedNodeId"),Ka=Symbol("selectNode"),Ea=Symbol("viewOptions"),_a=Symbol("plan");var dc={exports:{}};var Uy=dc.exports,zp;function ky(){return zp||(zp=1,function(e,t){(function(r,o){e.exports=o()})(Uy,function(){return function(){var r={686:function(s,u,c){c.d(u,{default:function(){return Ie}});var p=c(279),_=c.n(p),E=c(370),A=c.n(E),S=c(817),g=c.n(S);function N(j){try{return document.execCommand(j)}catch{return!1}}var M=function(j){var U=g()(j);return N("cut"),U},V=M;function C(j){var U=document.documentElement.getAttribute("dir")==="rtl",R=document.createElement("textarea");R.style.fontSize="12pt",R.style.border="0",R.style.padding="0",R.style.margin="0",R.style.position="absolute",R.style[U?"right":"left"]="-9999px";var Q=window.pageYOffset||document.documentElement.scrollTop;return R.style.top="".concat(Q,"px"),R.setAttribute("readonly",""),R.value=j,R}var J=function(j){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},R="";if(typeof j=="string"){var Q=C(j);U.container.appendChild(Q),R=g()(Q),N("copy"),Q.remove()}else R=g()(j),N("copy");return R},P=J;function w(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(U){return typeof U}:w=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},w(j)}var ae=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=j.action,R=U===void 0?"copy":U,Q=j.container,ee=j.target,X=j.text;if(R!=="copy"&&R!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(ee!==void 0)if(ee&&w(ee)==="object"&&ee.nodeType===1){if(R==="copy"&&ee.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(R==="cut"&&(ee.hasAttribute("readonly")||ee.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(X)return P(X,{container:Q});if(ee)return R==="cut"?V(ee):P(ee,{container:Q})},W=ae;function q(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q=function(U){return typeof U}:q=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},q(j)}function he(j,U){if(!(j instanceof U))throw new TypeError("Cannot call a class as a function")}function Ue(j,U){for(var R=0;R"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ce(j){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},ce(j)}function fe(j,U){var R="data-clipboard-".concat(j);if(U.hasAttribute(R))return U.getAttribute(R)}var _e=function(j){Ae(R,j);var U=Pe(R);function R(Q,ee){var X;return he(this,R),X=U.call(this),X.resolveOptions(ee),X.listenClick(Q),X}return Ve(R,[{key:"resolveOptions",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof Q.action=="function"?Q.action:this.defaultAction,this.target=typeof Q.target=="function"?Q.target:this.defaultTarget,this.text=typeof Q.text=="function"?Q.text:this.defaultText,this.container=q(Q.container)==="object"?Q.container:document.body}},{key:"listenClick",value:function(Q){var ee=this;this.listener=A()(Q,"click",function(X){return ee.onClick(X)})}},{key:"onClick",value:function(Q){var ee=Q.delegateTarget||Q.currentTarget,X=this.action(ee)||"copy",Y=W({action:X,container:this.container,target:this.target(ee),text:this.text(ee)});this.emit(Y?"success":"error",{action:X,text:Y,trigger:ee,clearSelection:function(){ee&&ee.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(Q){return fe("action",Q)}},{key:"defaultTarget",value:function(Q){var ee=fe("target",Q);if(ee)return document.querySelector(ee)}},{key:"defaultText",value:function(Q){return fe("text",Q)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(Q){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return P(Q,ee)}},{key:"cut",value:function(Q){return V(Q)}},{key:"isSupported",value:function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ee=typeof Q=="string"?[Q]:Q,X=!!document.queryCommandSupported;return ee.forEach(function(Y){X=X&&!!document.queryCommandSupported(Y)}),X}}]),R}(_()),Ie=_e},828:function(s){var u=9;if(typeof Element<"u"&&!Element.prototype.matches){var c=Element.prototype;c.matches=c.matchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector}function p(_,E){for(;_&&_.nodeType!==u;){if(typeof _.matches=="function"&&_.matches(E))return _;_=_.parentNode}}s.exports=p},438:function(s,u,c){var p=c(828);function _(S,g,N,M,V){var C=A.apply(this,arguments);return S.addEventListener(N,C,V),{destroy:function(){S.removeEventListener(N,C,V)}}}function E(S,g,N,M,V){return typeof S.addEventListener=="function"?_.apply(null,arguments):typeof N=="function"?_.bind(null,document).apply(null,arguments):(typeof S=="string"&&(S=document.querySelectorAll(S)),Array.prototype.map.call(S,function(C){return _(C,g,N,M,V)}))}function A(S,g,N,M){return function(V){V.delegateTarget=p(V.target,g),V.delegateTarget&&M.call(S,V)}}s.exports=E},879:function(s,u){u.node=function(c){return c!==void 0&&c instanceof HTMLElement&&c.nodeType===1},u.nodeList=function(c){var p=Object.prototype.toString.call(c);return c!==void 0&&(p==="[object NodeList]"||p==="[object HTMLCollection]")&&"length"in c&&(c.length===0||u.node(c[0]))},u.string=function(c){return typeof c=="string"||c instanceof String},u.fn=function(c){var p=Object.prototype.toString.call(c);return p==="[object Function]"}},370:function(s,u,c){var p=c(879),_=c(438);function E(N,M,V){if(!N&&!M&&!V)throw new Error("Missing required arguments");if(!p.string(M))throw new TypeError("Second argument must be a String");if(!p.fn(V))throw new TypeError("Third argument must be a Function");if(p.node(N))return A(N,M,V);if(p.nodeList(N))return S(N,M,V);if(p.string(N))return g(N,M,V);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function A(N,M,V){return N.addEventListener(M,V),{destroy:function(){N.removeEventListener(M,V)}}}function S(N,M,V){return Array.prototype.forEach.call(N,function(C){C.addEventListener(M,V)}),{destroy:function(){Array.prototype.forEach.call(N,function(C){C.removeEventListener(M,V)})}}}function g(N,M,V){return _(document.body,N,M,V)}s.exports=E},817:function(s){function u(c){var p;if(c.nodeName==="SELECT")c.focus(),p=c.value;else if(c.nodeName==="INPUT"||c.nodeName==="TEXTAREA"){var _=c.hasAttribute("readonly");_||c.setAttribute("readonly",""),c.select(),c.setSelectionRange(0,c.value.length),_||c.removeAttribute("readonly"),p=c.value}else{c.hasAttribute("contenteditable")&&c.focus();var E=window.getSelection(),A=document.createRange();A.selectNodeContents(c),E.removeAllRanges(),E.addRange(A),p=E.toString()}return p}s.exports=u},279:function(s){function u(){}u.prototype={on:function(c,p,_){var E=this.e||(this.e={});return(E[c]||(E[c]=[])).push({fn:p,ctx:_}),this},once:function(c,p,_){var E=this;function A(){E.off(c,A),p.apply(_,arguments)}return A._=p,this.on(c,A,_)},emit:function(c){var p=[].slice.call(arguments,1),_=((this.e||(this.e={}))[c]||[]).slice(),E=0,A=_.length;for(E;E({toClipboard(t,r){return new Promise((o,i)=>{const s=document.createElement("button"),u=new Vy(s,{text:()=>t,action:()=>"copy",container:r!==void 0?r:document.body});u.on("success",c=>{u.destroy(),o(c)}),u.on("error",c=>{u.destroy(),i(c)}),document.body.appendChild(s),s.click(),document.body.removeChild(s)})}});var wn="top",ir="bottom",sr="right",Dn="left",ef="auto",xi=[wn,ir,sr,Dn],xo="start",Ai="end",Wy="clippingParents",D_="viewport",ui="popper",Xy="reference",jp=xi.reduce(function(e,t){return e.concat([t+"-"+xo,t+"-"+Ai])},[]),P_=[].concat(xi,[ef]).reduce(function(e,t){return e.concat([t,t+"-"+xo,t+"-"+Ai])},[]),Fy="beforeRead",Gy="read",zy="afterRead",jy="beforeMain",Ky="main",Yy="afterMain",$y="beforeWrite",Jy="write",qy="afterWrite",Qy=[Fy,Gy,zy,jy,Ky,Yy,$y,Jy,qy];function wr(e){return e?(e.nodeName||"").toLowerCase():null}function mr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Mo(e){var t=mr(e).Element;return e instanceof t||e instanceof Element}function or(e){var t=mr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function U_(e){if(typeof ShadowRoot>"u")return!1;var t=mr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Zy(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},i=t.attributes[r]||{},s=t.elements[r];!or(s)||!wr(s)||(Object.assign(s.style,o),Object.keys(i).forEach(function(u){var c=i[u];c===!1?s.removeAttribute(u):s.setAttribute(u,c===!0?"":c)}))})}function eR(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],s=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),c=u.reduce(function(p,_){return p[_]="",p},{});!or(i)||!wr(i)||(Object.assign(i.style,c),Object.keys(s).forEach(function(p){i.removeAttribute(p)}))})}}var k_={name:"applyStyles",enabled:!0,phase:"write",fn:Zy,effect:eR,requires:["computeStyles"]};function xr(e){return e.split("-")[0]}var Ga=Math.max,nl=Math.min,wo=Math.round;function Do(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),o=1,i=1;if(or(e)&&t){var s=e.offsetHeight,u=e.offsetWidth;u>0&&(o=wo(r.width)/u||1),s>0&&(i=wo(r.height)/s||1)}return{width:r.width/o,height:r.height/i,top:r.top/i,right:r.right/o,bottom:r.bottom/i,left:r.left/o,x:r.left/o,y:r.top/i}}function tf(e){var t=Do(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function B_(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&U_(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Dr(e){return mr(e).getComputedStyle(e)}function tR(e){return["table","td","th"].indexOf(wr(e))>=0}function ma(e){return((Mo(e)?e.ownerDocument:e.document)||window.document).documentElement}function vl(e){return wr(e)==="html"?e:e.assignedSlot||e.parentNode||(U_(e)?e.host:null)||ma(e)}function Kp(e){return!or(e)||Dr(e).position==="fixed"?null:e.offsetParent}function nR(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&or(e)){var o=Dr(e);if(o.position==="fixed")return null}for(var i=vl(e);or(i)&&["html","body"].indexOf(wr(i))<0;){var s=Dr(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Mi(e){for(var t=mr(e),r=Kp(e);r&&tR(r)&&Dr(r).position==="static";)r=Kp(r);return r&&(wr(r)==="html"||wr(r)==="body"&&Dr(r).position==="static")?t:r||nR(e)||t}function nf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _i(e,t,r){return Ga(e,nl(t,r))}function rR(e,t,r){var o=_i(e,t,r);return o>r?r:o}function V_(){return{top:0,right:0,bottom:0,left:0}}function H_(e){return Object.assign({},V_(),e)}function W_(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var aR=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,H_(typeof e!="number"?e:W_(e,xi))};function oR(e){var t,r=e.state,o=e.name,i=e.options,s=r.elements.arrow,u=r.modifiersData.popperOffsets,c=xr(r.placement),p=nf(c),_=[Dn,sr].indexOf(c)>=0,E=_?"height":"width";if(!(!s||!u)){var A=aR(i.padding,r),S=tf(s),g=p==="y"?wn:Dn,N=p==="y"?ir:sr,M=r.rects.reference[E]+r.rects.reference[p]-u[p]-r.rects.popper[E],V=u[p]-r.rects.reference[p],C=Mi(s),J=C?p==="y"?C.clientHeight||0:C.clientWidth||0:0,P=M/2-V/2,w=A[g],ae=J-S[E]-A[N],W=J/2-S[E]/2+P,q=_i(w,W,ae),he=p;r.modifiersData[o]=(t={},t[he]=q,t.centerOffset=q-W,t)}}function iR(e){var t=e.state,r=e.options,o=r.element,i=o===void 0?"[data-popper-arrow]":o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||B_(t.elements.popper,i)&&(t.elements.arrow=i))}var sR={name:"arrow",enabled:!0,phase:"main",fn:oR,effect:iR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Po(e){return e.split("-")[1]}var lR={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uR(e){var t=e.x,r=e.y,o=window,i=o.devicePixelRatio||1;return{x:wo(t*i)/i||0,y:wo(r*i)/i||0}}function Yp(e){var t,r=e.popper,o=e.popperRect,i=e.placement,s=e.variation,u=e.offsets,c=e.position,p=e.gpuAcceleration,_=e.adaptive,E=e.roundOffsets,A=e.isFixed,S=E===!0?uR(u):typeof E=="function"?E(u):u,g=S.x,N=g===void 0?0:g,M=S.y,V=M===void 0?0:M,C=u.hasOwnProperty("x"),J=u.hasOwnProperty("y"),P=Dn,w=wn,ae=window;if(_){var W=Mi(r),q="clientHeight",he="clientWidth";if(W===mr(r)&&(W=ma(r),Dr(W).position!=="static"&&c==="absolute"&&(q="scrollHeight",he="scrollWidth")),W=W,i===wn||(i===Dn||i===sr)&&s===Ai){w=ir;var Ue=A&&ae.visualViewport?ae.visualViewport.height:W[q];V-=Ue-o.height,V*=p?1:-1}if(i===Dn||(i===wn||i===ir)&&s===Ai){P=sr;var Ve=A&&ae.visualViewport?ae.visualViewport.width:W[he];N-=Ve-o.width,N*=p?1:-1}}var Ae=Object.assign({position:c},_&&lR);if(p){var I;return Object.assign({},Ae,(I={},I[w]=J?"0":"",I[P]=C?"0":"",I.transform=(ae.devicePixelRatio||1)<=1?"translate("+N+"px, "+V+"px)":"translate3d("+N+"px, "+V+"px, 0)",I))}return Object.assign({},Ae,(t={},t[w]=J?V+"px":"",t[P]=C?N+"px":"",t.transform="",t))}function cR(e){var t=e.state,r=e.options,o=r.gpuAcceleration,i=o===void 0?!0:o,s=r.adaptive,u=s===void 0?!0:s,c=r.roundOffsets,p=c===void 0?!0:c,_={placement:xr(t.placement),variation:Po(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yp(Object.assign({},_,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:p})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yp(Object.assign({},_,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var fR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cR,data:{}},Ls={passive:!0};function dR(e){var t=e.state,r=e.instance,o=e.options,i=o.scroll,s=i===void 0?!0:i,u=o.resize,c=u===void 0?!0:u,p=mr(t.elements.popper),_=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&_.forEach(function(E){E.addEventListener("scroll",r.update,Ls)}),c&&p.addEventListener("resize",r.update,Ls),function(){s&&_.forEach(function(E){E.removeEventListener("scroll",r.update,Ls)}),c&&p.removeEventListener("resize",r.update,Ls)}}var pR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dR,data:{}},hR={left:"right",right:"left",bottom:"top",top:"bottom"};function Gs(e){return e.replace(/left|right|bottom|top/g,function(t){return hR[t]})}var ER={start:"end",end:"start"};function $p(e){return e.replace(/start|end/g,function(t){return ER[t]})}function rf(e){var t=mr(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function af(e){return Do(ma(e)).left+rf(e).scrollLeft}function _R(e){var t=mr(e),r=ma(e),o=t.visualViewport,i=r.clientWidth,s=r.clientHeight,u=0,c=0;return o&&(i=o.width,s=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=o.offsetLeft,c=o.offsetTop)),{width:i,height:s,x:u+af(e),y:c}}function mR(e){var t,r=ma(e),o=rf(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Ga(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),u=Ga(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-o.scrollLeft+af(e),p=-o.scrollTop;return Dr(i||r).direction==="rtl"&&(c+=Ga(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:u,x:c,y:p}}function of(e){var t=Dr(e),r=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+o)}function X_(e){return["html","body","#document"].indexOf(wr(e))>=0?e.ownerDocument.body:or(e)&&of(e)?e:X_(vl(e))}function mi(e,t){var r;t===void 0&&(t=[]);var o=X_(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=mr(o),u=i?[s].concat(s.visualViewport||[],of(o)?o:[]):o,c=t.concat(u);return i?c:c.concat(mi(vl(u)))}function pc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gR(e){var t=Do(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Jp(e,t){return t===D_?pc(_R(e)):Mo(t)?gR(t):pc(mR(ma(e)))}function vR(e){var t=mi(vl(e)),r=["absolute","fixed"].indexOf(Dr(e).position)>=0,o=r&&or(e)?Mi(e):e;return Mo(o)?t.filter(function(i){return Mo(i)&&B_(i,o)&&wr(i)!=="body"&&(r?Dr(i).position!=="static":!0)}):[]}function TR(e,t,r){var o=t==="clippingParents"?vR(e):[].concat(t),i=[].concat(o,[r]),s=i[0],u=i.reduce(function(c,p){var _=Jp(e,p);return c.top=Ga(_.top,c.top),c.right=nl(_.right,c.right),c.bottom=nl(_.bottom,c.bottom),c.left=Ga(_.left,c.left),c},Jp(e,s));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function F_(e){var t=e.reference,r=e.element,o=e.placement,i=o?xr(o):null,s=o?Po(o):null,u=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,p;switch(i){case wn:p={x:u,y:t.y-r.height};break;case ir:p={x:u,y:t.y+t.height};break;case sr:p={x:t.x+t.width,y:c};break;case Dn:p={x:t.x-r.width,y:c};break;default:p={x:t.x,y:t.y}}var _=i?nf(i):null;if(_!=null){var E=_==="y"?"height":"width";switch(s){case xo:p[_]=p[_]-(t[E]/2-r[E]/2);break;case Ai:p[_]=p[_]+(t[E]/2-r[E]/2);break}}return p}function Si(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=o===void 0?e.placement:o,s=r.boundary,u=s===void 0?Wy:s,c=r.rootBoundary,p=c===void 0?D_:c,_=r.elementContext,E=_===void 0?ui:_,A=r.altBoundary,S=A===void 0?!1:A,g=r.padding,N=g===void 0?0:g,M=H_(typeof N!="number"?N:W_(N,xi)),V=E===ui?Xy:ui,C=e.rects.popper,J=e.elements[S?V:E],P=TR(Mo(J)?J:J.contextElement||ma(e.elements.popper),u,p),w=Do(e.elements.reference),ae=F_({reference:w,element:C,placement:i}),W=pc(Object.assign({},C,ae)),q=E===ui?W:w,he={top:P.top-q.top+M.top,bottom:q.bottom-P.bottom+M.bottom,left:P.left-q.left+M.left,right:q.right-P.right+M.right},Ue=e.modifiersData.offset;if(E===ui&&Ue){var Ve=Ue[i];Object.keys(he).forEach(function(Ae){var I=[sr,ir].indexOf(Ae)>=0?1:-1,Pe=[wn,ir].indexOf(Ae)>=0?"y":"x";he[Ae]+=Ve[Pe]*I})}return he}function AR(e,t){t===void 0&&(t={});var r=t,o=r.placement,i=r.boundary,s=r.rootBoundary,u=r.padding,c=r.flipVariations,p=r.allowedAutoPlacements,_=p===void 0?P_:p,E=Po(o),A=E?c?jp:jp.filter(function(N){return Po(N)===E}):xi,S=A.filter(function(N){return _.indexOf(N)>=0});S.length===0&&(S=A);var g=S.reduce(function(N,M){return N[M]=Si(e,{placement:M,boundary:i,rootBoundary:s,padding:u})[xr(M)],N},{});return Object.keys(g).sort(function(N,M){return g[N]-g[M]})}function SR(e){if(xr(e)===ef)return[];var t=Gs(e);return[$p(e),t,$p(t)]}function yR(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=r.mainAxis,s=i===void 0?!0:i,u=r.altAxis,c=u===void 0?!0:u,p=r.fallbackPlacements,_=r.padding,E=r.boundary,A=r.rootBoundary,S=r.altBoundary,g=r.flipVariations,N=g===void 0?!0:g,M=r.allowedAutoPlacements,V=t.options.placement,C=xr(V),J=C===V,P=p||(J||!N?[Gs(V)]:SR(V)),w=[V].concat(P).reduce(function(Q,ee){return Q.concat(xr(ee)===ef?AR(t,{placement:ee,boundary:E,rootBoundary:A,padding:_,flipVariations:N,allowedAutoPlacements:M}):ee)},[]),ae=t.rects.reference,W=t.rects.popper,q=new Map,he=!0,Ue=w[0],Ve=0;Ve=0,K=G?"width":"height",x=Si(t,{placement:Ae,boundary:E,rootBoundary:A,altBoundary:S,padding:_}),ce=G?Pe?sr:Dn:Pe?ir:wn;ae[K]>W[K]&&(ce=Gs(ce));var fe=Gs(ce),_e=[];if(s&&_e.push(x[I]<=0),c&&_e.push(x[ce]<=0,x[fe]<=0),_e.every(function(Q){return Q})){Ue=Ae,he=!1;break}q.set(Ae,_e)}if(he)for(var Ie=N?3:1,j=function(Q){var ee=w.find(function(X){var Y=q.get(X);if(Y)return Y.slice(0,Q).every(function(de){return de})});if(ee)return Ue=ee,"break"},U=Ie;U>0;U--){var R=j(U);if(R==="break")break}t.placement!==Ue&&(t.modifiersData[o]._skip=!0,t.placement=Ue,t.reset=!0)}}var RR={name:"flip",enabled:!0,phase:"main",fn:yR,requiresIfExists:["offset"],data:{_skip:!1}};function qp(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Qp(e){return[wn,sr,ir,Dn].some(function(t){return e[t]>=0})}function OR(e){var t=e.state,r=e.name,o=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,u=Si(t,{elementContext:"reference"}),c=Si(t,{altBoundary:!0}),p=qp(u,o),_=qp(c,i,s),E=Qp(p),A=Qp(_);t.modifiersData[r]={referenceClippingOffsets:p,popperEscapeOffsets:_,isReferenceHidden:E,hasPopperEscaped:A},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":E,"data-popper-escaped":A})}var IR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:OR};function bR(e,t,r){var o=xr(e),i=[Dn,wn].indexOf(o)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,u=s[0],c=s[1];return u=u||0,c=(c||0)*i,[Dn,sr].indexOf(o)>=0?{x:c,y:u}:{x:u,y:c}}function NR(e){var t=e.state,r=e.options,o=e.name,i=r.offset,s=i===void 0?[0,0]:i,u=P_.reduce(function(E,A){return E[A]=bR(A,t.rects,s),E},{}),c=u[t.placement],p=c.x,_=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=_),t.modifiersData[o]=u}var LR={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:NR};function CR(e){var t=e.state,r=e.name;t.modifiersData[r]=F_({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var xR={name:"popperOffsets",enabled:!0,phase:"read",fn:CR,data:{}};function MR(e){return e==="x"?"y":"x"}function wR(e){var t=e.state,r=e.options,o=e.name,i=r.mainAxis,s=i===void 0?!0:i,u=r.altAxis,c=u===void 0?!1:u,p=r.boundary,_=r.rootBoundary,E=r.altBoundary,A=r.padding,S=r.tether,g=S===void 0?!0:S,N=r.tetherOffset,M=N===void 0?0:N,V=Si(t,{boundary:p,rootBoundary:_,padding:A,altBoundary:E}),C=xr(t.placement),J=Po(t.placement),P=!J,w=nf(C),ae=MR(w),W=t.modifiersData.popperOffsets,q=t.rects.reference,he=t.rects.popper,Ue=typeof M=="function"?M(Object.assign({},t.rects,{placement:t.placement})):M,Ve=typeof Ue=="number"?{mainAxis:Ue,altAxis:Ue}:Object.assign({mainAxis:0,altAxis:0},Ue),Ae=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(W){if(s){var Pe,G=w==="y"?wn:Dn,K=w==="y"?ir:sr,x=w==="y"?"height":"width",ce=W[w],fe=ce+V[G],_e=ce-V[K],Ie=g?-he[x]/2:0,j=J===xo?q[x]:he[x],U=J===xo?-he[x]:-q[x],R=t.elements.arrow,Q=g&&R?tf(R):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:V_(),X=ee[G],Y=ee[K],de=_i(0,q[x],Q[x]),le=P?q[x]/2-Ie-de-X-Ve.mainAxis:j-de-X-Ve.mainAxis,Se=P?-q[x]/2+Ie+de+Y+Ve.mainAxis:U+de+Y+Ve.mainAxis,Ne=t.elements.arrow&&Mi(t.elements.arrow),Qe=Ne?w==="y"?Ne.clientTop||0:Ne.clientLeft||0:0,lt=(Pe=Ae?.[w])!=null?Pe:0,we=ce+le-lt-Qe,We=ce+Se-lt,ft=_i(g?nl(fe,we):fe,ce,g?Ga(_e,We):_e);W[w]=ft,I[w]=ft-ce}if(c){var nt,Ht=w==="x"?wn:Dn,ne=w==="x"?ir:sr,Ce=W[ae],ot=ae==="y"?"height":"width",Gt=Ce+V[Ht],wt=Ce-V[ne],hn=[wn,Dn].indexOf(C)!==-1,ln=(nt=Ae?.[ae])!=null?nt:0,lr=hn?Gt:Ce-q[ot]-he[ot]-ln+Ve.altAxis,Un=hn?Ce+q[ot]+he[ot]-ln-Ve.altAxis:wt,kn=g&&hn?rR(lr,Ce,Un):_i(g?lr:Gt,Ce,g?Un:wt);W[ae]=kn,I[ae]=kn-Ce}t.modifiersData[o]=I}}var DR={name:"preventOverflow",enabled:!0,phase:"main",fn:wR,requiresIfExists:["offset"]};function PR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function UR(e){return e===mr(e)||!or(e)?rf(e):PR(e)}function kR(e){var t=e.getBoundingClientRect(),r=wo(t.width)/e.offsetWidth||1,o=wo(t.height)/e.offsetHeight||1;return r!==1||o!==1}function BR(e,t,r){r===void 0&&(r=!1);var o=or(t),i=or(t)&&kR(t),s=ma(t),u=Do(e,i),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(o||!o&&!r)&&((wr(t)!=="body"||of(s))&&(c=UR(t)),or(t)?(p=Do(t,!0),p.x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=af(s))),{x:u.left+c.scrollLeft-p.x,y:u.top+c.scrollTop-p.y,width:u.width,height:u.height}}function VR(e){var t=new Map,r=new Set,o=[];e.forEach(function(s){t.set(s.name,s)});function i(s){r.add(s.name);var u=[].concat(s.requires||[],s.requiresIfExists||[]);u.forEach(function(c){if(!r.has(c)){var p=t.get(c);p&&i(p)}}),o.push(s)}return e.forEach(function(s){r.has(s.name)||i(s)}),o}function HR(e){var t=VR(e);return Qy.reduce(function(r,o){return r.concat(t.filter(function(i){return i.phase===o}))},[])}function WR(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function XR(e){var t=e.reduce(function(r,o){var i=r[o.name];return r[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var Zp={placement:"bottom",modifiers:[],strategy:"absolute"};function eh(){for(var e=arguments.length,t=new Array(e),r=0;r-1}function $_(e,t){return typeof e=="function"?e.apply(void 0,t):e}function th(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function KR(e){return e.split(/\s+/).filter(Boolean)}function Ro(e){return[].concat(e)}function nh(e,t){e.indexOf(t)===-1&&e.push(t)}function YR(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function J_(e){return e.split("-")[0]}function Uo(e){return[].slice.call(e)}function rh(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function No(){return document.createElement("div")}function Tl(e){return["Element","Fragment"].some(function(t){return sf(e,t)})}function $R(e){return sf(e,"NodeList")}function lf(e){return sf(e,"MouseEvent")}function JR(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function qR(e){return Tl(e)?[e]:$R(e)?Uo(e):Array.isArray(e)?e:Uo(document.querySelectorAll(e))}function qu(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function yi(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function q_(e){var t,r=Ro(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function QR(e,t){var r=t.clientX,o=t.clientY;return e.every(function(i){var s=i.popperRect,u=i.popperState,c=i.props,p=c.interactiveBorder,_=J_(u.placement),E=u.modifiersData.offset;if(!E)return!0;var A=_==="bottom"?E.top.y:0,S=_==="top"?E.bottom.y:0,g=_==="right"?E.left.x:0,N=_==="left"?E.right.x:0,M=s.top-o+A>p,V=o-s.bottom-S>p,C=s.left-r+g>p,J=r-s.right-N>p;return M||V||C||J})}function Qu(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[o](i,r)})}function ah(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var Ir={isTouch:!1},oh=0;function ZR(){Ir.isTouch||(Ir.isTouch=!0,window.performance&&document.addEventListener("mousemove",Q_))}function Q_(){var e=performance.now();e-oh<20&&(Ir.isTouch=!1,document.removeEventListener("mousemove",Q_)),oh=e}function eO(){var e=document.activeElement;if(JR(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function tO(){document.addEventListener("touchstart",ZR,ka),window.addEventListener("blur",eO)}var nO=typeof window<"u"&&typeof document<"u",rO=nO?!!window.msCrypto:!1,aO={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},oO={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},_r=Object.assign({appendTo:Y_,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},aO,oO),iO=Object.keys(_r),sO=function(e){var t=Object.keys(e);t.forEach(function(r){_r[r]=e[r]})};function Z_(e){var t=e.plugins||[],r=t.reduce(function(o,i){var s=i.name,u=i.defaultValue;if(s){var c;o[s]=e[s]!==void 0?e[s]:(c=_r[s])!=null?c:u}return o},{});return Object.assign({},e,r)}function lO(e,t){var r=t?Object.keys(Z_(Object.assign({},_r,{plugins:t}))):iO,o=r.reduce(function(i,s){var u=(e.getAttribute("data-tippy-"+s)||"").trim();if(!u)return i;if(s==="content")i[s]=u;else try{i[s]=JSON.parse(u)}catch{i[s]=u}return i},{});return o}function ih(e,t){var r=Object.assign({},t,{content:$_(t.content,[e])},t.ignoreAttributes?{}:lO(e,t.plugins));return r.aria=Object.assign({},_r.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var uO=function(){return"innerHTML"};function hc(e,t){e[uO()]=t}function sh(e){var t=No();return e===!0?t.className=j_:(t.className=K_,Tl(e)?t.appendChild(e):hc(t,e)),t}function lh(e,t){Tl(t.content)?(hc(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?hc(e,t.content):e.textContent=t.content)}function rl(e){var t=e.firstElementChild,r=Uo(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(G_)}),arrow:r.find(function(o){return o.classList.contains(j_)||o.classList.contains(K_)}),backdrop:r.find(function(o){return o.classList.contains(z_)})}}function em(e){var t=No(),r=No();r.className=jR,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=No();o.className=G_,o.setAttribute("data-state","hidden"),lh(o,e.props),t.appendChild(r),r.appendChild(o),i(e.props,e.props);function i(s,u){var c=rl(t),p=c.box,_=c.content,E=c.arrow;u.theme?p.setAttribute("data-theme",u.theme):p.removeAttribute("data-theme"),typeof u.animation=="string"?p.setAttribute("data-animation",u.animation):p.removeAttribute("data-animation"),u.inertia?p.setAttribute("data-inertia",""):p.removeAttribute("data-inertia"),p.style.maxWidth=typeof u.maxWidth=="number"?u.maxWidth+"px":u.maxWidth,u.role?p.setAttribute("role",u.role):p.removeAttribute("role"),(s.content!==u.content||s.allowHTML!==u.allowHTML)&&lh(_,e.props),u.arrow?E?s.arrow!==u.arrow&&(p.removeChild(E),p.appendChild(sh(u.arrow))):p.appendChild(sh(u.arrow)):E&&p.removeChild(E)}return{popper:t,onUpdate:i}}em.$$tippy=!0;var cO=1,Cs=[],Zu=[];function fO(e,t){var r=ih(e,Object.assign({},_r,Z_(rh(t)))),o,i,s,u=!1,c=!1,p=!1,_=!1,E,A,S,g=[],N=th(we,r.interactiveDebounce),M,V=cO++,C=null,J=YR(r.plugins),P={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},w={id:V,reference:e,popper:No(),popperInstance:C,props:r,state:P,plugins:J,clearDelayTimeouts:lr,setProps:Un,setContent:kn,show:ga,hide:va,hideWithInteractivity:Ta,enable:hn,disable:ln,unmount:Aa,destroy:ea};if(!r.render)return w;var ae=r.render(w),W=ae.popper,q=ae.onUpdate;W.setAttribute("data-tippy-root",""),W.id="tippy-"+w.id,w.popper=W,e._tippy=w,W._tippy=w;var he=J.map(function(te){return te.fn(w)}),Ue=e.hasAttribute("aria-expanded");return Ne(),Ie(),ce(),fe("onCreate",[w]),r.showOnCreate&&Gt(),W.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()}),W.addEventListener("mouseleave",function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&G().addEventListener("mousemove",N)}),w;function Ve(){var te=w.props.touch;return Array.isArray(te)?te:[te,0]}function Ae(){return Ve()[0]==="hold"}function I(){var te;return!!((te=w.props.render)!=null&&te.$$tippy)}function Pe(){return M||e}function G(){var te=Pe().parentNode;return te?q_(te):document}function K(){return rl(W)}function x(te){return w.state.isMounted&&!w.state.isVisible||Ir.isTouch||E&&E.type==="focus"?0:Ju(w.props.delay,te?0:1,_r.delay)}function ce(te){te===void 0&&(te=!1),W.style.pointerEvents=w.props.interactive&&!te?"":"none",W.style.zIndex=""+w.props.zIndex}function fe(te,De,Ke){if(Ke===void 0&&(Ke=!0),he.forEach(function(dt){dt[te]&&dt[te].apply(dt,De)}),Ke){var Et;(Et=w.props)[te].apply(Et,De)}}function _e(){var te=w.props.aria;if(te.content){var De="aria-"+te.content,Ke=W.id,Et=Ro(w.props.triggerTarget||e);Et.forEach(function(dt){var qt=dt.getAttribute(De);if(w.state.isVisible)dt.setAttribute(De,qt?qt+" "+Ke:Ke);else{var En=qt&&qt.replace(Ke,"").trim();En?dt.setAttribute(De,En):dt.removeAttribute(De)}})}}function Ie(){if(!(Ue||!w.props.aria.expanded)){var te=Ro(w.props.triggerTarget||e);te.forEach(function(De){w.props.interactive?De.setAttribute("aria-expanded",w.state.isVisible&&De===Pe()?"true":"false"):De.removeAttribute("aria-expanded")})}}function j(){G().removeEventListener("mousemove",N),Cs=Cs.filter(function(te){return te!==N})}function U(te){if(!(Ir.isTouch&&(p||te.type==="mousedown"))){var De=te.composedPath&&te.composedPath()[0]||te.target;if(!(w.props.interactive&&ah(W,De))){if(Ro(w.props.triggerTarget||e).some(function(Ke){return ah(Ke,De)})){if(Ir.isTouch||w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else fe("onClickOutside",[w,te]);w.props.hideOnClick===!0&&(w.clearDelayTimeouts(),w.hide(),c=!0,setTimeout(function(){c=!1}),w.state.isMounted||X())}}}function R(){p=!0}function Q(){p=!1}function ee(){var te=G();te.addEventListener("mousedown",U,!0),te.addEventListener("touchend",U,ka),te.addEventListener("touchstart",Q,ka),te.addEventListener("touchmove",R,ka)}function X(){var te=G();te.removeEventListener("mousedown",U,!0),te.removeEventListener("touchend",U,ka),te.removeEventListener("touchstart",Q,ka),te.removeEventListener("touchmove",R,ka)}function Y(te,De){le(te,function(){!w.state.isVisible&&W.parentNode&&W.parentNode.contains(W)&&De()})}function de(te,De){le(te,De)}function le(te,De){var Ke=K().box;function Et(dt){dt.target===Ke&&(Qu(Ke,"remove",Et),De())}if(te===0)return De();Qu(Ke,"remove",A),Qu(Ke,"add",Et),A=Et}function Se(te,De,Ke){Ke===void 0&&(Ke=!1);var Et=Ro(w.props.triggerTarget||e);Et.forEach(function(dt){dt.addEventListener(te,De,Ke),g.push({node:dt,eventType:te,handler:De,options:Ke})})}function Ne(){Ae()&&(Se("touchstart",lt,{passive:!0}),Se("touchend",We,{passive:!0})),KR(w.props.trigger).forEach(function(te){if(te!=="manual")switch(Se(te,lt),te){case"mouseenter":Se("mouseleave",We);break;case"focus":Se(rO?"focusout":"blur",ft);break;case"focusin":Se("focusout",ft);break}})}function Qe(){g.forEach(function(te){var De=te.node,Ke=te.eventType,Et=te.handler,dt=te.options;De.removeEventListener(Ke,Et,dt)}),g=[]}function lt(te){var De,Ke=!1;if(!(!w.state.isEnabled||nt(te)||c)){var Et=((De=E)==null?void 0:De.type)==="focus";E=te,M=te.currentTarget,Ie(),!w.state.isVisible&&lf(te)&&Cs.forEach(function(dt){return dt(te)}),te.type==="click"&&(w.props.trigger.indexOf("mouseenter")<0||u)&&w.props.hideOnClick!==!1&&w.state.isVisible?Ke=!0:Gt(te),te.type==="click"&&(u=!Ke),Ke&&!Et&&wt(te)}}function we(te){var De=te.target,Ke=Pe().contains(De)||W.contains(De);if(!(te.type==="mousemove"&&Ke)){var Et=ot().concat(W).map(function(dt){var qt,En=dt._tippy,Kn=(qt=En.popperInstance)==null?void 0:qt.state;return Kn?{popperRect:dt.getBoundingClientRect(),popperState:Kn,props:r}:null}).filter(Boolean);QR(Et,te)&&(j(),wt(te))}}function We(te){var De=nt(te)||w.props.trigger.indexOf("click")>=0&&u;if(!De){if(w.props.interactive){w.hideWithInteractivity(te);return}wt(te)}}function ft(te){w.props.trigger.indexOf("focusin")<0&&te.target!==Pe()||w.props.interactive&&te.relatedTarget&&W.contains(te.relatedTarget)||wt(te)}function nt(te){return Ir.isTouch?Ae()!==te.type.indexOf("touch")>=0:!1}function Ht(){ne();var te=w.props,De=te.popperOptions,Ke=te.placement,Et=te.offset,dt=te.getReferenceClientRect,qt=te.moveTransition,En=I()?rl(W).arrow:null,Kn=dt?{getBoundingClientRect:dt,contextElement:dt.contextElement||Pe()}:e,On={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(oe){var Re=oe.state;if(I()){var tt=K(),Ct=tt.box;["placement","reference-hidden","escaped"].forEach(function(xt){xt==="placement"?Ct.setAttribute("data-placement",Re.placement):Re.attributes.popper["data-popper-"+xt]?Ct.setAttribute("data-"+xt,""):Ct.removeAttribute("data-"+xt)}),Re.attributes.popper={}}}},k=[{name:"offset",options:{offset:Et}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!qt}},On];I()&&En&&k.push({name:"arrow",options:{element:En,padding:3}}),k.push.apply(k,De?.modifiers||[]),w.popperInstance=zR(Kn,W,Object.assign({},De,{placement:Ke,onFirstUpdate:S,modifiers:k}))}function ne(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function Ce(){var te=w.props.appendTo,De,Ke=Pe();w.props.interactive&&te===Y_||te==="parent"?De=Ke.parentNode:De=$_(te,[Ke]),De.contains(W)||De.appendChild(W),w.state.isMounted=!0,Ht()}function ot(){return Uo(W.querySelectorAll("[data-tippy-root]"))}function Gt(te){w.clearDelayTimeouts(),te&&fe("onTrigger",[w,te]),ee();var De=x(!0),Ke=Ve(),Et=Ke[0],dt=Ke[1];Ir.isTouch&&Et==="hold"&&dt&&(De=dt),De?o=setTimeout(function(){w.show()},De):w.show()}function wt(te){if(w.clearDelayTimeouts(),fe("onUntrigger",[w,te]),!w.state.isVisible){X();return}if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(te.type)>=0&&u)){var De=x(!1);De?i=setTimeout(function(){w.state.isVisible&&w.hide()},De):s=requestAnimationFrame(function(){w.hide()})}}function hn(){w.state.isEnabled=!0}function ln(){w.hide(),w.state.isEnabled=!1}function lr(){clearTimeout(o),clearTimeout(i),cancelAnimationFrame(s)}function Un(te){if(!w.state.isDestroyed){fe("onBeforeUpdate",[w,te]),Qe();var De=w.props,Ke=ih(e,Object.assign({},De,rh(te),{ignoreAttributes:!0}));w.props=Ke,Ne(),De.interactiveDebounce!==Ke.interactiveDebounce&&(j(),N=th(we,Ke.interactiveDebounce)),De.triggerTarget&&!Ke.triggerTarget?Ro(De.triggerTarget).forEach(function(Et){Et.removeAttribute("aria-expanded")}):Ke.triggerTarget&&e.removeAttribute("aria-expanded"),Ie(),ce(),q&&q(De,Ke),w.popperInstance&&(Ht(),ot().forEach(function(Et){requestAnimationFrame(Et._tippy.popperInstance.forceUpdate)})),fe("onAfterUpdate",[w,te])}}function kn(te){w.setProps({content:te})}function ga(){var te=w.state.isVisible,De=w.state.isDestroyed,Ke=!w.state.isEnabled,Et=Ir.isTouch&&!w.props.touch,dt=Ju(w.props.duration,0,_r.duration);if(!(te||De||Ke||Et)&&!Pe().hasAttribute("disabled")&&(fe("onShow",[w],!1),w.props.onShow(w)!==!1)){if(w.state.isVisible=!0,I()&&(W.style.visibility="visible"),ce(),ee(),w.state.isMounted||(W.style.transition="none"),I()){var qt=K(),En=qt.box,Kn=qt.content;qu([En,Kn],0)}S=function(){var On;if(!(!w.state.isVisible||_)){if(_=!0,W.offsetHeight,W.style.transition=w.props.moveTransition,I()&&w.props.animation){var k=K(),oe=k.box,Re=k.content;qu([oe,Re],dt),yi([oe,Re],"visible")}_e(),Ie(),nh(Zu,w),(On=w.popperInstance)==null||On.forceUpdate(),fe("onMount",[w]),w.props.animation&&I()&&de(dt,function(){w.state.isShown=!0,fe("onShown",[w])})}},Ce()}}function va(){var te=!w.state.isVisible,De=w.state.isDestroyed,Ke=!w.state.isEnabled,Et=Ju(w.props.duration,1,_r.duration);if(!(te||De||Ke)&&(fe("onHide",[w],!1),w.props.onHide(w)!==!1)){if(w.state.isVisible=!1,w.state.isShown=!1,_=!1,u=!1,I()&&(W.style.visibility="hidden"),j(),X(),ce(!0),I()){var dt=K(),qt=dt.box,En=dt.content;w.props.animation&&(qu([qt,En],Et),yi([qt,En],"hidden"))}_e(),Ie(),w.props.animation?I()&&Y(Et,w.unmount):w.unmount()}}function Ta(te){G().addEventListener("mousemove",N),nh(Cs,N),N(te)}function Aa(){w.state.isVisible&&w.hide(),w.state.isMounted&&(ne(),ot().forEach(function(te){te._tippy.unmount()}),W.parentNode&&W.parentNode.removeChild(W),Zu=Zu.filter(function(te){return te!==w}),w.state.isMounted=!1,fe("onHidden",[w]))}function ea(){w.state.isDestroyed||(w.clearDelayTimeouts(),w.unmount(),Qe(),delete e._tippy,w.state.isDestroyed=!0,fe("onDestroy",[w]))}}function Ge(e,t){t===void 0&&(t={});var r=_r.plugins.concat(t.plugins||[]);tO();var o=Object.assign({},t,{plugins:r}),i=qR(e),s=i.reduce(function(u,c){var p=c&&fO(c,o);return p&&u.push(p),u},[]);return Tl(e)?s[0]:s}Ge.defaultProps=_r;Ge.setDefaultProps=sO;Ge.currentInput=Ir;Object.assign({},k_,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}});var dO={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(!((t=e.props.render)!=null&&t.$$tippy))return{};var r=rl(e.popper),o=r.box,i=r.content,s=e.props.animateFill?pO():null;return{onCreate:function(){s&&(o.insertBefore(s,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var u=o.style.transitionDuration,c=Number(u.replace("ms",""));i.style.transitionDelay=Math.round(c/10)+"ms",s.style.transitionDuration=u,yi([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&yi([s],"hidden")}}}};function pO(){var e=No();return e.className=z_,yi([e],"hidden"),e}var Ec={clientX:0,clientY:0},xs=[];function tm(e){var t=e.clientX,r=e.clientY;Ec={clientX:t,clientY:r}}function hO(e){e.addEventListener("mousemove",tm)}function EO(e){e.removeEventListener("mousemove",tm)}var _O={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,r=q_(e.props.triggerTarget||t),o=!1,i=!1,s=!0,u=e.props;function c(){return e.props.followCursor==="initial"&&e.state.isVisible}function p(){r.addEventListener("mousemove",A)}function _(){r.removeEventListener("mousemove",A)}function E(){o=!0,e.setProps({getReferenceClientRect:null}),o=!1}function A(N){var M=N.target?t.contains(N.target):!0,V=e.props.followCursor,C=N.clientX,J=N.clientY,P=t.getBoundingClientRect(),w=C-P.left,ae=J-P.top;(M||!e.props.interactive)&&e.setProps({getReferenceClientRect:function(){var W=t.getBoundingClientRect(),q=C,he=J;V==="initial"&&(q=W.left+w,he=W.top+ae);var Ue=V==="horizontal"?W.top:he,Ve=V==="vertical"?W.right:q,Ae=V==="horizontal"?W.bottom:he,I=V==="vertical"?W.left:q;return{width:Ve-I,height:Ae-Ue,top:Ue,right:Ve,bottom:Ae,left:I}}})}function S(){e.props.followCursor&&(xs.push({instance:e,doc:r}),hO(r))}function g(){xs=xs.filter(function(N){return N.instance!==e}),xs.filter(function(N){return N.doc===r}).length===0&&EO(r)}return{onCreate:S,onDestroy:g,onBeforeUpdate:function(){u=e.props},onAfterUpdate:function(N,M){var V=M.followCursor;o||V!==void 0&&u.followCursor!==V&&(g(),V?(S(),e.state.isMounted&&!i&&!c()&&p()):(_(),E()))},onMount:function(){e.props.followCursor&&!i&&(s&&(A(Ec),s=!1),c()||p())},onTrigger:function(N,M){lf(M)&&(Ec={clientX:M.clientX,clientY:M.clientY}),i=M.type==="focus"},onHidden:function(){e.props.followCursor&&(E(),_(),s=!0)}}}};function mO(e,t){var r;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((r=e.popperOptions)==null?void 0:r.modifiers)||[]).filter(function(o){var i=o.name;return i!==t.name}),[t])})}}var gO={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t=e.reference;function r(){return!!e.props.inlinePositioning}var o,i=-1,s=!1,u=[],c={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(A){var S=A.state;r()&&(u.indexOf(S.placement)!==-1&&(u=[]),o!==S.placement&&u.indexOf(S.placement)===-1&&(u.push(S.placement),e.setProps({getReferenceClientRect:function(){return p(S.placement)}})),o=S.placement)}};function p(A){return vO(J_(A),t.getBoundingClientRect(),Uo(t.getClientRects()),i)}function _(A){s=!0,e.setProps(A),s=!1}function E(){s||_(mO(e.props,c))}return{onCreate:E,onAfterUpdate:E,onTrigger:function(A,S){if(lf(S)){var g=Uo(e.reference.getClientRects()),N=g.find(function(V){return V.left-2<=S.clientX&&V.right+2>=S.clientX&&V.top-2<=S.clientY&&V.bottom+2>=S.clientY}),M=g.indexOf(N);i=M>-1?M:i}},onHidden:function(){i=-1}}}};function vO(e,t,r,o){if(r.length<2||e===null)return t;if(r.length===2&&o>=0&&r[0].left>r[1].right)return r[o]||t;switch(e){case"top":case"bottom":{var i=r[0],s=r[r.length-1],u=e==="top",c=i.top,p=s.bottom,_=u?i.left:s.left,E=u?i.right:s.right,A=E-_,S=p-c;return{top:c,bottom:p,left:_,right:E,width:A,height:S}}case"left":case"right":{var g=Math.min.apply(Math,r.map(function(W){return W.left})),N=Math.max.apply(Math,r.map(function(W){return W.right})),M=r.filter(function(W){return e==="left"?W.left===g:W.right===N}),V=M[0].top,C=M[M.length-1].bottom,J=g,P=N,w=P-J,ae=C-V;return{top:V,bottom:C,left:J,right:P,width:w,height:ae}}default:return t}}var TO={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,r=e.popper;function o(){return e.popperInstance?e.popperInstance.state.elements.reference:t}function i(p){return e.props.sticky===!0||e.props.sticky===p}var s=null,u=null;function c(){var p=i("reference")?o().getBoundingClientRect():null,_=i("popper")?r.getBoundingClientRect():null;(p&&uh(s,p)||_&&uh(u,_))&&e.popperInstance&&e.popperInstance.update(),s=p,u=_,e.state.isMounted&&requestAnimationFrame(c)}return{onMount:function(){e.props.sticky&&c()}}}};function uh(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ge.setDefaultProps({render:em});Ge.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const AO=e=>e instanceof Object&&"$"in e&&"$el"in e;function nm(e,t={},r={mount:!0,appName:"Tippy"}){r=Object.assign({mount:!0,appName:"Tippy"},r);const o=M_(),i=je(),s=je({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),u=Ny();let c=null;const p=()=>c||(c=document.createDocumentFragment(),c),_=q=>{let he,Ue=ca(q)?q.value:q;return Cy(Ue)?(u.value||(u.value=el({name:r.appName,setup:()=>()=>ca(q)?q.value:q}),o&&Object.assign(u.value._context,o.appContext),u.value.mount(p())),he=()=>p()):typeof Ue=="object"?(u.value||(u.value=el({name:r.appName,setup:()=>()=>Ha(ca(q)?q.value:q)}),o&&Object.assign(u.value._context,o.appContext),u.value.mount(p())),he=()=>p()):he=Ue,he},E=q=>{let he={};return ca(q)?he=q.value||{}:Xp(q)?he={...q}:he={...q},he.content&&(he.content=_(he.content)),he.triggerTarget&&(he.triggerTarget=ca(he.triggerTarget)?he.triggerTarget.value:he.triggerTarget),(!he.plugins||!Array.isArray(he.plugins))&&(he.plugins=[]),he.plugins=he.plugins.filter(Ue=>Ue.name!=="vueTippyReactiveState"),he.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){s.value.isEnabled=!0},onMount(){s.value.isMounted=!0},onShow(){s.value.isMounted=!0,s.value.isVisible=!0},onShown(){s.value.isShown=!0},onHide(){s.value.isMounted=!1,s.value.isVisible=!1},onHidden(){s.value.isShown=!1},onUnmounted(){s.value.isMounted=!1},onDestroy(){s.value.isDestroyed=!0}})}),he},A=()=>{i.value&&i.value.setProps(E(t))},S=()=>{!i.value||!t.content||i.value.setContent(_(t.content))},g=q=>{var he;(he=i.value)===null||he===void 0||he.setContent(_(q))},N=q=>{var he;(he=i.value)===null||he===void 0||he.setProps(E(q))},M=()=>{var q;i.value&&(i.value.destroy(),i.value=void 0),c=null,(q=u.value)===null||q===void 0||q.unmount(),u.value=void 0},V=()=>{var q;(q=i.value)===null||q===void 0||q.show()},C=()=>{var q;(q=i.value)===null||q===void 0||q.hide()},J=()=>{var q;(q=i.value)===null||q===void 0||q.disable(),s.value.isEnabled=!1},P=()=>{var q;(q=i.value)===null||q===void 0||q.enable(),s.value.isEnabled=!0},w=()=>{var q;(q=i.value)===null||q===void 0||q.unmount()},ae=()=>{if(!e)return;let q=ca(e)?e.value:e;typeof q=="function"&&(q=q()),AO(q)&&(q=q.$el),q&&(i.value=Ge(q,E(t)),q.$tippy=W)},W={tippy:i,refresh:A,refreshContent:S,setContent:g,setProps:N,destroy:M,hide:C,show:V,disable:J,enable:P,unmount:w,mount:ae,state:s};return r.mount&&(o?o.isMounted?ae():Za(ae):ae()),o&&Ly(()=>{M()}),ca(t)||Xp(t)?en(t,A,{immediate:!1}):ca(t.content)&&en(t.content,S,{immediate:!1}),W}function SO(e){return typeof e=="function"?e():d(e)}function yO(e){var t,r;const o=SO(e);return(r=(t=o)===null||t===void 0?void 0:t.$el)!==null&&r!==void 0?r:o}const gi=Ut({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Ge.defaultProps.appendTo},aria:{default:()=>Ge.defaultProps.aria},delay:{default:()=>Ge.defaultProps.delay},duration:{default:()=>Ge.defaultProps.duration},getReferenceClientRect:{default:()=>Ge.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Ge.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Ge.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Ge.defaultProps.interactive},interactiveBorder:{default:()=>Ge.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Ge.defaultProps.interactiveDebounce},moveTransition:{default:()=>Ge.defaultProps.moveTransition},offset:{default:()=>Ge.defaultProps.offset},onAfterUpdate:{default:()=>Ge.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Ge.defaultProps.onBeforeUpdate},onCreate:{default:()=>Ge.defaultProps.onCreate},onDestroy:{default:()=>Ge.defaultProps.onDestroy},onHidden:{default:()=>Ge.defaultProps.onHidden},onHide:{default:()=>Ge.defaultProps.onHide},onMount:{default:()=>Ge.defaultProps.onMount},onShow:{default:()=>Ge.defaultProps.onShow},onShown:{default:()=>Ge.defaultProps.onShown},onTrigger:{default:()=>Ge.defaultProps.onTrigger},onUntrigger:{default:()=>Ge.defaultProps.onUntrigger},onClickOutside:{default:()=>Ge.defaultProps.onClickOutside},placement:{default:()=>Ge.defaultProps.placement},plugins:{default:()=>Ge.defaultProps.plugins},popperOptions:{default:()=>Ge.defaultProps.popperOptions},render:{default:()=>Ge.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Ge.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Ge.defaultProps.touch},trigger:{default:()=>Ge.defaultProps.trigger},triggerTarget:{default:()=>Ge.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Ge.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Ge.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Ge.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Ge.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Ge.defaultProps.allowHTML},animation:{default:()=>Ge.defaultProps.animation},arrow:{default:()=>Ge.defaultProps.arrow},content:{default:()=>Ge.defaultProps.content},inertia:{default:()=>Ge.defaultProps.inertia},maxWidth:{default:()=>Ge.defaultProps.maxWidth},role:{default:()=>Ge.defaultProps.role},theme:{default:()=>Ge.defaultProps.theme},zIndex:{default:()=>Ge.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:r,expose:o}){const i=je(),s=je(),u=je(),c=je(!1),p=()=>{let g={...e};for(const N of["to","tag","contentTag","contentClass"])g.hasOwnProperty(N)&&delete g[N];return g};let _=()=>yO(i);e.to&&(typeof Element<"u"&&e.to instanceof Element?_=()=>e.to:e.to==="parent"?_=()=>{let g=i.value;return g||(g=i.value=s.value.parentElement),g}:(typeof e.to=="string"||e.to instanceof String)&&(_=()=>document.querySelector(e.to)));const E=nm(_,p());let A=t.content;!A&&e.to==="parent"&&(A=t.default),Za(()=>{c.value=!0,Fa(()=>{A&&E.setContent(()=>u.value)})}),en(E.state,()=>{r("state",d(E.state))},{immediate:!0,deep:!0}),en(()=>e,()=>{E.setProps(p()),A&&E.setContent(()=>u.value)},{deep:!0});let S=Pn({elem:i,contentElem:u,mounted:c,...E});return o(S),()=>{const g=(e.contentTag,e.contentTag),N=A?Ha(g,{ref:u,style:{display:c.value?"inherit":"none"},class:e.contentClass},A(S)):null;if(e.to==="parent"){const C=[];if(!i.value){const J=Ha("span",{ref:s,"data-v-tippy":"",style:{display:"none"}});C.push(J)}return N&&C.push(N),C}const M=t.default?t.default(S):[];if(!e.tag){const C=Ha(M[0],{ref:i,"data-v-tippy":""});return N?[C,N]:C}const V=(e.tag,e.tag);return Ha(V,{ref:i,"data-v-tippy":""},N?[M,N]:M)}}}),RO=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let ch={};Object.keys(Ge.defaultProps).forEach(e=>{RO.includes(e)?ch[e]={type:Boolean,default:function(){return Ge.defaultProps[e]}}:ch[e]={default:function(){return Ge.defaultProps[e]}}});const St={mounted(e,t,r){const o=typeof t.value=="string"?{content:t.value}:t.value||{},i=Object.keys(t.modifiers||{}),s=i.find(c=>c!=="arrow"),u=i.findIndex(c=>c==="arrow")!==-1;s&&(o.placement=o.placement||s),u&&(o.arrow=o.arrow!==void 0?o.arrow:!0),r.props&&r.props.onTippyShow&&(o.onShow=function(...c){var p;return(p=r.props)===null||p===void 0?void 0:p.onTippyShow(...c)}),r.props&&r.props.onTippyShown&&(o.onShown=function(...c){var p;return(p=r.props)===null||p===void 0?void 0:p.onTippyShown(...c)}),r.props&&r.props.onTippyHidden&&(o.onHidden=function(...c){var p;return(p=r.props)===null||p===void 0?void 0:p.onTippyHidden(...c)}),r.props&&r.props.onTippyHide&&(o.onHide=function(...c){var p;return(p=r.props)===null||p===void 0?void 0:p.onTippyHide(...c)}),r.props&&r.props.onTippyMount&&(o.onMount=function(...c){var p;return(p=r.props)===null||p===void 0?void 0:p.onTippyMount(...c)}),e.getAttribute("title")&&!o.content&&(o.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!o.content&&(o.content=e.getAttribute("content")),nm(e,o)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const r=typeof t.value=="string"?{content:t.value}:t.value||{};r.content||(r.content=null),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(r||{}):e._tippy&&e._tippy.setProps(r||{})}},rm=Ge.setDefaultProps;rm({ignoreAttributes:!0,plugins:[TO,gO,_O,dO]});function OO(e,t,r){return(t=bO(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function me(e){for(var t=1;t{};let uf={},am={},om=null,im={mark:dh,measure:dh};try{typeof window<"u"&&(uf=window),typeof document<"u"&&(am=document),typeof MutationObserver<"u"&&(om=MutationObserver),typeof performance<"u"&&(im=performance)}catch{}const{userAgent:ph=""}=uf.navigator||{},da=uf,Vt=am,hh=om,Ms=im;da.document;const Zr=!!Vt.documentElement&&!!Vt.head&&typeof Vt.addEventListener=="function"&&typeof Vt.createElement=="function",sm=~ph.indexOf("MSIE")||~ph.indexOf("Trident/");var NO=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,LO=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,lm={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},CO={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},um=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],An="classic",Al="duotone",xO="sharp",MO="sharp-duotone",cm=[An,Al,xO,MO],wO={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},DO={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},PO=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),UO={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},kO=["fak","fa-kit","fakd","fa-kit-duotone"],Eh={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},BO=["kit"],VO={kit:{"fa-kit":"fak"}},HO=["fak","fakd"],WO={kit:{fak:"fa-kit"}},_h={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},ws={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},XO=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],FO=["fak","fa-kit","fakd","fa-kit-duotone"],GO={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},zO={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},jO={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},_c={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},KO=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],mc=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...XO,...KO],YO=["solid","regular","light","thin","duotone","brands"],fm=[1,2,3,4,5,6,7,8,9,10],$O=fm.concat([11,12,13,14,15,16,17,18,19,20]),JO=[...Object.keys(jO),...YO,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",ws.GROUP,ws.SWAP_OPACITY,ws.PRIMARY,ws.SECONDARY].concat(fm.map(e=>"".concat(e,"x"))).concat($O.map(e=>"w-".concat(e))),qO={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Jr="___FONT_AWESOME___",gc=16,dm="fa",pm="svg-inline--fa",Ya="data-fa-i2svg",vc="data-fa-pseudo-element",QO="data-fa-pseudo-element-pending",cf="data-prefix",ff="data-icon",mh="fontawesome-i2svg",ZO="async",eI=["HTML","HEAD","STYLE","SCRIPT"],hm=(()=>{try{return!0}catch{return!1}})();function wi(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[An]}})}const Em=me({},lm);Em[An]=me(me(me(me({},{"fa-duotone":"duotone"}),lm[An]),Eh.kit),Eh["kit-duotone"]);const tI=wi(Em),Tc=me({},UO);Tc[An]=me(me(me(me({},{duotone:"fad"}),Tc[An]),_h.kit),_h["kit-duotone"]);const gh=wi(Tc),Ac=me({},_c);Ac[An]=me(me({},Ac[An]),WO.kit);const df=wi(Ac),Sc=me({},zO);Sc[An]=me(me({},Sc[An]),VO.kit);wi(Sc);const nI=NO,_m="fa-layers-text",rI=LO,aI=me({},wO);wi(aI);const oI=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ec=CO,iI=[...BO,...JO],vi=da.FontAwesomeConfig||{};function sI(e){var t=Vt.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function lI(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}Vt&&typeof Vt.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(e=>{let[t,r]=e;const o=lI(sI(t));o!=null&&(vi[r]=o)});const mm={styleDefault:"solid",familyDefault:An,cssPrefix:dm,replacementClass:pm,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};vi.familyPrefix&&(vi.cssPrefix=vi.familyPrefix);const ko=me(me({},mm),vi);ko.autoReplaceSvg||(ko.observeMutations=!1);const Xe={};Object.keys(mm).forEach(e=>{Object.defineProperty(Xe,e,{enumerable:!0,set:function(t){ko[e]=t,Ti.forEach(r=>r(Xe))},get:function(){return ko[e]}})});Object.defineProperty(Xe,"familyPrefix",{enumerable:!0,set:function(e){ko.cssPrefix=e,Ti.forEach(t=>t(Xe))},get:function(){return ko.cssPrefix}});da.FontAwesomeConfig=Xe;const Ti=[];function uI(e){return Ti.push(e),()=>{Ti.splice(Ti.indexOf(e),1)}}const fa=gc,Nr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function cI(e){if(!e||!Zr)return;const t=Vt.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=Vt.head.childNodes;let o=null;for(let i=r.length-1;i>-1;i--){const s=r[i],u=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(u)>-1&&(o=s)}return Vt.head.insertBefore(t,o),e}const fI="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ri(){let e=12,t="";for(;e-- >0;)t+=fI[Math.random()*62|0];return t}function Wo(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function pf(e){return e.classList?Wo(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function gm(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function dI(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(gm(e[r]),'" '),"").trim()}function Sl(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function hf(e){return e.size!==Nr.size||e.x!==Nr.x||e.y!==Nr.y||e.rotate!==Nr.rotate||e.flipX||e.flipY}function pI(e){let{transform:t,containerWidth:r,iconWidth:o}=e;const i={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),u="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),c="rotate(".concat(t.rotate," 0 0)"),p={transform:"".concat(s," ").concat(u," ").concat(c)},_={transform:"translate(".concat(o/2*-1," -256)")};return{outer:i,inner:p,path:_}}function hI(e){let{transform:t,width:r=gc,height:o=gc,startCentered:i=!1}=e,s="";return i&&sm?s+="translate(".concat(t.x/fa-r/2,"em, ").concat(t.y/fa-o/2,"em) "):i?s+="translate(calc(-50% + ".concat(t.x/fa,"em), calc(-50% + ").concat(t.y/fa,"em)) "):s+="translate(".concat(t.x/fa,"em, ").concat(t.y/fa,"em) "),s+="scale(".concat(t.size/fa*(t.flipX?-1:1),", ").concat(t.size/fa*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var EI=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - transform: scale(var(--fa-counter-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(-1 * var(--fa-li-width, 2em)); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - animation-name: fa-beat; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - animation-name: fa-bounce; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - animation-name: fa-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - animation-name: fa-beat-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - animation-name: fa-flip; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - animation-name: fa-shake; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - animation-name: fa-spin; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 2s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - animation-name: fa-spin; - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - animation-delay: -1ms; - animation-duration: 1ms; - animation-iteration-count: 1; - transition-delay: 0s; - transition-duration: 0s; - } -} -@keyframes fa-beat { - 0%, 90% { - transform: scale(1); - } - 45% { - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-bounce { - 0% { - transform: scale(1, 1) translateY(0); - } - 10% { - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - transform: scale(1, 1) translateY(0); - } - 100% { - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - transform: scale(1); - } - 50% { - opacity: 1; - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-flip { - 50% { - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-shake { - 0% { - transform: rotate(-15deg); - } - 4% { - transform: rotate(15deg); - } - 8%, 24% { - transform: rotate(-18deg); - } - 12%, 28% { - transform: rotate(18deg); - } - 16% { - transform: rotate(-22deg); - } - 20% { - transform: rotate(22deg); - } - 32% { - transform: rotate(-12deg); - } - 36% { - transform: rotate(12deg); - } - 40%, 100% { - transform: rotate(0deg); - } -} -@keyframes fa-spin { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } -} -.fa-rotate-90 { - transform: rotate(90deg); -} - -.fa-rotate-180 { - transform: rotate(180deg); -} - -.fa-rotate-270 { - transform: rotate(270deg); -} - -.fa-flip-horizontal { - transform: scale(-1, 1); -} - -.fa-flip-vertical { - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - transform: scale(-1, -1); -} - -.fa-rotate-by { - transform: rotate(var(--fa-rotate-angle, 0)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -}`;function vm(){const e=dm,t=pm,r=Xe.cssPrefix,o=Xe.replacementClass;let i=EI;if(r!==e||o!==t){const s=new RegExp("\\.".concat(e,"\\-"),"g"),u=new RegExp("\\--".concat(e,"\\-"),"g"),c=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(r,"-")).replace(u,"--".concat(r,"-")).replace(c,".".concat(o))}return i}let vh=!1;function tc(){Xe.autoAddCss&&!vh&&(cI(vm()),vh=!0)}var _I={mixout(){return{dom:{css:vm,insertCss:tc}}},hooks(){return{beforeDOMElementCreation(){tc()},beforeI2svg(){tc()}}}};const qr=da||{};qr[Jr]||(qr[Jr]={});qr[Jr].styles||(qr[Jr].styles={});qr[Jr].hooks||(qr[Jr].hooks={});qr[Jr].shims||(qr[Jr].shims=[]);var Lr=qr[Jr];const Tm=[],Am=function(){Vt.removeEventListener("DOMContentLoaded",Am),al=1,Tm.map(e=>e())};let al=!1;Zr&&(al=(Vt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Vt.readyState),al||Vt.addEventListener("DOMContentLoaded",Am));function mI(e){Zr&&(al?setTimeout(e,0):Tm.push(e))}function Di(e){const{tag:t,attributes:r={},children:o=[]}=e;return typeof e=="string"?gm(e):"<".concat(t," ").concat(dI(r),">").concat(o.map(Di).join(""),"")}function Th(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var nc=function(e,t,r,o){var i=Object.keys(e),s=i.length,u=t,c,p,_;for(r===void 0?(c=1,_=e[i[0]]):(c=0,_=r);c=55296&&i<=56319&&r=55296&&o<=56319&&r>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(o-55296)*1024+i-56320+65536:o}function Ah(e){return Object.keys(e).reduce((t,r)=>{const o=e[r];return o.icon?t[o.iconName]=o.icon:t[r]=o,t},{})}function yc(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:o=!1}=r,i=Ah(t);typeof Lr.hooks.addPack=="function"&&!o?Lr.hooks.addPack(e,Ah(t)):Lr.styles[e]=me(me({},Lr.styles[e]||{}),i),e==="fas"&&yc("fa",t)}const{styles:Oi,shims:TI}=Lr,ym=Object.keys(df),AI=ym.reduce((e,t)=>(e[t]=Object.keys(df[t]),e),{});let Ef=null,Rm={},Om={},Im={},bm={},Nm={};function SI(e){return~iI.indexOf(e)}function yI(e,t){const r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o===e&&i!==""&&!SI(i)?i:null}const Lm=()=>{const e=o=>nc(Oi,(i,s,u)=>(i[u]=nc(s,o,{}),i),{});Rm=e((o,i,s)=>(i[3]&&(o[i[3]]=s),i[2]&&i[2].filter(u=>typeof u=="number").forEach(u=>{o[u.toString(16)]=s}),o)),Om=e((o,i,s)=>(o[s]=s,i[2]&&i[2].filter(u=>typeof u=="string").forEach(u=>{o[u]=s}),o)),Nm=e((o,i,s)=>{const u=i[2];return o[s]=s,u.forEach(c=>{o[c]=s}),o});const t="far"in Oi||Xe.autoFetchSvg,r=nc(TI,(o,i)=>{const s=i[0];let u=i[1];const c=i[2];return u==="far"&&!t&&(u="fas"),typeof s=="string"&&(o.names[s]={prefix:u,iconName:c}),typeof s=="number"&&(o.unicodes[s.toString(16)]={prefix:u,iconName:c}),o},{names:{},unicodes:{}});Im=r.names,bm=r.unicodes,Ef=yl(Xe.styleDefault,{family:Xe.familyDefault})};uI(e=>{Ef=yl(e.styleDefault,{family:Xe.familyDefault})});Lm();function _f(e,t){return(Rm[e]||{})[t]}function RI(e,t){return(Om[e]||{})[t]}function Wa(e,t){return(Nm[e]||{})[t]}function Cm(e){return Im[e]||{prefix:null,iconName:null}}function OI(e){const t=bm[e],r=_f("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function pa(){return Ef}const xm=()=>({prefix:null,iconName:null,rest:[]});function II(e){let t=An;const r=ym.reduce((o,i)=>(o[i]="".concat(Xe.cssPrefix,"-").concat(i),o),{});return cm.forEach(o=>{(e.includes(r[o])||e.some(i=>AI[o].includes(i)))&&(t=o)}),t}function yl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=An}=t,o=tI[r][e];if(r===Al&&!e)return"fad";const i=gh[r][e]||gh[r][o],s=e in Lr.styles?e:null;return i||s||null}function bI(e){let t=[],r=null;return e.forEach(o=>{const i=yI(Xe.cssPrefix,o);i?r=i:o&&t.push(o)}),{iconName:r,rest:t}}function Sh(e){return e.sort().filter((t,r,o)=>o.indexOf(t)===r)}function Rl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let o=null;const i=mc.concat(FO),s=Sh(e.filter(A=>i.includes(A))),u=Sh(e.filter(A=>!mc.includes(A))),c=s.filter(A=>(o=A,!um.includes(A))),[p=null]=c,_=II(s),E=me(me({},bI(u)),{},{prefix:yl(p,{family:_})});return me(me(me({},E),xI({values:e,family:_,styles:Oi,config:Xe,canonical:E,givenPrefix:o})),NI(r,o,E))}function NI(e,t,r){let{prefix:o,iconName:i}=r;if(e||!o||!i)return{prefix:o,iconName:i};const s=t==="fa"?Cm(i):{},u=Wa(o,i);return i=s.iconName||u||i,o=s.prefix||o,o==="far"&&!Oi.far&&Oi.fas&&!Xe.autoFetchSvg&&(o="fas"),{prefix:o,iconName:i}}const LI=cm.filter(e=>e!==An||e!==Al),CI=Object.keys(_c).filter(e=>e!==An).map(e=>Object.keys(_c[e])).flat();function xI(e){const{values:t,family:r,canonical:o,givenPrefix:i="",styles:s={},config:u={}}=e,c=r===Al,p=t.includes("fa-duotone")||t.includes("fad"),_=u.familyDefault==="duotone",E=o.prefix==="fad"||o.prefix==="fa-duotone";if(!c&&(p||_||E)&&(o.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(o.prefix="fab"),!o.prefix&&LI.includes(r)&&(Object.keys(s).find(A=>CI.includes(A))||u.autoFetchSvg)){const A=PO.get(r).defaultShortPrefixId;o.prefix=A,o.iconName=Wa(o.prefix,o.iconName)||o.iconName}return(o.prefix==="fa"||i==="fa")&&(o.prefix=pa()||"fas"),o}class MI{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),o=0;o{this.definitions[s]=me(me({},this.definitions[s]||{}),i[s]),yc(s,i[s]);const u=df[An][s];u&&yc(u,i[s]),Lm()})}reset(){this.definitions={}}_pullDefinitions(t,r){const o=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(o).map(i=>{const{prefix:s,iconName:u,icon:c}=o[i],p=c[2];t[s]||(t[s]={}),p.length>0&&p.forEach(_=>{typeof _=="string"&&(t[s][_]=c)}),t[s][u]=c}),t}}let yh=[],Io={};const Lo={},wI=Object.keys(Lo);function DI(e,t){let{mixoutsTo:r}=t;return yh=e,Io={},Object.keys(Lo).forEach(o=>{wI.indexOf(o)===-1&&delete Lo[o]}),yh.forEach(o=>{const i=o.mixout?o.mixout():{};if(Object.keys(i).forEach(s=>{typeof i[s]=="function"&&(r[s]=i[s]),typeof i[s]=="object"&&Object.keys(i[s]).forEach(u=>{r[s]||(r[s]={}),r[s][u]=i[s][u]})}),o.hooks){const s=o.hooks();Object.keys(s).forEach(u=>{Io[u]||(Io[u]=[]),Io[u].push(s[u])})}o.provides&&o.provides(Lo)}),r}function Rc(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i{t=s.apply(null,[t,...o])}),t}function $a(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{i.apply(null,r)})}function ha(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Lo[e]?Lo[e].apply(null,t):void 0}function Oc(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||pa();if(t)return t=Wa(r,t)||t,Th(Mm.definitions,r,t)||Th(Lr.styles,r,t)}const Mm=new MI,PI=()=>{Xe.autoReplaceSvg=!1,Xe.observeMutations=!1,$a("noAuto")},UI={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Zr?($a("beforeI2svg",e),ha("pseudoElements2svg",e),ha("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Xe.autoReplaceSvg===!1&&(Xe.autoReplaceSvg=!0),Xe.observeMutations=!0,mI(()=>{BI({autoReplaceSvgRoot:t}),$a("watch",e)})}},kI={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Wa(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=yl(e[0]);return{prefix:r,iconName:Wa(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Xe.cssPrefix,"-"))>-1||e.match(nI))){const t=Rl(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||pa(),iconName:Wa(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=pa();return{prefix:t,iconName:Wa(t,e)||e}}}},jn={noAuto:PI,config:Xe,dom:UI,parse:kI,library:Mm,findIconDefinition:Oc,toHtml:Di},BI=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Vt}=e;(Object.keys(Lr.styles).length>0||Xe.autoFetchSvg)&&Zr&&Xe.autoReplaceSvg&&jn.dom.i2svg({node:t})};function Ol(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Di(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Zr)return;const r=Vt.createElement("div");return r.innerHTML=e.html,r.children}}),e}function VI(e){let{children:t,main:r,mask:o,attributes:i,styles:s,transform:u}=e;if(hf(u)&&r.found&&!o.found){const{width:c,height:p}=r,_={x:c/p/2,y:.5};i.style=Sl(me(me({},s),{},{"transform-origin":"".concat(_.x+u.x/16,"em ").concat(_.y+u.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function HI(e){let{prefix:t,iconName:r,children:o,attributes:i,symbol:s}=e;const u=s===!0?"".concat(t,"-").concat(Xe.cssPrefix,"-").concat(r):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:me(me({},i),{},{id:u}),children:o}]}]}function mf(e){const{icons:{main:t,mask:r},prefix:o,iconName:i,transform:s,symbol:u,title:c,maskId:p,titleId:_,extra:E,watchable:A=!1}=e,{width:S,height:g}=r.found?r:t,N=HO.includes(o),M=[Xe.replacementClass,i?"".concat(Xe.cssPrefix,"-").concat(i):""].filter(ae=>E.classes.indexOf(ae)===-1).filter(ae=>ae!==""||!!ae).concat(E.classes).join(" ");let V={children:[],attributes:me(me({},E.attributes),{},{"data-prefix":o,"data-icon":i,class:M,role:E.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(S," ").concat(g)})};const C=N&&!~E.classes.indexOf("fa-fw")?{width:"".concat(S/g*16*.0625,"em")}:{};A&&(V.attributes[Ya]=""),c&&(V.children.push({tag:"title",attributes:{id:V.attributes["aria-labelledby"]||"title-".concat(_||Ri())},children:[c]}),delete V.attributes.title);const J=me(me({},V),{},{prefix:o,iconName:i,main:t,mask:r,maskId:p,transform:s,symbol:u,styles:me(me({},C),E.styles)}),{children:P,attributes:w}=r.found&&t.found?ha("generateAbstractMask",J)||{children:[],attributes:{}}:ha("generateAbstractIcon",J)||{children:[],attributes:{}};return J.children=P,J.attributes=w,u?HI(J):VI(J)}function Rh(e){const{content:t,width:r,height:o,transform:i,title:s,extra:u,watchable:c=!1}=e,p=me(me(me({},u.attributes),s?{title:s}:{}),{},{class:u.classes.join(" ")});c&&(p[Ya]="");const _=me({},u.styles);hf(i)&&(_.transform=hI({transform:i,startCentered:!0,width:r,height:o}),_["-webkit-transform"]=_.transform);const E=Sl(_);E.length>0&&(p.style=E);const A=[];return A.push({tag:"span",attributes:p,children:[t]}),s&&A.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),A}function WI(e){const{content:t,title:r,extra:o}=e,i=me(me(me({},o.attributes),r?{title:r}:{}),{},{class:o.classes.join(" ")}),s=Sl(o.styles);s.length>0&&(i.style=s);const u=[];return u.push({tag:"span",attributes:i,children:[t]}),r&&u.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),u}const{styles:rc}=Lr;function Ic(e){const t=e[0],r=e[1],[o]=e.slice(4);let i=null;return Array.isArray(o)?i={tag:"g",attributes:{class:"".concat(Xe.cssPrefix,"-").concat(ec.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Xe.cssPrefix,"-").concat(ec.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Xe.cssPrefix,"-").concat(ec.PRIMARY),fill:"currentColor",d:o[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:r,icon:i}}const XI={found:!1,width:512,height:512};function FI(e,t){!hm&&!Xe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function bc(e,t){let r=t;return t==="fa"&&Xe.styleDefault!==null&&(t=pa()),new Promise((o,i)=>{if(r==="fa"){const s=Cm(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&rc[t]&&rc[t][e]){const s=rc[t][e];return o(Ic(s))}FI(e,t),o(me(me({},XI),{},{icon:Xe.showMissingIcons&&e?ha("missingIconAbstract")||{}:{}}))})}const Oh=()=>{},Nc=Xe.measurePerformance&&Ms&&Ms.mark&&Ms.measure?Ms:{mark:Oh,measure:Oh},pi='FA "6.7.2"',GI=e=>(Nc.mark("".concat(pi," ").concat(e," begins")),()=>wm(e)),wm=e=>{Nc.mark("".concat(pi," ").concat(e," ends")),Nc.measure("".concat(pi," ").concat(e),"".concat(pi," ").concat(e," begins"),"".concat(pi," ").concat(e," ends"))};var gf={begin:GI,end:wm};const zs=()=>{};function Ih(e){return typeof(e.getAttribute?e.getAttribute(Ya):null)=="string"}function zI(e){const t=e.getAttribute?e.getAttribute(cf):null,r=e.getAttribute?e.getAttribute(ff):null;return t&&r}function jI(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Xe.replacementClass)}function KI(){return Xe.autoReplaceSvg===!0?js.replace:js[Xe.autoReplaceSvg]||js.replace}function YI(e){return Vt.createElementNS("http://www.w3.org/2000/svg",e)}function $I(e){return Vt.createElement(e)}function Dm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?YI:$I}=t;if(typeof e=="string")return Vt.createTextNode(e);const o=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){o.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){o.appendChild(Dm(i,{ceFn:r}))}),o}function JI(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const js={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Dm(r),t)}),t.getAttribute(Ya)===null&&Xe.keepOriginalSource){let r=Vt.createComment(JI(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~pf(t).indexOf(Xe.replacementClass))return js.replace(e);const o=new RegExp("".concat(Xe.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const s=r[0].attributes.class.split(" ").reduce((u,c)=>(c===Xe.replacementClass||c.match(o)?u.toSvg.push(c):u.toNode.push(c),u),{toNode:[],toSvg:[]});r[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",s.toNode.join(" "))}const i=r.map(s=>Di(s)).join(` -`);t.setAttribute(Ya,""),t.innerHTML=i}};function bh(e){e()}function Pm(e,t){const r=typeof t=="function"?t:zs;if(e.length===0)r();else{let o=bh;Xe.mutateApproach===ZO&&(o=da.requestAnimationFrame||bh),o(()=>{const i=KI(),s=gf.begin("mutate");e.map(i),s(),r()})}}let vf=!1;function Um(){vf=!0}function Lc(){vf=!1}let ol=null;function Nh(e){if(!hh||!Xe.observeMutations)return;const{treeCallback:t=zs,nodeCallback:r=zs,pseudoElementsCallback:o=zs,observeMutationsRoot:i=Vt}=e;ol=new hh(s=>{if(vf)return;const u=pa();Wo(s).forEach(c=>{if(c.type==="childList"&&c.addedNodes.length>0&&!Ih(c.addedNodes[0])&&(Xe.searchPseudoElements&&o(c.target),t(c.target)),c.type==="attributes"&&c.target.parentNode&&Xe.searchPseudoElements&&o(c.target.parentNode),c.type==="attributes"&&Ih(c.target)&&~oI.indexOf(c.attributeName))if(c.attributeName==="class"&&zI(c.target)){const{prefix:p,iconName:_}=Rl(pf(c.target));c.target.setAttribute(cf,p||u),_&&c.target.setAttribute(ff,_)}else jI(c.target)&&r(c.target)})}),Zr&&ol.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function qI(){ol&&ol.disconnect()}function QI(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((o,i)=>{const s=i.split(":"),u=s[0],c=s.slice(1);return u&&c.length>0&&(o[u]=c.join(":").trim()),o},{})),r}function ZI(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),o=e.innerText!==void 0?e.innerText.trim():"";let i=Rl(pf(e));return i.prefix||(i.prefix=pa()),t&&r&&(i.prefix=t,i.iconName=r),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=RI(i.prefix,e.innerText)||_f(i.prefix,Sm(e.innerText))),!i.iconName&&Xe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function eb(e){const t=Wo(e.attributes).reduce((i,s)=>(i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i),{}),r=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return Xe.autoA11y&&(r?t["aria-labelledby"]="".concat(Xe.replacementClass,"-title-").concat(o||Ri()):(t["aria-hidden"]="true",t.focusable="false")),t}function tb(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Nr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Lh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:o,rest:i}=ZI(e),s=eb(e),u=Rc("parseNodeAttributes",{},e);let c=t.styleParser?QI(e):[];return me({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Nr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:c,attributes:s}},u)}const{styles:nb}=Lr;function km(e){const t=Xe.autoReplaceSvg==="nest"?Lh(e,{styleParser:!1}):Lh(e);return~t.extra.classes.indexOf(_m)?ha("generateLayersText",e,t):ha("generateSvgReplacementMutation",e,t)}function rb(){return[...kO,...mc]}function Ch(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Zr)return Promise.resolve();const r=Vt.documentElement.classList,o=E=>r.add("".concat(mh,"-").concat(E)),i=E=>r.remove("".concat(mh,"-").concat(E)),s=Xe.autoFetchSvg?rb():um.concat(Object.keys(nb));s.includes("fa")||s.push("fa");const u=[".".concat(_m,":not([").concat(Ya,"])")].concat(s.map(E=>".".concat(E,":not([").concat(Ya,"])"))).join(", ");if(u.length===0)return Promise.resolve();let c=[];try{c=Wo(e.querySelectorAll(u))}catch{}if(c.length>0)o("pending"),i("complete");else return Promise.resolve();const p=gf.begin("onTree"),_=c.reduce((E,A)=>{try{const S=km(A);S&&E.push(S)}catch(S){hm||S.name==="MissingIcon"&&console.error(S)}return E},[]);return new Promise((E,A)=>{Promise.all(_).then(S=>{Pm(S,()=>{o("active"),o("complete"),i("pending"),typeof t=="function"&&t(),p(),E()})}).catch(S=>{p(),A(S)})})}function ab(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;km(e).then(r=>{r&&Pm([r],t)})}function ob(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(t||{}).icon?t:Oc(t||{});let{mask:i}=r;return i&&(i=(i||{}).icon?i:Oc(i||{})),e(o,me(me({},r),{},{mask:i}))}}const ib=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Nr,symbol:o=!1,mask:i=null,maskId:s=null,title:u=null,titleId:c=null,classes:p=[],attributes:_={},styles:E={}}=t;if(!e)return;const{prefix:A,iconName:S,icon:g}=e;return Ol(me({type:"icon"},e),()=>($a("beforeDOMElementCreation",{iconDefinition:e,params:t}),Xe.autoA11y&&(u?_["aria-labelledby"]="".concat(Xe.replacementClass,"-title-").concat(c||Ri()):(_["aria-hidden"]="true",_.focusable="false")),mf({icons:{main:Ic(g),mask:i?Ic(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:A,iconName:S,transform:me(me({},Nr),r),symbol:o,title:u,maskId:s,titleId:c,extra:{attributes:_,styles:E,classes:p}})))};var sb={mixout(){return{icon:ob(ib)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Ch,e.nodeCallback=ab,e}}},provides(e){e.i2svg=function(t){const{node:r=Vt,callback:o=()=>{}}=t;return Ch(r,o)},e.generateSvgReplacementMutation=function(t,r){const{iconName:o,title:i,titleId:s,prefix:u,transform:c,symbol:p,mask:_,maskId:E,extra:A}=r;return new Promise((S,g)=>{Promise.all([bc(o,u),_.iconName?bc(_.iconName,_.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(N=>{let[M,V]=N;S([t,mf({icons:{main:M,mask:V},prefix:u,iconName:o,transform:c,symbol:p,maskId:E,title:i,titleId:s,extra:A,watchable:!0})])}).catch(g)})},e.generateAbstractIcon=function(t){let{children:r,attributes:o,main:i,transform:s,styles:u}=t;const c=Sl(u);c.length>0&&(o.style=c);let p;return hf(s)&&(p=ha("generateAbstractTransformGrouping",{main:i,transform:s,containerWidth:i.width,iconWidth:i.width})),r.push(p||i.icon),{children:r,attributes:o}}}},lb={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return Ol({type:"layer"},()=>{$a("beforeDOMElementCreation",{assembler:e,params:t});let o=[];return e(i=>{Array.isArray(i)?i.map(s=>{o=o.concat(s.abstract)}):o=o.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(Xe.cssPrefix,"-layers"),...r].join(" ")},children:o}]})}}}},ub={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:o=[],attributes:i={},styles:s={}}=t;return Ol({type:"counter",content:e},()=>($a("beforeDOMElementCreation",{content:e,params:t}),WI({content:e.toString(),title:r,extra:{attributes:i,styles:s,classes:["".concat(Xe.cssPrefix,"-layers-counter"),...o]}})))}}}},cb={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Nr,title:o=null,classes:i=[],attributes:s={},styles:u={}}=t;return Ol({type:"text",content:e},()=>($a("beforeDOMElementCreation",{content:e,params:t}),Rh({content:e,transform:me(me({},Nr),r),title:o,extra:{attributes:s,styles:u,classes:["".concat(Xe.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:o,transform:i,extra:s}=r;let u=null,c=null;if(sm){const p=parseInt(getComputedStyle(t).fontSize,10),_=t.getBoundingClientRect();u=_.width/p,c=_.height/p}return Xe.autoA11y&&!o&&(s.attributes["aria-hidden"]="true"),Promise.resolve([t,Rh({content:t.innerHTML,width:u,height:c,transform:i,title:o,extra:s,watchable:!0})])}}};const fb=new RegExp('"',"ug"),xh=[1105920,1112319],Mh=me(me(me(me({},{FontAwesome:{normal:"fas",400:"fas"}}),DO),qO),GO),Cc=Object.keys(Mh).reduce((e,t)=>(e[t.toLowerCase()]=Mh[t],e),{}),db=Object.keys(Cc).reduce((e,t)=>{const r=Cc[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function pb(e){const t=e.replace(fb,""),r=vI(t,0),o=r>=xh[0]&&r<=xh[1],i=t.length===2?t[0]===t[1]:!1;return{value:Sm(i?t[0]:t),isSecondary:o||i}}function hb(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),o=parseInt(t),i=isNaN(o)?"normal":o;return(Cc[r]||{})[i]||db[r]}function wh(e,t){const r="".concat(QO).concat(t.replace(":","-"));return new Promise((o,i)=>{if(e.getAttribute(r)!==null)return o();const s=Wo(e.children).filter(A=>A.getAttribute(vc)===t)[0],u=da.getComputedStyle(e,t),c=u.getPropertyValue("font-family"),p=c.match(rI),_=u.getPropertyValue("font-weight"),E=u.getPropertyValue("content");if(s&&!p)return e.removeChild(s),o();if(p&&E!=="none"&&E!==""){const A=u.getPropertyValue("content");let S=hb(c,_);const{value:g,isSecondary:N}=pb(A),M=p[0].startsWith("FontAwesome");let V=_f(S,g),C=V;if(M){const J=OI(g);J.iconName&&J.prefix&&(V=J.iconName,S=J.prefix)}if(V&&!N&&(!s||s.getAttribute(cf)!==S||s.getAttribute(ff)!==C)){e.setAttribute(r,C),s&&e.removeChild(s);const J=tb(),{extra:P}=J;P.attributes[vc]=t,bc(V,S).then(w=>{const ae=mf(me(me({},J),{},{icons:{main:w,mask:xm()},prefix:S,iconName:C,extra:P,watchable:!0})),W=Vt.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(W,e.firstChild):e.appendChild(W),W.outerHTML=ae.map(q=>Di(q)).join(` -`),e.removeAttribute(r),o()}).catch(i)}else o()}else o()})}function Eb(e){return Promise.all([wh(e,"::before"),wh(e,"::after")])}function _b(e){return e.parentNode!==document.head&&!~eI.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(vc)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Dh(e){if(Zr)return new Promise((t,r)=>{const o=Wo(e.querySelectorAll("*")).filter(_b).map(Eb),i=gf.begin("searchPseudoElements");Um(),Promise.all(o).then(()=>{i(),Lc(),t()}).catch(()=>{i(),Lc(),r()})})}var mb={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Dh,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Vt}=t;Xe.searchPseudoElements&&Dh(r)}}};let Ph=!1;var gb={mixout(){return{dom:{unwatch(){Um(),Ph=!0}}}},hooks(){return{bootstrap(){Nh(Rc("mutationObserverCallbacks",{}))},noAuto(){qI()},watch(e){const{observeMutationsRoot:t}=e;Ph?Lc():Nh(Rc("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Uh=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,o)=>{const i=o.toLowerCase().split("-"),s=i[0];let u=i.slice(1).join("-");if(s&&u==="h")return r.flipX=!0,r;if(s&&u==="v")return r.flipY=!0,r;if(u=parseFloat(u),isNaN(u))return r;switch(s){case"grow":r.size=r.size+u;break;case"shrink":r.size=r.size-u;break;case"left":r.x=r.x-u;break;case"right":r.x=r.x+u;break;case"up":r.y=r.y-u;break;case"down":r.y=r.y+u;break;case"rotate":r.rotate=r.rotate+u;break}return r},t)};var vb={mixout(){return{parse:{transform:e=>Uh(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=Uh(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:o,containerWidth:i,iconWidth:s}=t;const u={transform:"translate(".concat(i/2," 256)")},c="translate(".concat(o.x*32,", ").concat(o.y*32,") "),p="scale(".concat(o.size/16*(o.flipX?-1:1),", ").concat(o.size/16*(o.flipY?-1:1),") "),_="rotate(".concat(o.rotate," 0 0)"),E={transform:"".concat(c," ").concat(p," ").concat(_)},A={transform:"translate(".concat(s/2*-1," -256)")},S={outer:u,inner:E,path:A};return{tag:"g",attributes:me({},S.outer),children:[{tag:"g",attributes:me({},S.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:me(me({},r.icon.attributes),S.path)}]}]}}}};const ac={x:0,y:0,width:"100%",height:"100%"};function kh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Tb(e){return e.tag==="g"?e.children:[e]}var Ab={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),o=r?Rl(r.split(" ").map(i=>i.trim())):xm();return o.prefix||(o.prefix=pa()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:o,main:i,mask:s,maskId:u,transform:c}=t;const{width:p,icon:_}=i,{width:E,icon:A}=s,S=pI({transform:c,containerWidth:E,iconWidth:p}),g={tag:"rect",attributes:me(me({},ac),{},{fill:"white"})},N=_.children?{children:_.children.map(kh)}:{},M={tag:"g",attributes:me({},S.inner),children:[kh(me({tag:_.tag,attributes:me(me({},_.attributes),S.path)},N))]},V={tag:"g",attributes:me({},S.outer),children:[M]},C="mask-".concat(u||Ri()),J="clip-".concat(u||Ri()),P={tag:"mask",attributes:me(me({},ac),{},{id:C,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,V]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:J},children:Tb(A)},P]};return r.push(w,{tag:"rect",attributes:me({fill:"currentColor","clip-path":"url(#".concat(J,")"),mask:"url(#".concat(C,")")},ac)}),{children:r,attributes:o}}}},Sb={provides(e){let t=!1;da.matchMedia&&(t=da.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],o={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:me(me({},o),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const s=me(me({},i),{},{attributeName:"opacity"}),u={tag:"circle",attributes:me(me({},o),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||u.children.push({tag:"animate",attributes:me(me({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:me(me({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(u),r.push({tag:"path",attributes:me(me({},o),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:me(me({},s),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:me(me({},o),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:me(me({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},yb={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return e.symbol=o,e}}}},Rb=[_I,sb,lb,ub,cb,mb,gb,vb,Ab,Sb,yb];DI(Rb,{mixoutsTo:jn});jn.noAuto;jn.config;jn.library;jn.dom;const xc=jn.parse;jn.findIconDefinition;jn.toHtml;const Ob=jn.icon;jn.layer;jn.text;jn.counter;function vn(e,t,r){return(t=Lb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function Kr(e){for(var t=1;t0||!Array.isArray(t)&&t?vn({},e,t):{}}function Cb(e){var t,r=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},vn(vn(vn(vn(vn(vn(vn(vn(vn(vn(t,"fa-".concat(e.size),e.size!==null),"fa-rotate-".concat(e.rotation),e.rotation!==null),"fa-rotate-by",e.rotateBy),"fa-pull-".concat(e.pull),e.pull!==null),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),vn(vn(vn(vn(t,"fa-flash",e.flash),"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse),"fa-width-auto",e.widthAuto));return Object.keys(r).map(function(o){return r[o]?o:null}).filter(function(o){return o})}var xb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bm={exports:{}};(function(e){(function(t){var r=function(C,J,P){if(!_(J)||A(J)||S(J)||g(J)||p(J))return J;var w,ae=0,W=0;if(E(J))for(w=[],W=J.length;ae1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var o=(e.children||[]).map(function(p){return Vm(p)}),i=Object.keys(e.attributes||{}).reduce(function(p,_){var E=e.attributes[_];switch(_){case"class":p.class=Pb(E);break;case"style":p.style=Db(E);break;default:p.attrs[_]=E}return p},{attrs:{},class:{},style:{}});r.class;var s=r.style,u=s===void 0?{}:s,c=Ib(r,wb);return Ha(e.tag,Kr(Kr(Kr({},t),{},{class:i.class,style:Kr(Kr({},i.style),u)},i.attrs),c),o)}var Hm=!1;try{Hm=!0}catch{}function Ub(){if(!Hm&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Vh(e){if(e&&il(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(xc.icon)return xc.icon(e);if(e===null)return null;if(il(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var ht=Ut({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(e){return[!0,!1,"horizontal","vertical","both"].indexOf(e)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(e){return["right","left"].indexOf(e)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(e){return[90,180,270].indexOf(Number.parseInt(e,10))>-1}},rotateBy:{type:Boolean,default:!1},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(e){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(e)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1},widthAuto:{type:Boolean,default:!1}},setup:function(e,t){var r=t.attrs,o=ge(function(){return Vh(e.icon)}),i=ge(function(){return oc("classes",Cb(e))}),s=ge(function(){return oc("transform",typeof e.transform=="string"?xc.transform(e.transform):e.transform)}),u=ge(function(){return oc("mask",Vh(e.mask))}),c=ge(function(){var _=Kr(Kr(Kr(Kr({},i.value),s.value),u.value),{},{symbol:e.symbol,maskId:e.maskId});return _.title=e.title,_.titleId=e.titleId,Ob(o.value,_)});en(c,function(_){if(!_)return Ub("Could not find one or more icon(s)",o.value,u.value)},{immediate:!0});var p=ge(function(){return c.value?Vm(c.value.abstract[0],{},r):null});return function(){return p.value}}});const kb={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},Bb={prefix:"fas",iconName:"align-justify",icon:[448,512,[],"f039","M448 64c0-17.7-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32zm0 256c0-17.7-14.3-32-32-32L32 288c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32zM0 192c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32zM448 448c0-17.7-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0c17.7 0 32-14.3 32-32z"]},Vb={prefix:"fas",iconName:"clipboard",icon:[384,512,[128203],"f328","M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM112 192l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Hb={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z"]},Mc={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},Wb={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},za=Wb,Xb={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160l50.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L48 224c-17.7 0-32-14.3-32-32L16 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},Fb=Xb,Wm={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},Ds={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Gb={prefix:"fas",iconName:"arrow-down-short-wide",icon:[576,512,["sort-amount-desc","sort-amount-down-alt"],"f884","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},zb={prefix:"fas",iconName:"thumbs-down",icon:[512,512,[128078,61576],"f165","M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2l144 0c26.5 0 48-21.5 48-48c0-18.5-10.5-34.6-25.9-42.6C497 236.6 504 223.1 504 208c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48l-97.5 0c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7l0 38.3 0 48 0 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 384l64 0c17.7 0 32-14.3 32-32l0-224c0-17.7-14.3-32-32-32L32 96C14.3 96 0 110.3 0 128L0 352c0 17.7 14.3 32 32 32z"]},Xm={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},jb={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Kb=jb,Fm={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Gm={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},Yb={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},$b={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Jb={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},Hh=Jb,qb={prefix:"fas",iconName:"right-left",icon:[512,512,["exchange-alt"],"f362","M32 96l320 0 0-64c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6l0-64L32 160c-17.7 0-32-14.3-32-32s14.3-32 32-32zM480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32l-320 0 0 64c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-96-96c-6-6-9.4-14.1-9.4-22.6s3.4-16.6 9.4-22.6l96-96c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 64 320 0z"]},zm=qb,jm={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32l0 35.7c1.6 .2 3.1 .4 4.7 .7c.4 .1 .7 .1 1.1 .2l48 8.8c17.4 3.2 28.9 19.9 25.7 37.2s-19.9 28.9-37.2 25.7l-47.5-8.7c-31.3-4.6-58.9-1.5-78.3 6.2s-27.2 18.3-29 28.1c-2 10.7-.5 16.7 1.2 20.4c1.8 3.9 5.5 8.3 12.8 13.2c16.3 10.7 41.3 17.7 73.7 26.3l2.9 .8c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11l0 33.4c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-34.9c-.4-.1-.9-.1-1.3-.2l-.2 0s0 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.6 .4-16.7-1.3-20.4c-1.9-4-5.6-8.4-13-13.3c-16.4-10.7-41.5-17.7-74-26.3l-2.8-.7s0 0 0 0C119.4 279.3 84.4 270 58.4 253c-14.2-9.3-27.5-22-35.8-39.6c-8.4-17.9-10.1-37.9-6.1-59.2C23.7 116 52.3 91.2 84.8 78.3c13.3-5.3 27.9-8.9 43.2-11L128 32c0-17.7 14.3-32 32-32z"]},Qb={class:"copy position-absolute",style:{top:"0",right:"0"}},ic=Ut({__name:"Copy",props:{content:{}},setup(e){const t=e,r=je(!1);function o(){const{toClipboard:i}=Hy();i(t.content),r.value=!0,window.setTimeout(()=>{r.value=!1},2e3)}return(i,s)=>(b(),L("div",Qb,[T("button",{name:"copyRawButton",class:ye(["btn btn-outline-secondary bg-light btn-sm m-2",r.value?"d-none":"d-block"]),onClick:o},[Te(d(ht),{"fixed-width":"",icon:d(Vb)},null,8,["icon"])],2),s[0]||(s[0]=m()),At((b(),L("button",{class:ye(["btn btn-outline-secondary bg-light btn-sm m-2",r.value?"d-block":"d-none"]),onClick:o},[Te(d(ht),{"fixed-width":"",icon:d($b),class:"text-success"},null,8,["icon"])],2)),[[d(St),{placement:"left",arrow:!0,content:"copied"}]])]))}});var Rt=(e=>(e[e.time=0]="time",e[e.rows=1]="rows",e[e.cost=2]="cost",e[e.buffers=3]="buffers",e[e.estimate_factor=4]="estimate_factor",e[e.io=5]="io",e))(Rt||{}),Ze=(e=>(e.shared="Shared",e.temp="Temp",e.local="Local",e))(Ze||{});class pn{}Oe(pn,"NONE","none"),Oe(pn,"DURATION","duration"),Oe(pn,"ROWS","rows"),Oe(pn,"COST","cost");var Cr=(e=>(e.asc="asc",e.desc="desc",e))(Cr||{}),sn=(e=>(e[e.over=1]="over",e[e.under=2]="under",e[e.none=3]="none",e))(sn||{}),f=(e=>(e.NODE_TYPE="Node Type",e.ACTUAL_ROWS="Actual Rows",e.PLAN_ROWS="Plan Rows",e.PLAN_WIDTH="Plan Width",e.ROWS_REMOVED_BY_FILTER="Rows Removed by Filter",e.ROWS_REMOVED_BY_JOIN_FILTER="Rows Removed by Join Filter",e.ROWS_REMOVED_BY_INDEX_RECHECK="Rows Removed by Index Recheck",e.ACTUAL_STARTUP_TIME="Actual Startup Time",e.ACTUAL_TOTAL_TIME="Actual Total Time",e.ACTUAL_LOOPS="Actual Loops",e.STARTUP_COST="Startup Cost",e.TOTAL_COST="Total Cost",e.PLANS="Plans",e.RELATION_NAME="Relation Name",e.SCHEMA="Schema",e.ALIAS="Alias",e.GROUP_KEY="Group Key",e.SORT_KEY="Sort Key",e.SORT_METHOD="Sort Method",e.SORT_SPACE_TYPE="Sort Space Type",e.SORT_SPACE_USED="Sort Space Used",e.JOIN_TYPE="Join Type",e.INDEX_NAME="Index Name",e.HASH_CONDITION="Hash Cond",e.PARENT_RELATIONSHIP="Parent Relationship",e.SUBPLAN_NAME="Subplan Name",e.PARALLEL_AWARE="Parallel Aware",e.WORKERS="Workers",e.WORKERS_PLANNED="Workers Planned",e.WORKERS_LAUNCHED="Workers Launched",e.SHARED_HIT_BLOCKS="Shared Hit Blocks",e.SHARED_READ_BLOCKS="Shared Read Blocks",e.READ_BLOCKS="*Read Blocks",e.SHARED_DIRTIED_BLOCKS="Shared Dirtied Blocks",e.SHARED_WRITTEN_BLOCKS="Shared Written Blocks",e.WRITTEN_BLOCKS="*Written Blocks",e.TEMP_READ_BLOCKS="Temp Read Blocks",e.TEMP_WRITTEN_BLOCKS="Temp Written Blocks",e.LOCAL_HIT_BLOCKS="Local Hit Blocks",e.LOCAL_READ_BLOCKS="Local Read Blocks",e.LOCAL_DIRTIED_BLOCKS="Local Dirtied Blocks",e.LOCAL_WRITTEN_BLOCKS="Local Written Blocks",e.IO_READ_TIME="I/O Read Time",e.IO_WRITE_TIME="I/O Write Time",e.SHARED_IO_READ_TIME="Shared I/O Read Time",e.SHARED_IO_WRITE_TIME="Shared I/O Write Time",e.LOCAL_IO_READ_TIME="Local I/O Read Time",e.LOCAL_IO_WRITE_TIME="Local I/O Write Time",e.TEMP_IO_READ_TIME="Temp I/O Read Time",e.TEMP_IO_WRITE_TIME="Temp I/O Write Time",e.OUTPUT="Output",e.HEAP_FETCHES="Heap Fetches",e.WAL_RECORDS="WAL Records",e.WAL_BYTES="WAL Bytes",e.WAL_FPI="WAL FPI",e.FULL_SORT_GROUPS="Full-sort Groups",e.PRE_SORTED_GROUPS="Pre-sorted Groups",e.PRESORTED_KEY="Presorted Key",e.FILTER="Filter",e.STRATEGY="Strategy",e.PARTIAL_MODE="Partial Mode",e.OPERATION="Operation",e.RECHECK_COND="Recheck Cond",e.SCAN_DIRECTION="Scan Direction",e.NODE_ID="nodeId",e.EXCLUSIVE_DURATION="*Duration (exclusive)",e.EXCLUSIVE_COST="*Cost (exclusive)",e.ACTUAL_ROWS_REVISED="*Actual Rows Revised",e.ACTUAL_ROWS_FRACTIONAL="*Actual Rows Is Fractional",e.PLAN_ROWS_REVISED="*Plan Rows Revised",e.ROWS_REMOVED_BY_FILTER_REVISED="*Rows Removed by Filter",e.ROWS_REMOVED_BY_JOIN_FILTER_REVISED="*Rows Removed by Join Filter",e.ROWS_REMOVED_BY_INDEX_RECHECK_REVISED="*Rows Removed by Index Recheck",e.PLANNER_ESTIMATE_FACTOR="*Planner Row Estimate Factor",e.PLANNER_ESTIMATE_DIRECTION="*Planner Row Estimate Direction",e.EXCLUSIVE_SHARED_HIT_BLOCKS="*Shared Hit Blocks (exclusive)",e.EXCLUSIVE_SHARED_READ_BLOCKS="*Shared Read Blocks (exclusive)",e.EXCLUSIVE_SHARED_DIRTIED_BLOCKS="*Shared Dirtied Blocks (exclusive)",e.EXCLUSIVE_SHARED_WRITTEN_BLOCKS="*Shared Written Blocks (exclusive)",e.EXCLUSIVE_TEMP_READ_BLOCKS="*Temp Read Blocks (exclusive)",e.EXCLUSIVE_TEMP_WRITTEN_BLOCKS="*Temp Written Blocks (exclusive)",e.EXCLUSIVE_LOCAL_HIT_BLOCKS="*Local Hit Blocks (exclusive)",e.EXCLUSIVE_LOCAL_READ_BLOCKS="*Local Read Blocks (exclusive)",e.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS="*Local Dirtied Blocks (exclusive)",e.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS="*Local Written Blocks (exclusive)",e.EXCLUSIVE_READ_BLOCKS="*Read Blocks (exclusive)",e.EXCLUSIVE_WRITTEN_BLOCKS="*Written Blocks (exclusive)",e.AVERAGE_IO_READ_SPEED="*I/O Read Speed",e.AVERAGE_IO_WRITE_SPEED="*I/O Write Speed",e.AVERAGE_SHARED_IO_READ_SPEED="*Shared I/O Read Speed",e.AVERAGE_SHARED_IO_WRITE_SPEED="*Shared I/O Write Speed",e.AVERAGE_LOCAL_IO_READ_SPEED="*Local I/O Read Speed",e.AVERAGE_LOCAL_IO_WRITE_SPEED="*Local I/O Write Speed",e.AVERAGE_TEMP_IO_READ_SPEED="*Temp I/O Read Speed",e.AVERAGE_TEMP_IO_WRITE_SPEED="*Temp I/O Write Speed",e.EXCLUSIVE_IO_READ_TIME="*I/O Read Time (exclusive)",e.EXCLUSIVE_IO_WRITE_TIME="*I/O Write Time (exclusive)",e.EXCLUSIVE_AVERAGE_IO_READ_SPEED="*I/O Read Speed (exclusive)",e.EXCLUSIVE_AVERAGE_IO_WRITE_SPEED="*I/O Write Speed (exclusive)",e.EXCLUSIVE_SHARED_IO_READ_TIME="*Shared I/O Read Time (exclusive)",e.EXCLUSIVE_SHARED_IO_WRITE_TIME="*Shared I/O Write Time (exclusive)",e.EXCLUSIVE_AVERAGE_SHARED_IO_READ_SPEED="*Shared I/O Read Speed (exclusive)",e.EXCLUSIVE_AVERAGE_SHARED_IO_WRITE_SPEED="*Shared I/O Write Speed (exclusive)",e.EXCLUSIVE_LOCAL_IO_READ_TIME="*Local I/O Read Time (exclusive)",e.EXCLUSIVE_LOCAL_IO_WRITE_TIME="*Local I/O Write Time (exclusive)",e.EXCLUSIVE_AVERAGE_LOCAL_IO_READ_SPEED="*Local I/O Read Speed (exclusive)",e.EXCLUSIVE_AVERAGE_LOCAL_IO_WRITE_SPEED="*Local I/O Write Speed (exclusive)",e.EXCLUSIVE_TEMP_IO_READ_TIME="*Temp I/O Read Time (exclusive)",e.EXCLUSIVE_TEMP_IO_WRITE_TIME="*Temp I/O Write Time (exclusive)",e.EXCLUSIVE_AVERAGE_TEMP_IO_READ_SPEED="*Temp I/O Read Speed (exclusive)",e.EXCLUSIVE_AVERAGE_TEMP_IO_WRITE_SPEED="*Temp I/O Write Speed (exclusive)",e.SUM_IO_READ_TIME="*I/O Read Time (all scopes)",e.SUM_IO_WRITE_TIME="*I/O Write Time (all scopes)",e.AVERAGE_SUM_IO_READ_SPEED="*I/O Read Time speed (all scopes)",e.AVERAGE_SUM_IO_WRITE_SPEED="*I/O Write Time speed (all scopes)",e.EXCLUSIVE_SUM_IO_READ_TIME="*I/O Read Time (exclusive, all scopes)",e.EXCLUSIVE_SUM_IO_WRITE_TIME="*I/O Write Time (exclusive, all scopes)",e.EXCLUSIVE_AVERAGE_SUM_IO_READ_SPEED="*I/O Read Time speed (exclusive, all scopes)",e.EXCLUSIVE_AVERAGE_SUM_IO_WRITE_SPEED="*I/O Write Time speed (exclusive, all scopes)",e.WORKERS_PLANNED_BY_GATHER="*Workers Planned By Gather",e.WORKERS_LAUNCHED_BY_GATHER="*Workers Launched By Gather",e.CTE_SCAN="CTE Scan",e.CTE_NAME="CTE Name",e.FUNCTION_NAME="Function Name",e.ARRAY_INDEX_KEY="arrayIndex",e.PEV_PLAN_TAG="plan_",e.JIT="JIT",e))(f||{}),dn=(e=>(e[e.blocks=0]="blocks",e[e.boolean=1]="boolean",e[e.bytes=2]="bytes",e[e.cost=3]="cost",e[e.duration=4]="duration",e[e.estimateDirection=5]="estimateDirection",e[e.factor=6]="factor",e[e.increment=7]="increment",e[e.json=8]="json",e[e.kilobytes=9]="kilobytes",e[e.list=10]="list",e[e.loops=11]="loops",e[e.rows=12]="rows",e[e.sortGroups=13]="sortGroups",e[e.transferRate=14]="transferRate",e[e.jit=15]="jit",e))(dn||{});const Ee={};Ee["Actual Rows"]=12;Ee["Actual Loops"]=11;Ee["Plan Rows"]=12;Ee["Plan Width"]=2;Ee["*Actual Rows Revised"]=12;Ee["*Actual Rows Is Fractional"]=1;Ee["*Plan Rows Revised"]=12;Ee["Actual Total Time"]=4;Ee["Actual Startup Time"]=4;Ee["Startup Cost"]=3;Ee["Total Cost"]=3;Ee["Parallel Aware"]=1;Ee.Workers=8;Ee["Sort Space Used"]=9;Ee["Rows Removed by Filter"]=12;Ee["Rows Removed by Join Filter"]=12;Ee["*Rows Removed by Filter"]=12;Ee["*Rows Removed by Join Filter"]=12;Ee["Rows Removed by Index Recheck"]=12;Ee["*Rows Removed by Index Recheck"]=12;Ee["Heap Fetches"]=12;Ee.Output=10;Ee["Sort Key"]=10;Ee["Presorted Key"]=10;Ee["WAL Records"]=12;Ee["WAL Bytes"]=2;Ee["WAL FPI"]=12;Ee["*Duration (exclusive)"]=4;Ee["*Cost (exclusive)"]=3;Ee["*Planner Row Estimate Factor"]=6;Ee["*Planner Row Estimate Direction"]=5;Ee["I/O Read Time"]=4;Ee["I/O Write Time"]=4;Ee["*I/O Read Time (all scopes)"]=4;Ee["*I/O Write Time (all scopes)"]=4;Ee["*I/O Read Time speed (all scopes)"]=14;Ee["*I/O Write Time speed (all scopes)"]=14;Ee["I/O Read Time"]=4;Ee["I/O Write Time"]=4;Ee["*I/O Read Speed"]=14;Ee["*I/O Write Speed"]=14;Ee["Shared I/O Read Time"]=4;Ee["Shared I/O Write Time"]=4;Ee["*Shared I/O Read Speed"]=14;Ee["*Shared I/O Write Speed"]=14;Ee["Local I/O Read Time"]=4;Ee["Local I/O Write Time"]=4;Ee["*Local I/O Read Speed"]=14;Ee["*Local I/O Write Speed"]=14;Ee["Temp I/O Read Time"]=4;Ee["Temp I/O Write Time"]=4;Ee["*Temp I/O Read Speed"]=14;Ee["*Temp I/O Write Speed"]=14;Ee["*I/O Read Time (exclusive)"]=4;Ee["*I/O Write Time (exclusive)"]=4;Ee["*I/O Read Speed (exclusive)"]=14;Ee["*I/O Write Speed (exclusive)"]=14;Ee["*Shared I/O Read Time (exclusive)"]=4;Ee["*Shared I/O Write Time (exclusive)"]=4;Ee["*Shared I/O Read Speed (exclusive)"]=14;Ee["*Shared I/O Write Speed (exclusive)"]=14;Ee["*Local I/O Read Time (exclusive)"]=4;Ee["*Local I/O Write Time (exclusive)"]=4;Ee["*Local I/O Read Speed (exclusive)"]=14;Ee["*Local I/O Write Speed (exclusive)"]=14;Ee["*Temp I/O Read Time (exclusive)"]=4;Ee["*Temp I/O Write Time (exclusive)"]=4;Ee["*Temp I/O Read Speed (exclusive)"]=14;Ee["*Temp I/O Write Speed (exclusive)"]=14;Ee["*Shared Hit Blocks (exclusive)"]=0;Ee["*Shared Read Blocks (exclusive)"]=0;Ee["*Shared Dirtied Blocks (exclusive)"]=0;Ee["*Shared Written Blocks (exclusive)"]=0;Ee["*Temp Read Blocks (exclusive)"]=0;Ee["*Temp Written Blocks (exclusive)"]=0;Ee["*Local Hit Blocks (exclusive)"]=0;Ee["*Local Read Blocks (exclusive)"]=0;Ee["*Local Dirtied Blocks (exclusive)"]=0;Ee["*Local Written Blocks (exclusive)"]=0;Ee["Full-sort Groups"]=13;Ee["Pre-sorted Groups"]=13;Ee.JIT=15;class Pi{}Oe(Pi,"WORKER_NUMBER","Worker Number");Ee[Pi.WORKER_NUMBER]=7;var Ks=(e=>(e.GROUP_COUNT="Group Count",e.SORT_METHODS_USED="Sort Methods Used",e.SORT_SPACE_MEMORY="Sort Space Memory",e))(Ks||{}),wc=(e=>(e.AVERAGE_SORT_SPACE_USED="Average Sort Space Used",e.PEAK_SORT_SPACE_USED="Peak Sort Space Used",e))(wc||{}),Ys=(e=>(e.SHARED="shared",e.LOCAL="local",e.TEMP="temp",e))(Ys||{});class Xo{constructor(){Oe(this,"nodeId",0)}getNodeTypeDescription(t){return Zb[t.toUpperCase()]}getHelpMessage(t){return eN[t.toUpperCase()]}}const Zb={LIMIT:"returns a specified number of rows from a record set.",SORT:"sorts a record set based on the specified sort key.","NESTED LOOP":`merges two record sets by looping through every record in the first set and - trying to find a match in the second set. All matching records are returned.`,"MERGE JOIN":"merges two record sets by first sorting them on a join key.",HASH:`generates a hash table from the records in the input recordset. Hash is used by - Hash Join.`,"HASH JOIN":"joins two record sets by hashing one of them (using a Hash Scan).",AGGREGATE:"groups records together based on a GROUP BY or aggregate function (like sum()).",HASHAGGREGATE:`groups records together based on a GROUP BY or aggregate function (like sum()). Hash Aggregate uses - a hash to first organize the records by a key.`,"SEQ SCAN":`finds relevant records by sequentially scanning the input record set. When reading from a table, - Seq Scans (unlike Index Scans) perform a single read operation (only the table is read).`,"INDEX SCAN":`finds relevant records based on an Index. - Index Scans perform 2 read operations: one to - read the index and another to read the actual value from the table.`,"INDEX ONLY SCAN":`finds relevant records based on an Index. - Index Only Scans perform a single read operation - from the index and do not read from the corresponding table.`,"BITMAP HEAP SCAN":`searches through the pages returned by the Bitmap Index Scan - for relevant rows.`,"BITMAP INDEX SCAN":`uses a Bitmap Index (index which uses 1 bit per page) - to find all relevant pages. - Results of this node are fed to the Bitmap Heap Scan.`,"CTE SCAN":`performs a sequential scan of Common Table Expression (CTE) query results. Note that - results of a CTE are materialized (calculated and temporarily stored).`,MEMOIZE:"is used to cache the results of the inner side of a nested loop. It avoids executing underlying nodes when the results for the current parameters are already in the cache.",GATHER:"reads the results of the parallel workers, in an undefined order.","GATHER MERGE":"reads the results of the parallel workers, preserving any ordering."},eN={"MISSING EXECUTION TIME":`Execution time (or Total runtime) not available for this plan. Make sure you - use EXPLAIN ANALYZE.`,"MISSING PLANNING TIME":"Planning time not available for this plan.","WORKERS PLANNED NOT LAUNCHED":`Less workers than planned were launched. -Consider modifying max_parallel_workers or max_parallel_workers_per_gather.`,"WORKERS DETAILED INFO MISSING":"Consider using EXPLAIN (ANALYZE, VERBOSE)","FUZZY NEEDS VERBOSE":"Information may not be accurate. Use EXPLAIN VERBOSE mode.","HINT TRACK_IO_TIMING":"HINT: activate track_io_timing to have details on time spent outside the PG cache.","IO TIMINGS PARALLEL":"Distributed among parallel workers"};function tN(e,t,r,o){if(!t)return;const i=e.getBoundingClientRect(),s=t.getBoundingClientRect();let u=e.scrollLeft;const c=s.left>=i.left&&s.left<=i.right&&s.right<=i.right;let p=e.scrollTop;const _=s.top>=i.top&&s.top<=i.bottom&&s.bottom<=i.bottom;(!c||!_)&&(u=s.left+e.scrollLeft-i.left-i.width/2+s.width/2,p=s.top+e.scrollTop-i.top-i.height/2+s.height/2,nN({element:e,to:{scrollTop:p,scrollLeft:u},duration:400,done:o}))}const Wh=({currentTime:e,start:t,change:r,duration:o})=>{let i=e;return i/=o/2,i<1?r/2*i*i+t:(i-=1,-r/2*(i*(i-2)-1)+t)};function nN({duration:e,element:t,to:r,done:o}){const i=t.scrollTop,s=t.scrollLeft,u=r.scrollTop-i,c=r.scrollLeft-s,p=new Date().getTime(),_=()=>{const E=new Date().getTime()-p;t.scrollTop=Wh({currentTime:E,start:i,change:u,duration:e}),t.scrollLeft=Wh({currentTime:E,start:s,change:c,duration:e}),E{if(_)return s.push(p,g||E||A||S),"";if(E)i.push(E);else if(A)i.pop();else if(S)i[i.length-1]!==S?i.push(S):i.pop();else if(g?!i.length:!p)return s.push(p),u.push(s.join("")),s=[],"";return s.push(c),""}),u}function rN(e,t){let r;const o=e.content.Plan;return o.nodeId==t?o:(o&&o.Plans&&(o.Plans.some(function i(s){return s.nodeId===t?(r=s,!0):s.Plans&&s.Plans.some(i)}),!r&&e.ctes&&B.each(e.ctes,i=>{if(i.nodeId==t)return r=i,!1;if(i.Plans&&(i.Plans.some(function s(u){return u.nodeId===t?(r=u,!0):u.Plans&&u.Plans.some(s)}),r))return!1})),r)}function aN(e,t){let r;return e.ctes&&B.each(e.ctes,o=>{if(o[f.SUBPLAN_NAME]=="CTE "+t)return r=o,!1}),r}const oN=[f.NODE_TYPE,f.CTE_NAME,f.EXCLUSIVE_DURATION,f.EXCLUSIVE_COST,f.TOTAL_COST,f.PLAN_ROWS,f.ACTUAL_ROWS,f.ACTUAL_LOOPS,f.OUTPUT,f.WORKERS,f.WORKERS_PLANNED,f.WORKERS_LAUNCHED,f.READ_BLOCKS,f.WRITTEN_BLOCKS,f.EXCLUSIVE_SHARED_HIT_BLOCKS,f.EXCLUSIVE_SHARED_READ_BLOCKS,f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS,f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS,f.EXCLUSIVE_TEMP_READ_BLOCKS,f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS,f.EXCLUSIVE_LOCAL_HIT_BLOCKS,f.EXCLUSIVE_LOCAL_READ_BLOCKS,f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS,f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS,f.EXCLUSIVE_READ_BLOCKS,f.EXCLUSIVE_WRITTEN_BLOCKS,f.SHARED_HIT_BLOCKS,f.SHARED_READ_BLOCKS,f.SHARED_DIRTIED_BLOCKS,f.SHARED_WRITTEN_BLOCKS,f.TEMP_READ_BLOCKS,f.TEMP_WRITTEN_BLOCKS,f.LOCAL_HIT_BLOCKS,f.LOCAL_READ_BLOCKS,f.LOCAL_DIRTIED_BLOCKS,f.LOCAL_WRITTEN_BLOCKS,f.PLANNER_ESTIMATE_FACTOR,f.PLANNER_ESTIMATE_DIRECTION,f.SUBPLAN_NAME,f.GROUP_KEY,f.HASH_CONDITION,f.JOIN_TYPE,f.INDEX_NAME,f.HASH_CONDITION,f.EXCLUSIVE_IO_READ_TIME,f.EXCLUSIVE_IO_WRITE_TIME,f.EXCLUSIVE_SHARED_IO_READ_TIME,f.EXCLUSIVE_SHARED_IO_WRITE_TIME,f.EXCLUSIVE_LOCAL_IO_READ_TIME,f.EXCLUSIVE_LOCAL_IO_WRITE_TIME,f.EXCLUSIVE_TEMP_IO_READ_TIME,f.EXCLUSIVE_TEMP_IO_WRITE_TIME,f.EXCLUSIVE_AVERAGE_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_IO_WRITE_SPEED,f.EXCLUSIVE_AVERAGE_SHARED_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_SHARED_IO_WRITE_SPEED,f.EXCLUSIVE_AVERAGE_LOCAL_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_LOCAL_IO_WRITE_SPEED,f.EXCLUSIVE_AVERAGE_TEMP_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_TEMP_IO_WRITE_SPEED,f.EXCLUSIVE_AVERAGE_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_IO_WRITE_SPEED,f.EXCLUSIVE_SUM_IO_READ_TIME,f.EXCLUSIVE_SUM_IO_WRITE_TIME,f.EXCLUSIVE_AVERAGE_SUM_IO_READ_SPEED,f.EXCLUSIVE_AVERAGE_SUM_IO_WRITE_SPEED,f.AVERAGE_IO_READ_SPEED,f.AVERAGE_IO_WRITE_SPEED,f.AVERAGE_SHARED_IO_READ_SPEED,f.AVERAGE_SHARED_IO_WRITE_SPEED,f.AVERAGE_LOCAL_IO_READ_SPEED,f.AVERAGE_LOCAL_IO_WRITE_SPEED,f.AVERAGE_TEMP_IO_READ_SPEED,f.AVERAGE_TEMP_IO_WRITE_SPEED,f.IO_READ_TIME,f.IO_WRITE_TIME,f.SHARED_IO_READ_TIME,f.SHARED_IO_WRITE_TIME,f.LOCAL_IO_READ_TIME,f.LOCAL_IO_WRITE_TIME,f.TEMP_IO_READ_TIME,f.TEMP_IO_WRITE_TIME,f.SUM_IO_READ_TIME,f.SUM_IO_WRITE_TIME,f.AVERAGE_SUM_IO_READ_SPEED,f.AVERAGE_SUM_IO_WRITE_SPEED,f.HEAP_FETCHES,f.WAL_RECORDS,f.WAL_BYTES,f.WAL_FPI,f.NODE_ID,f.ROWS_REMOVED_BY_FILTER,f.ROWS_REMOVED_BY_JOIN_FILTER,f.ROWS_REMOVED_BY_INDEX_RECHECK,f.ACTUAL_ROWS_REVISED,f.PLAN_ROWS_REVISED,f.ROWS_REMOVED_BY_FILTER_REVISED,f.ROWS_REMOVED_BY_JOIN_FILTER_REVISED,f.ROWS_REMOVED_BY_INDEX_RECHECK_REVISED,"size",f.RELATION_NAME,f.ALIAS,f.FUNCTION_NAME,f.STRATEGY,f.PARTIAL_MODE,f.SCAN_DIRECTION,f.ACTUAL_ROWS_FRACTIONAL];function Km(e,t){return(!!t||Ee[e]===dn.increment||e===f.ACTUAL_ROWS)&&oN.indexOf(e)===-1}const iN={class:"tree-lines"},Il=Ut({__name:"LevelDivider",props:{level:{},isSubplan:{type:Boolean},isNode:{type:Boolean},isLastChild:{type:Boolean},branches:{},index:{},dense:{type:Boolean,default:!1}},setup(e){const t=e.dense?"":" ";return(r,o)=>(b(),L("span",iN,[(b(!0),L(ze,null,Ft(d(B).range(e.level),i=>(b(),L(ze,null,[d(B).indexOf(e.branches,i)!=-1?(b(),L(ze,{key:0},[m(ie(d(t))+"│",1)],64)):i!==0?(b(),L(ze,{key:1},[m(ie(d(t))+" ",1)],64)):$("",!0)],64))),256)),e.index!==0?(b(),L(ze,{key:0},[e.isSubplan&&e.isNode?(b(),L(ze,{key:1},[e.isLastChild?(b(),L(ze,{key:1},[m(ie(d(t))+" ",1)],64)):(b(),L(ze,{key:0},[m(ie(d(t))+"│",1)],64))],64)):(b(),L(ze,{key:0},[m(ie(d(t))+ie(e.isLastChild?"└":"├"),1)],64))],64)):$("",!0)]))}}),sN={class:"table-borderless"},lN={class:"text-nowrap p-0"},uN={class:"p-0 ps-1"},cN={class:"table-borderless"},fN={class:"p-0 ps-1"},dN=Ut({__name:"SortGroup",props:{sortGroup:{}},setup(e){return(t,r)=>(b(),L("div",null,[m(` - Count: `+ie(e.sortGroup["Group Count"])+" ",1),r[6]||(r[6]=T("br",null,null,-1)),r[7]||(r[7]=m()),T("table",sN,[T("tbody",null,[T("tr",null,[T("td",lN,[r[0]||(r[0]=m(` - Sort Method`,-1)),e.sortGroup["Sort Methods Used"].length>1?(b(),L(ze,{key:0},[m("s")],64)):$("",!0),r[1]||(r[1]=m(`: - `,-1))]),r[2]||(r[2]=m()),T("td",uN,ie(d(Yr)(e.sortGroup["Sort Methods Used"])),1)])])]),r[8]||(r[8]=m()),T("table",cN,[T("tbody",null,[T("tr",null,[r[4]||(r[4]=T("td",{class:"p-0"},"Memory:",-1)),r[5]||(r[5]=m()),T("td",fN,[m(` - Average: - `+ie(d(Dc)(e.sortGroup["Sort Space Memory"]["Average Sort Space Used"]))+" ",1),r[3]||(r[3]=T("br",null,null,-1)),m(` - Peak: - `+ie(d(Dc)(e.sortGroup["Sort Space Memory"]["Peak Sort Space Used"])),1)])])])])]))}}),pN={class:"table table-sm table-borderless"},hN={class:"text-end"},EN={class:"text-end"},_N={class:"text-end"},Ym=Ut({__name:"JitDetails",props:{jit:{}},setup(e){const t=e;return(r,o)=>(b(),L("table",pN,[T("tbody",null,[T("tr",null,[o[0]||(o[0]=T("th",null,"Functions",-1)),o[1]||(o[1]=m()),T("td",hN,ie(t.jit.Functions),1)]),o[4]||(o[4]=m()),o[5]||(o[5]=T("tr",null,[T("th",{colspan:"2"},"Options")],-1)),o[6]||(o[6]=m()),(b(!0),L(ze,null,Ft(t.jit.Options,(i,s)=>(b(),L("tr",{key:s},[T("td",null,"  "+ie(s),1),o[2]||(o[2]=m()),T("td",EN,[m(ie(i?"✓":"✗")+" ",1),T("small",null,"("+ie(i)+")",1)])]))),128)),o[7]||(o[7]=m()),o[8]||(o[8]=T("tr",null,[T("th",{colspan:"2"},"Timing")],-1)),o[9]||(o[9]=m()),(b(!0),L(ze,null,Ft(t.jit.Timing,(i,s)=>(b(),L("tr",{key:s},[T("td",null,"  "+ie(s),1),o[3]||(o[3]=m()),T("td",_N,ie(i)+" ms",1)]))),128))])]))}});var sc,Fh;function mN(){if(Fh)return sc;Fh=1;function e(k){return k instanceof Map?k.clear=k.delete=k.set=function(){throw new Error("map is read-only")}:k instanceof Set&&(k.add=k.clear=k.delete=function(){throw new Error("set is read-only")}),Object.freeze(k),Object.getOwnPropertyNames(k).forEach(oe=>{const Re=k[oe],tt=typeof Re;(tt==="object"||tt==="function")&&!Object.isFrozen(Re)&&e(Re)}),k}class t{constructor(oe){oe.data===void 0&&(oe.data={}),this.data=oe.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(k){return k.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function o(k,...oe){const Re=Object.create(null);for(const tt in k)Re[tt]=k[tt];return oe.forEach(function(tt){for(const Ct in tt)Re[Ct]=tt[Ct]}),Re}const i="",s=k=>!!k.scope,u=(k,{prefix:oe})=>{if(k.startsWith("language:"))return k.replace("language:","language-");if(k.includes(".")){const Re=k.split(".");return[`${oe}${Re.shift()}`,...Re.map((tt,Ct)=>`${tt}${"_".repeat(Ct+1)}`)].join(" ")}return`${oe}${k}`};class c{constructor(oe,Re){this.buffer="",this.classPrefix=Re.classPrefix,oe.walk(this)}addText(oe){this.buffer+=r(oe)}openNode(oe){if(!s(oe))return;const Re=u(oe.scope,{prefix:this.classPrefix});this.span(Re)}closeNode(oe){s(oe)&&(this.buffer+=i)}value(){return this.buffer}span(oe){this.buffer+=``}}const p=(k={})=>{const oe={children:[]};return Object.assign(oe,k),oe};class _{constructor(){this.rootNode=p(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(oe){this.top.children.push(oe)}openNode(oe){const Re=p({scope:oe});this.add(Re),this.stack.push(Re)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(oe){return this.constructor._walk(oe,this.rootNode)}static _walk(oe,Re){return typeof Re=="string"?oe.addText(Re):Re.children&&(oe.openNode(Re),Re.children.forEach(tt=>this._walk(oe,tt)),oe.closeNode(Re)),oe}static _collapse(oe){typeof oe!="string"&&oe.children&&(oe.children.every(Re=>typeof Re=="string")?oe.children=[oe.children.join("")]:oe.children.forEach(Re=>{_._collapse(Re)}))}}class E extends _{constructor(oe){super(),this.options=oe}addText(oe){oe!==""&&this.add(oe)}startScope(oe){this.openNode(oe)}endScope(){this.closeNode()}__addSublanguage(oe,Re){const tt=oe.root;Re&&(tt.scope=`language:${Re}`),this.add(tt)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function A(k){return k?typeof k=="string"?k:k.source:null}function S(k){return M("(?=",k,")")}function g(k){return M("(?:",k,")*")}function N(k){return M("(?:",k,")?")}function M(...k){return k.map(oe=>A(oe)).join("")}function V(k){const oe=k[k.length-1];return typeof oe=="object"&&oe.constructor===Object?(k.splice(k.length-1,1),oe):{}}function C(...k){return"("+(V(k).capture?"":"?:")+k.map(oe=>A(oe)).join("|")+")"}function J(k){return new RegExp(k.toString()+"|").exec("").length-1}function P(k,oe){const Re=k&&k.exec(oe);return Re&&Re.index===0}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ae(k,{joinWith:oe}){let Re=0;return k.map(tt=>{Re+=1;const Ct=Re;let xt=A(tt),ke="";for(;xt.length>0;){const xe=w.exec(xt);if(!xe){ke+=xt;break}ke+=xt.substring(0,xe.index),xt=xt.substring(xe.index+xe[0].length),xe[0][0]==="\\"&&xe[1]?ke+="\\"+String(Number(xe[1])+Ct):(ke+=xe[0],xe[0]==="("&&Re++)}return ke}).map(tt=>`(${tt})`).join(oe)}const W=/\b\B/,q="[a-zA-Z]\\w*",he="[a-zA-Z_]\\w*",Ue="\\b\\d+(\\.\\d+)?",Ve="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ae="\\b(0b[01]+)",I="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Pe=(k={})=>{const oe=/^#![ ]*\//;return k.binary&&(k.begin=M(oe,/.*\b/,k.binary,/\b.*/)),o({scope:"meta",begin:oe,end:/$/,relevance:0,"on:begin":(Re,tt)=>{Re.index!==0&&tt.ignoreMatch()}},k)},G={begin:"\\\\[\\s\\S]",relevance:0},K={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[G]},x={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[G]},ce={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fe=function(k,oe,Re={}){const tt=o({scope:"comment",begin:k,end:oe,contains:[]},Re);tt.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Ct=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return tt.contains.push({begin:M(/[ ]+/,"(",Ct,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),tt},_e=fe("//","$"),Ie=fe("/\\*","\\*/"),j=fe("#","$"),U={scope:"number",begin:Ue,relevance:0},R={scope:"number",begin:Ve,relevance:0},Q={scope:"number",begin:Ae,relevance:0},ee={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[G,{begin:/\[/,end:/\]/,relevance:0,contains:[G]}]},X={scope:"title",begin:q,relevance:0},Y={scope:"title",begin:he,relevance:0},de={begin:"\\.\\s*"+he,relevance:0};var le=Object.freeze({__proto__:null,APOS_STRING_MODE:K,BACKSLASH_ESCAPE:G,BINARY_NUMBER_MODE:Q,BINARY_NUMBER_RE:Ae,COMMENT:fe,C_BLOCK_COMMENT_MODE:Ie,C_LINE_COMMENT_MODE:_e,C_NUMBER_MODE:R,C_NUMBER_RE:Ve,END_SAME_AS_BEGIN:function(k){return Object.assign(k,{"on:begin":(oe,Re)=>{Re.data._beginMatch=oe[1]},"on:end":(oe,Re)=>{Re.data._beginMatch!==oe[1]&&Re.ignoreMatch()}})},HASH_COMMENT_MODE:j,IDENT_RE:q,MATCH_NOTHING_RE:W,METHOD_GUARD:de,NUMBER_MODE:U,NUMBER_RE:Ue,PHRASAL_WORDS_MODE:ce,QUOTE_STRING_MODE:x,REGEXP_MODE:ee,RE_STARTERS_RE:I,SHEBANG:Pe,TITLE_MODE:X,UNDERSCORE_IDENT_RE:he,UNDERSCORE_TITLE_MODE:Y});function Se(k,oe){k.input[k.index-1]==="."&&oe.ignoreMatch()}function Ne(k,oe){k.className!==void 0&&(k.scope=k.className,delete k.className)}function Qe(k,oe){oe&&k.beginKeywords&&(k.begin="\\b("+k.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",k.__beforeBegin=Se,k.keywords=k.keywords||k.beginKeywords,delete k.beginKeywords,k.relevance===void 0&&(k.relevance=0))}function lt(k,oe){Array.isArray(k.illegal)&&(k.illegal=C(...k.illegal))}function we(k,oe){if(k.match){if(k.begin||k.end)throw new Error("begin & end are not supported with match");k.begin=k.match,delete k.match}}function We(k,oe){k.relevance===void 0&&(k.relevance=1)}const ft=(k,oe)=>{if(!k.beforeMatch)return;if(k.starts)throw new Error("beforeMatch cannot be used with starts");const Re=Object.assign({},k);Object.keys(k).forEach(tt=>{delete k[tt]}),k.keywords=Re.keywords,k.begin=M(Re.beforeMatch,S(Re.begin)),k.starts={relevance:0,contains:[Object.assign(Re,{endsParent:!0})]},k.relevance=0,delete Re.beforeMatch},nt=["of","and","for","in","not","or","if","then","parent","list","value"],Ht="keyword";function ne(k,oe,Re=Ht){const tt=Object.create(null);return typeof k=="string"?Ct(Re,k.split(" ")):Array.isArray(k)?Ct(Re,k):Object.keys(k).forEach(function(xt){Object.assign(tt,ne(k[xt],oe,xt))}),tt;function Ct(xt,ke){oe&&(ke=ke.map(xe=>xe.toLowerCase())),ke.forEach(function(xe){const $e=xe.split("|");tt[$e[0]]=[xt,Ce($e[0],$e[1])]})}}function Ce(k,oe){return oe?Number(oe):ot(k)?0:1}function ot(k){return nt.includes(k.toLowerCase())}const Gt={},wt=k=>{console.error(k)},hn=(k,...oe)=>{console.log(`WARN: ${k}`,...oe)},ln=(k,oe)=>{Gt[`${k}/${oe}`]||(console.log(`Deprecated as of ${k}. ${oe}`),Gt[`${k}/${oe}`]=!0)},lr=new Error;function Un(k,oe,{key:Re}){let tt=0;const Ct=k[Re],xt={},ke={};for(let xe=1;xe<=oe.length;xe++)ke[xe+tt]=Ct[xe],xt[xe+tt]=!0,tt+=J(oe[xe-1]);k[Re]=ke,k[Re]._emit=xt,k[Re]._multi=!0}function kn(k){if(Array.isArray(k.begin)){if(k.skip||k.excludeBegin||k.returnBegin)throw wt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),lr;if(typeof k.beginScope!="object"||k.beginScope===null)throw wt("beginScope must be object"),lr;Un(k,k.begin,{key:"beginScope"}),k.begin=ae(k.begin,{joinWith:""})}}function ga(k){if(Array.isArray(k.end)){if(k.skip||k.excludeEnd||k.returnEnd)throw wt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),lr;if(typeof k.endScope!="object"||k.endScope===null)throw wt("endScope must be object"),lr;Un(k,k.end,{key:"endScope"}),k.end=ae(k.end,{joinWith:""})}}function va(k){k.scope&&typeof k.scope=="object"&&k.scope!==null&&(k.beginScope=k.scope,delete k.scope)}function Ta(k){va(k),typeof k.beginScope=="string"&&(k.beginScope={_wrap:k.beginScope}),typeof k.endScope=="string"&&(k.endScope={_wrap:k.endScope}),kn(k),ga(k)}function Aa(k){function oe(ke,xe){return new RegExp(A(ke),"m"+(k.case_insensitive?"i":"")+(k.unicodeRegex?"u":"")+(xe?"g":""))}class Re{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(xe,$e){$e.position=this.position++,this.matchIndexes[this.matchAt]=$e,this.regexes.push([$e,xe]),this.matchAt+=J(xe)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const xe=this.regexes.map($e=>$e[1]);this.matcherRe=oe(ae(xe,{joinWith:"|"}),!0),this.lastIndex=0}exec(xe){this.matcherRe.lastIndex=this.lastIndex;const $e=this.matcherRe.exec(xe);if(!$e)return null;const Qt=$e.findIndex((Sa,Fo)=>Fo>0&&Sa!==void 0),Wt=this.matchIndexes[Qt];return $e.splice(0,Qt),Object.assign($e,Wt)}}class tt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(xe){if(this.multiRegexes[xe])return this.multiRegexes[xe];const $e=new Re;return this.rules.slice(xe).forEach(([Qt,Wt])=>$e.addRule(Qt,Wt)),$e.compile(),this.multiRegexes[xe]=$e,$e}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(xe,$e){this.rules.push([xe,$e]),$e.type==="begin"&&this.count++}exec(xe){const $e=this.getMatcher(this.regexIndex);$e.lastIndex=this.lastIndex;let Qt=$e.exec(xe);if(this.resumingScanAtSamePosition()&&!(Qt&&Qt.index===this.lastIndex)){const Wt=this.getMatcher(0);Wt.lastIndex=this.lastIndex+1,Qt=Wt.exec(xe)}return Qt&&(this.regexIndex+=Qt.position+1,this.regexIndex===this.count&&this.considerAll()),Qt}}function Ct(ke){const xe=new tt;return ke.contains.forEach($e=>xe.addRule($e.begin,{rule:$e,type:"begin"})),ke.terminatorEnd&&xe.addRule(ke.terminatorEnd,{type:"end"}),ke.illegal&&xe.addRule(ke.illegal,{type:"illegal"}),xe}function xt(ke,xe){const $e=ke;if(ke.isCompiled)return $e;[Ne,we,Ta,ft].forEach(Wt=>Wt(ke,xe)),k.compilerExtensions.forEach(Wt=>Wt(ke,xe)),ke.__beforeBegin=null,[Qe,lt,We].forEach(Wt=>Wt(ke,xe)),ke.isCompiled=!0;let Qt=null;return typeof ke.keywords=="object"&&ke.keywords.$pattern&&(ke.keywords=Object.assign({},ke.keywords),Qt=ke.keywords.$pattern,delete ke.keywords.$pattern),Qt=Qt||/\w+/,ke.keywords&&(ke.keywords=ne(ke.keywords,k.case_insensitive)),$e.keywordPatternRe=oe(Qt,!0),xe&&(ke.begin||(ke.begin=/\B|\b/),$e.beginRe=oe($e.begin),!ke.end&&!ke.endsWithParent&&(ke.end=/\B|\b/),ke.end&&($e.endRe=oe($e.end)),$e.terminatorEnd=A($e.end)||"",ke.endsWithParent&&xe.terminatorEnd&&($e.terminatorEnd+=(ke.end?"|":"")+xe.terminatorEnd)),ke.illegal&&($e.illegalRe=oe(ke.illegal)),ke.contains||(ke.contains=[]),ke.contains=[].concat(...ke.contains.map(function(Wt){return te(Wt==="self"?ke:Wt)})),ke.contains.forEach(function(Wt){xt(Wt,$e)}),ke.starts&&xt(ke.starts,xe),$e.matcher=Ct($e),$e}if(k.compilerExtensions||(k.compilerExtensions=[]),k.contains&&k.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return k.classNameAliases=o(k.classNameAliases||{}),xt(k)}function ea(k){return k?k.endsWithParent||ea(k.starts):!1}function te(k){return k.variants&&!k.cachedVariants&&(k.cachedVariants=k.variants.map(function(oe){return o(k,{variants:null},oe)})),k.cachedVariants?k.cachedVariants:ea(k)?o(k,{starts:k.starts?o(k.starts):null}):Object.isFrozen(k)?o(k):k}var De="11.11.1";class Ke extends Error{constructor(oe,Re){super(oe),this.name="HTMLInjectionError",this.html=Re}}const Et=r,dt=o,qt=Symbol("nomatch"),En=7,Kn=function(k){const oe=Object.create(null),Re=Object.create(null),tt=[];let Ct=!0;const xt="Could not find the language '{}', did you forget to load/include a language module?",ke={disableAutodetect:!0,name:"Plain text",contains:[]};let xe={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:E};function $e(ve){return xe.noHighlightRe.test(ve)}function Qt(ve){let Fe=ve.className+" ";Fe+=ve.parentNode?ve.parentNode.className:"";const pt=xe.languageDetectRe.exec(Fe);if(pt){const Mt=vr(pt[1]);return Mt||(hn(xt.replace("{}",pt[1])),hn("Falling back to no-highlight mode for this block.",ve)),Mt?pt[1]:"no-highlight"}return Fe.split(/\s+/).find(Mt=>$e(Mt)||vr(Mt))}function Wt(ve,Fe,pt){let Mt="",Yt="";typeof Fe=="object"?(Mt=ve,pt=Fe.ignoreIllegals,Yt=Fe.language):(ln("10.7.0","highlight(lang, code, ...args) has been deprecated."),ln("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),Yt=ve,Mt=Fe),pt===void 0&&(pt=!0);const Yn={code:Mt,language:Yt};ro("before:highlight",Yn);const Tr=Yn.result?Yn.result:Sa(Yn.language,Yn.code,pt);return Tr.code=Yn.code,ro("after:highlight",Tr),Tr}function Sa(ve,Fe,pt,Mt){const Yt=Object.create(null);function Yn(be,He){return be.keywords[He]}function Tr(){if(!et.keywords){Zt.addText(Nt);return}let be=0;et.keywordPatternRe.lastIndex=0;let He=et.keywordPatternRe.exec(Nt),it="";for(;He;){it+=Nt.substring(be,He.index);const It=$n.case_insensitive?He[0].toLowerCase():He[0],tn=Yn(et,It);if(tn){const[ur,Xl]=tn;if(Zt.addText(it),it="",Yt[It]=(Yt[It]||0)+1,Yt[It]<=En&&(so+=Xl),ur.startsWith("_"))it+=He[0];else{const Fl=$n.classNameAliases[ur]||ur;Bn(He[0],Fl)}}else it+=He[0];be=et.keywordPatternRe.lastIndex,He=et.keywordPatternRe.exec(Nt)}it+=Nt.substring(be),Zt.addText(it)}function Ra(){if(Nt==="")return;let be=null;if(typeof et.subLanguage=="string"){if(!oe[et.subLanguage]){Zt.addText(Nt);return}be=Sa(et.subLanguage,Nt,!0,Ur[et.subLanguage]),Ur[et.subLanguage]=be._top}else be=Go(Nt,et.subLanguage.length?et.subLanguage:null);et.relevance>0&&(so+=be.relevance),Zt.__addSublanguage(be._emitter,be.language)}function _n(){et.subLanguage!=null?Ra():Tr(),Nt=""}function Bn(be,He){be!==""&&(Zt.startScope(He),Zt.addText(be),Zt.endScope())}function ao(be,He){let it=1;const It=He.length-1;for(;it<=It;){if(!be._emit[it]){it++;continue}const tn=$n.classNameAliases[be[it]]||be[it],ur=He[it];tn?Bn(ur,tn):(Nt=ur,Tr(),Nt=""),it++}}function Vi(be,He){return be.scope&&typeof be.scope=="string"&&Zt.openNode($n.classNameAliases[be.scope]||be.scope),be.beginScope&&(be.beginScope._wrap?(Bn(Nt,$n.classNameAliases[be.beginScope._wrap]||be.beginScope._wrap),Nt=""):be.beginScope._multi&&(ao(be.beginScope,He),Nt="")),et=Object.create(be,{parent:{value:et}}),et}function Ko(be,He,it){let It=P(be.endRe,it);if(It){if(be["on:end"]){const tn=new t(be);be["on:end"](He,tn),tn.isMatchIgnored&&(It=!1)}if(It){for(;be.endsParent&&be.parent;)be=be.parent;return be}}if(be.endsWithParent)return Ko(be.parent,He,it)}function oo(be){return et.matcher.regexIndex===0?(Nt+=be[0],1):(uo=!0,0)}function Hi(be){const He=be[0],it=be.rule,It=new t(it),tn=[it.__beforeBegin,it["on:begin"]];for(const ur of tn)if(ur&&(ur(be,It),It.isMatchIgnored))return oo(He);return it.skip?Nt+=He:(it.excludeBegin&&(Nt+=He),_n(),!it.returnBegin&&!it.excludeBegin&&(Nt=He)),Vi(it,be),it.returnBegin?0:He.length}function Wl(be){const He=be[0],it=Fe.substring(be.index),It=Ko(et,be,it);if(!It)return qt;const tn=et;et.endScope&&et.endScope._wrap?(_n(),Bn(He,et.endScope._wrap)):et.endScope&&et.endScope._multi?(_n(),ao(et.endScope,be)):tn.skip?Nt+=He:(tn.returnEnd||tn.excludeEnd||(Nt+=He),_n(),tn.excludeEnd&&(Nt=He));do et.scope&&Zt.closeNode(),!et.skip&&!et.subLanguage&&(so+=et.relevance),et=et.parent;while(et!==It.parent);return It.starts&&Vi(It.starts,be),tn.returnEnd?0:He.length}function Wi(){const be=[];for(let He=et;He!==$n;He=He.parent)He.scope&&be.unshift(He.scope);be.forEach(He=>Zt.openNode(He))}let Oa={};function io(be,He){const it=He&&He[0];if(Nt+=be,it==null)return _n(),0;if(Oa.type==="begin"&&He.type==="end"&&Oa.index===He.index&&it===""){if(Nt+=Fe.slice(He.index,He.index+1),!Ct){const It=new Error(`0 width match regex (${ve})`);throw It.languageName=ve,It.badRule=Oa.rule,It}return 1}if(Oa=He,He.type==="begin")return Hi(He);if(He.type==="illegal"&&!pt){const It=new Error('Illegal lexeme "'+it+'" for mode "'+(et.scope||"")+'"');throw It.mode=et,It}else if(He.type==="end"){const It=Wl(He);if(It!==qt)return It}if(He.type==="illegal"&&it==="")return Nt+=` -`,1;if(lo>1e5&&lo>He.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Nt+=it,it.length}const $n=vr(ve);if(!$n)throw wt(xt.replace("{}",ve)),new Error('Unknown language: "'+ve+'"');const Xi=Aa($n);let Ia="",et=Mt||Xi;const Ur={},Zt=new xe.__emitter(xe);Wi();let Nt="",so=0,Ar=0,lo=0,uo=!1;try{if($n.__emitTokens)$n.__emitTokens(Fe,Zt);else{for(et.matcher.considerAll();;){lo++,uo?uo=!1:et.matcher.considerAll(),et.matcher.lastIndex=Ar;const be=et.matcher.exec(Fe);if(!be)break;const He=Fe.substring(Ar,be.index),it=io(He,be);Ar=be.index+it}io(Fe.substring(Ar))}return Zt.finalize(),Ia=Zt.toHTML(),{language:ve,value:Ia,relevance:so,illegal:!1,_emitter:Zt,_top:et}}catch(be){if(be.message&&be.message.includes("Illegal"))return{language:ve,value:Et(Fe),illegal:!0,relevance:0,_illegalBy:{message:be.message,index:Ar,context:Fe.slice(Ar-100,Ar+100),mode:be.mode,resultSoFar:Ia},_emitter:Zt};if(Ct)return{language:ve,value:Et(Fe),illegal:!1,relevance:0,errorRaised:be,_emitter:Zt,_top:et};throw be}}function Fo(ve){const Fe={value:Et(ve),illegal:!1,relevance:0,_top:ke,_emitter:new xe.__emitter(xe)};return Fe._emitter.addText(ve),Fe}function Go(ve,Fe){Fe=Fe||xe.languages||Object.keys(oe);const pt=Fo(ve),Mt=Fe.filter(vr).filter(ya).map(_n=>Sa(_n,ve,!1));Mt.unshift(pt);const Yt=Mt.sort((_n,Bn)=>{if(_n.relevance!==Bn.relevance)return Bn.relevance-_n.relevance;if(_n.language&&Bn.language){if(vr(_n.language).supersetOf===Bn.language)return 1;if(vr(Bn.language).supersetOf===_n.language)return-1}return 0}),[Yn,Tr]=Yt,Ra=Yn;return Ra.secondBest=Tr,Ra}function xl(ve,Fe,pt){const Mt=Fe&&Re[Fe]||pt;ve.classList.add("hljs"),ve.classList.add(`language-${Mt}`)}function zo(ve){let Fe=null;const pt=Qt(ve);if($e(pt))return;if(ro("before:highlightElement",{el:ve,language:pt}),ve.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ve);return}if(ve.children.length>0&&(xe.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(ve)),xe.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",ve.innerHTML);Fe=ve;const Mt=Fe.textContent,Yt=pt?Wt(Mt,{language:pt,ignoreIllegals:!0}):Go(Mt);ve.innerHTML=Yt.value,ve.dataset.highlighted="yes",xl(ve,pt,Yt.language),ve.result={language:Yt.language,re:Yt.relevance,relevance:Yt.relevance},Yt.secondBest&&(ve.secondBest={language:Yt.secondBest.language,relevance:Yt.secondBest.relevance}),ro("after:highlightElement",{el:ve,result:Yt,text:Mt})}function Ml(ve){xe=dt(xe,ve)}const wl=()=>{to(),ln("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Dl(){to(),ln("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let jo=!1;function to(){function ve(){to()}if(document.readyState==="loading"){jo||window.addEventListener("DOMContentLoaded",ve,!1),jo=!0;return}document.querySelectorAll(xe.cssSelector).forEach(zo)}function Pl(ve,Fe){let pt=null;try{pt=Fe(k)}catch(Mt){if(wt("Language definition for '{}' could not be registered.".replace("{}",ve)),Ct)wt(Mt);else throw Mt;pt=ke}pt.name||(pt.name=ve),oe[ve]=pt,pt.rawDefinition=Fe.bind(null,k),pt.aliases&&Bi(pt.aliases,{languageName:ve})}function Ul(ve){delete oe[ve];for(const Fe of Object.keys(Re))Re[Fe]===ve&&delete Re[Fe]}function kl(){return Object.keys(oe)}function vr(ve){return ve=(ve||"").toLowerCase(),oe[ve]||oe[Re[ve]]}function Bi(ve,{languageName:Fe}){typeof ve=="string"&&(ve=[ve]),ve.forEach(pt=>{Re[pt.toLowerCase()]=Fe})}function ya(ve){const Fe=vr(ve);return Fe&&!Fe.disableAutodetect}function Bl(ve){ve["before:highlightBlock"]&&!ve["before:highlightElement"]&&(ve["before:highlightElement"]=Fe=>{ve["before:highlightBlock"](Object.assign({block:Fe.el},Fe))}),ve["after:highlightBlock"]&&!ve["after:highlightElement"]&&(ve["after:highlightElement"]=Fe=>{ve["after:highlightBlock"](Object.assign({block:Fe.el},Fe))})}function no(ve){Bl(ve),tt.push(ve)}function Vl(ve){const Fe=tt.indexOf(ve);Fe!==-1&&tt.splice(Fe,1)}function ro(ve,Fe){const pt=ve;tt.forEach(function(Mt){Mt[pt]&&Mt[pt](Fe)})}function Hl(ve){return ln("10.7.0","highlightBlock will be removed entirely in v12.0"),ln("10.7.0","Please use highlightElement now."),zo(ve)}Object.assign(k,{highlight:Wt,highlightAuto:Go,highlightAll:to,highlightElement:zo,highlightBlock:Hl,configure:Ml,initHighlighting:wl,initHighlightingOnLoad:Dl,registerLanguage:Pl,unregisterLanguage:Ul,listLanguages:kl,getLanguage:vr,registerAliases:Bi,autoDetection:ya,inherit:dt,addPlugin:no,removePlugin:Vl}),k.debugMode=function(){Ct=!1},k.safeMode=function(){Ct=!0},k.versionString=De,k.regex={concat:M,lookahead:S,either:C,optional:N,anyNumberOfTimes:g};for(const ve in le)typeof le[ve]=="object"&&e(le[ve]);return Object.assign(k,le),k},On=Kn({});return On.newInstance=()=>Kn({}),sc=On,On.HighlightJS=On,On.default=On,sc}var gN=mN();const bl=Zc(gN);function vN(e){const t=e.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",o="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+r+"\\s*>>",s="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",u="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",c="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",p="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",_=p.trim().split(" ").map(function(N){return N.split("|")[0]}).join("|"),E="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",A="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",S="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",g="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(N){return N.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:s+c+u,built_in:E+A+S},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+g+")\\s*\\("},{begin:"\\.("+_+")\\b"},{begin:"\\b("+_+")\\s+PATH\\b",keywords:{keyword:"PATH",type:p.replace("PATH ","")}},{className:"type",begin:"\\b("+_+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:o,end:o,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}function TN(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},o=["true","false","null"],i={scope:"literal",beginKeywords:o.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:o},contains:[t,r,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}bl.registerLanguage("pgsql",vN);bl.registerLanguage("json",TN);function xn(e){if(e===void 0)return"-";e<0&&console.error(` - Duration is negative. This is probably a bug. - Please report it at https://github.com/dalibo/pev2. - `);const t=[];let r=1e3*60*60*24;const o=Math.floor(e/r);o&&t.push(o+"d");let i=e%r;r/=24;const s=Math.floor(i/r);s&&t.push(s+"h"),i=i%r,r/=60;const u=Math.floor(i/r);u&&t.push(u+"m"),i=i%r,r/=60;const c=Math.floor(i/r);c&&t.push(c+"s"),i=i%r;const p=parseFloat(i.toPrecision(3));return t.push(p.toLocaleString()+"ms"),t.slice(0,2).join(" ")}function Tf(e){return e===void 0?"N/A":e.toLocaleString(void 0,{minimumFractionDigits:2})}function Ba(e){return e===void 0?"N/A":e.toLocaleString()}function AN(e){return e===void 0?"N/A":e.toLocaleString()}function Af(e){const t=parseFloat(e.toPrecision(2)).toLocaleString();return B.template("${f} ×")({f:t})}function Yr(e){return e instanceof Array||(e=[e]),e=B.map(e,t=>B.escape(t.replace(/(^\(|\)$)/g,""))),e.join(", ")}function $m(e,t){return B.map(e,r=>{let o=B.escape(r);return t&&(o+=t.indexOf(r)!==-1?' (presort)':""),o}).join(", ")}function Dc(e){return Sf(e*1024)}function SN(e){return Sf(e)}function Sf(e,t=2){const r=t<0?0:t,o=["Bytes","kB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(1024)),s=B.template("${value} ${unit}"),u=parseFloat((e/Math.pow(1024,i)).toPrecision(r)).toLocaleString();return s({value:u,unit:o[i]})}function Cn(e){return e?Sf(e*8*1024):""}function Tn(e,t=!1){if(t=!!t,!e)return"";let r=e.toLocaleString();return t&&(r+=`
${Cn(e)}`),r}function Gh(e){return isNaN(e)?"-":B.round(e*100)+"%"}function yN(e){return typeof e=="string"&&(e=e.split(/\s*,\s*/)),'
    '+B.template("<% _.forEach(lines, function(line) { %>
  • <%= line %>
  • <% }); %>")({lines:e})+"
"}function RN(e){return el(dN,{sortGroup:e}).mount(document.createElement("div")).$el.outerHTML}function Pc(e){return e?Cn(e)+"/s":""}function ON(e){return el(Ym,{jit:e}).mount(document.createElement("div")).$el.outerHTML}function Ii(e,t){if(B.has(Ee,e)){if(Ee[e]===dn.duration)return xn(t);if(Ee[e]===dn.boolean)return t?"yes":"no";if(Ee[e]===dn.cost)return Tf(t);if(Ee[e]===dn.rows)return Ba(t);if(Ee[e]===dn.loops)return AN(t);if(Ee[e]===dn.factor)return Af(t);if(Ee[e]===dn.estimateDirection)switch(t){case sn.over:return' over';case sn.under:return' under';default:return"-"}else{if(Ee[e]===dn.json)return JSON.stringify(t,null,2);if(Ee[e]===dn.bytes)return SN(t);if(Ee[e]===dn.kilobytes)return Dc(t);if(Ee[e]===dn.blocks)return Tn(t,!0);if(Ee[e]===dn.list)return yN(t);if(Ee[e]===dn.sortGroups)return RN(t);if(Ee[e]===dn.transferRate)return Pc(t);if(Ee[e]===dn.jit)return ON(t)}}return B.escape(t)}function Uc(e){let t;return e>90?t=4:e>40?t=3:e>10&&(t=2),t?"c-"+t:""}function IN(e){return bl.highlight(e,{language:"pgsql"}).value}function bN(e){return bl.highlight(e,{language:"json"}).value}const Jm=Ut({__name:"TimeTooltip",props:{node:{}},setup(e){return(t,r)=>(b(),L(ze,null,[r[0]||(r[0]=m(` - Duration: - `,-1)),r[1]||(r[1]=T("br",null,null,-1)),m("Exclusive: "+ie(d(xn)(e.node[d(f).EXCLUSIVE_DURATION]))+`, Total: - `+ie(d(xn)(e.node[d(f).ACTUAL_TOTAL_TIME])),1)],64))}});function NN(e,t,r){let o,i,s;{const u=r*(1+t),c=2*r-u;o=lc(c,u,e+1/3),i=lc(c,u,e),s=lc(c,u,e-1/3)}return[Math.floor(o*255),Math.floor(i*255),Math.floor(s*255)]}function LN(e){const t=(100-e)*1.2/360,r=NN(t,.9,.4);return"rgb("+r[0]+","+r[1]+","+r[2]+")"}function lc(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function eo(e,t,r){const o=je(NaN),i=je(NaN),s=je(0),u=je(null),c=je(),p=je(),_=je(NaN),E=je(NaN),A=je();Qa(()=>{S(),M(),V(),P(),p.value=t[f.PLANNER_ESTIMATE_DIRECTION],c.value=t[f.PLANNER_ESTIMATE_FACTOR]}),en(()=>r.highlightType,S);function S(){let ne;switch(r.highlightType){case pn.DURATION:if(ne=t[f.EXCLUSIVE_DURATION],ne===void 0){u.value=null;break}s.value=Math.round(ne/e.value.planStats.maxDuration*100),u.value=xn(ne);break;case pn.ROWS:if(ne=t[f.ACTUAL_ROWS_REVISED],ne===void 0){u.value=null;break}s.value=Math.round(ne/e.value.planStats.maxRows*100)||0,u.value=Ba(ne);break;case pn.COST:if(ne=t[f.EXCLUSIVE_COST],ne===void 0){u.value=null;break}s.value=Math.round(ne/e.value.planStats.maxCost*100),u.value=Tf(ne);break}}const g=ge(()=>LN(s.value)),N=ge(()=>{let ne=Pe.value?"Parallel ":"";return ne+=t[f.PARTIAL_MODE]?t[f.PARTIAL_MODE]+" ":"",ne+=t[f.NODE_TYPE],t[f.SCAN_DIRECTION]&&t[f.SCAN_DIRECTION]!=="Forward"&&(ne+=" "+t[f.SCAN_DIRECTION]),t[f.JOIN_TYPE]&&(ne=ne.replace("Join",`${t[f.JOIN_TYPE]} Join`)),ne});function M(){var ne,Ce;const ot=e.value.planStats.executionTime||((Ce=(ne=e.value.content)==null?void 0:ne.Plan)==null?void 0:Ce[f.ACTUAL_TOTAL_TIME]),Gt=t[f.EXCLUSIVE_DURATION];o.value=B.round(Gt/ot*100)}function V(){const ne=e.value.content.maxTotalCost,Ce=t[f.EXCLUSIVE_COST];i.value=B.round(Ce/ne*100)}const C=Object.keys(t).find(ne=>ne===f.ROWS_REMOVED_BY_FILTER_REVISED||ne===f.ROWS_REMOVED_BY_JOIN_FILTER_REVISED||ne===f.ROWS_REMOVED_BY_INDEX_RECHECK_REVISED),J=Object.keys(f).find(ne=>f[ne]===C);function P(){if(J){const ne=t[f[J]];_.value=ne;const Ce=t[f.ACTUAL_ROWS_REVISED];E.value=B.floor(ne/(ne+Ce)*100),E.value===100?A.value=">99":E.value===0?A.value="<1":A.value=E.value.toString()}}const w=ge(()=>{let ne;const Ce=o.value;return Ce>90?ne=4:Ce>40?ne=3:Ce>10&&(ne=2),ne?"c-"+ne:!1}),ae=ge(()=>{let ne;const Ce=t[f.PLANNER_ESTIMATE_FACTOR];return Ce>1e3?ne=4:Ce>100?ne=3:Ce>10&&(ne=2),ne?"c-"+ne:!1}),W=ge(()=>{let ne;const Ce=i.value;return Ce>90?ne=4:Ce>40?ne=3:Ce>10&&(ne=2),ne?"c-"+ne:!1}),q=ge(()=>{let ne;const Ce=E.value;return Ce>90?ne=4:Ce>50&&(ne=3),ne?"c-"+ne:!1}),he=ge(()=>{let ne;const Ce=t[f.HEAP_FETCHES]/(t[f.ACTUAL_ROWS]+(t[f.ROWS_REMOVED_BY_FILTER]||0)+(t[f.ROWS_REMOVED_BY_JOIN_FILTER]||0))*100;return Ce>90?ne=4:Ce>40?ne=3:Ce>0&&(ne=2),ne?"c-"+ne:!1}),Ue=ge(()=>A.value+"% of rows removed by filter"),Ve=ge(()=>`Filter used:
${t[f.FILTER]}
`),Ae=ge(()=>`Recheck condition:
${t[f.RECHECK_COND]}
`),I=ge(()=>!!e.value.planStats.executionTime&&!t[f.ACTUAL_LOOPS]),Pe=ge(()=>t[f.PARALLEL_AWARE]),G=ge(()=>{if(console.warn("Make sure it works for workers that are not array"),t[f.WORKERS_LAUNCHED])return t[f.WORKERS_LAUNCHED];if(t[f.WORKERS_LAUNCHED_BY_GATHER])return t[f.WORKERS_LAUNCHED_BY_GATHER];const ne=t[f.WORKERS];return ne?ne.length:NaN}),K=ge(()=>t[f.WORKERS_LAUNCHED]||t[f.WORKERS_PLANNED_BY_GATHER]),x=ge(()=>{const ne=t[f.WORKERS_PLANNED_BY_GATHER];return[...Array(ne).keys()].slice().reverse()}),ce=ge(()=>{switch(t[f.PLANNER_ESTIMATE_FACTOR]){case 1/0:return 100;case 1:return 0;default:return(t[f.PLANNER_ESTIMATE_FACTOR]||0)/e.value.planStats.maxEstimateFactor*100}}),fe=ge(()=>{var ne;return t[f.EXCLUSIVE_SHARED_HIT_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.shared])*100}),_e=ge(()=>{var ne;return t[f.EXCLUSIVE_SHARED_READ_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.shared])*100}),Ie=ge(()=>{var ne;return t[f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.shared])*100}),j=ge(()=>{var ne;return t[f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.shared])*100}),U=ge(()=>{var ne;return t[f.EXCLUSIVE_TEMP_READ_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.temp])*100}),R=ge(()=>{var ne;return t[f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.temp])*100}),Q=ge(()=>{var ne;return t[f.EXCLUSIVE_LOCAL_HIT_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.local])*100}),ee=ge(()=>{var ne;return t[f.EXCLUSIVE_LOCAL_READ_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.local])*100}),X=ge(()=>{var ne;return t[f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.local])*100}),Y=ge(()=>{var ne;return t[f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS]/((ne=e.value.planStats.maxBlocks)==null?void 0:ne[Ze.local])*100}),de=ge(()=>["Rows: ",Ba(t[f.ACTUAL_ROWS_REVISED])].join("")),le=ge(()=>{const ne=t[f.PLANNER_ESTIMATE_FACTOR],Ce=t[f.PLANNER_ESTIMATE_DIRECTION];let ot="";if(ne===void 0||Ce===void 0)return"N/A";switch(Ce){case sn.over:ot+="Over";break;case sn.under:ot+="Under";break;default:ot+="Correctly"}return ot+=" estimated",ot+=ne!==1?" by "+Af(ne)+"":"",ot+="
",ot+=`Rows: ${Ba(t[f.ACTUAL_ROWS_REVISED])} `,ot+=`(${Ba(t[f.PLAN_ROWS_REVISED])} planned)`,ot}),Se=ge(()=>["Cost: ",Ba(t[f.EXCLUSIVE_COST])].join("")),Ne=ge(()=>`${f[J]}: ${we.value}${Ba(_.value)}`),Qe=ge(()=>!!t[f.ACTUAL_ROWS_FRACTIONAL]),lt=ge(()=>t[f.ACTUAL_LOOPS]>1),we=ge(()=>!Qe.value&<.value?"~":""),We=ge(()=>ne=>{let Ce="",ot,Gt,wt,hn;switch(ne){case Ze.shared:ot=t[f.EXCLUSIVE_SHARED_HIT_BLOCKS],Gt=t[f.EXCLUSIVE_SHARED_READ_BLOCKS],hn=t[f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS],wt=t[f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS];break;case Ze.temp:Gt=t[f.EXCLUSIVE_TEMP_READ_BLOCKS],wt=t[f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS];break;case Ze.local:ot=t[f.EXCLUSIVE_LOCAL_HIT_BLOCKS],Gt=t[f.EXCLUSIVE_LOCAL_READ_BLOCKS],hn=t[f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS],wt=t[f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS];break}switch(Ce+='',Ce+=ot?'":"",Ce+=Gt?'":"",Ce+=hn?'":"",Ce+=wt?'":"",Ce+="
Hit:'+Tn(ot,!0)+"
Read:'+Tn(Gt,!0)+"
Dirtied:'+Tn(hn,!0)+"
Written:'+Tn(wt,!0)+"
",!ot&&!Gt&&!hn&&!wt&&(Ce=" N/A"),ne){case Ze.shared:Ce="Shared Blocks:"+Ce;break;case Ze.temp:Ce="Temp Blocks:"+Ce;break;case Ze.local:Ce="Local Blocks:"+Ce;break}return Ce}),ft=ge(()=>ne=>{let Ce='';return Ce+=``),Ce}),nt=ge(()=>{var ne;return`Heap Fetches: ${(ne=t[f.HEAP_FETCHES])==null?void 0:ne.toLocaleString()}`});function Ht(ne){const Ce=f[ne],ot=t[Ce];return Ii(Ce,ot)}return{barColor:g,barWidth:s,buffersByLocationTooltip:We,buffersByMetricTooltip:ft,costClass:W,costTooltip:Se,durationClass:w,estimateFactorPercent:ce,estimateFactorTooltip:le,estimationClass:ae,executionTimePercent:o,filterTooltip:Ue,filterDetailTooltip:Ve,formattedProp:Ht,heapFetchesClass:he,heapFetchesTooltip:nt,highlightValue:u,indexRecheckTooltip:Ae,isNeverExecuted:I,isParallelAware:Pe,localDirtiedPercent:X,localHitPercent:Q,localReadPercent:ee,localWrittenPercent:Y,nodeName:N,plannerRowEstimateDirection:p,plannerRowEstimateValue:c,rowsRemoved:_,rowsRemovedClass:q,rowsRemovedPercent:E,rowsRemovedPercentString:A,rowsRemovedProp:J,rowsRemovedTooltip:Ne,rowsTooltip:de,sharedDirtiedPercent:Ie,sharedHitPercent:fe,sharedReadPercent:_e,sharedWrittenPercent:j,tempReadPercent:U,tempWrittenPercent:R,tilde:we,workersLaunchedCount:G,workersPlannedCount:K,workersPlannedCountReversed:x}}const CN={key:0,class:"text-end"},xN={key:1,class:"text-end"},MN={key:2,class:"text-end"},wN={key:3,class:"text-end"},Ps=Ut({__name:"IoTimingsRow",props:{node:{},scope:{},exclusive:{type:Boolean,default:()=>!1}},setup(e){const t=e,r=new Xo().getHelpMessage,o=t.exclusive?"EXCLUSIVE_":"",i=Pn(t.node),s=Tt(_a),u=Tt(Ea),{formattedProp:c}=eo(s,i,u),p=t.scope?`${t.scope}_`.toUpperCase():"",_=t.scope?w_.capitalize(t.scope):"Shared/Local",E=o+p+"IO_READ_TIME",A=o+"AVERAGE_"+p+"IO_READ_SPEED",S=o+p+"READ_BLOCKS",g=o+p+"IO_WRITE_TIME",N=o+"AVERAGE_"+p+"IO_WRITE_SPEED",M=o+p+"WRITTEN_BLOCKS";return(V,C)=>(b(),L("tr",null,[T("td",null,ie(d(_)),1),C[11]||(C[11]=m()),i[d(f)[E]]?(b(),L("td",CN,[m(ie(d(c)(E))+" ",1),C[0]||(C[0]=T("br",null,null,-1)),C[1]||(C[1]=m()),T("small",null,ie(d(Cn)(i[d(f)[S]])),1),C[2]||(C[2]=m()),C[3]||(C[3]=T("br",null,null,-1)),C[4]||(C[4]=m()),T("small",null,"~"+ie(d(c)(A)),1),C[5]||(C[5]=m()),i[d(f).WORKERS_PLANNED]||i[d(f).WORKERS_PLANNED_BY_GATHER]?At((b(),mt(d(ht),{key:0,icon:d(za),class:"cursor-help d-inline-block text-secondary"},null,8,["icon"])),[[d(St),{content:d(r)("io timings parallel")}]]):$("",!0)])):(b(),L("td",xN,"-")),C[12]||(C[12]=m()),i[d(f)[g]]?(b(),L("td",MN,[m(ie(d(c)(g))+" ",1),C[6]||(C[6]=T("br",null,null,-1)),C[7]||(C[7]=m()),T("small",null,ie(d(Cn)(i[d(f)[M]])),1),C[8]||(C[8]=m()),C[9]||(C[9]=T("br",null,null,-1)),C[10]||(C[10]=m()),T("small",null,"~"+ie(d(c)(N)),1)])):(b(),L("td",wN,"-"))]))}}),DN={key:0,class:"table table-sm"},bi=Ut({__name:"IoTooltip",props:{node:{},exclusive:{type:Boolean,default:()=>!1}},setup(e){const t=e,r=ge(()=>t.exclusive?"EXCLUSIVE_":""),o=Pn(t.node);return(i,s)=>o[d(f)[r.value+"IO_READ_TIME"]]||o[d(f)[r.value+"IO_WRITE_TIME"]]||o[d(f)[r.value+"SHARED_IO_READ_TIME"]]||o[d(f)[r.value+"SHARED_IO_WRITE_TIME"]]||o[d(f)[r.value+"LOCAL_IO_READ_TIME"]]||o[d(f)[r.value+"LOCAL_IO_WRITE_TIME"]]||o[d(f)[r.value+"TEMP_IO_READ_TIME"]]||o[d(f)[r.value+"TEMP_IO_WRITE_TIME"]]?(b(),L("table",DN,[s[3]||(s[3]=T("thead",null,[T("tr",null,[T("th",{class:"text-nowrap"},"I/O Timings"),m(),T("td",{class:"text-end",width:"50%"},"Read"),m(),T("td",{class:"text-end",width:"50%"},"Write")])],-1)),s[4]||(s[4]=m()),T("tbody",null,[o[d(f)[r.value+"IO_READ_TIME"]]||o[d(f)[r.value+"IO_WRITE_TIME"]]?(b(),mt(Ps,{key:0,node:o,exclusive:e.exclusive},null,8,["node","exclusive"])):$("",!0),s[0]||(s[0]=m()),o[d(f)[r.value+"SHARED_IO_READ_TIME"]]||o[d(f)[r.value+"SHARED_IO_WRITE_TIME"]]?(b(),mt(Ps,{key:1,node:o,scope:d(Ys).SHARED,exclusive:e.exclusive},null,8,["node","scope","exclusive"])):$("",!0),s[1]||(s[1]=m()),o[d(f)[r.value+"LOCAL_IO_READ_TIME"]]||o[d(f)[r.value+"LOCAL_IO_WRITE_TIME"]]?(b(),mt(Ps,{key:2,node:o,scope:d(Ys).LOCAL,exclusive:e.exclusive},null,8,["node","scope","exclusive"])):$("",!0),s[2]||(s[2]=m()),o[d(f)[r.value+"TEMP_IO_READ_TIME"]]||o[d(f)[r.value+"TEMP_IO_WRITE_TIME"]]?(b(),mt(Ps,{key:3,node:o,scope:d(Ys).TEMP,exclusive:e.exclusive},null,8,["node","scope","exclusive"])):$("",!0)])])):$("",!0)}}),PN={key:0},UN=["innerHTML"],kN=["innerHTML"],BN=["innerHTML"],VN=["innerHTML"],HN={class:"fw-normal small"},WN={class:"node-type pe-2"},XN={key:0,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},FN={key:1,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},GN={key:2,class:"progress rounded-0 align-items-center bg-transparent justify-content-center",style:{height:"10px"}},zN={class:"text-secondary small"},jN={key:1,class:"fa fa-fw d-inline-block"},KN={class:"text-secondary small"},YN={key:1,class:"fa fa-fw d-inline-block"},$N={key:3,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},JN={key:4,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},qN={key:5,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},QN={key:6,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},ZN={key:7,class:"progress rounded-0 align-items-center bg-transparent",style:{height:"5px"}},eL=Ut({__name:"DiagramRow",props:{node:{},level:{},isSubplan:{type:Boolean},isLastChild:{type:Boolean},branches:{},index:{},viewOptions:{}},setup(e){const t=e,r=Pn(t.node),o=Pn(t.viewOptions),i=je(null),s=Tt(_a),u=Tt(tl),c=Tt(Ka);if(!c)throw new Error(`Could not resolve ${Ka.description}`);const p=Tt(gl),_=Tt(Ea),{buffersByLocationTooltip:E,costTooltip:A,estimateFactorPercent:S,estimateFactorTooltip:g,isNeverExecuted:N,nodeName:M,rowsTooltip:V}=eo(s,r,_),C=Tt("scrollTo");return en(()=>u?.value,J=>{J==r.nodeId&&i.value&&C?.(i.value)}),(J,P)=>(b(),mt(d(gi),{class:ye(["no-focus-outline node",{selected:r.nodeId===d(u),highlight:r.nodeId===d(p),"never-executed":d(N)}]),tag:"tr",onMouseenter:P[0]||(P[0]=w=>p.value=r.nodeId),onMouseleave:P[1]||(P[1]=w=>p.value=void 0),onClick:P[2]||(P[2]=Bt(w=>d(c)(r.nodeId,!0),["prevent"]))},{content:yt(()=>[r[d(f).CTE_NAME]?(b(),L("div",PN,[T("em",null,"CTE "+ie(r[d(f).CTE_NAME]),1)])):$("",!0),P[3]||(P[3]=m()),o.metric==d(Rt).time?(b(),mt(Jm,{key:1,node:r},null,8,["node"])):o.metric==d(Rt).io?(b(),mt(bi,{key:2,node:r,exclusive:"",class:"mb-0"},null,8,["node"])):o.metric==d(Rt).rows?(b(),L("div",{key:3,innerHTML:d(V)},null,8,UN)):o.metric==d(Rt).estimate_factor?(b(),L("div",{key:4,innerHTML:d(g)},null,8,kN)):o.metric==d(Rt).cost?(b(),L("div",{key:5,innerHTML:d(A)},null,8,BN)):o.metric==d(Rt).buffers?(b(),L("div",{key:6,innerHTML:d(E)(o.buffersMetric)},null,8,VN)):$("",!0)]),default:yt(()=>{var w,ae,W,q,he,Ue,Ve,Ae,I,Pe,G,K,x,ce,fe,_e;return[P[18]||(P[18]=m()),T("td",{class:"node-index",ref_key:"rootEl",ref:i},[T("span",HN,"#"+ie(r.nodeId),1)],512),P[19]||(P[19]=m()),T("td",WN,[Te(Il,{isSubplan:e.isSubplan,isNode:"",isLastChild:!!e.isLastChild,level:e.level,branches:e.branches,index:e.index,dense:""},null,8,["isSubplan","isLastChild","level","branches","index"]),m(" "+ie(d(M)),1)]),P[20]||(P[20]=m()),T("td",null,[o.metric==d(Rt).time?(b(),L("div",XN,[T("div",{class:ye(["progress-bar border-secondary bg-secondary",{"border-start":r[d(f).EXCLUSIVE_DURATION]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:r[d(f).EXCLUSIVE_DURATION]/(d(s).planStats.executionTime||d(s).content.Plan[d(f).ACTUAL_TOTAL_TIME]||0)*100+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[4]||(P[4]=m()),T("div",{class:"progress-bar bg-secondary-light",role:"progressbar",style:jt([{height:"5px"},{width:(r[d(f).ACTUAL_TOTAL_TIME]||0-r[d(f).EXCLUSIVE_DURATION])/(d(s).planStats.executionTime||d(s).content.Plan[d(f).ACTUAL_TOTAL_TIME]||0)*100+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4)])):o.metric==d(Rt).rows?(b(),L("div",FN,[T("div",{class:"bg-secondary",role:"progressbar",style:jt([{height:"5px"},{width:Math.round(r[d(f).ACTUAL_ROWS_REVISED]/d(s).planStats.maxRows*100)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4)])):o.metric==d(Rt).estimate_factor?(b(),L("div",GN,[T("span",zN,[r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).under?(b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(Xm)},null,8,["icon"])):(b(),L("i",jN))]),P[5]||(P[5]=m()),T("div",{class:ye(["progress-bar",[r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).under?"bg-secondary":"bg-transparent"]]),role:"progressbar",style:jt([{height:"5px"},{width:d(S)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[6]||(P[6]=m()),P[7]||(P[7]=T("div",{class:"progress-bar border-start bg-secondary",role:"progressbar",style:{width:"1px",height:"5px"},"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,-1)),P[8]||(P[8]=m()),T("div",{class:ye(["progress-bar",[r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).over?"bg-secondary":"bg-transparent"]]),role:"progressbar",style:jt([{height:"5px"},{width:d(S)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[9]||(P[9]=m()),T("span",KN,[r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).over?(b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(Gm)},null,8,["icon"])):(b(),L("i",YN))])])):o.metric==d(Rt).cost?(b(),L("div",$N,[T("div",{class:ye(["bg-secondary",{"border-secondary border-start":r[d(f).EXCLUSIVE_COST]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:Math.round(r[d(f).EXCLUSIVE_COST]/d(s).planStats.maxCost*100)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6)])):o.metric==d(Rt).buffers&&o.buffersMetric==d(Ze).shared&&(w=d(s).planStats.maxBlocks)!=null&&w[d(Ze).shared]?(b(),L("div",JN,[T("div",{class:ye(["bg-hit",{"border-start border-hit":r[d(f).EXCLUSIVE_SHARED_HIT_BLOCKS]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SHARED_HIT_BLOCKS]/((ae=d(s).planStats.maxBlocks)==null?void 0:ae[d(Ze).shared])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[10]||(P[10]=m()),T("div",{class:ye(["bg-read",{"border-start border-read":r[d(f).EXCLUSIVE_SHARED_READ_BLOCKS]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SHARED_READ_BLOCKS]/((W=d(s).planStats.maxBlocks)==null?void 0:W[d(Ze).shared])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[11]||(P[11]=m()),T("div",{class:ye(["bg-dirtied",{"border-start border-dirtied":r[d(f).EXCLUSIVE_SHARED_DIRTIED_BLOCKS]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SHARED_DIRTIED_BLOCKS]/((q=d(s).planStats.maxBlocks)==null?void 0:q[d(Ze).shared])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6),P[12]||(P[12]=m()),T("div",{class:ye(["bg-written",{"border-start border-written":r[d(f).EXCLUSIVE_SHARED_WRITTEN_BLOCKS]>0}]),role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SHARED_WRITTEN_BLOCKS]/((he=d(s).planStats.maxBlocks)==null?void 0:he[d(Ze).shared])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,6)])):o.metric==d(Rt).buffers&&o.buffersMetric==d(Ze).temp&&(Ue=d(s).planStats.maxBlocks)!=null&&Ue[d(Ze).temp]?(b(),L("div",qN,[T("div",{class:"bg-read",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_TEMP_READ_BLOCKS]/((Ve=d(s).planStats.maxBlocks)==null?void 0:Ve[d(Ze).temp])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4),P[13]||(P[13]=m()),T("div",{class:"bg-written",role:"progressbar",style:jt([{width:(Math.round(r[d(f).EXCLUSIVE_TEMP_WRITTEN_BLOCKS]/((Ae=d(s).planStats.maxBlocks)==null?void 0:Ae[d(Ze).temp])*100)||0)+"%"},{height:"5px"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4)])):o.metric==d(Rt).buffers&&o.buffersMetric==d(Ze).local&&(I=d(s).planStats.maxBlocks)!=null&&I[d(Ze).local]?(b(),L("div",QN,[T("div",{class:"bg-hit",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_LOCAL_HIT_BLOCKS]/((Pe=d(s).planStats.maxBlocks)==null?void 0:Pe[d(Ze).local])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4),P[14]||(P[14]=m()),T("div",{class:"bg-read",role:"progressbar",style:jt([{width:(Math.round(r[d(f).EXCLUSIVE_LOCAL_READ_BLOCKS]/((G=d(s).planStats.maxBlocks)==null?void 0:G[d(Ze).local])*100)||0)+"%"},{height:"5px"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4),P[15]||(P[15]=m()),T("div",{class:"bg-dirtied",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_LOCAL_DIRTIED_BLOCKS]/((K=d(s).planStats.maxBlocks)==null?void 0:K[d(Ze).local])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4),P[16]||(P[16]=m()),T("div",{class:"bg-written",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_LOCAL_WRITTEN_BLOCKS]/((ce=(x=d(s).planStats)==null?void 0:x.maxBlocks)==null?void 0:ce[d(Ze).local])*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4)])):o.metric==d(Rt).io&&(d(s).content.Plan[d(f).SUM_IO_READ_TIME]||d(s).content.Plan[d(f).SUM_IO_WRITE_TIME])?(b(),L("div",ZN,[T("div",{class:"bg-read",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SUM_IO_READ_TIME]/((fe=d(s).planStats)==null?void 0:fe.maxIo)*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4),P[17]||(P[17]=m()),T("div",{class:"bg-written",role:"progressbar",style:jt([{height:"5px"},{width:(Math.round(r[d(f).EXCLUSIVE_SUM_IO_WRITE_TIME]/((_e=d(s).planStats)==null?void 0:_e.maxIo)*100)||0)+"%"}]),"aria-valuenow":"15","aria-valuemin":"0","aria-valuemax":"100"},null,4)])):$("",!0)])]}),_:1},8,["class"]))}}),tL={class:"diagram"},nL={class:"flex-shrink-0"},rL={class:"text-center my-1"},aL={class:"btn-group btn-group-xs"},oL=["disabled"],iL={key:0,class:"text-center my-1"},sL={class:"btn-group btn-group-xs"},lL=["disabled"],uL=["disabled"],cL=["disabled"],fL={class:"legend text-center"},dL={key:0,class:"list-unstyled list-inline mb-0"},pL={key:0,class:"list-inline-item"},hL={key:1,class:"list-inline-item"},EL={key:1,class:"list-unstyled list-inline mb-0 d-inline-block"},_L={key:0},mL={key:0},gL=["colspan"],vL=["onClick"],TL={key:1,class:"p-2 text-center text-secondary"},AL=Ut({__name:"Diagram",props:{ctes:{},planStats:{},rootNode:{}},setup(e){const t=new Xo().getHelpMessage,r=je(null),o=Tt(Ka);if(!o)throw new Error(`Could not resolve ${Ka.description}`);const i=Tt(gl),s=[[]],u=Pn({metric:Rt.time,buffersMetric:Ze.shared});Qa(()=>{const S=localStorage.getItem("diagramViewOptions");S&&B.assignIn(u,JSON.parse(S)),p(s[0],0,e.rootNode,!0,[]),B.each(e.ctes,N=>{const M=[];p(M,0,N,!0,[]),s.push(M)});const g=B.keys(e.planStats.maxBlocks);B.indexOf(g,u.buffersMetric)===-1&&(u.buffersMetric=B.min(g))}),en(u,c);function c(){localStorage.setItem("diagramViewOptions",JSON.stringify(u))}function p(S,g,N,M,V){S.push([g,N,M,B.concat([],V)]),M||V.push(g),B.each(N.Plans,C=>{p(S,g+1,C,C===B.last(N.Plans),V)}),M||V.pop()}const _=ge(()=>u.metric===Rt.buffers?!!u.buffersMetric:!0);function E(S){return B.startsWith(S[f.SUBPLAN_NAME],"CTE")}function A(S){r.value&&tN(r.value,S)}return on("scrollTo",A),(S,g)=>{var N,M,V;return b(),L("div",tL,[T("div",nL,[T("div",rL,[T("div",aL,[T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).time}]),onClick:g[0]||(g[0]=C=>u.metric=d(Rt).time)},` - time - `,2),g[9]||(g[9]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).rows}]),onClick:g[1]||(g[1]=C=>u.metric=d(Rt).rows)},` - rows - `,2),g[10]||(g[10]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).estimate_factor}]),onClick:g[2]||(g[2]=C=>u.metric=d(Rt).estimate_factor)},` - estimation - `,2),g[11]||(g[11]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).cost}]),onClick:g[3]||(g[3]=C=>u.metric=d(Rt).cost)},` - cost - `,2),g[12]||(g[12]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).buffers}]),onClick:g[4]||(g[4]=C=>u.metric=d(Rt).buffers)},` - buffers - `,2),g[13]||(g[13]=m()),Te(d(gi),{content:e.planStats.maxIo?void 0:d(t)("hint track_io_timing"),allowHTML:!0,class:"btn-tooltip-wrapper"},{default:yt(()=>[T("button",{class:ye(["btn btn-outline-secondary",{active:u.metric===d(Rt).io}]),onClick:g[5]||(g[5]=C=>u.metric=d(Rt).io),disabled:!e.planStats.maxIo},` - IO - `,10,oL)]),_:1},8,["content"])])]),g[25]||(g[25]=m()),u.metric==d(Rt).buffers?(b(),L("div",iL,[T("div",sL,[T("button",{class:ye(["btn btn-outline-secondary",{active:u.buffersMetric===d(Ze).shared}]),onClick:g[6]||(g[6]=C=>u.buffersMetric=d(Ze).shared),disabled:!((N=e.planStats.maxBlocks)!=null&&N[d(Ze).shared])},` - shared - `,10,lL),g[14]||(g[14]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.buffersMetric===d(Ze).temp}]),onClick:g[7]||(g[7]=C=>u.buffersMetric=d(Ze).temp),disabled:!((M=e.planStats.maxBlocks)!=null&&M[d(Ze).temp])},` - temp - `,10,uL),g[15]||(g[15]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:u.buffersMetric===d(Ze).local}]),onClick:g[8]||(g[8]=C=>u.buffersMetric=d(Ze).local),disabled:!((V=e.planStats.maxBlocks)!=null&&V[d(Ze).local])},` - local - `,10,cL)])])):$("",!0),g[26]||(g[26]=m()),T("div",fL,[u.metric==d(Rt).buffers?(b(),L("ul",dL,[u.buffersMetric!=d(Ze).temp?(b(),L("li",pL,[...g[16]||(g[16]=[T("span",{class:"bg-hit rounded"},null,-1),m(` - Hit - `,-1)])])):$("",!0),g[18]||(g[18]=m()),g[19]||(g[19]=T("li",{class:"list-inline-item"},[T("span",{class:"bg-read"}),m(` - Read - `)],-1)),g[20]||(g[20]=m()),u.buffersMetric!=d(Ze).temp?(b(),L("li",hL,[...g[17]||(g[17]=[T("span",{class:"bg-dirtied"},null,-1),m(` - Dirtied - `,-1)])])):$("",!0),g[21]||(g[21]=m()),g[22]||(g[22]=T("li",{class:"list-inline-item"},[T("span",{class:"bg-written"}),m(` - Written - `)],-1))])):$("",!0),g[24]||(g[24]=m()),u.metric==d(Rt).io?(b(),L("ul",EL,[...g[23]||(g[23]=[T("li",{class:"list-inline-item"},[T("span",{class:"bg-read"}),m(` - Read - `)],-1),m(),T("li",{class:"list-inline-item"},[T("span",{class:"bg-written"}),m(` - Write - `)],-1)])])):$("",!0)])]),g[34]||(g[34]=m()),T("div",{class:"overflow-auto flex-grow-1",ref_key:"container",ref:r},[_.value?(b(),L("table",{key:0,class:ye(["m-1",{highlight:!!d(i)}])},[(b(),L(ze,null,Ft(s,(C,J)=>T("tbody",{key:J},[J===0&&s.length>1?(b(),L("tr",_L,[...g[27]||(g[27]=[T("th",{colspan:"3",class:"subplan"},"Main Query Plan",-1)])])):$("",!0),g[32]||(g[32]=m()),(b(!0),L(ze,null,Ft(C,(P,w)=>(b(),L(ze,{key:w},[P[1][d(f).SUBPLAN_NAME]?(b(),L("tr",mL,[g[29]||(g[29]=T("td",null,null,-1)),g[30]||(g[30]=m()),T("td",{class:ye(["subplan pe-2",{"fw-bold":E(P[1])}]),colspan:E(P[1])?3:2},[Te(Il,{isSubplan:!!P[1][d(f).SUBPLAN_NAME],isLastChild:!!P[2],level:P[0],branches:P[3],index:w,dense:""},null,8,["isSubplan","isLastChild","level","branches","index"]),g[28]||(g[28]=m()),T("a",{class:"fst-italic text-reset",href:"",onClick:Bt(ae=>d(o)(P[1].nodeId,!0),["prevent"])},ie(P[1][d(f).SUBPLAN_NAME]),9,vL)],10,gL)])):$("",!0),g[31]||(g[31]=m()),Te(eL,{node:P[1],isSubplan:!!P[1][d(f).SUBPLAN_NAME],isLastChild:!!P[2],level:P[0],branches:P[3],index:w,viewOptions:u},null,8,["node","isSubplan","isLastChild","level","branches","index","viewOptions"])],64))),128))])),64))],2)):(b(),L("div",TL,[...g[33]||(g[33]=[T("em",null," No data available ",-1)])]))],512)])}}}),yf=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},SL=yf(AL,[["__scopeId","data-v-7b3a5a5b"]]),yL={class:"grid-progress progress rounded-0 bg-transparent"},fn=Ut({__name:"GridProgressBar",props:{percentage:{},percentage2:{}},setup(e){return(t,r)=>(b(),L("div",yL,[T("div",{class:ye(["bg-secondary border-secondary opacity-50",{"border-start":e.percentage>0}]),style:jt({width:e.percentage+"%"})},null,6),r[0]||(r[0]=m()),e.percentage2?(b(),L("div",{key:0,class:ye(["bg-secondary border-secondary opacity-20",{"border-start":e.percentage2>0}]),style:jt({width:e.percentage2+"%"})},null,6)):$("",!0)]))}}),RL={class:"px-1"},OL={key:0,class:"text-warning"},IL={class:"px-1"},bL={key:0,class:"text-warning"},NL={class:"card-header"},LL={class:"list-group list-group-flush"},CL={key:0,class:"list-group-item d-flex flex-row"},xL={class:"col-6"},ML=["innerHTML"],qm=Ut({__name:"WorkersDetail",props:{node:{}},setup(e){const t=Pn(e.node),r=Tt(_a),o=Tt(Ea),i=new Xo().getHelpMessage,{workersLaunchedCount:s,workersPlannedCount:u}=eo(r,t,o);return(c,p)=>(b(),L(ze,null,[T("div",null,[p[1]||(p[1]=T("b",null,"Workers planned: ",-1)),p[2]||(p[2]=m()),T("span",RL,ie(d(u)),1),p[3]||(p[3]=m()),!t[d(f).WORKERS_PLANNED]&&!t[d(f).WORKERS]&&(!d(r).isVerbose||!d(r).isAnalyze)?(b(),L("em",OL,[At(Te(d(ht),{icon:d(Hh),class:"cursor-help"},null,8,["icon"]),[[d(St),d(i)("fuzzy needs verbose")]])])):$("",!0)]),p[9]||(p[9]=m()),T("div",null,[p[4]||(p[4]=T("b",null,"Workers launched: ",-1)),p[5]||(p[5]=m()),T("span",IL,ie(d(s)),1),p[6]||(p[6]=m()),!t[d(f).WORKERS_LAUNCHED]&&!t[d(f).WORKERS]&&(!d(r).isVerbose||!d(r).isAnalyze)?(b(),L("em",bL,[At(Te(d(ht),{icon:d(Hh),class:"cursor-help"},null,8,["icon"]),[[d(St),d(i)("fuzzy needs verbose")]])])):$("",!0)]),p[10]||(p[10]=m()),d(B).isArray(t[d(f).WORKERS])?(b(),L("div",{key:0,class:"overflow-auto",style:{"max-height":"300px"},onWheel:p[0]||(p[0]=Bt(()=>{},["stop"]))},[(b(!0),L(ze,null,Ft(t[d(f).WORKERS],(_,E)=>(b(),L("div",{key:E,class:"card mt-2"},[T("div",NL,[T("b",null,"Worker "+ie(_[d(Pi).WORKER_NUMBER]),1)]),p[8]||(p[8]=m()),T("ul",LL,[(b(!0),L(ze,null,Ft(_,(A,S)=>(b(),L(ze,{key:S},[d(Km)(S,A)?(b(),L("li",CL,[T("div",xL,ie(S),1),p[7]||(p[7]=m()),T("div",{class:"col-6",innerHTML:d(Ii)(S,A)},null,8,ML)])):$("",!0)],64))),128))])]))),128))],32)):$("",!0)],64))}}),wL={class:"table table-sm prop-list mb-0"},DL={key:0},PL={width:"40%"},UL=["innerHTML"],Qm=Ut({__name:"MiscDetail",props:{node:{}},setup(e){const t=je(),r=Pn(e.node);Qa(()=>{o()});function o(){t.value=B.chain(r).omit(f.PLANS).omit(f.WORKERS).map((i,s)=>({key:s,value:i})).value()}return(i,s)=>(b(),L(ze,null,[T("table",wL,[(b(!0),L(ze,null,Ft(t.value,(u,c)=>(b(),L(ze,{key:c},[d(Km)(u.key,u.value)?(b(),L("tr",DL,[T("td",PL,ie(u.key),1),s[0]||(s[0]=m()),T("td",{innerHTML:d(Ii)(u.key,u.value)},null,8,UL)])):$("",!0)],64))),128))]),s[1]||(s[1]=m()),s[2]||(s[2]=T("div",{class:"text-secondary text-end"},[T("em",null,"* Calculated value")],-1))],64))}}),kL={height:"1em",width:"1em",viewBox:"0 0 20 20",class:"me-1",style:{"margin-left":"-8px"}},ci=Ut({__name:"SeverityBullet",props:["severity"],setup(e){return(t,r)=>(b(),L("svg",kL,[T("circle",{r:"7",cx:"10",cy:"10",class:ye(e.severity),stroke:"white","stroke-width":"1"},null,2)]))}}),BL={class:"node-index text-secondary"},VL=["href"],HL={class:"font-weight-normal"},WL={class:"position-relative d-flex"},XL={class:"flex-grow-1"},FL={key:0,class:"text-body-secondary mt-1"},GL={key:0,class:"text-body-secondary mt-1"},zL={key:0,class:"text-body-secondary mt-1"},jL={key:3,class:"text-end grid-progress-cell text-nowrap"},KL={class:"position-relative"},YL={key:4,class:"text-end grid-progress-cell text-nowrap"},$L={key:0},JL={key:0,class:"position-relative d-flex"},qL={class:"flex-grow-1"},QL=["innerHTML"],ZL={key:0},e2={key:1},t2={key:1,class:"text-body-secondary mt-1"},n2={key:5,class:"text-end grid-progress-cell text-nowrap"},r2={class:"position-relative d-flex"},a2={class:"flex-grow-1"},o2={key:6,class:"text-end text-nowrap"},i2={key:0},s2={key:7,class:"text-end grid-progress-cell text-nowrap"},l2={class:"position-relative d-flex"},u2={class:"flex-grow-1"},c2={key:0,class:"text-body-secondary mt-1"},f2={key:8,class:"text-end grid-progress-cell text-nowrap"},d2={class:"position-relative d-flex"},p2={class:"flex-grow-1"},h2={class:"d-inline"},E2={class:"border border-secondary px-1 bg-light",style:{"--bs-border-opacity":"0.5"}},_2={class:"text-body-secondary"},m2={key:0},g2={key:1},v2=["innerHTML"],T2=["innerHTML"],A2=["innerHTML"],S2=["innerHTML"],y2=["innerHTML"],R2={key:6,class:"text-reset"},O2={class:"text-wrap"},I2={key:0,class:"node-description mt-1"},b2={class:"node-type"},N2=["innerHTML"],L2={class:"nav nav-tabs mt-1"},C2={class:"nav-item"},x2={class:"nav-item"},M2={class:"nav-item"},w2={class:"tab-content bg-white"},D2=["innerHTML"],P2={key:9,class:"text-end text-nowrap grid-progress-cell"},U2={class:"position-relative"},k2={key:0,class:"text-body-secondary mt-1"},B2={key:10,class:"text-end text-nowrap grid-progress-cell"},V2={class:"position-relative"},H2={key:0,class:"text-body-secondary mt-1"},W2={key:11,class:"text-end text-nowrap grid-progress-cell"},X2={class:"position-relative"},F2={key:0,class:"text-body-secondary mt-1"},G2={key:12,class:"text-end text-nowrap grid-progress-cell"},z2={class:"position-relative"},j2={key:0,class:"text-body-secondary mt-1"},K2={key:13,class:"text-end text-nowrap grid-progress-cell"},Y2={class:"position-relative"},$2={key:0,class:"text-body-secondary mt-1"},J2={key:14,class:"text-end text-nowrap grid-progress-cell"},q2={class:"position-relative"},Q2={key:0,class:"text-body-secondary mt-1"},Z2={key:15,class:"text-end text-nowrap grid-progress-cell"},eC={class:"position-relative"},tC={key:0,class:"text-body-secondary mt-1"},nC={key:16,class:"text-end text-nowrap grid-progress-cell"},rC={class:"position-relative"},aC={key:0,class:"text-body-secondary mt-1"},oC={key:17,class:"text-end text-nowrap grid-progress-cell"},iC={class:"position-relative"},sC={key:0,class:"text-body-secondary mt-1"},lC={key:18,class:"text-end text-nowrap grid-progress-cell"},uC={class:"position-relative"},cC={key:0,class:"text-body-secondary mt-1"},fC=Ut({__name:"GridRow",props:{node:{},level:{},isSubplan:{type:Boolean},isLastChild:{type:Boolean},branches:{},index:{},columns:{}},setup(e){const t=new Xo().getNodeTypeDescription,r=Pn(e.node),o=Tt(_a),i=Tt(Ea),s=je("misc"),{buffersByMetricTooltip:u,costClass:c,costTooltip:p,durationClass:_,estimationClass:E,estimateFactorPercent:A,estimateFactorTooltip:S,executionTimePercent:g,formattedProp:N,heapFetchesClass:M,heapFetchesTooltip:V,isNeverExecuted:C,localDirtiedPercent:J,localHitPercent:P,localReadPercent:w,localWrittenPercent:ae,nodeName:W,rowsRemoved:q,rowsRemovedClass:he,rowsRemovedPercent:Ue,rowsRemovedPercentString:Ve,rowsRemovedProp:Ae,rowsRemovedTooltip:I,rowsTooltip:Pe,sharedDirtiedPercent:G,sharedHitPercent:K,sharedReadPercent:x,sharedWrittenPercent:ce,tempReadPercent:fe,tempWrittenPercent:_e,tilde:Ie}=eo(o,r,i),j=je(!1);return(U,R)=>{var Q,ee,X;return b(),L("tr",{onClick:R[6]||(R[6]=Y=>j.value=!j.value),class:ye(["node",{"never-executed":d(C)}])},[T("td",BL,[T("a",{href:`#plan/node/${r.nodeId}`,onClick:R[0]||(R[0]=Bt(()=>{},["stop"]))},[T("span",HL,"#"+ie(r.nodeId),1)],8,VL)]),R[82]||(R[82]=m()),e.columns.includes("time")?(b(),mt(d(gi),{key:0,class:"text-end grid-progress-cell text-nowrap",tag:"td"},{content:yt(()=>[Te(Jm,{node:r},null,8,["node"])]),default:yt(()=>{var Y;return[R[10]||(R[10]=m()),Te(fn,{percentage:r[d(f).EXCLUSIVE_DURATION]/(d(o).planStats.executionTime||d(o).content.Plan[d(f).ACTUAL_TOTAL_TIME]||0)*100,percentage2:(r[d(f).ACTUAL_TOTAL_TIME]||0-r[d(f).EXCLUSIVE_DURATION])/(d(o).planStats.executionTime||d(o).content.Plan[d(f).ACTUAL_TOTAL_TIME]||0)*100},null,8,["percentage","percentage2"]),R[11]||(R[11]=m()),T("div",WL,[d(_)?(b(),mt(ci,{key:0,severity:d(_)},null,8,["severity"])):$("",!0),R[7]||(R[7]=m()),T("span",XL,ie(((Y=r[d(f).EXCLUSIVE_DURATION])==null?void 0:Y.toLocaleString(void 0,{minimumFractionDigits:3}))||"-"),1)]),R[12]||(R[12]=m()),j.value?(b(),L("div",FL,[m(ie(d(xn)(r[d(f).EXCLUSIVE_DURATION]))+" ",1),R[8]||(R[8]=T("br",null,null,-1)),R[9]||(R[9]=m()),d(g)!==1/0?(b(),L(ze,{key:0},[m(ie(d(g))+`% - `,1)],64)):$("",!0)])):$("",!0)]}),_:1})):$("",!0),R[83]||(R[83]=m()),e.columns.includes("ioread")?(b(),mt(d(gi),{key:1,class:"text-end grid-progress-cell text-nowrap",tag:"td"},{content:yt(()=>[Te(bi,{node:r,class:"mb-0",exclusive:""},null,8,["node"])]),default:yt(()=>[R[14]||(R[14]=m()),r[d(f).EXCLUSIVE_SUM_IO_READ_TIME]?(b(),L(ze,{key:0},[Te(fn,{percentage:r[d(f).EXCLUSIVE_SUM_IO_READ_TIME]/(d(o).content.Plan[d(f).SUM_IO_READ_TIME]+d(o).content.Plan[d(f).SUM_IO_WRITE_TIME])*100},null,8,["percentage"]),m(" "+ie(r[d(f).EXCLUSIVE_SUM_IO_READ_TIME].toLocaleString(void 0,{minimumFractionDigits:3}))+" ",1),j.value?(b(),L("div",GL,[m(ie(d(xn)(r[d(f).EXCLUSIVE_SUM_IO_READ_TIME]))+" ",1),R[13]||(R[13]=T("br",null,null,-1)),m(" "+ie(d(Pc)(r[d(f).EXCLUSIVE_AVERAGE_SUM_IO_READ_SPEED])),1)])):$("",!0)],64)):$("",!0)]),_:1})):$("",!0),R[84]||(R[84]=m()),e.columns.includes("iowrite")?(b(),mt(d(gi),{key:2,class:"text-end grid-progress-cell text-nowrap",tag:"td"},{content:yt(()=>[Te(bi,{node:r,class:"mb-0",exclusive:""},null,8,["node"])]),default:yt(()=>[R[16]||(R[16]=m()),r[d(f).EXCLUSIVE_SUM_IO_WRITE_TIME]?(b(),L(ze,{key:0},[Te(fn,{percentage:r[d(f).EXCLUSIVE_SUM_IO_WRITE_TIME]/(d(o).content.Plan[d(f).SUM_IO_READ_TIME]+d(o).content.Plan[d(f).SUM_IO_WRITE_TIME])*100},null,8,["percentage"]),m(" "+ie(r[d(f).EXCLUSIVE_SUM_IO_WRITE_TIME].toLocaleString(void 0,{minimumFractionDigits:3}))+" ",1),j.value?(b(),L("div",zL,[m(ie(d(xn)(r[d(f).EXCLUSIVE_SUM_IO_WRITE_TIME]))+" ",1),R[15]||(R[15]=T("br",null,null,-1)),m(" "+ie(d(Pc)(r[d(f).EXCLUSIVE_AVERAGE_SUM_IO_WRITE_SPEED])),1)])):$("",!0)],64)):$("",!0)]),_:1})):$("",!0),R[85]||(R[85]=m()),e.columns.includes("rows")?(b(),L("td",jL,[Te(fn,{percentage:r[d(f).ACTUAL_ROWS_REVISED]/d(o).planStats.maxRows*100},null,8,["percentage"]),R[17]||(R[17]=m()),At((b(),L("div",KL,[m(ie(d(Ie)+((Q=r[d(f).ACTUAL_ROWS_REVISED])==null?void 0:Q.toLocaleString())),1)])),[[d(St),{content:d(Pe),allowHTML:!0}]])])):$("",!0),R[86]||(R[86]=m()),e.columns.includes("estimation")?(b(),L("td",YL,[Te(fn,{percentage:d(A)},null,8,["percentage"]),R[24]||(R[24]=m()),r[d(f).PLANNER_ESTIMATE_FACTOR]!=null?At((b(),L("div",$L,[r[d(f).PLANNER_ESTIMATE_FACTOR]!=1?(b(),L("div",JL,[d(E)?(b(),mt(ci,{key:0,severity:d(E)},null,8,["severity"])):$("",!0),R[20]||(R[20]=m()),T("span",qL,[T("span",{innerHTML:d(Af)(r[d(f).PLANNER_ESTIMATE_FACTOR]||0)},null,8,QL),R[18]||(R[18]=m()),r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).under?(b(),L("span",ZL,` - ▾ - `)):$("",!0),R[19]||(R[19]=m()),r[d(f).PLANNER_ESTIMATE_DIRECTION]===d(sn).over?(b(),L("span",e2,` - ▴ - `)):$("",!0)])])):$("",!0),R[23]||(R[23]=m()),j.value&&r[d(f).PLANNER_ESTIMATE_FACTOR]!=1?(b(),L("div",t2,[R[21]||(R[21]=m(` - Planned:`,-1)),R[22]||(R[22]=T("br",null,null,-1)),m(" "+ie((ee=r[d(f).PLAN_ROWS_REVISED])==null?void 0:ee.toLocaleString()),1)])):$("",!0)])),[[d(St),{content:d(S),allowHTML:!0}]]):$("",!0)])):$("",!0),R[87]||(R[87]=m()),e.columns.includes("cost")?(b(),L("td",n2,[Te(fn,{percentage:Math.round(r[d(f).EXCLUSIVE_COST]/d(o).planStats.maxCost*100)},null,8,["percentage"]),R[26]||(R[26]=m()),At((b(),L("div",r2,[d(c)?(b(),mt(ci,{key:0,severity:d(c)},null,8,["severity"])):$("",!0),R[25]||(R[25]=m()),T("span",a2,ie(d(Tf)(r[d(f).EXCLUSIVE_COST])),1)])),[[d(St),{content:d(p),allowHTML:!0}]])])):$("",!0),R[88]||(R[88]=m()),e.columns.includes("loops")?(b(),L("td",o2,[r[d(f).ACTUAL_LOOPS]!=1?(b(),L("span",i2,ie(r[d(f).ACTUAL_LOOPS].toLocaleString()),1)):$("",!0)])):$("",!0),R[89]||(R[89]=m()),e.columns.includes("filter")?(b(),L("td",s2,[d(q)?(b(),L(ze,{key:0},[Te(fn,{percentage:d(Ue)},null,8,["percentage"]),R[28]||(R[28]=m()),At((b(),L("div",l2,[d(he)?(b(),mt(ci,{key:0,severity:d(he)},null,8,["severity"])):$("",!0),R[27]||(R[27]=m()),T("span",u2,ie(d(Ve))+"% ",1)])),[[d(St),{content:d(I),allowHTML:!0}]]),R[29]||(R[29]=m()),j.value?(b(),L("div",c2,ie(d(Ie)+d(N)(d(Ae))),1)):$("",!0)],64)):$("",!0)])):$("",!0),R[90]||(R[90]=m()),e.columns.includes("heapfetches")?(b(),L("td",f2,[At((b(),L("div",d2,[d(M)?(b(),mt(ci,{key:0,severity:d(M)},null,8,["severity"])):$("",!0),R[30]||(R[30]=m()),T("span",p2,ie((X=r[d(f).HEAP_FETCHES])==null?void 0:X.toLocaleString()),1)])),[[d(St),{content:d(V),allowHTML:!0}]])])):$("",!0),R[91]||(R[91]=m()),T("td",{class:ye(["node-type",j.value?"":"text-nowrap text-truncate overflow-hidden"]),style:{"max-width":"0"}},[Te(Il,{isSubplan:e.isSubplan,isNode:"",isLastChild:e.isLastChild,level:e.level,branches:e.branches,index:e.index},null,8,["isSubplan","isLastChild","level","branches","index"]),R[58]||(R[58]=m()),T("div",h2,[T("b",E2,ie(d(W)),1),R[50]||(R[50]=m()),T("span",_2,[r[d(f).RELATION_NAME]||r[d(f).FUNCTION_NAME]?(b(),L(ze,{key:0},[R[32]||(R[32]=T("span",{class:"text-secondary"},"on",-1)),R[33]||(R[33]=m()),r[d(f).SCHEMA]?(b(),L("span",m2,ie(r[d(f).SCHEMA])+".",1)):$("",!0),m(ie(r[d(f).RELATION_NAME])+ie(r[d(f).FUNCTION_NAME])+" ",1),r[d(f).ALIAS]?(b(),L("span",g2,[R[31]||(R[31]=T("span",{class:"text-secondary"},"as",-1)),m(" "+ie(r[d(f).ALIAS]),1)])):$("",!0)],64)):r[d(f).ALIAS]?(b(),L(ze,{key:1},[R[34]||(R[34]=T("span",{class:"text-secondary"},"on",-1)),R[35]||(R[35]=m()),T("span",{innerHTML:d(Yr)(r[d(f).ALIAS])},null,8,v2)],64)):$("",!0),R[45]||(R[45]=m()),r[d(f).GROUP_KEY]?(b(),L(ze,{key:2},[R[36]||(R[36]=T("span",{class:"text-secondary"},"by",-1)),R[37]||(R[37]=m()),T("span",{innerHTML:d(Yr)(r[d(f).GROUP_KEY])},null,8,T2)],64)):$("",!0),R[46]||(R[46]=m()),r[d(f).SORT_KEY]?(b(),L(ze,{key:3},[R[38]||(R[38]=T("span",{class:"text-secondary"},"by",-1)),R[39]||(R[39]=m()),T("span",{innerHTML:d($m)(r[d(f).SORT_KEY],r[d(f).PRESORTED_KEY])},null,8,A2)],64)):$("",!0),R[47]||(R[47]=m()),r[d(f).INDEX_NAME]?(b(),L(ze,{key:4},[R[40]||(R[40]=T("span",{class:"text-secondary"},"using",-1)),R[41]||(R[41]=m()),T("span",{innerHTML:d(Yr)(r[d(f).INDEX_NAME])},null,8,S2)],64)):$("",!0),R[48]||(R[48]=m()),r[d(f).HASH_CONDITION]?(b(),L(ze,{key:5},[R[42]||(R[42]=T("span",{class:"text-secondary"},"on",-1)),R[43]||(R[43]=m()),T("span",{innerHTML:d(Yr)(r[d(f).HASH_CONDITION])},null,8,y2)],64)):$("",!0),R[49]||(R[49]=m()),r[d(f).CTE_NAME]?(b(),L("span",R2,[R[44]||(R[44]=T("span",{class:"text-secondary"},"CTE",-1)),m(" "+ie(r[d(f).CTE_NAME]),1)])):$("",!0)])]),R[59]||(R[59]=m()),R[60]||(R[60]=T("br",null,null,-1)),R[61]||(R[61]=m()),j.value?(b(),L("div",{key:0,class:"plan-node position-relative detailed",style:{width:"100%"},onClick:R[5]||(R[5]=Bt(()=>{},["stop"]))},[T("div",O2,[d(t)(r[d(f).NODE_TYPE])?(b(),L("div",I2,[T("span",b2,ie(r[d(f).NODE_TYPE])+" Node",1),R[51]||(R[51]=m()),T("span",{innerHTML:d(t)(r[d(f).NODE_TYPE])},null,8,N2)])):$("",!0),R[56]||(R[56]=m()),T("ul",L2,[T("li",C2,[T("a",{class:ye(["nav-link px-2 py-1",{active:s.value==="misc"}]),onClick:R[1]||(R[1]=Bt(Y=>s.value="misc",["prevent","stop"])),href:""},"Misc",2)]),R[52]||(R[52]=m()),T("li",x2,[T("a",{class:ye(["nav-link px-2 py-1",{active:s.value==="output",disabled:!r[d(f).OUTPUT]}]),onClick:R[2]||(R[2]=Bt(Y=>s.value="output",["prevent","stop"])),href:""},"Output",2)]),R[53]||(R[53]=m()),T("li",M2,[T("a",{class:ye(["nav-link px-2 py-1",{active:s.value==="workers",disabled:!(r[d(f).WORKERS_PLANNED]||r[d(f).WORKERS_PLANNED_BY_GATHER])}]),onClick:R[3]||(R[3]=Bt(Y=>s.value="workers",["prevent","stop"])),href:""},"Workers",2)])]),R[57]||(R[57]=m()),T("div",w2,[T("div",{class:ye(["tab-pane p-1 border border-top-0",{"show active":s.value==="misc"}])},[Te(Qm,{node:r},null,8,["node"])],2),R[54]||(R[54]=m()),T("div",{class:ye(["tab-pane p-1 border border-top-0 overflow-auto font-monospace",{"show active":s.value==="output"}]),innerHTML:d(N)("OUTPUT"),style:{"max-height":"200px"},onMousewheel:R[4]||(R[4]=Bt(()=>{},["stop"]))},null,42,D2),R[55]||(R[55]=m()),T("div",{class:ye(["tab-pane p-1 border border-top-0 rounded rounded-top-start-0",{"show active":s.value==="workers"}])},[Te(qm,{node:r},null,8,["node"])],2)])])])):$("",!0)],2),R[92]||(R[92]=m()),e.columns.includes("shared.hit")?(b(),L("td",P2,[Te(fn,{percentage:d(K)},null,8,["percentage"]),R[62]||(R[62]=m()),At((b(),L("div",U2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_SHARED_HIT_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_SHARED_HIT_BLOCKS),allowHTML:!0}]]),R[63]||(R[63]=m()),j.value?(b(),L("div",k2,ie(d(Cn)(r[d(f).EXCLUSIVE_SHARED_HIT_BLOCKS])),1)):$("",!0)])):$("",!0),R[93]||(R[93]=m()),e.columns.includes("shared.read")?(b(),L("td",B2,[Te(fn,{percentage:d(x)},null,8,["percentage"]),R[64]||(R[64]=m()),At((b(),L("div",V2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_SHARED_READ_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_SHARED_READ_BLOCKS),allowHTML:!0}]]),R[65]||(R[65]=m()),j.value?(b(),L("div",H2,ie(d(Cn)(r[d(f).EXCLUSIVE_SHARED_READ_BLOCKS])),1)):$("",!0)])):$("",!0),R[94]||(R[94]=m()),e.columns.includes("shared.dirtied")?(b(),L("td",W2,[Te(fn,{percentage:d(G)},null,8,["percentage"]),R[66]||(R[66]=m()),At((b(),L("div",X2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_SHARED_DIRTIED_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_SHARED_DIRTIED_BLOCKS),allowHTML:!0}]]),R[67]||(R[67]=m()),j.value?(b(),L("div",F2,ie(d(Cn)(r[d(f).EXCLUSIVE_SHARED_DIRTIED_BLOCKS])),1)):$("",!0)])):$("",!0),R[95]||(R[95]=m()),e.columns.includes("shared.written")?(b(),L("td",G2,[Te(fn,{percentage:d(ce)},null,8,["percentage"]),R[68]||(R[68]=m()),At((b(),L("div",z2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_SHARED_WRITTEN_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_SHARED_WRITTEN_BLOCKS),allowHTML:!0}]]),R[69]||(R[69]=m()),j.value?(b(),L("div",j2,ie(d(Cn)(r[d(f).EXCLUSIVE_SHARED_WRITTEN_BLOCKS])),1)):$("",!0)])):$("",!0),R[96]||(R[96]=m()),e.columns.includes("temp.read")?(b(),L("td",K2,[Te(fn,{percentage:d(fe)},null,8,["percentage"]),R[70]||(R[70]=m()),At((b(),L("div",Y2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_TEMP_READ_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_TEMP_READ_BLOCKS),allowHTML:!0}]]),R[71]||(R[71]=m()),j.value?(b(),L("div",$2,ie(d(Cn)(r[d(f).EXCLUSIVE_TEMP_READ_BLOCKS])),1)):$("",!0)])):$("",!0),R[97]||(R[97]=m()),e.columns.includes("temp.written")?(b(),L("td",J2,[Te(fn,{percentage:d(_e)},null,8,["percentage"]),R[72]||(R[72]=m()),At((b(),L("div",q2,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_TEMP_WRITTEN_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_TEMP_WRITTEN_BLOCKS),allowHTML:!0}]]),R[73]||(R[73]=m()),j.value?(b(),L("div",Q2,ie(d(Cn)(r[d(f).EXCLUSIVE_TEMP_WRITTEN_BLOCKS])),1)):$("",!0)])):$("",!0),R[98]||(R[98]=m()),e.columns.includes("local.hit")?(b(),L("td",Z2,[Te(fn,{percentage:d(P)},null,8,["percentage"]),R[74]||(R[74]=m()),At((b(),L("div",eC,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_LOCAL_HIT_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_LOCAL_HIT_BLOCKS),allowHTML:!0}]]),R[75]||(R[75]=m()),j.value?(b(),L("div",tC,ie(d(Cn)(r[d(f).EXCLUSIVE_LOCAL_HIT_BLOCKS])),1)):$("",!0)])):$("",!0),R[99]||(R[99]=m()),e.columns.includes("local.read")?(b(),L("td",nC,[Te(fn,{percentage:d(w)},null,8,["percentage"]),R[76]||(R[76]=m()),At((b(),L("div",rC,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_LOCAL_READ_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_LOCAL_READ_BLOCKS),allowHTML:!0}]]),R[77]||(R[77]=m()),j.value?(b(),L("div",aC,ie(d(Cn)(r[d(f).EXCLUSIVE_LOCAL_READ_BLOCKS])),1)):$("",!0)])):$("",!0),R[100]||(R[100]=m()),e.columns.includes("local.dirtied")?(b(),L("td",oC,[Te(fn,{percentage:d(J)},null,8,["percentage"]),R[78]||(R[78]=m()),At((b(),L("div",iC,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_LOCAL_DIRTIED_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_LOCAL_DIRTIED_BLOCKS),allowHTML:!0}]]),R[79]||(R[79]=m()),j.value?(b(),L("div",sC,ie(d(Cn)(r[d(f).EXCLUSIVE_LOCAL_DIRTIED_BLOCKS])),1)):$("",!0)])):$("",!0),R[101]||(R[101]=m()),e.columns.includes("local.written")?(b(),L("td",lC,[Te(fn,{percentage:d(ae)},null,8,["percentage"]),R[80]||(R[80]=m()),At((b(),L("div",uC,[m(ie(d(Tn)(r[d(f).EXCLUSIVE_LOCAL_WRITTEN_BLOCKS])),1)])),[[d(St),{content:d(u)(d(f).EXCLUSIVE_LOCAL_WRITTEN_BLOCKS),allowHTML:!0}]]),R[81]||(R[81]=m()),j.value?(b(),L("div",cC,ie(d(Cn)(r[d(f).EXCLUSIVE_LOCAL_WRITTEN_BLOCKS])),1)):$("",!0)])):$("",!0)],2)}}}),dC={class:"table table-sm table-hover"},pC={class:"table-secondary sticky-top",style:{"z-index":"2"}},hC={key:0,class:"table-group"},EC=["colspan"],_C=["colspan"],mC=["colspan"],gC=["colspan"],vC=["colspan"],TC={key:0,class:"text-center"},AC={key:1,class:"text-center"},SC={key:2,class:"text-center"},yC={key:3,class:"text-center"},RC={key:4,class:"text-center"},OC={key:5,class:"text-center"},IC={key:6,class:"text-center"},bC={key:7,class:"text-center"},NC={key:8,class:"text-center"},LC={key:9,class:"text-center"},CC={key:10,class:"text-center"},xC={key:11,class:"text-center"},MC={key:12,class:"text-center"},wC={key:13,class:"text-center"},DC={key:14,class:"text-center"},PC={key:15,class:"text-center"},UC={key:16,class:"text-center"},kC={key:17,class:"text-center"},BC={key:18,class:"text-center"},VC={key:0},HC=["colspan"],WC=["colspan"],XC={class:"fst-italic text-reset"},FC=Ut({__name:"Grid",props:{ctes:{},rootNode:{}},setup(e){const t=[[]];Qa(()=>{r(t[0],0,e.rootNode,!0,[]),B.each(e.ctes,K=>{const x=[];r(x,0,K,!0,[]),t.push(x)})}),Za(()=>{localStorage.setItem("gridIsNotNew","true")});function r(K,x,ce,fe,_e){K.push([x,ce,fe,B.concat([],_e)]),fe||_e.push(x),B.each(ce.Plans,Ie=>{r(K,x+1,Ie,Ie===B.last(ce.Plans),_e)}),fe||_e.pop()}function o(K){return B.startsWith(K[f.SUBPLAN_NAME],"CTE")}const i=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_DURATION]||!1))),s=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.IO_READ_TIME]||x[1][f.SHARED_IO_READ_TIME]||x[1][f.LOCAL_IO_READ_TIME]||x[1][f.TEMP_IO_READ_TIME]))),u=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.IO_WRITE_TIME]||x[1][f.SHARED_IO_WRITE_TIME]||x[1][f.LOCAL_IO_WRITE_TIME]||x[1][f.TEMP_IO_WRITE_TIME]))),c=ge(()=>s.value||u.value),p=ge(()=>B.filter([s.value,u.value],K=>K).length),_=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.ACTUAL_ROWS_REVISED]||!1))),E=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.PLANNER_ESTIMATE_FACTOR]||!1))),A=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.ACTUAL_LOOPS]>1))),S=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_COST]>1))),g=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.ROWS_REMOVED_BY_FILTER]||x[1][f.ROWS_REMOVED_BY_JOIN_FILTER]||x[1][f.ROWS_REMOVED_BY_INDEX_RECHECK]))),N=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.HEAP_FETCHES]))),M=ge(()=>B.filter([V.value,C.value,J.value,P.value],K=>K).length),V=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_SHARED_HIT_BLOCKS]))),C=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_SHARED_READ_BLOCKS]))),J=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS]))),P=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS]))),w=ge(()=>B.filter([ae.value,W.value],K=>K).length),ae=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_TEMP_READ_BLOCKS]))),W=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS]))),q=ge(()=>B.filter([he.value,Ue.value,Ve.value,Ae.value],K=>K).length),he=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_LOCAL_HIT_BLOCKS]))),Ue=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_LOCAL_READ_BLOCKS]))),Ve=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS]))),Ae=ge(()=>B.some(t,K=>B.some(K,x=>x[1][f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS]))),I=ge(()=>{const K=[];return i.value&&K.push("time"),s.value&&K.push("ioread"),u.value&&K.push("iowrite"),_.value&&K.push("rows"),E.value&&K.push("estimation"),S.value&&K.push("cost"),A.value&&K.push("loops"),g.value&&K.push("filter"),N.value&&K.push("heapfetches"),K}),Pe=ge(()=>{const K=[];return V.value&&K.push("shared.hit"),C.value&&K.push("shared.read"),J.value&&K.push("shared.dirtied"),P.value&&K.push("shared.written"),ae.value&&K.push("temp.read"),W.value&&K.push("temp.written"),he.value&&K.push("local.hit"),Ue.value&&K.push("local.read"),Ve.value&&K.push("local.dirtied"),Ae.value&&K.push("local.written"),K}),G=ge(()=>[].concat(I.value,Pe.value));return(K,x)=>(b(),L("div",null,[T("table",dC,[T("thead",pC,[c.value||Pe.value.length>0?(b(),L("tr",hC,[x[0]||(x[0]=T("th",{colspan:"2"},null,-1)),x[1]||(x[1]=m()),c.value?(b(),L("th",{key:0,class:"text-center",colspan:p.value},"io",8,EC)):$("",!0),x[2]||(x[2]=m()),T("th",{colspan:I.value.length-p.value},null,8,_C),x[3]||(x[3]=m()),M.value>0?(b(),L("th",{key:1,class:"text-center",colspan:M.value},` - shared - `,8,mC)):$("",!0),x[4]||(x[4]=m()),w.value>0?(b(),L("th",{key:2,class:"text-center",colspan:w.value},` - temp - `,8,gC)):$("",!0),x[5]||(x[5]=m()),q.value>0?(b(),L("th",{key:3,class:"text-center",colspan:q.value},` - local - `,8,vC)):$("",!0)])):$("",!0),x[28]||(x[28]=m()),T("tr",null,[x[6]||(x[6]=T("th",{class:"text-center"},null,-1)),x[7]||(x[7]=m()),i.value?(b(),L("th",TC,"time")):$("",!0),x[8]||(x[8]=m()),s.value?(b(),L("th",AC,"read")):$("",!0),x[9]||(x[9]=m()),u.value?(b(),L("th",SC,"write")):$("",!0),x[10]||(x[10]=m()),_.value?(b(),L("th",yC,"rows")):$("",!0),x[11]||(x[11]=m()),E.value?(b(),L("th",RC,"estim")):$("",!0),x[12]||(x[12]=m()),S.value?(b(),L("th",OC,"cost")):$("",!0),x[13]||(x[13]=m()),A.value?(b(),L("th",IC,"loops")):$("",!0),x[14]||(x[14]=m()),g.value?(b(),L("th",bC,"filter")):$("",!0),x[15]||(x[15]=m()),N.value?(b(),L("th",NC,"heap")):$("",!0),x[16]||(x[16]=m()),x[17]||(x[17]=T("th",{style:{width:"100%"}},null,-1)),x[18]||(x[18]=m()),V.value?(b(),L("th",LC,"hit")):$("",!0),x[19]||(x[19]=m()),C.value?(b(),L("th",CC,"read")):$("",!0),x[20]||(x[20]=m()),J.value?(b(),L("th",xC,"dirt")):$("",!0),x[21]||(x[21]=m()),P.value?(b(),L("th",MC,"writ")):$("",!0),x[22]||(x[22]=m()),ae.value?(b(),L("th",wC,"read")):$("",!0),x[23]||(x[23]=m()),W.value?(b(),L("th",DC,"writ")):$("",!0),x[24]||(x[24]=m()),he.value?(b(),L("th",PC,"hit")):$("",!0),x[25]||(x[25]=m()),Ue.value?(b(),L("th",UC,"read")):$("",!0),x[26]||(x[26]=m()),Ve.value?(b(),L("th",kC,"dirt")):$("",!0),x[27]||(x[27]=m()),Ae.value?(b(),L("th",BC,"writ")):$("",!0)])]),x[32]||(x[32]=m()),(b(),L(ze,null,Ft(t,(ce,fe)=>T("tbody",{key:fe},[(b(!0),L(ze,null,Ft(ce,(_e,Ie)=>(b(),L(ze,{key:Ie},[_e[1][d(f).SUBPLAN_NAME]?(b(),L("tr",VC,[T("td",{class:"bg-light",colspan:1+I.value.length},null,8,HC),x[30]||(x[30]=m()),T("td",{class:ye(["plan pr-2 bg-light",{"font-weight-bold":o(_e[1])}]),colspan:G.value.length+Pe.value.length},[Te(Il,{isSubplan:!!_e[1][d(f).SUBPLAN_NAME],isLastChild:!!_e[2],level:_e[0],branches:_e[3],index:Ie},null,8,["isSubplan","isLastChild","level","branches","index"]),x[29]||(x[29]=m()),T("b",XC,ie(_e[1][d(f).SUBPLAN_NAME]),1)],10,WC)])):$("",!0),x[31]||(x[31]=m()),Te(fC,{node:_e[1],isSubplan:!!_e[1][d(f).SUBPLAN_NAME],isLastChild:!!_e[2],level:_e[0],branches:_e[3],index:Ie,columns:G.value},null,8,["node","isSubplan","isLastChild","level","branches","index","columns"])],64))),128))])),64))])]))}}),GC=yf(FC,[["__scopeId","data-v-fca44b36"]]),zC={},jC={src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAC1QAAAtUBwMJvJQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAf5SURBVGiB7Zp7UFT3Fcc/v3vv8kaQgA8CEmtE8ZEYiVETjS+UkUcm09FM0rE2iRPttOOjY60WbLwNQoI6I9HONNo2rbZpxmo7RkBH8Z34qJpEx2cdoxHREZ8gu+yyu9xf/4BddoFdFlzTOu33r7vnd37nnO+9v9c5vxUEGfp4PcwWpb1pSDFTQBqAhPNCig3h9fYN+n7dFkx/IpjGFucsz0WKEuB7PlSqEOQXl+X9GYQMhs+gEPhFdkGaQFkNZAbkVHJAKur84rIlpx7W90MR+FmmHhdqClkmpfwpoLrkIWEhjJs2iuEThgLw1b7THNhyFLvN7tndEEJ+oihiUdG2/OquxtAlArPT15niet15S0IhEO82JmDIS2lkz5pEbEI3rz5198xU/PVzju88iZReo6dGwAcWI7pk7Y55DY+cwJLsggwDZbWAIZ7ypP69yZ09mZS0JL/9r1+6ybb1u7h6rqp100VDioUrt+eVdSaegAksyinor0i1EOR0T3m3uCgyfjCWEZnDECIwc1LCmUPn2f7xXu7fqm0d0m4U54Li0nfPBmKrQ4/6dD3KZjX9XEqWAKEuuaqpjMoazpQfjiM0PCSgwFvD0eDgwN+PcmDLERx2p1eTEOK3Ns2+rGSrXtMlArquK9YTphlIVgA9PdvSXuhP7uzJxPWK7VLgrVF7p46dG/fz9b7TeE8P7iF473J4/99s3vxaY3t92yWwKLtorIJcAwzzlPdIjifnnQxSh/ta5h8Ol89UUra+ghuX2yxKJw3EvJXleZ+3bmhDYHF20bsglwGKSxYRHc6kN8YwOud5FMX/qLOabVRfvY3R6lUqQtAzJYHwqDC//aWUfL3vLNs/3oO5xuLZZEjQV5TnF/gksDiraA5CfuT6rWoK6RnPkjlzHJHdIvw6djnf8cd91NdZ222PiA5n6lsTAprsVouN/ZuPcOizYzgdLaNHwJwPyvPXtyGg5+oRVsNUBXQHSElLYtr8bBKSnujQmQt2m51t6yr86rwyZzIhYYFP+ttVd9lcUkblhesuUU2jIyRp1a5FFvAYJjap5bqCj03oxqyC1zsV/KNCQtITzCp4g5h498YYq5kaslw/3ASkVAa4ngePHtCpt/SoERoewuDRqe7fBmKg61lpUTOiXU9hEaH8tyE8smXyC6T7cyjtaj9GCCoB1aShqL5NKqqCatKC6ZKgWlNVhRFTnuXquSoMQ3Lr2h2gaQNUFEHKoCRUPwS7guC+DiA5NZHk1EQMQ/KPtdsBGPPqCx1ugF3FYz8HuvwFzLX1OBocPtul0XKUqLlVi/DzBUJCTUTGdLzTt4cuEThRcYpv2yYkPrF306EOdfoOTiY945lOx9JpAubaer49V4WiKv4PZhIsD+oBms5RfqaA1WzjytlrDBzxdKe/RKcJOJoT86jYSKbMeNmnnuckzvzReL+TeNdfDvLgbh12m73TBP53JrGUEqvZhtXcVFgzGg0stfVoIVqblNJqseG0txyBm/RUr+MAwP1bNVhqrdQ/sNJgtXPz6m1sVjs9+8SjKIG924AIOB1O9m46zIO7dW6ZucbCjj/tA2DQqFQGjewPwOHSE20yqp0b9wPwZL9ejM5JB+DTFVs5dfCcl97pL84DEBkTwcKPfkxEtP/kBwIcQvdv1XoF3xquEomjwdleOujG9W9uupP3iycu+9Sz1NZz8ctLgYQWGAHPNb3d9ub0UUojAFtNOkYHuk5nuzl8Gzz2k/j/BP7TaCEgFXeNr3VVoaMlzbVJBbL0uXT85Q0Amua9QJpr6z2t3Hc/uR6EYrhrkacPXfAi0b1XLPGJcT6D7zfsqSanIRpPDU5ut2wihKDv4GS0kKbAnhk7yOcBL65nDGnNyzI0HUnOHvlXi4JsidVtYe7UNaERqrkSKXsA9OgTz7R52fQZ+KS7n9PubFOw0jS1zdtsdDbS2Oi9yqiqgqqpXjK7zYHV4n3jpGmq13Gi8sJ1tnxY7k6OgOrwCEcffbNu9yIAsCR7+XSJ+JubXXO9P+vtiXTvEcN3iQf3zOxue58gpRCvrSjL2+KOsXXH5urch3hUok2hJl7MfZ5Jr7/0yMstDruTw9uOs3fTIRqsXjc6DQgxt7gs73eewnYHYV524ZBGKAEmecpj4qPJnDmB5yYMIcCrgE7h/LFLlK7bxb3qNhX1PSosKCrPP9O6wW8YzbeOq4F+nvLkAYm8MnsKyQMSHzpogBuXqyldX8GVM5Vecim5JhSWFpflb/TVt8P3ODt9nal77zs/QfIe4C4oCSF4bsIQst6eSFRsZJcCr6+zsufTLzhSdgLD+7hiEYJVYWbHBx3dKwc8EPIyC3s7NXQBs2h1I/ny90cyfvqLaCbVj4UWNDoNjm7/kopPDmKzeN3rSRBbNM1YWPjZ0muB2OrCJd/76RKjBBjjKY9PjCNz5jiGjknz2//SySuUrt9NdeVt7wbJcUUR898vyzvSmXi6PBUX5yzPFVKslZDiKX96WF9y38mgZ0qCl/6d6/co/8Nuzh9rc0y+IeDXYSMcv9d1vePjbCs81Fqi5+oRNsM0V8JSIMolVzWFkVOHM3zi0OYblzP8c8dXNDq94rNKWIOqFa7Ytth3stEBgvNXg6nFSYrqKJJSzAjEphCyzCnkvFWlv7rysL6Dupr/MqtopKHIEiSjfKicNBSxYGVp3oFg+Qz6dqTrulJ/PORVIeWbCAYBIDknkBu+iUzd6uu6tKv4N+243iwIA9v6AAAAAElFTkSuQmCC",alt:"PEV2",style:{width:"20px",height:"20px"}};function KC(e,t){return b(),L("img",jC)}const zh=yf(zC,[["render",KC]]),YC={class:"card-header border-top"},$C={key:0,class:"node-description"},JC={class:"node-type"},qC=["innerHTML"],QC={class:"nav nav-tabs card-header-tabs"},ZC={class:"nav-item"},ex={class:"nav-item"},tx={class:"nav-item"},nx={class:"nav-item"},rx={class:"nav-item"},ax={class:"card-body tab-content"},ox={key:0},ix=["innerHTML"],sx={class:"px-1"},lx={key:0,class:"text-secondary"},ux={key:1},cx={key:0},fx={key:1},dx={key:2},px=["innerHTML"],hx={key:1},Ex={class:"px-1"},_x={key:2},mx=["innerHTML"],gx={key:3},vx={class:"text-secondary"},Tx={key:4},Ax={class:"px-1"},Sx={class:"table table-sm"},yx=["innerHTML"],Rx=["innerHTML"],Ox=["innerHTML"],Ix=["innerHTML"],bx=["innerHTML"],Nx=["innerHTML"],Lx=["innerHTML"],Cx=["innerHTML"],xx=["innerHTML"],Mx=["innerHTML"],wx={key:0,class:"mb-2"},Dx={class:"more-info"},Px={key:0},Ux={class:"more-info"},kx=["innerHTML"],Bx=Ut({__name:"PlanNodeDetail",props:{node:{}},setup(e){const t=Tt(Ea),r=e,o=Tt("updateSize"),i=Pn(r.node),s=Tt(_a),u=je(),c=je("general"),p=new Xo().getNodeTypeDescription,{costClass:_,durationClass:E,estimationClass:A,executionTimePercent:S,filterDetailTooltip:g,formattedProp:N,heapFetchesClass:M,indexRecheckTooltip:V,plannerRowEstimateDirection:C,plannerRowEstimateValue:J,rowsRemoved:P,rowsRemovedClass:w,rowsRemovedPercentString:ae,rowsRemovedProp:W,tilde:q}=eo(s,i,t);Qa(()=>{Ue()});const he=ge(()=>A.value&&C.value!==sn.none&&J.value);function Ue(){u.value=B.chain(i).omit(f.PLANS).omit(f.WORKERS).map((Ae,I)=>({key:I,value:Ae})).value()}const Ve=ge(()=>{const Ae=["EXCLUSIVE_SHARED_HIT_BLOCKS","EXCLUSIVE_SHARED_READ_BLOCKS","EXCLUSIVE_SHARED_DIRTIED_BLOCKS","EXCLUSIVE_SHARED_WRITTEN_BLOCKS","EXCLUSIVE_TEMP_READ_BLOCKS","EXCLUSIVE_TEMP_WRITTEN_BLOCKS","EXCLUSIVE_LOCAL_HIT_BLOCKS","EXCLUSIVE_LOCAL_READ_BLOCKS","EXCLUSIVE_LOCAL_DIRTIED_BLOCKS","EXCLUSIVE_LOCAL_WRITTEN_BLOCKS","EXCLUSIVE_IO_READ_TIME","EXCLUSIVE_IO_WRITE_TIME"],I=B.map(Ae,Pe=>{const G=i[f[Pe]];return B.isNaN(G)?0:G});return B.sum(I)>0});return en(c,()=>{window.setTimeout(()=>o&&o(i),1)}),(Ae,I)=>(b(),L(ze,null,[T("div",YC,[d(p)(i[d(f).NODE_TYPE])?(b(),L("div",$C,[T("span",JC,ie(i[d(f).NODE_TYPE])+" Node",1),I[6]||(I[6]=m()),T("span",{innerHTML:d(p)(i[d(f).NODE_TYPE])},null,8,qC)])):$("",!0),I[11]||(I[11]=m()),T("ul",QC,[T("li",ZC,[T("a",{class:ye(["nav-link",{active:c.value==="general"}]),onClick:I[0]||(I[0]=Bt(Pe=>c.value="general",["prevent","stop"])),href:""},"General",2)]),I[7]||(I[7]=m()),T("li",ex,[T("a",{class:ye(["nav-link text-nowrap",{active:c.value==="iobuffer",disabled:!Ve.value}]),onClick:I[1]||(I[1]=Bt(Pe=>c.value="iobuffer",["prevent","stop"])),href:""},"IO & Buffers",2)]),I[8]||(I[8]=m()),T("li",tx,[T("a",{class:ye(["nav-link",{active:c.value==="output",disabled:!i[d(f).OUTPUT]}]),onClick:I[2]||(I[2]=Bt(Pe=>c.value="output",["prevent","stop"])),href:""},"Output",2)]),I[9]||(I[9]=m()),T("li",nx,[T("a",{class:ye(["nav-link",{active:c.value==="workers",disabled:!(i[d(f).WORKERS_PLANNED]||i[d(f).WORKERS_PLANNED_BY_GATHER])}]),onClick:I[3]||(I[3]=Bt(Pe=>c.value="workers",["prevent","stop"])),href:""},"Workers",2)]),I[10]||(I[10]=m()),T("li",rx,[T("a",{class:ye(["nav-link",{active:c.value==="misc"}]),onClick:I[4]||(I[4]=Bt(Pe=>c.value="misc",["prevent","stop"])),href:""},"Misc",2)])])]),I[81]||(I[81]=m()),T("div",ax,[T("div",{class:ye(["tab-pane",{"show active":c.value==="general"}])},[d(s).isAnalyze?(b(),L("div",ox,[Te(d(ht),{"fixed-width":"",icon:d(Wm),class:"text-secondary"},null,8,["icon"]),I[14]||(I[14]=m()),I[15]||(I[15]=T("b",null,"Timing:",-1)),I[16]||(I[16]=m()),T("span",{class:ye(["p-0 px-1 rounded alert",d(E)]),innerHTML:d(N)("EXCLUSIVE_DURATION")},null,10,ix),I[17]||(I[17]=m()),d(S)&&d(S)!==1/0?(b(),L(ze,{key:0},[I[12]||(I[12]=m(` - | - `,-1)),T("strong",null,ie(d(S)),1),I[13]||(I[13]=T("span",{class:"text-secondary"},"%",-1))],64)):$("",!0)])):$("",!0),I[44]||(I[44]=m()),T("div",null,[Te(d(ht),{"fixed-width":"",icon:d(Bb),class:"text-secondary"},null,8,["icon"]),I[24]||(I[24]=m()),I[25]||(I[25]=T("b",null,"Rows:",-1)),I[26]||(I[26]=m()),T("span",sx,ie(d(q)+d(N)("ACTUAL_ROWS_REVISED")),1),I[27]||(I[27]=m()),i[d(f).PLAN_ROWS]?(b(),L("span",lx,"(Planned: "+ie(d(q)+d(N)("PLAN_ROWS_REVISED"))+")",1)):$("",!0),I[28]||(I[28]=m()),d(C)!==d(sn).none&&he.value?(b(),L("span",ux,[I[21]||(I[21]=m(` - | - `,-1)),d(C)===d(sn).over?(b(),L("span",cx,[Te(d(ht),{icon:d(Gm)},null,8,["icon"]),I[18]||(I[18]=m(" over",-1))])):$("",!0),I[22]||(I[22]=m()),d(C)===d(sn).under?(b(),L("span",fx,[Te(d(ht),{icon:d(Xm)},null,8,["icon"]),I[19]||(I[19]=m(" under",-1))])):$("",!0),I[23]||(I[23]=m(` - estimated - `,-1)),d(J)!=1/0?(b(),L("span",dx,[I[20]||(I[20]=m(` - by - `,-1)),T("span",{class:ye(["p-0 px-1 alert",d(A)]),innerHTML:d(N)("PLANNER_ESTIMATE_FACTOR")},null,10,px)])):$("",!0)])):$("",!0)]),I[45]||(I[45]=m()),d(P)?(b(),L("div",hx,[Te(d(ht),{"fixed-width":"",icon:d(Mc),class:"text-secondary"},null,8,["icon"]),I[30]||(I[30]=m()),T("b",null,ie(d(f)[d(W)])+": ",1),I[31]||(I[31]=m()),T("span",null,[T("span",Ex,ie(d(q)+d(N)(d(W))),1),I[29]||(I[29]=m(`| - `,-1)),T("span",{class:ye(["p-0 px-1 alert",d(w)])},ie(d(ae))+"%",3)]),I[32]||(I[32]=m()),d(W)=="ROWS_REMOVED_BY_INDEX_RECHECK_REVISED"?At((b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(za),class:"text-muted"},null,8,["icon"])),[[d(St),{allowHTML:!0,content:d(V)}]]):At((b(),mt(d(ht),{key:1,"fixed-width":"",icon:d(za),class:"text-muted"},null,8,["icon"])),[[d(St),{allowHTML:!0,content:d(g)}]])])):$("",!0),I[46]||(I[46]=m()),i[d(f).HEAP_FETCHES]?(b(),L("div",_x,[Te(d(ht),{"fixed-width":"",icon:d(zm),class:"text-secondary"},null,8,["icon"]),I[33]||(I[33]=m()),I[34]||(I[34]=T("b",null,"Heap Fetches:",-1)),I[35]||(I[35]=m()),T("span",{class:ye(["p-0 px-1 rounded alert",d(M)]),innerHTML:d(N)("HEAP_FETCHES")},null,10,mx),I[36]||(I[36]=m()),d(M)?At((b(),mt(d(ht),{key:0,icon:d(za),"fixed-width":"",class:"text-secondary"},null,8,["icon"])),[[d(St),{arrow:!0,content:"Visibility map may be out-of-date. Consider using VACUUM or change autovacuum settings."}]]):$("",!0)])):$("",!0),I[47]||(I[47]=m()),d(B).isUndefined(i[d(f).EXCLUSIVE_COST])?$("",!0):(b(),L("div",gx,[Te(d(ht),{"fixed-width":"",icon:d(jm),class:"text-secondary"},null,8,["icon"]),I[37]||(I[37]=m()),I[38]||(I[38]=T("b",null,"Cost:",-1)),I[39]||(I[39]=m()),T("span",{class:ye(["p-0 px-1 me-1 alert",d(_)])},ie(d(N)("EXCLUSIVE_COST")),3),I[40]||(I[40]=m()),T("span",vx,"(Total: "+ie(d(N)("TOTAL_COST"))+")",1)])),I[48]||(I[48]=m()),i[d(f).ACTUAL_LOOPS]>1?(b(),L("div",Tx,[Te(d(ht),{"fixed-width":"",icon:d(Fb),class:"text-secondary"},null,8,["icon"]),I[41]||(I[41]=m()),I[42]||(I[42]=T("b",null,"Loops:",-1)),I[43]||(I[43]=m()),T("span",Ax,ie(d(N)("ACTUAL_LOOPS")),1)])):$("",!0)],2),I[77]||(I[77]=m()),T("div",{class:ye(["tab-pane",{"show active":c.value==="iobuffer"}])},[Te(bi,{node:i,exclusive:""},null,8,["node"]),I[75]||(I[75]=m()),T("table",Sx,[I[68]||(I[68]=T("thead",null,[T("tr",null,[T("th",null,"Blocks"),m(),T("td",{class:"text-end",width:"25%"},"Hit"),m(),T("td",{class:"text-end",width:"25%"},"Read"),m(),T("td",{class:"text-end",width:"25%"},"Dirtied"),m(),T("td",{class:"text-end",width:"25%"},"Written")])],-1)),I[69]||(I[69]=m()),T("tbody",null,[T("tr",null,[I[49]||(I[49]=T("td",null,"Shared",-1)),I[50]||(I[50]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_SHARED_HIT_BLOCKS")||"-"},null,8,yx),I[51]||(I[51]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_SHARED_READ_BLOCKS")||"-"},null,8,Rx),I[52]||(I[52]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_SHARED_DIRTIED_BLOCKS")||"-"},null,8,Ox),I[53]||(I[53]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_SHARED_WRITTEN_BLOCKS")||"-"},null,8,Ix)]),I[66]||(I[66]=m()),T("tr",null,[I[54]||(I[54]=T("td",null,"Temp",-1)),I[55]||(I[55]=m()),I[56]||(I[56]=T("td",{class:"text-end bg-hatched"},null,-1)),I[57]||(I[57]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_TEMP_READ_BLOCKS")||"-"},null,8,bx),I[58]||(I[58]=m()),I[59]||(I[59]=T("td",{class:"text-end bg-hatched"},null,-1)),I[60]||(I[60]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_TEMP_WRITTEN_BLOCKS")||"-"},null,8,Nx)]),I[67]||(I[67]=m()),T("tr",null,[I[61]||(I[61]=T("td",null,"Local",-1)),I[62]||(I[62]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_LOCAL_HIT_BLOCKS")||"-"},null,8,Lx),I[63]||(I[63]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_LOCAL_READ_BLOCKS")||"-"},null,8,Cx),I[64]||(I[64]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_LOCAL_DIRTIED_BLOCKS")||"-"},null,8,xx),I[65]||(I[65]=m()),T("td",{class:"text-end",innerHTML:d(N)("EXCLUSIVE_LOCAL_WRITTEN_BLOCKS")||"-"},null,8,Mx)])])]),I[76]||(I[76]=m()),i[d(f).WAL_RECORDS]||i[d(f).WAL_BYTES]?(b(),L("div",wx,[T("b",null,[At((b(),L("span",Dx,[...I[70]||(I[70]=[m("WAL",-1)])])),[[d(St),"Write-Ahead Logging"]]),I[71]||(I[71]=m(`: - `,-1))]),m(" "+ie(d(N)("WAL_RECORDS"))+` records - `,1),T("small",null,"("+ie(d(N)("WAL_BYTES"))+")",1),I[74]||(I[74]=m()),i[d(f).WAL_FPI]?(b(),L("span",Px,[I[73]||(I[73]=m(` - - - `,-1)),At((b(),L("span",Ux,[...I[72]||(I[72]=[m("FPI",-1)])])),[[d(St),"WAL Full Page Images"]]),m(`: - `+ie(d(N)("WAL_FPI")),1)])):$("",!0)])):$("",!0)],2),I[78]||(I[78]=m()),T("div",{class:ye(["tab-pane overflow-auto font-monospace",{"show active":c.value==="output"}]),innerHTML:d(N)("OUTPUT"),style:{"max-height":"200px"},onMousewheel:I[5]||(I[5]=Bt(()=>{},["stop"]))},null,42,kx),I[79]||(I[79]=m()),i[d(f).WORKERS_PLANNED]||i[d(f).WORKERS_PLANNED_BY_GATHER]?(b(),L("div",{key:0,class:ye(["tab-pane",{"show active":c.value==="workers"}])},[Te(qm,{node:i},null,8,["node"])],2)):$("",!0),I[80]||(I[80]=m()),T("div",{class:ye(["tab-pane",{"show active":c.value==="misc"}])},[Te(Qm,{node:i},null,8,["node"])],2)])],64))}}),Vx={key:5,class:"p-0 d-inline-block mb-0 ms-1 text-nowrap"},Hx=Ut({__name:"NodeBadges",props:{node:{}},setup(e){const t=Pn(e.node),r=Tt(_a),o=Tt(Ea),{rowsRemoved:i,costClass:s,durationClass:u,estimationClass:c,rowsRemovedClass:p,heapFetchesClass:_,filterTooltip:E}=eo(r,t,o);return(A,S)=>(b(),L(ze,null,[d(u)?At((b(),L("span",{key:0,class:ye("p-0 d-inline-block mb-0 ms-1 text-nowrap alert "+d(u))},[Te(d(ht),{"fixed-width":"",icon:d(Wm)},null,8,["icon"])],2)),[[d(St),"Slow"]]):$("",!0),S[0]||(S[0]=m()),d(s)?At((b(),L("span",{key:1,class:ye("p-0 d-inline-block mb-0 ms-1 text-nowrap alert "+d(s))},[Te(d(ht),{"fixed-width":"",icon:d(jm)},null,8,["icon"])],2)),[[d(St),"Cost is high"]]):$("",!0),S[1]||(S[1]=m()),d(c)?At((b(),L("span",{key:2,class:ye("p-0 d-inline-block mb-0 ms-1 text-nowrap alert "+d(c))},[Te(d(ht),{"fixed-width":"",icon:d(zb)},null,8,["icon"])],2)),[[d(St),"Bad estimation for number of rows"]]):$("",!0),S[2]||(S[2]=m()),d(p)?At((b(),L("span",{key:3,class:ye("p-0 d-inline-block mb-0 ms-1 text-nowrap alert "+d(p))},[Te(d(ht),{"fixed-width":"",icon:d(Mc)},null,8,["icon"])],2)),[[d(St),d(E)]]):$("",!0),S[3]||(S[3]=m()),d(_)?At((b(),L("span",{key:4,class:ye("p-0 d-inline-block mb-0 ms-1 text-nowrap alert "+d(_))},[Te(d(ht),{"fixed-width":"",icon:d(zm)},null,8,["icon"])],2)),[[d(St),{arrow:!0,content:"Heap Fetches number is high"}]]):$("",!0),S[4]||(S[4]=m()),d(i)&&!d(p)?At((b(),L("span",Vx,[Te(d(ht),{"fixed-width":"",icon:d(Mc),class:"text-secondary"},null,8,["icon"])])),[[d(St),d(E)]]):$("",!0)],64))}}),Wx={key:0,class:"fixed-bottom text-center"},Xx={class:"subplan-name fst-italic px-1"},Fx={key:1,class:"workers text-secondary py-0 px-1"},Gx={class:"card-body header no-focus-outline"},zx={class:"mb-0 d-flex justify-content-between"},jx={class:"text-secondary"},Kx={class:"text-nowrap"},Yx={class:"text-start font-monospace"},$x={key:0},Jx={key:1},qx=["innerHTML"],Qx=["innerHTML"],Zx=["innerHTML"],eM=["innerHTML"],tM=["innerHTML"],nM={key:6},rM={key:0},aM={class:"progress node-bar-container",style:{height:"5px"}},oM={class:"node-bar-label"},iM={class:"text-secondary"},sM=["innerHTML"],lM={key:1,class:"text-end"},jh=Ut({__name:"PlanNode",props:{node:{}},setup(e){const t=je(null),r=Tt(tl);if(!r)throw new Error(`Could not resolve ${tl.description}`);const o=Tt(gl),i=Tt(Ka);if(!i)throw new Error(`Could not resolve ${Ka.description}`);const s=Tt(Ea),u=e,c=je(!1),p=Pn(u.node),_=Tt(_a),E=Tt("updateNodeSize"),{nodeName:A,barWidth:S,barColor:g,highlightValue:N,isNeverExecuted:M,workersLaunchedCount:V,workersPlannedCount:C,workersPlannedCountReversed:J}=eo(_,p,s);Za(async()=>{P(p)});function P(ae){var W;const q=(W=t.value)==null?void 0:W.getBoundingClientRect();q&&E?.(ae,[q.width,q.height])}on("updateSize",P),en(c,()=>{window.setTimeout(()=>P(p),1)}),en(s,()=>{Fa(()=>{P(p)})}),en(r,()=>{r.value==p.nodeId&&(c.value=!0)});function w(){const ae=aN(_.value,p[f.CTE_NAME]);ae&&i?.(ae.nodeId,!0)}return(ae,W)=>(b(),L("div",{ref_key:"outerEl",ref:t,onMousedown:W[4]||(W[4]=Bt(()=>{},["stop"]))},[T("div",{class:ye(["text-start plan-node",{detailed:c.value,parallel:d(C),selected:d(r)==p.nodeId,highlight:d(o)==p.nodeId}])},[p[d(f).SUBPLAN_NAME]?(b(),L("div",Wx,[T("b",Xx,ie(p[d(f).SUBPLAN_NAME]),1)])):$("",!0),W[34]||(W[34]=m()),d(C)?(b(),L("div",Fx,[(b(!0),L(ze,null,Ft(d(J),q=>(b(),L("div",{key:q,style:jt({top:1+q*2+"px",left:1+(q+1)*3+"px"}),class:ye({"border-dashed":q>=d(V)})},ie(q),7))),128))])):$("",!0),W[35]||(W[35]=m()),T("div",{class:ye(["plan-node-body card",{"never-executed":d(M)}]),onMouseenter:W[2]||(W[2]=q=>o.value=p.nodeId),onMouseleave:W[3]||(W[3]=q=>o.value=void 0)},[T("div",Gx,[T("header",zx,[T("h4",{class:"text-body overflow-hidden btn btn-light text-start py-0 px-1",onClick:W[0]||(W[0]=Bt(q=>c.value=!c.value,["prevent","stop"]))},[T("span",jx,[c.value?(b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(kb)},null,8,["icon"])):(b(),mt(d(ht),{key:1,"fixed-width":"",icon:d(Fm)},null,8,["icon"]))]),m(" "+ie(d(A)),1)]),W[6]||(W[6]=m()),T("div",Kx,[Te(Hx,{node:p},null,8,["node"]),W[5]||(W[5]=m()),T("a",{class:"fw-normal small ms-1",href:"",onClick:W[1]||(W[1]=Bt(q=>d(i)(p.nodeId,!0),["prevent","stop"]))},` - #`+ie(p.nodeId),1)])]),W[29]||(W[29]=m()),T("div",Yx,[p[d(f).RELATION_NAME]||p[d(f).FUNCTION_NAME]?(b(),L("div",{key:0,class:ye({"line-clamp-2":!c.value})},[W[8]||(W[8]=T("span",{class:"text-secondary"},"on",-1)),W[9]||(W[9]=m()),p[d(f).SCHEMA]?(b(),L("span",$x,ie(p[d(f).SCHEMA])+".",1)):$("",!0),m(ie(p[d(f).RELATION_NAME])+" "+ie(p[d(f).FUNCTION_NAME])+" ",1),p[d(f).ALIAS]?(b(),L("span",Jx,[W[7]||(W[7]=T("span",{class:"text-secondary"},"as",-1)),m(" "+ie(p[d(f).ALIAS]),1)])):$("",!0)],2)):p[d(f).ALIAS]?(b(),L("div",{key:1,class:ye({"line-clamp-2":!c.value})},[W[10]||(W[10]=T("span",{class:"text-secondary"},"on",-1)),W[11]||(W[11]=m()),T("span",{innerHTML:d(Yr)(p[d(f).ALIAS])},null,8,qx)],2)):$("",!0),W[22]||(W[22]=m()),p[d(f).GROUP_KEY]?(b(),L("div",{key:2,class:ye({"line-clamp-2":!c.value})},[W[12]||(W[12]=T("span",{class:"text-secondary"},"by",-1)),W[13]||(W[13]=m()),T("span",{innerHTML:d(Yr)(p[d(f).GROUP_KEY])},null,8,Qx)],2)):$("",!0),W[23]||(W[23]=m()),p[d(f).SORT_KEY]?(b(),L("div",{key:3,class:ye({"line-clamp-2":!c.value})},[W[14]||(W[14]=T("span",{class:"text-secondary"},"by",-1)),W[15]||(W[15]=m()),T("span",{innerHTML:d($m)(p[d(f).SORT_KEY],p[d(f).PRESORTED_KEY])},null,8,Zx)],2)):$("",!0),W[24]||(W[24]=m()),p[d(f).INDEX_NAME]?(b(),L("div",{key:4,class:ye({"line-clamp-2":!c.value})},[W[16]||(W[16]=T("span",{class:"text-secondary"},"using",-1)),W[17]||(W[17]=m()),T("span",{innerHTML:d(Yr)(p[d(f).INDEX_NAME])},null,8,eM)],2)):$("",!0),W[25]||(W[25]=m()),p[d(f).HASH_CONDITION]?(b(),L("div",{key:5,class:ye({"line-clamp-2":!c.value})},[W[18]||(W[18]=T("span",{class:"text-secondary"},"on",-1)),W[19]||(W[19]=m()),T("span",{innerHTML:d(Yr)(p[d(f).HASH_CONDITION])},null,8,tM)],2)):$("",!0),W[26]||(W[26]=m()),p[d(f).CTE_NAME]?(b(),L("div",nM,[T("a",{class:"text-reset",href:"",onClick:Bt(w,["prevent","stop"])},[Te(d(ht),{icon:d(Kb),class:"text-secondary"},null,8,["icon"]),W[20]||(W[20]=m()),W[21]||(W[21]=T("span",{class:"text-secondary"},"CTE",-1)),m(" "+ie(p[d(f).CTE_NAME]),1)])])):$("",!0)]),W[30]||(W[30]=m()),d(s).highlightType!==d(pn).NONE&&d(N)!==null?(b(),L("div",rM,[T("div",aM,[T("div",{class:"progress-bar",role:"progressbar",style:jt({width:d(S)+"%","background-color":d(g)}),"aria-valuenow":"0","aria-valuemin":"0","aria-valuemax":"100"},null,4)]),W[28]||(W[28]=m()),T("span",oM,[T("span",iM,ie(d(s).highlightType)+":",1),W[27]||(W[27]=m()),T("span",{innerHTML:d(N)},null,8,sM)])])):$("",!0)]),W[32]||(W[32]=m()),c.value?(b(),mt(Bx,{key:0,node:p},null,8,["node"])):$("",!0),W[33]||(W[33]=m()),d(M)?(b(),L("div",lM,[...W[31]||(W[31]=[T("span",{class:"text-secondary bg-white px-1"}," Never executed ",-1)])])):$("",!0)],34)],2)],544))}}),uM={key:0,class:"plan-stats flex-shrink-0 d-flex border-bottom border-top align-items-center"},cM={class:"d-inline-block px-2"},fM={key:0,class:"text-secondary"},dM=["innerHTML"],pM={class:"d-inline-block border-start px-2"},hM={key:0,class:"text-secondary"},EM={key:1,class:"stat-value"},_M=["innerHTML"],mM={key:0,class:"d-inline-block border-start px-2 position-relative"},gM={class:"stat-value"},vM=["innerHTML"],TM={key:0,class:"stat-dropdown-container text-start"},AM={key:1,class:"d-inline-block border-start px-2 position-relative"},SM={class:"stat-value"},yM=["innerHTML"],RM={key:0,class:"stat-dropdown-container text-start"},OM={class:"float-end"},IM=["innerHTML"],bM={key:0,class:"text-secondary"},NM={key:1,class:"my-2"},LM={key:2,class:"d-inline-block border-start px-2 position-relative"},CM={class:"stat-label"},xM={class:"badge bg-secondary"},MM={key:0,class:"stat-dropdown-container text-start"},wM={class:"table table-sm table-striped mb-0"},DM={key:3,class:"d-inline-block border-start px-2 position-relative"},PM={class:"stat-label"},UM=["innerHTML"],kM={key:1,class:"stat-dropdown-container text-start"},Kh=Ut({__name:"PlanStats",props:{planStats:{},rootNode:{},jitDetails:{}},setup(e){const t=new Xo().getHelpMessage,r=je(!1),o=je(!1),i=je(!1),s=je(!1),u=S=>{let g=NaN;return S>90?g=4:S>40?g=3:S>10&&(g=2),g?"c-"+g:!1},c=ge(()=>{const S=e.planStats.executionTime||0,g=_.value||0;return B.round(g/S*100)});function p(S){const g=e.planStats.executionTime||0,N=S.Time;return B.round(N/g*100)}const _=ge(()=>B.sumBy(e.planStats.triggers,S=>S.Time));function E(S){const g=S[f.AVERAGE_SUM_IO_READ_SPEED],N=S[f.AVERAGE_SUM_IO_WRITE_SPEED],M=[];return g&&M.push(`read=~${Ii(f.AVERAGE_SUM_IO_READ_SPEED,g)}`),N&&M.push(`write=~${Ii(f.AVERAGE_SUM_IO_WRITE_SPEED,N)}`),M.join(", ")}function A(S){var g;return(g=S.Plans)==null?void 0:g.some(function N(M){return M[f.WORKERS_PLANNED]||M[f.WORKERS_PLANNED_BY_GATHER]?!0:Array.isArray(M.Plans)&&M.Plans.some(N)})}return(S,g)=>e.planStats?(b(),L("div",uM,[T("div",cM,[g[8]||(g[8]=m(` - Execution time: - `,-1)),e.planStats.executionTime?(b(),L("span",{key:1,class:"stat-value",innerHTML:d(xn)(e.planStats.executionTime)},null,8,dM)):(b(),L("span",fM,[g[7]||(g[7]=m(` - N/A - `,-1)),At(Te(d(ht),{icon:d(za),class:"cursor-help"},null,8,["icon"]),[[d(St),d(t)("missing execution time")]])]))]),g[46]||(g[46]=m()),T("div",pM,[g[10]||(g[10]=m(` - Planning time: - `,-1)),e.planStats.planningTime?(b(),L("span",EM,[T("span",{class:ye("mb-0 p-0 px-1 alert "+u(e.planStats.planningTime/e.planStats.executionTime*100)),innerHTML:d(xn)(e.planStats.planningTime)},null,10,_M)])):(b(),L("span",hM,[g[9]||(g[9]=m(` - N/A - `,-1)),At(Te(d(ht),{icon:d(za),class:"cursor-help"},null,8,["icon"]),[[d(St),d(t)("missing planning time")]])]))]),g[47]||(g[47]=m()),e.planStats.jitTime&&e.planStats.executionTime?(b(),L("div",mM,[g[13]||(g[13]=m(` - JIT: - `,-1)),T("span",gM,[T("span",{class:ye("mb-0 p-0 px-1 alert "+u(e.planStats.jitTime/e.planStats.executionTime*100)),innerHTML:d(xn)(e.planStats.jitTime)},null,10,vM),g[11]||(g[11]=m()),T("button",{onClick:g[0]||(g[0]=Bt(N=>i.value=!i.value,["prevent"])),class:"bg-transparent border-0 p-0 m-0 ps-1"},[Te(d(ht),{icon:d(Ds),class:"text-secondary"},null,8,["icon"])]),g[12]||(g[12]=m()),i.value?(b(),L("div",TM,[T("div",null,[e.jitDetails?(b(),mt(Ym,{key:0,jit:e.jitDetails},null,8,["jit"])):$("",!0)])])):$("",!0)])])):$("",!0),g[48]||(g[48]=m()),e.planStats.triggers&&e.planStats.triggers.length?(b(),L("div",AM,[g[28]||(g[28]=T("span",{class:"stat-label"},"Triggers: ",-1)),g[29]||(g[29]=m()),T("span",SM,[T("span",{class:ye("mb-0 p-0 px-1 alert "+d(Uc)(c.value)),innerHTML:d(xn)(_.value)},null,10,yM)]),g[30]||(g[30]=m()),T("button",{onClick:g[1]||(g[1]=Bt(N=>o.value=!o.value,["prevent"])),class:"bg-transparent border-0 p-0 m-0 ps-1"},[Te(d(ht),{icon:d(Ds),class:"text-secondary"},null,8,["icon"])]),g[31]||(g[31]=m()),o.value?(b(),L("div",RM,[T("button",{class:"btn btn-xs btn-close float-end",onClick:g[2]||(g[2]=N=>o.value=!1)}),g[25]||(g[25]=m()),g[26]||(g[26]=T("h3",null,"Triggers",-1)),g[27]||(g[27]=m()),(b(!0),L(ze,null,Ft(e.planStats.triggers,(N,M)=>(b(),L("div",{key:M},[m(ie(N["Trigger Name"])+" ",1),g[15]||(g[15]=T("br",null,null,-1)),g[16]||(g[16]=m()),g[17]||(g[17]=T("span",{class:"text-secondary"},"Called",-1)),m(" "+ie(N.Calls),1),g[18]||(g[18]=T("span",{class:"text-secondary"},"×",-1)),g[19]||(g[19]=m()),T("span",OM,[T("span",{class:ye("p-0 px-1 alert "+d(Uc)(p(N))),innerHTML:d(xn)(N.Time)},null,10,IM),m(` - | `+ie(p(N)),1),g[14]||(g[14]=T("span",{class:"text-secondary"},"%",-1))]),g[20]||(g[20]=m()),g[21]||(g[21]=T("br",null,null,-1)),g[22]||(g[22]=m()),N.Relation?(b(),L("span",bM,"on")):$("",!0),m(" "+ie(N.Relation)+" ",1),g[23]||(g[23]=T("div",{class:"clearfix"},null,-1)),g[24]||(g[24]=m()),e.planStats.triggers&&M!=e.planStats.triggers.length-1?(b(),L("hr",NM)):$("",!0)]))),128))])):$("",!0)])):$("",!0),g[49]||(g[49]=m()),e.planStats.settings?(b(),L("div",LM,[T("span",CM,[g[32]||(g[32]=m(`Settings: - `,-1)),T("span",xM,ie(d(B).keys(e.planStats.settings).length),1)]),g[39]||(g[39]=m()),T("button",{onClick:g[3]||(g[3]=Bt(N=>r.value=!r.value,["prevent"])),class:"bg-transparent border-0 p-0 m-0 ps-1"},[Te(d(ht),{icon:d(Ds),class:"text-secondary"},null,8,["icon"])]),g[40]||(g[40]=m()),r.value?(b(),L("div",MM,[T("button",{class:"btn btn-xs btn-close float-end",onClick:g[4]||(g[4]=N=>r.value=!1)}),g[34]||(g[34]=m()),g[35]||(g[35]=T("h3",null,"PG Settings",-1)),g[36]||(g[36]=m()),g[37]||(g[37]=T("em",{class:"text-secondary d-block pb-2"},` - Configuration parameters affecting query planning with value different - from the built-in default value. - `,-1)),g[38]||(g[38]=m()),T("table",wM,[T("tbody",null,[(b(!0),L(ze,null,Ft(e.planStats.settings,(N,M)=>(b(),L("tr",{key:M},[T("td",null,ie(M),1),g[33]||(g[33]=m()),T("td",null,ie(N),1)]))),128))])])])):$("",!0)])):$("",!0),g[50]||(g[50]=m()),E(e.rootNode)?(b(),L("div",DM,[T("span",PM,[g[41]||(g[41]=m(` - IO: `,-1)),T("span",{innerHTML:E(e.rootNode)},null,8,UM)]),g[43]||(g[43]=m()),A(e.rootNode)?At((b(),mt(d(ht),{key:0,icon:d(za),class:"cursor-help d-inline-block text-secondary"},null,8,["icon"])),[[d(St),{content:d(t)("io timings parallel")}]]):$("",!0),g[44]||(g[44]=m()),T("button",{onClick:g[5]||(g[5]=Bt(N=>s.value=!s.value,["prevent"])),class:"bg-transparent border-0 p-0 m-0 ps-1"},[Te(d(ht),{icon:d(Ds),class:"text-secondary"},null,8,["icon"])]),g[45]||(g[45]=m()),s.value?(b(),L("div",kM,[T("button",{class:"btn btn-xs btn-close float-end",onClick:g[6]||(g[6]=N=>s.value=!1)}),g[42]||(g[42]=m()),Te(bi,{node:e.rootNode,class:"mb-0"},null,8,["node"])])):$("",!0)])):$("",!0)])):$("",!0)}}),BM={class:"table"},Us=Ut({__name:"SortedTable",props:{values:{},sort:{},dir:{}},setup(e){const t=e,r=je(t.sort),o=je(t.dir);on("sort",r),on("dir",o),on("sortBy",s);const i=ge(()=>B.orderBy(t.values,r.value,o.value));function s(u){u===r.value&&(o.value=o.value===Cr.asc?Cr.desc:Cr.asc),r.value=u}return(u,c)=>(b(),L("table",BM,[Oo(u.$slots,"default"),c[0]||(c[0]=m()),Oo(u.$slots,"head"),c[1]||(c[1]=m()),Oo(u.$slots,"body",{values:i.value}),c[2]||(c[2]=m()),Oo(u.$slots,"foot")]))}}),ar=Ut({__name:"SortLink",props:{name:{}},setup(e){const t=Tt("dir"),r=Tt("sort"),o=Tt("sortBy");return(i,s)=>(b(),L("a",{href:"#",onClick:s[0]||(s[0]=Bt(u=>d(o)&&d(o)(e.name),["prevent"]))},[Oo(i.$slots,"default",{},()=>[m(ie(e.name),1)]),s[1]||(s[1]=m()),d(r)==e.name&&d(t)==d(Cr).asc?(b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(Gb)},null,8,["icon"])):d(r)==e.name&&d(t)==d(Cr).desc?(b(),mt(d(ht),{key:1,"fixed-width":"",icon:d(Hb)},null,8,["icon"])):$("",!0)]))}}),VM={class:"thead-light"},HM={class:"text-end"},WM={class:"text-end"},XM={class:"text-end"},FM={class:"ps-3"},GM=["href"],zM={class:"text-end"},jM={class:"px-1"},KM={class:"text-end"},ks=Ut({__name:"StatsTableItem",props:{value:{},executionTime:{}},setup(e){const t=e,r=je(!1);function o(i){return i[f.EXCLUSIVE_DURATION]/t.executionTime}return(i,s)=>(b(),L(ze,null,[T("thead",VM,[T("tr",{onClick:s[0]||(s[0]=Bt(u=>r.value=!r.value,["prevent"])),role:"button"},[T("th",null,[r.value?(b(),mt(d(ht),{key:0,"fixed-width":"",icon:d(Fm)},null,8,["icon"])):(b(),mt(d(ht),{key:1,"fixed-width":"",icon:d(Yb)},null,8,["icon"])),m(" "+ie(t.value.name),1)]),s[1]||(s[1]=m()),T("th",HM,ie(t.value.count),1),s[2]||(s[2]=m()),T("th",WM,[T("span",{class:ye(["alert p-0 px-1",d(Uc)(t.value.timePercent*100)])},ie(d(xn)(t.value.time)),3)]),s[3]||(s[3]=m()),T("th",XM,ie(d(Gh)(t.value.timePercent)),1)])]),s[8]||(s[8]=m()),T("tbody",{class:ye(r.value?"":"d-none")},[(b(!0),L(ze,null,Ft(d(B).reverse(d(B).sortBy(t.value.nodes,d(f).EXCLUSIVE_DURATION)),u=>(b(),L("tr",{key:u.nodeId,style:{"font-size":"smaller"}},[T("td",FM,[T("a",{href:`#plan/node/${u.nodeId}`,class:"me-1"},"#"+ie(u.nodeId),9,GM),m(" "+ie(u[d(f).NODE_TYPE]),1)]),s[4]||(s[4]=m()),s[5]||(s[5]=T("td",{class:"text-end"},null,-1)),s[6]||(s[6]=m()),T("td",zM,[T("span",jM,ie(d(xn)(u[d(f).EXCLUSIVE_DURATION])),1)]),s[7]||(s[7]=m()),T("td",KM,ie(d(Gh)(o(u))),1)]))),128))],2)],64))}}),YM={class:"small stats container-fluid mt-2"},$M={class:"row row-cols-1 row-cols-lg-2 row-cols-xxl-3 g-4"},JM={class:"col"},qM={class:"card"},QM={class:"card-body"},ZM={class:"table-secondary"},ew={scope:"col"},tw={scope:"col",class:"text-end"},nw={scope:"col",colspan:"2",class:"text-end"},rw={key:0},aw={class:"col"},ow={class:"card"},iw={class:"card-body"},sw={class:"table-secondary"},lw={scope:"col"},uw={scope:"col",class:"text-end"},cw={scope:"col",colspan:"2",class:"text-end"},fw={key:0},dw={class:"col"},pw={class:"card"},hw={class:"card-body"},Ew={class:"table-secondary"},_w={scope:"col"},mw={scope:"col",class:"text-end"},gw={scope:"col",colspan:"2",class:"text-end"},vw={class:"col"},Tw={class:"card"},Aw={class:"card-body"},Sw={class:"table-secondary"},yw={scope:"col"},Rw={scope:"col",class:"text-end"},Ow={scope:"col",colspan:"2",class:"text-end"},Iw={key:0},bw=Ut({__name:"Stats",props:{ctes:{},planStats:{},rootNode:{}},setup(e){const t=[],r=je(0);Qa(()=>{var _;r.value=e.planStats.executionTime||((_=e.rootNode)==null?void 0:_[f.ACTUAL_TOTAL_TIME]),e.rootNode&&(o(t,e.rootNode),B.each(e.ctes,E=>{o(t,E)}))});function o(_,E){_.push(E),B.each(E.Plans,A=>{o(_,A)})}function i(_){return B.sumBy(_,f.EXCLUSIVE_DURATION)/r.value}const s=ge(()=>{const _=B.groupBy(B.filter(t,A=>A[f.RELATION_NAME]!==void 0),f.RELATION_NAME),E=[];return B.each(_,(A,S)=>{E.push({name:S,count:A.length,time:B.sumBy(A,f.EXCLUSIVE_DURATION),timePercent:i(A),nodes:A})}),E}),u=ge(()=>{const _=B.groupBy(B.filter(t,A=>A[f.FUNCTION_NAME]!==void 0),f.FUNCTION_NAME),E=[];return B.each(_,(A,S)=>{E.push({name:S,count:A.length,time:B.sumBy(A,f.EXCLUSIVE_DURATION),timePercent:i(A),nodes:A})}),E}),c=ge(()=>{const _=B.groupBy(t,f.NODE_TYPE),E=[];return B.each(_,(A,S)=>{E.push({name:S,count:A.length,time:B.sumBy(A,f.EXCLUSIVE_DURATION),timePercent:i(A),nodes:A})}),E}),p=ge(()=>{const _=B.groupBy(B.filter(t,A=>A[f.INDEX_NAME]!==void 0),f.INDEX_NAME),E=[];return B.each(_,(A,S)=>{E.push({name:S,count:A.length,time:B.sumBy(A,f.EXCLUSIVE_DURATION),timePercent:i(A),nodes:A})}),E});return(_,E)=>(b(),L("div",YM,[T("div",$M,[T("div",JM,[T("div",qM,[T("div",QM,[Te(Us,{class:"table table-sm mb-0",values:s.value,sort:"time",dir:d(Cr).desc},{body:yt(A=>[(b(!0),L(ze,null,Ft(A.values,S=>(b(),mt(ks,{key:S,value:S,executionTime:r.value},null,8,["value","executionTime"]))),128))]),default:yt(()=>[T("thead",ZM,[T("tr",null,[T("th",ew,[Te(ar,{name:"name"},{default:yt(()=>[...E[0]||(E[0]=[m("Table",-1)])]),_:1})]),E[3]||(E[3]=m()),T("th",tw,[Te(ar,{name:"count"},{default:yt(()=>[...E[1]||(E[1]=[m("Count",-1)])]),_:1})]),E[4]||(E[4]=m()),T("th",nw,[Te(ar,{name:"time"},{default:yt(()=>[...E[2]||(E[2]=[m("Time",-1)])]),_:1})])])]),E[6]||(E[6]=m()),E[7]||(E[7]=m()),s.value.length?$("",!0):(b(),L("tbody",rw,[...E[5]||(E[5]=[T("tr",null,[T("td",{colspan:"3",class:"text-center fst-italic"},` - No tables used - `)],-1)])]))]),_:1},8,["values","dir"])])])]),E[30]||(E[30]=m()),T("div",aw,[T("div",ow,[T("div",iw,[Te(Us,{class:"table table-sm mb-0",values:u.value,sort:"time",dir:d(Cr).desc},{body:yt(A=>[(b(!0),L(ze,null,Ft(A.values,S=>(b(),mt(ks,{key:S,value:S,executionTime:r.value},null,8,["value","executionTime"]))),128))]),default:yt(()=>[T("thead",sw,[T("tr",null,[T("th",lw,[Te(ar,{name:"name"},{default:yt(()=>[...E[8]||(E[8]=[m("Function",-1)])]),_:1})]),E[11]||(E[11]=m()),T("th",uw,[Te(ar,{name:"count"},{default:yt(()=>[...E[9]||(E[9]=[m("Count",-1)])]),_:1})]),E[12]||(E[12]=m()),T("th",cw,[Te(ar,{name:"time"},{default:yt(()=>[...E[10]||(E[10]=[m("Time",-1)])]),_:1})])])]),E[14]||(E[14]=m()),E[15]||(E[15]=m()),u.value.length?$("",!0):(b(),L("tbody",fw,[...E[13]||(E[13]=[T("tr",null,[T("td",{colspan:"3",class:"text-center fst-italic"},` - No function used - `)],-1)])]))]),_:1},8,["values","dir"])])])]),E[31]||(E[31]=m()),T("div",dw,[T("div",pw,[T("div",hw,[Te(Us,{class:"table table-sm mb-0",values:c.value,sort:"time",dir:d(Cr).desc},{body:yt(A=>[(b(!0),L(ze,null,Ft(A.values,S=>(b(),mt(ks,{key:S,value:S,executionTime:r.value},null,8,["value","executionTime"]))),128))]),default:yt(()=>[T("thead",Ew,[T("tr",null,[T("th",_w,[Te(ar,{name:"name"},{default:yt(()=>[...E[16]||(E[16]=[m("Node Type",-1)])]),_:1})]),E[19]||(E[19]=m()),T("th",mw,[Te(ar,{name:"count"},{default:yt(()=>[...E[17]||(E[17]=[m("Count",-1)])]),_:1})]),E[20]||(E[20]=m()),T("th",gw,[Te(ar,{name:"time"},{default:yt(()=>[...E[18]||(E[18]=[m("Time",-1)])]),_:1})])])]),E[21]||(E[21]=m())]),_:1},8,["values","dir"])])])]),E[32]||(E[32]=m()),T("div",vw,[T("div",Tw,[T("div",Aw,[Te(Us,{class:"table table-sm mb-0",values:p.value,sort:"time",dir:d(Cr).desc},{body:yt(A=>[(b(!0),L(ze,null,Ft(A.values,S=>(b(),mt(ks,{key:S,value:S,executionTime:r.value},null,8,["value","executionTime"]))),128))]),default:yt(()=>[T("thead",Sw,[T("tr",null,[T("th",yw,[Te(ar,{name:"name"},{default:yt(()=>[...E[22]||(E[22]=[m("Index",-1)])]),_:1})]),E[25]||(E[25]=m()),T("th",Rw,[Te(ar,{name:"count"},{default:yt(()=>[...E[23]||(E[23]=[m("Count",-1)])]),_:1})]),E[26]||(E[26]=m()),T("th",Ow,[Te(ar,{name:"time"},{default:yt(()=>[...E[24]||(E[24]=[m("Time",-1)])]),_:1})])])]),E[28]||(E[28]=m()),E[29]||(E[29]=m()),p.value.length?$("",!0):(b(),L("tbody",Iw,[...E[27]||(E[27]=[T("tr",null,[T("td",{colspan:"3",class:"text-center fst-italic"},` - No index used - `)],-1)])]))]),_:1},8,["values","dir"])])])])])]))}});var Yh,$h,Jh,qh,Qh,Zh,eE,tE,nE,rE,aE,oE,iE,sE,lE,uE,cE,fE,dE,pE,hE,EE,_E,mE,gE,vE,TE,AE,SE,yE,RE,OE,IE,bE,NE,LE,CE,xE,ME,wE,DE,PE,UE,kE,BE,VE,HE,WE,XE,FE,GE,zE,jE,KE,YE,$E,JE,qE,QE,ZE,e_,t_,n_,r_,a_,o_,i_,s_;let Nw=(s_=f.ACTUAL_LOOPS,i_=f.ACTUAL_ROWS,o_=f.ACTUAL_ROWS_REVISED,a_=f.ACTUAL_STARTUP_TIME,r_=f.ACTUAL_TOTAL_TIME,n_=f.EXCLUSIVE_COST,t_=f.EXCLUSIVE_DURATION,e_=f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS,ZE=f.EXCLUSIVE_LOCAL_HIT_BLOCKS,QE=f.EXCLUSIVE_LOCAL_READ_BLOCKS,qE=f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS,JE=f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS,$E=f.EXCLUSIVE_SHARED_HIT_BLOCKS,YE=f.EXCLUSIVE_SHARED_READ_BLOCKS,KE=f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS,jE=f.EXCLUSIVE_READ_BLOCKS,zE=f.EXCLUSIVE_WRITTEN_BLOCKS,GE=f.EXCLUSIVE_TEMP_READ_BLOCKS,FE=f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS,XE=f.FILTER,WE=f.PLANNER_ESTIMATE_DIRECTION,HE=f.PLANNER_ESTIMATE_FACTOR,VE=f.INDEX_NAME,BE=f.NODE_TYPE,kE=f.PARALLEL_AWARE,UE=f.PLANS,PE=f.PLAN_ROWS,DE=f.PLAN_ROWS_REVISED,wE=f.SUBPLAN_NAME,ME=f.TOTAL_COST,xE=f.WORKERS,CE=f.WORKERS_LAUNCHED,LE=f.WORKERS_PLANNED,NE=f.WORKERS_PLANNED_BY_GATHER,bE=f.EXCLUSIVE_IO_READ_TIME,IE=f.EXCLUSIVE_IO_WRITE_TIME,OE=f.EXCLUSIVE_SHARED_IO_READ_TIME,RE=f.EXCLUSIVE_SHARED_IO_WRITE_TIME,yE=f.EXCLUSIVE_LOCAL_IO_READ_TIME,SE=f.EXCLUSIVE_LOCAL_IO_WRITE_TIME,AE=f.EXCLUSIVE_TEMP_IO_READ_TIME,TE=f.EXCLUSIVE_TEMP_IO_WRITE_TIME,vE=f.EXCLUSIVE_SUM_IO_READ_TIME,gE=f.EXCLUSIVE_SUM_IO_WRITE_TIME,mE=f.AVERAGE_IO_READ_SPEED,_E=f.AVERAGE_IO_WRITE_SPEED,EE=f.AVERAGE_SHARED_IO_READ_SPEED,hE=f.AVERAGE_SHARED_IO_WRITE_SPEED,pE=f.AVERAGE_LOCAL_IO_READ_SPEED,dE=f.AVERAGE_LOCAL_IO_WRITE_SPEED,fE=f.AVERAGE_TEMP_IO_READ_SPEED,cE=f.AVERAGE_TEMP_IO_WRITE_SPEED,uE=f.AVERAGE_SUM_IO_READ_SPEED,lE=f.AVERAGE_SUM_IO_WRITE_SPEED,sE=f.EXCLUSIVE_AVERAGE_SUM_IO_READ_SPEED,iE=f.EXCLUSIVE_AVERAGE_SUM_IO_WRITE_SPEED,oE=f.IO_READ_TIME,aE=f.IO_WRITE_TIME,rE=f.SHARED_IO_READ_TIME,nE=f.SHARED_IO_WRITE_TIME,tE=f.LOCAL_IO_READ_TIME,eE=f.LOCAL_IO_WRITE_TIME,Zh=f.TEMP_IO_READ_TIME,Qh=f.TEMP_IO_WRITE_TIME,qh=f.SUM_IO_READ_TIME,Jh=f.SUM_IO_WRITE_TIME,$h=f.PARTIAL_MODE,Yh=f.SCAN_DIRECTION,class{constructor(e){if(Oe(this,"nodeId"),Oe(this,"size"),Oe(this,"Options"),Oe(this,"Timing"),Oe(this,"Settings"),Oe(this,s_),Oe(this,i_),Oe(this,o_),Oe(this,a_),Oe(this,r_),Oe(this,n_),Oe(this,t_),Oe(this,e_),Oe(this,ZE),Oe(this,QE),Oe(this,qE),Oe(this,JE),Oe(this,$E),Oe(this,YE),Oe(this,KE),Oe(this,jE),Oe(this,zE),Oe(this,GE),Oe(this,FE),Oe(this,XE),Oe(this,WE),Oe(this,HE),Oe(this,VE),Oe(this,BE),Oe(this,kE),Oe(this,UE),Oe(this,PE),Oe(this,DE),Oe(this,wE),Oe(this,ME),Oe(this,xE),Oe(this,CE),Oe(this,LE),Oe(this,NE),Oe(this,bE),Oe(this,IE),Oe(this,OE),Oe(this,RE),Oe(this,yE),Oe(this,SE),Oe(this,AE),Oe(this,TE),Oe(this,vE),Oe(this,gE),Oe(this,mE),Oe(this,_E),Oe(this,EE),Oe(this,hE),Oe(this,pE),Oe(this,dE),Oe(this,fE),Oe(this,cE),Oe(this,uE),Oe(this,lE),Oe(this,sE),Oe(this,iE),Oe(this,oE),Oe(this,aE),Oe(this,rE),Oe(this,nE),Oe(this,tE),Oe(this,eE),Oe(this,Zh),Oe(this,Qh),Oe(this,qh),Oe(this,Jh),Oe(this,$h),Oe(this,Yh),!e)return;this[f.NODE_TYPE]=e;let t;(P=>{P[P.NodeType=1]="NodeType",P[P.RelationName=2]="RelationName",P[P.Alias=3]="Alias"})(t||(t={}));const r=/^((?:Parallel\s+)?(?:Seq|Tid.*|Bitmap\s+Heap|WorkTable|(?:Async\s+)?Foreign)\s+Scan|Update|Insert|Delete|Merge)\son\s(\S+)(?:\s+(\S+))?$/.exec(e);let o;(P=>{P[P.NodeType=1]="NodeType",P[P.IndexName=2]="IndexName"})(o||(o={}));const i=/^(Bitmap\s+Index\s+Scan)\son\s(\S+)$/.exec(e);let s;(P=>{P[P.NodeType=1]="NodeType",P[P.ScanDirection=2]="ScanDirection",P[P.IndexName=3]="IndexName",P[P.RelationName=4]="RelationName",P[P.Alias=5]="Alias"})(s||(s={}));const u=/^((?:Parallel\s+)?Index(?:\sOnly)?\sScan)(\sBackward)?\susing\s(\S+)\son\s(\S+)(?:\s+(\S+))?$/.exec(e);let c;(P=>{P[P.NodeType=1]="NodeType",P[P.CteName=2]="CteName",P[P.Alias=3]="Alias"})(c||(c={}));const p=/^(CTE\sScan)\son\s(\S+)(?:\s+(\S+))?$/.exec(e);let _;(P=>{P[P.NodeType=1]="NodeType",P[P.FunctionName=2]="FunctionName",P[P.Alias=3]="Alias"})(_||(_={}));const E=/^(Function\sScan)\son\s(\S+)(?:\s+(\S+))?$/.exec(e);let A;(P=>{P[P.NodeType=1]="NodeType",P[P.Alias=2]="Alias"})(A||(A={}));const S=/^(Subquery\sScan)\son\s(.+)$/.exec(e);r?(this[f.NODE_TYPE]=r[1],this[f.RELATION_NAME]=r[2],r[3]&&(this[f.ALIAS]=r[3])):i?(this[f.NODE_TYPE]=i[1],this[f.INDEX_NAME]=i[2]):u?(this[f.NODE_TYPE]=u[1],this[f.INDEX_NAME]=u[3],this[f.SCAN_DIRECTION]=u[2]?"Backward":"Forward",this[f.RELATION_NAME]=u[4],u[5]&&(this[f.ALIAS]=u[5])):p?(this[f.NODE_TYPE]=p[1],this[f.CTE_NAME]=p[2],p[3]&&(this[f.ALIAS]=p[3])):E?(this[f.NODE_TYPE]=E[1],this[f.FUNCTION_NAME]=E[2],E[3]&&(this[f.ALIAS]=E[3])):S&&(this[f.NODE_TYPE]=S[1],this[f.ALIAS]=S[2]);let g;(P=>{P[P.NodeType=2]="NodeType"})(g||(g={}));const N=/^(Parallel\s+)(.*)/.exec(this[f.NODE_TYPE]);N&&(this[f.NODE_TYPE]=N[2],this[f.PARALLEL_AWARE]=!0);let M;(P=>{P[P.NodeType=1]="NodeType"})(M||(M={}));const V=/(.*)\sJoin$/.exec(this[f.NODE_TYPE]);let C;(P=>{P[P.NodeType=1]="NodeType",P[P.JoinType=2]="JoinType"})(C||(C={}));const J=/(.*)\s+(Full|Left|Right|Anti)/.exec(this[f.NODE_TYPE]);V&&(this[f.NODE_TYPE]=V[1],J&&(this[f.NODE_TYPE]=J[1],this[f.JOIN_TYPE]=J[2]),this[f.NODE_TYPE]+=" Join")}});class Lw{constructor(t){this[Pi.WORKER_NUMBER]=t}}class Cw{constructor(){Oe(this,"nodeId",0),Oe(this,"flat",[])}recurse(t){return B.map(t,r=>[r,this.recurse(r[f.PLANS])])}createPlan(t,r,o){o=o.replace(/(\S)(?!$)(\s{2,})/gm,"$1 ");const i={id:f.PEV_PLAN_TAG+new Date().getTime().toString(),name:t||"plan created on "+new Date().toDateString(),createdOn:new Date,content:r,query:o,planStats:{},ctes:[],isAnalyze:B.has(r.Plan,f.ACTUAL_ROWS),isVerbose:this.findOutputProperty(r.Plan)};return this.nodeId=1,this.processNode(r.Plan,i),this.flat=this.flat.concat(B.flattenDeep(this.recurse([i.content.Plan]))),B.each(i.ctes,s=>{this.flat=this.flat.concat(B.flattenDeep(this.recurse([s])))}),this.fixCteScansDuration(i),this.fixInitPlanUsageDuration(i),this.calculateMaximums(i),i}isCTE(t){return t[f.PARENT_RELATIONSHIP]==="InitPlan"&&B.startsWith(t[f.SUBPLAN_NAME],"CTE")}processNode(t,r){t.nodeId=this.nodeId++,this.calculatePlannerEstimate(t),B.each(t[f.PLANS],o=>{!this.isCTE(o)&&o[f.PARENT_RELATIONSHIP]!=="InitPlan"&&o[f.PARENT_RELATIONSHIP]!=="SubPlan"&&(o[f.WORKERS_PLANNED_BY_GATHER]=t[f.WORKERS_PLANNED]||t[f.WORKERS_PLANNED_BY_GATHER],o[f.WORKERS_LAUNCHED_BY_GATHER]=t[f.WORKERS_LAUNCHED]||t[f.WORKERS_LAUNCHED_BY_GATHER]),this.isCTE(o)&&r.ctes.push(o),this.processNode(o,r)}),B.remove(t[f.PLANS],o=>this.isCTE(o)),this.calculateActuals(t),this.calculateExclusives(t),this.calculateIoTimingsAverage(t),this.convertNodeType(t)}calculateMaximums(t){const r=B.maxBy(this.flat,f.ACTUAL_ROWS_REVISED);r&&(t.content.maxRows=r[f.ACTUAL_ROWS_REVISED]);const o=B.maxBy(this.flat,f.EXCLUSIVE_COST);o&&(t.content.maxCost=o[f.EXCLUSIVE_COST]);const i=B.maxBy(this.flat,f.TOTAL_COST);i&&(t.content.maxTotalCost=i[f.TOTAL_COST]);const s=B.maxBy(this.flat,f.EXCLUSIVE_DURATION);s&&(t.content.maxDuration=s[f.EXCLUSIVE_DURATION]),t.content.maxBlocks||(t.content.maxBlocks={});function u(M){return M[f.EXCLUSIVE_SHARED_HIT_BLOCKS]+M[f.EXCLUSIVE_SHARED_READ_BLOCKS]+M[f.EXCLUSIVE_SHARED_DIRTIED_BLOCKS]+M[f.EXCLUSIVE_SHARED_WRITTEN_BLOCKS]}const c=B.maxBy(this.flat,M=>u(M));c&&u(c)&&(t.content.maxBlocks[Ze.shared]=u(c));function p(M){return M[f.EXCLUSIVE_TEMP_READ_BLOCKS]+M[f.EXCLUSIVE_TEMP_WRITTEN_BLOCKS]}const _=B.maxBy(this.flat,M=>p(M));_&&p(_)&&(t.content.maxBlocks[Ze.temp]=p(_));function E(M){return M[f.EXCLUSIVE_LOCAL_HIT_BLOCKS]+M[f.EXCLUSIVE_LOCAL_READ_BLOCKS]+M[f.EXCLUSIVE_LOCAL_DIRTIED_BLOCKS]+M[f.EXCLUSIVE_LOCAL_WRITTEN_BLOCKS]}const A=B.maxBy(this.flat,M=>E(M));A&&E(A)&&(t.content.maxBlocks[Ze.local]=E(A)),t.content.maxIo||(t.content.maxIo=0);function S(M){return M[f.EXCLUSIVE_SUM_IO_READ_TIME]+M[f.EXCLUSIVE_SUM_IO_WRITE_TIME]}const g=B.maxBy(this.flat,M=>S(M));g&&S(g)&&(t.content.maxIo=S(g));const N=B.max(B.map(this.flat,M=>{const V=M[f.PLANNER_ESTIMATE_FACTOR];if(V!==1/0)return V}));t.content.maxEstimateFactor=N*2||1}calculateActuals(t){if(!B.isUndefined(t[f.ACTUAL_TOTAL_TIME])){const r=(t[f.WORKERS_PLANNED_BY_GATHER]||0)+1;t[f.ACTUAL_TOTAL_TIME]=t[f.ACTUAL_TOTAL_TIME]*t[f.ACTUAL_LOOPS]/r,t[f.ACTUAL_STARTUP_TIME]=t[f.ACTUAL_STARTUP_TIME]*t[f.ACTUAL_LOOPS]/r,t[f.EXCLUSIVE_DURATION]=t[f.ACTUAL_TOTAL_TIME];const o=t[f.EXCLUSIVE_DURATION]-this.childrenDuration(t,0);t[f.EXCLUSIVE_DURATION]=o>0?o:0}B.isUndefined(t[f.TOTAL_COST])||(t[f.EXCLUSIVE_COST]=t[f.TOTAL_COST]),B.each(t[f.PLANS],r=>{r[f.TOTAL_COST]&&(t[f.EXCLUSIVE_COST]=t[f.EXCLUSIVE_COST]-r[f.TOTAL_COST])}),t[f.EXCLUSIVE_COST]<0&&(t[f.EXCLUSIVE_COST]=0),B.each(["ACTUAL_ROWS","PLAN_ROWS","ROWS_REMOVED_BY_FILTER","ROWS_REMOVED_BY_JOIN_FILTER","ROWS_REMOVED_BY_INDEX_RECHECK"],r=>{if(!B.isUndefined(t[f[r]])){const o=r+"_REVISED",i=t[f.ACTUAL_LOOPS]||1,s=t[f[r]]*i;t[f[o]]=s}})}fixCteScansDuration(t){t.isAnalyze&&B.each(t.ctes,r=>{const o=r[f.ACTUAL_TOTAL_TIME]||0,i=B.filter(this.flat,u=>`CTE ${u[f.CTE_NAME]}`==r[f.SUBPLAN_NAME]),s=B.sumBy(i,u=>u[f.EXCLUSIVE_DURATION]);B.each(i,u=>{u[f.EXCLUSIVE_DURATION]=Math.max(0,u[f.EXCLUSIVE_DURATION]-o*(u[f.ACTUAL_TOTAL_TIME]||0)/s)})})}fixInitPlanUsageDuration(t){if(!t.isAnalyze)return;const r=B.filter(this.flat,o=>o[f.PARENT_RELATIONSHIP]=="InitPlan");B.each(r,o=>{if(!o[f.SUBPLAN_NAME])return;const i=/(InitPlan\s+[1-9]+)(?:\s+\(returns (\$[0-9]+)\))*/m.exec(o[f.SUBPLAN_NAME]);if(!i)return;const s=i[2]||i[1];B.each(B.filter(this.flat,u=>u[f.PARENT_RELATIONSHIP]!="InitPlan"),u=>{B.each(u,c=>{if(typeof c=="string"&&new RegExp(`.*${s.replace(/[^a-zA-Z0-9]/g,"\\$&")}[0-9]?`).exec(c))return u[f.EXCLUSIVE_DURATION]-=o[f.ACTUAL_TOTAL_TIME]||0,!1})})})}childrenDuration(t,r){return B.each(t[f.PLANS],o=>{(o[f.PARENT_RELATIONSHIP]!=="InitPlan"||o[f.PARENT_RELATIONSHIP]=="InitPlan"&&t[f.NODE_TYPE]=="Result")&&(r+=o[f.ACTUAL_TOTAL_TIME]||0)}),r}calculatePlannerEstimate(t){t[f.ACTUAL_ROWS]!==void 0&&t[f.PLAN_ROWS]!==void 0&&(t[f.PLANNER_ESTIMATE_FACTOR]=t[f.ACTUAL_ROWS]/t[f.PLAN_ROWS],t[f.PLANNER_ESTIMATE_DIRECTION]=sn.none,t[f.ACTUAL_ROWS]>t[f.PLAN_ROWS]&&(t[f.PLANNER_ESTIMATE_DIRECTION]=sn.under),t[f.ACTUAL_ROWS]{const E=/^(\s*)(\[|\{)\s*$/.exec(p);if(E)return o=E[1],i=_,!1});let s=0;B.each(r,(p,_)=>{if(new RegExp("^"+o+"(]|})s*$").exec(p))return s=_,!1});const u=r.slice(i,s+1).join(` -`).replace(/""/gm,'"'),c=JSON.parse(u);return this.getPlanContent(c)}getPlanContent(t){if(Array.isArray(t)&&(t=t[0]),!t.Plan)throw new Error("Invalid plan");return t}splitIntoLines(t){const r=[],o=t.split(/\r?\n/),i=(c,p)=>(c.match(p)||[]).length,s=c=>{const p=c.indexOf(")"),_=c.indexOf("(");return p!=-1&&p<_},u=(c,p)=>c.search(/\S/)==p.search(/\S/);return B.each(o,c=>{const p=r[r.length-1];p&&i(p,/\)/g)!=i(p,/\(/g)?r[r.length-1]+=c:c.match(/^(?:Total\s+runtime|Planning(\s+time)?|Execution\s+time|Time|Filter|Output|JIT|Trigger)/i)?r.push(c):c.match(/^\S/)||c.match(/^\s*\(/)||s(c)?0/i)?r[r.length-1]+=c:r.push(c)}),r}fromText(t){const r=this.splitIntoLines(t),o={},i=[],s=/^\s*/,u=/^s*$/,c=/^\\s*(QUERY|---|#).*$/,p="^(\\s*->\\s*|\\s*)",_="(Finalize|Simple|Partial)*",E="([^\\r\\n\\t\\f\\v\\:\\(]*?)",A="\\(cost=(\\d+\\.\\d+)\\.\\.(\\d+\\.\\d+)\\s+rows=(\\d+)\\s+width=(\\d+)\\)",S="(?:",g=")",N="\\(",M="\\)",V="(?:actual(?:\\stime=(\\d+\\.\\d+)\\.\\.(\\d+\\.\\d+))?\\srows=(\\d+(?:\\.\\d+)?)\\sloops=(\\d+)|(never\\s+executed))",C="?",J=/^(\s*)((?:Sub|Init)Plan)\s*(?:\d+\s*)?\s*(?:\(returns.*\)\s*)?$/gm,P=/^(\s*)CTE\s+(\S+)\s*$/g;let w;(I=>{I[I.Name=2]="Name",I[I.Time=3]="Time",I[I.Calls=4]="Calls"})(w||(w={}));const ae=/^(\s*)Trigger\s+(.*):\s+time=(\d+\.\d+)\s+calls=(\d+)\s*$/;let W;(I=>{I[I.Number=2]="Number",I[I.ActualTimeFirst=3]="ActualTimeFirst",I[I.ActualTimeLast=4]="ActualTimeLast",I[I.ActualRows=5]="ActualRows",I[I.ActualLoops=6]="ActualLoops",I[I.NeverExecuted=7]="NeverExecuted",I[I.Extra=8]="Extra"})(W||(W={}));const q=new RegExp("^(\\s*)Worker\\s+(\\d+):\\s+"+S+V+g+C+"(.*)\\s*$"),he=/^(\s*)JIT:\s*$/,Ue=/^(\s*)(\S.*\S)\s*$/;let Ve;(I=>{I[I.Prefix=1]="Prefix",I[I.PartialMode=2]="PartialMode",I[I.Type=3]="Type",I[I.EstimatedStartupCost1=4]="EstimatedStartupCost1",I[I.EstimatedTotalCost1=5]="EstimatedTotalCost1",I[I.EstimatedRows=6]="EstimatedRows",I[I.EstimatedRowWidth=7]="EstimatedRowWidth",I[I.ActualTimeFirst1=8]="ActualTimeFirst1",I[I.ActualTimeLast1=9]="ActualTimeLast1",I[I.ActualRows1=10]="ActualRows1",I[I.ActualLoops1=11]="ActualLoops1",I[I.NeverExecuted=12]="NeverExecuted",I[I.EstimatedStartupCost2=13]="EstimatedStartupCost2",I[I.EstimatedTotalCost2=14]="EstimatedTotalCost2",I[I.EstimatedRows2=15]="EstimatedRows2",I[I.EstimatedRowWidth2=16]="EstimatedRowWidth2",I[I.ActualTimeFirst2=17]="ActualTimeFirst2",I[I.ActualTimeLast2=18]="ActualTimeLast2",I[I.ActualRows2=19]="ActualRows2",I[I.ActualLoops2=20]="ActualLoops2"})(Ve||(Ve={}));const Ae=new RegExp(p+_+"\\s*"+E+"\\s*"+S+(S+A+"\\s+"+N+V+M+g)+"|"+S+A+g+"|"+S+N+V+M+g+g+"\\s*$","m");if(B.each(r,I=>{var Pe,G,K,x,ce,fe,_e,Ie,j,U;I=I.replace(/"\s*$/,""),I=I.replace(/^\s*"/,""),I=I.replace(/\t/gm," ");const R=I.match(s),Q=R?R[0].length:0;I=I.replace(s,"");const ee=u.exec(I),X=c.exec(I),Y=Ae.exec(I),de=J.exec(I),le=P.exec(I),Se=ae.exec(I),Ne=q.exec(I),Qe=he.exec(I),lt=Ue.exec(I);if(!(ee||X)){if(Y&&!le&&!de){const we=Y[12],We=new Nw(Y[3]);if((Y[4]&&Y[5]||Y[13]&&Y[14])&&(We[f.STARTUP_COST]=parseFloat(Y[4]||Y[13]),We[f.TOTAL_COST]=parseFloat(Y[5]||Y[14]),We[f.PLAN_ROWS]=parseInt(Y[6]||Y[15],0),We[f.PLAN_WIDTH]=parseInt(Y[7]||Y[16],0)),(Y[8]&&Y[9]||Y[17]&&Y[18])&&(We[f.ACTUAL_STARTUP_TIME]=parseFloat(Y[8]||Y[17]),We[f.ACTUAL_TOTAL_TIME]=parseFloat(Y[9]||Y[18])),Y[10]&&Y[11]||Y[19]&&Y[20]){const Ht=Y[10]||Y[19];Ht.indexOf(".")!=-1&&(We[f.ACTUAL_ROWS_FRACTIONAL]=!0),We[f.ACTUAL_ROWS]=parseFloat(Ht),We[f.ACTUAL_LOOPS]=parseInt(Y[11]||Y[20],0)}Y[2]&&(We[f.PARTIAL_MODE]=Y[2]),we&&(We[f.ACTUAL_LOOPS]=0,We[f.ACTUAL_ROWS]=0,We[f.ACTUAL_TOTAL_TIME]=void 0);const ft={node:We,subelementType:"subnode"};if(i.length===0){i.push([Q,ft]),o.Plan=We;return}B.remove(i,Ht=>Ht[0]>=Q);const nt=(Pe=B.last(i))==null?void 0:Pe[1];if(!nt)return;i.push([Q,ft]),nt.node[f.PLANS]||(nt.node[f.PLANS]=[]),nt.subelementType==="initplan"?(We[f.PARENT_RELATIONSHIP]="InitPlan",We[f.SUBPLAN_NAME]=nt.name):nt.subelementType==="subplan"&&(We[f.PARENT_RELATIONSHIP]="SubPlan",We[f.SUBPLAN_NAME]=nt.name),(G=nt.node.Plans)==null||G.push(We)}else if(de){const we=de[2];B.remove(i,nt=>nt[0]>=Q);const We=(K=B.last(i))==null?void 0:K[1],ft={node:We?.node,subelementType:we.toLowerCase(),name:de[0]};i.push([Q,ft])}else if(le){const we=le[2];B.remove(i,nt=>nt[0]>=Q);const We=(x=B.last(i))==null?void 0:x[1],ft={node:We?.node,subelementType:"initplan",name:"CTE "+we};i.push([Q,ft])}else if(Ne){const we=parseInt(Ne[2],0),We=(ce=B.last(i))==null?void 0:ce[1];if(!We)return;We.node[f.WORKERS]||(We.node[f.WORKERS]=[]);let ft=this.getWorker(We.node,we);if(ft||(ft=new Lw(we),(fe=We.node[f.WORKERS])==null||fe.push(ft)),Ne[3]&&Ne[4]&&(ft[f.ACTUAL_STARTUP_TIME]=parseFloat(Ne[3]),ft[f.ACTUAL_TOTAL_TIME]=parseFloat(Ne[4]),ft[f.ACTUAL_ROWS]=parseInt(Ne[5],0),ft[f.ACTUAL_LOOPS]=parseInt(Ne[6],0)),this.parseSort(Ne[8],ft))return;const nt=Ne[8].split(/: (.+)/).filter(Ht=>Ht);if(Ne[8]){if(!nt[1])return;const Ht=B.startCase(nt[0]);ft[Ht]=nt[1]}}else if(Se)B.remove(i,we=>we[0]>=Q),o.Triggers=o.Triggers||[],o.Triggers.push({"Trigger Name":Se[2],Time:this.parseTime(Se[3]),Calls:Se[4]});else if(Qe){let we;if(i.length===0)o.JIT={},we={node:o.JIT},i.push([1,we]);else{const We=(_e=B.last(i))==null?void 0:_e[1];if(!We)return;if(B.last((Ie=We.node)==null?void 0:Ie[f.WORKERS])){const ft=B.last((j=We.node)==null?void 0:j[f.WORKERS]);ft.JIT={},we={node:ft.JIT},i.push([Q,we])}}}else if(lt){B.remove(i,Ht=>Ht[0]>=Q||Q==1);let we;if(i.length===0?we=o:we=(U=B.last(i))==null?void 0:U[1].node,!we.Plan&&we["Query Text"]){we["Query Text"]+=` -`+I;return}const We=lt[2].split(/: (.+)/).filter(Ht=>Ht);if(!We[1]||!we||this.parseSort(lt[2],we)||this.parseBuffers(lt[2],we)||this.parseWAL(lt[2],we)||this.parseIOTimings(lt[2],we)||this.parseOptions(lt[2],we)||this.parseTiming(lt[2],we)||this.parseSettings(lt[2],we)||this.parseSortGroups(lt[2],we)||this.parseSortKey(lt[2],we))return;let ft=We[1].replace(/(\s*ms)$/,"");parseFloat(ft)&&(ft=parseFloat(ft));let nt=We[0];(nt.indexOf(" runtime")!==-1||nt.indexOf(" time")!==-1)&&(nt=B.startCase(nt)),we[nt]=ft}}}),o==null||!o.Plan)throw new Error("Unable to parse plan");return o}parseSortKey(t,r){const o=/^\s*((?:Sort|Presorted) Key):\s+(.*)/g.exec(t);return o?(r[o[1]]=B.map(Xh(o[2],","),B.trim),!0):!1}parseSort(t,r){let o;(s=>{s[s.Method=2]="Method",s[s.SpaceType=3]="SpaceType",s[s.SpaceUsed=4]="SpaceUsed"})(o||(o={}));const i=/^(\s*)Sort Method:\s+(.*)\s+(Memory|Disk):\s+(?:(\S*)kB)\s*$/g.exec(t);return i?(r[f.SORT_METHOD]=i[2].trim(),r[f.SORT_SPACE_USED]=i[4],r[f.SORT_SPACE_TYPE]=i[3],!0):!1}parseBuffers(t,r){const o=/Buffers:\s+(.*)\s*$/g.exec(t);return o?(B.each(o[1].split(/,\s+/),i=>{const s=/(shared|temp|local)\s+(.*)$/g.exec(i);if(s){const u=s[1];B.each(["hit","read","written","dirtied"],c=>{r[B.map([u,c,"blocks"],B.capitalize).join(" ")]=0}),B.each(s[2].split(/\s+/),c=>{this.parseBuffer(c,u,r)})}}),!0):!1}parseBuffer(t,r,o){const i=t.split(/=/),s=i[0],u=parseInt(i[1],0);o[B.map([r,s,"blocks"],B.capitalize).join(" ")]=u}getWorker(t,r){return B.find(t[f.WORKERS],o=>o[Pi.WORKER_NUMBER]===r)}parseWAL(t,r){const o=/WAL:\s+(.*)\s*$/g.exec(t);return o?(B.each(["Records","Bytes","FPI"],i=>{r["WAL "+i]=0}),B.each(o[1].split(/\s+/),i=>{const s=i.split(/=/),u=s[0],c=parseInt(s[1],0);let p;switch(u){case"fpi":p="FPI";break;default:p=B.capitalize(u)}r["WAL "+p]=c}),!0):!1}parseIOTimings(t,r){if(!/I\/O Timings:\s+(.*)\s*$/g.exec(t))return!1;const o=/\b(shared\/local|shared|local|temp)((?:\s+(?:read|write)=\d+(?:\.\d+)?)+)/g,i=/(read|write)=(\d+(?:\.\d+)?)/g,s=[];let u,c;for(;(u=o.exec(t))!==null;){const g=u[1],N=u[2],M={scope:g,read:0,write:0};for(;(c=i.exec(N))!==null;)M[c[1]]=parseFloat(c[2]);s.push(M)}const p=t.replace(o,""),_={scope:void 0,read:0,write:0};let E=!1;for(;(c=i.exec(p))!==null;)_[c[1]]=parseFloat(c[2]),E=!0;E&&s.push(_);const A=B.some(s,g=>g.scope=="shared"||g.scope=="local"),S=B.some(s,g=>g.scope=="shared/local");return A?(r[f.SHARED_IO_READ_TIME]=0,r[f.SHARED_IO_WRITE_TIME]=0,r[f.LOCAL_IO_READ_TIME]=0,r[f.LOCAL_IO_WRITE_TIME]=0):(r[f.IO_READ_TIME]=0,r[f.IO_WRITE_TIME]=0),(S||A)&&(r[f.TEMP_IO_READ_TIME]=0,r[f.TEMP_IO_WRITE_TIME]=0),s.forEach(g=>{["read","write"].forEach(N=>{let M=`IO_${B.upperCase(N)}_TIME`;g.scope&&g.scope!="shared/local"&&(M=B.upperCase(g.scope)+"_"+M);const V=f[M];r[V]=g[N]})}),!0}parseOptions(t,r){const o=/^(\s*)Options:\s+(.*)$/g.exec(t);if(o){r.Options={};const i=o[2].split(/\s*,\s*/);let s;return B.each(i,u=>{s=/^(\S*)\s+(.*)$/g.exec(u),s&&r.Options&&(r.Options[s[1]]=JSON.parse(s[2]))}),!0}return!1}parseTiming(t,r){const o=/^(\s*)Timing:\s+(.*)$/g.exec(t);if(o){r.Timing={};const i=o[2].split(/\s*,\s*/);let s;return B.each(i,u=>{s=/^(\S*)\s+(.*)$/g.exec(u),s&&r.Timing&&(r.Timing[s[1]]=this.parseTime(s[2]))}),!0}return!1}parseTime(t){return parseFloat(t.replace(/(\s*ms)$/,""))}parseSettings(t,r){const o=/^(\s*)Settings:\s*(.*)$/g.exec(t);if(o){r.Settings={};const i=Xh(o[2],",");let s;return B.each(i,u=>{s=/^(\S*)\s+=\s+(.*)$/g.exec(B.trim(u)),s&&r.Settings&&(r.Settings[s[1]]=s[2].replace(/'/g,""))}),!0}return!1}parseSortGroups(t,r){const o=/^\s*(Full-sort|Pre-sorted) Groups:\s+([0-9]*)\s+Sort Method[s]*:\s+(.*)\s+Average Memory:\s+(\S*)kB\s+Peak Memory:\s+(\S*)kB.*$/g.exec(t);if(o){const i={[Ks.GROUP_COUNT]:parseInt(o[2],0),[Ks.SORT_METHODS_USED]:B.map(o[3].split(","),B.trim),[Ks.SORT_SPACE_MEMORY]:{[wc.AVERAGE_SORT_SPACE_USED]:parseInt(o[4],0),[wc.PEAK_SORT_SPACE_USED]:parseInt(o[5],0)}};if(o[1]==="Full-sort")r[f.FULL_SORT_GROUPS]=i;else if(o[1]==="Pre-sorted")r[f.PRE_SORTED_GROUPS]=i;else throw new Error("Unsupported sort groups method");return!0}return!1}calculateExclusives(t){const r=["SHARED_HIT_BLOCKS","SHARED_READ_BLOCKS","SHARED_DIRTIED_BLOCKS","SHARED_WRITTEN_BLOCKS","TEMP_READ_BLOCKS","TEMP_WRITTEN_BLOCKS","LOCAL_HIT_BLOCKS","LOCAL_READ_BLOCKS","LOCAL_DIRTIED_BLOCKS","LOCAL_WRITTEN_BLOCKS","IO_READ_TIME","IO_WRITE_TIME","SHARED_IO_READ_TIME","SHARED_IO_WRITE_TIME","LOCAL_IO_READ_TIME","LOCAL_IO_WRITE_TIME","TEMP_IO_READ_TIME","TEMP_IO_WRITE_TIME"];B.each(r,o=>{const i=Number(B.sumBy(B.filter(t[f.PLANS],c=>!c[f.SUBPLAN_NAME]),c=>c[f[o]]||0).toFixed(3)),s="EXCLUSIVE_"+o,u=f[s];t[u]=Number((t[f[o]]-i).toFixed(3))})}calculateIoTimingsAverage(t){let r;B.isUndefined(t[f.TEMP_IO_READ_TIME])?r={"":["shared","local","temp"]}:B.isUndefined(t[f.IO_READ_TIME])?r={shared:["shared"],local:["local"],temp:["temp"]}:r={"":["shared","local"],temp:["temp"]};const o=["read","write"],i=["read","written"];B.forEach(r,(s,u)=>{o.forEach((c,p)=>{["exclusive_",""].forEach(_=>{const E=`${_}${u?u+"_":""}io_${c}_time`.toUpperCase(),A=`${_}average_${u?u+"_":""}io_${c}_speed`.toUpperCase(),S=t[f[E]]||0,g=i[p],N=B.sumBy(s,V=>{const C=`${_}${V}_${g}_blocks`.toUpperCase();return t[f[C]]||0}),M=`${_}${g}_blocks`.toUpperCase();t[f[M]]=N,S&&(t[f[A]]=Number((N/(S/1e3)).toFixed(3)))})})}),o.forEach((s,u)=>{["exclusive_",""].forEach(c=>{const p=`${c}sum_io_${s}_time`.toUpperCase(),_=`${c}average_sum_io_${s}_speed`.toUpperCase();let E=0,A=0;B.forEach(r,(S,g)=>{const N=`${c}${g?g+"_":""}io_${s}_time`.toUpperCase();E+=t[f[N]]||0;const M=i[u];A+=B.sumBy(S,V=>{const C=`${c}${V}_${M}_blocks`.toUpperCase();return t[f[C]]||0})}),t[f[p]]=Number(E.toFixed(3)),E&&(t[f[_]]=Number((A/(E/1e3)).toFixed(3)))})})}findOutputProperty(t){const r=t.Plans;return r?B.some(r,o=>B.has(o,f.OUTPUT)||this.findOutputProperty(o)):!1}convertNodeType(t){if(t[f.NODE_TYPE]=="Aggregate"&&t[f.STRATEGY]){let r="";switch(t[f.STRATEGY]){case"Sorted":r="Group";break;case"Hashed":r="Hash";break;case"Plain":r="";break;default:console.error("Unsupported Aggregate Strategy")}t[f.NODE_TYPE]=r+"Aggregate"}t[f.NODE_TYPE]=="ModifyTable"&&(t[f.NODE_TYPE]=t[f.OPERATION])}}function $s(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function xw(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function Zm(e){let t,r,o;e.length!==2?(t=$s,r=(c,p)=>$s(e(c),p),o=(c,p)=>e(c)-p):(t=e===$s||e===xw?e:Mw,r=e,o=e);function i(c,p,_=0,E=c.length){if(_>>1;r(c[A],p)<0?_=A+1:E=A}while(_>>1;r(c[A],p)<=0?_=A+1:E=A}while(__&&o(c[A-1],p)>-o(c[A],p)?A-1:A}return{left:i,center:u,right:s}}function Mw(){return 0}function ww(e){return e===null?NaN:+e}const Dw=Zm($s),Pw=Dw.right;Zm(ww).center;var kc=Math.sqrt(50),Bc=Math.sqrt(10),Vc=Math.sqrt(2);function Uw(e,t,r){var o,i=-1,s,u,c;if(t=+t,e=+e,r=+r,e===t&&r>0)return[e];if((o=t0){let p=Math.round(e/c),_=Math.round(t/c);for(p*ct&&--_,u=new Array(s=_-p+1);++it&&--_,u=new Array(s=_-p+1);++i=0?(s>=kc?10:s>=Bc?5:s>=Vc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(s>=kc?10:s>=Bc?5:s>=Vc?2:1)}function kw(e,t,r){var o=Math.abs(t-e)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(o)/Math.LN10)),s=o/i;return s>=kc?i*=10:s>=Bc?i*=5:s>=Vc&&(i*=2),t{}};function Rf(){for(var e=0,t=arguments.length,r={},o;e=0&&(o=r.slice(i+1),r=r.slice(0,i)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:o}})}Js.prototype=Rf.prototype={constructor:Js,on:function(e,t){var r=this._,o=Vw(e+"",r),i,s=-1,u=o.length;if(arguments.length<2){for(;++s0)for(var r=new Array(i),o=0,i,s;o=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),u_.hasOwnProperty(t)?{space:u_[t],local:e}:e}function Ww(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===Hc&&t.documentElement.namespaceURI===Hc?t.createElement(e):t.createElementNS(r,e)}}function Xw(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function tg(e){var t=Nl(e);return(t.local?Xw:Ww)(t)}function Fw(){}function Of(e){return e==null?Fw:function(){return this.querySelector(e)}}function Gw(e){typeof e!="function"&&(e=Of(e));for(var t=this._groups,r=t.length,o=new Array(r),i=0;i=P&&(P=J+1);!(ae=V[P])&&++P=0;)(u=o[i])&&(s&&u.compareDocumentPosition(s)^4&&s.parentNode.insertBefore(u,s),s=u);return this}function ED(e){e||(e=_D);function t(A,S){return A&&S?e(A.__data__,S.__data__):!A-!S}for(var r=this._groups,o=r.length,i=new Array(o),s=0;st?1:e>=t?0:NaN}function mD(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function gD(){return Array.from(this)}function vD(){for(var e=this._groups,t=0,r=e.length;t1?this.each((t==null?CD:typeof t=="function"?MD:xD)(e,t,r??"")):Bo(this.node(),e)}function Bo(e,t){return e.style.getPropertyValue(t)||ig(e).getComputedStyle(e,null).getPropertyValue(t)}function DD(e){return function(){delete this[e]}}function PD(e,t){return function(){this[e]=t}}function UD(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function kD(e,t){return arguments.length>1?this.each((t==null?DD:typeof t=="function"?UD:PD)(e,t)):this.node()[e]}function sg(e){return e.trim().split(/^|\s+/)}function If(e){return e.classList||new lg(e)}function lg(e){this._node=e,this._names=sg(e.getAttribute("class")||"")}lg.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function ug(e,t){for(var r=If(e),o=-1,i=t.length;++o=0&&(r=t.slice(o+1),t=t.slice(0,o)),{type:t,name:r}})}function f3(e){return function(){var t=this.__on;if(t){for(var r=0,o=-1,i=t.length,s;r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?Bs(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?Bs(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=y3.exec(e))?new Mn(t[1],t[2],t[3],1):(t=R3.exec(e))?new Mn(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=O3.exec(e))?Bs(t[1],t[2],t[3],t[4]):(t=I3.exec(e))?Bs(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=b3.exec(e))?__(t[1],t[2]/100,t[3]/100,1):(t=N3.exec(e))?__(t[1],t[2]/100,t[3]/100,t[4]):c_.hasOwnProperty(e)?p_(c_[e]):e==="transparent"?new Mn(NaN,NaN,NaN,0):null}function p_(e){return new Mn(e>>16&255,e>>8&255,e&255,1)}function Bs(e,t,r,o){return o<=0&&(e=t=r=NaN),new Mn(e,t,r,o)}function x3(e){return e instanceof ki||(e=Ja(e)),e?(e=e.rgb(),new Mn(e.r,e.g,e.b,e.opacity)):new Mn}function Fc(e,t,r,o){return arguments.length===1?x3(e):new Mn(e,t,r,o??1)}function Mn(e,t,r,o){this.r=+e,this.g=+t,this.b=+r,this.opacity=+o}bf(Mn,Fc,pg(ki,{brighter(e){return e=e==null?ll:Math.pow(ll,e),new Mn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ni:Math.pow(Ni,e),new Mn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Mn(ja(this.r),ja(this.g),ja(this.b),ul(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:h_,formatHex:h_,formatHex8:M3,formatRgb:E_,toString:E_}));function h_(){return`#${Xa(this.r)}${Xa(this.g)}${Xa(this.b)}`}function M3(){return`#${Xa(this.r)}${Xa(this.g)}${Xa(this.b)}${Xa((isNaN(this.opacity)?1:this.opacity)*255)}`}function E_(){const e=ul(this.opacity);return`${e===1?"rgb(":"rgba("}${ja(this.r)}, ${ja(this.g)}, ${ja(this.b)}${e===1?")":`, ${e})`}`}function ul(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ja(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Xa(e){return e=ja(e),(e<16?"0":"")+e.toString(16)}function __(e,t,r,o){return o<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Er(e,t,r,o)}function hg(e){if(e instanceof Er)return new Er(e.h,e.s,e.l,e.opacity);if(e instanceof ki||(e=Ja(e)),!e)return new Er;if(e instanceof Er)return e;e=e.rgb();var t=e.r/255,r=e.g/255,o=e.b/255,i=Math.min(t,r,o),s=Math.max(t,r,o),u=NaN,c=s-i,p=(s+i)/2;return c?(t===s?u=(r-o)/c+(r0&&p<1?0:u,new Er(u,c,p,e.opacity)}function w3(e,t,r,o){return arguments.length===1?hg(e):new Er(e,t,r,o??1)}function Er(e,t,r,o){this.h=+e,this.s=+t,this.l=+r,this.opacity=+o}bf(Er,w3,pg(ki,{brighter(e){return e=e==null?ll:Math.pow(ll,e),new Er(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ni:Math.pow(Ni,e),new Er(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,o=r+(r<.5?r:1-r)*t,i=2*r-o;return new Mn(uc(e>=240?e-240:e+120,i,o),uc(e,i,o),uc(e<120?e+240:e-120,i,o),this.opacity)},clamp(){return new Er(m_(this.h),Vs(this.s),Vs(this.l),ul(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ul(this.opacity);return`${e===1?"hsl(":"hsla("}${m_(this.h)}, ${Vs(this.s)*100}%, ${Vs(this.l)*100}%${e===1?")":`, ${e})`}`}}));function m_(e){return e=(e||0)%360,e<0?e+360:e}function Vs(e){return Math.max(0,Math.min(1,e||0))}function uc(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const Nf=e=>()=>e;function D3(e,t){return function(r){return e+r*t}}function P3(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(o){return Math.pow(e+o*t,r)}}function U3(e){return(e=+e)==1?Eg:function(t,r){return r-t?P3(t,r,e):Nf(isNaN(t)?r:t)}}function Eg(e,t){var r=t-e;return r?D3(e,r):Nf(isNaN(e)?t:e)}const cl=function e(t){var r=U3(t);function o(i,s){var u=r((i=Fc(i)).r,(s=Fc(s)).r),c=r(i.g,s.g),p=r(i.b,s.b),_=Eg(i.opacity,s.opacity);return function(E){return i.r=u(E),i.g=c(E),i.b=p(E),i.opacity=_(E),i+""}}return o.gamma=e,o}(1);function k3(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,o=t.slice(),i;return function(s){for(i=0;ir&&(s=t.slice(r,s),c[u]?c[u]+=s:c[++u]=s),(o=o[0])===(i=i[0])?c[u]?c[u]+=i:c[++u]=i:(c[++u]=null,p.push({i:u,x:hr(o,i)})),r=cc.lastIndex;return r180?E+=360:E-_>180&&(_+=360),S.push({i:A.push(i(A)+"rotate(",null,o)-2,x:hr(_,E)})):E&&A.push(i(A)+"rotate("+E+o)}function c(_,E,A,S){_!==E?S.push({i:A.push(i(A)+"skewX(",null,o)-2,x:hr(_,E)}):E&&A.push(i(A)+"skewX("+E+o)}function p(_,E,A,S,g,N){if(_!==A||E!==S){var M=g.push(i(g)+"scale(",null,",",null,")");N.push({i:M-4,x:hr(_,A)},{i:M-2,x:hr(E,S)})}else(A!==1||S!==1)&&g.push(i(g)+"scale("+A+","+S+")")}return function(_,E){var A=[],S=[];return _=e(_),E=e(E),s(_.translateX,_.translateY,E.translateX,E.translateY,A,S),u(_.rotate,E.rotate,A,S),c(_.skewX,E.skewX,A,S),p(_.scaleX,_.scaleY,E.scaleX,E.scaleY,A,S),_=E=null,function(g){for(var N=-1,M=S.length,V;++N=0&&e._call.call(void 0,t),e=e._next;--Vo}function T_(){qa=(dl=Ci.now())+Ll,Vo=hi=0;try{eP()}finally{Vo=0,nP(),qa=0}}function tP(){var e=Ci.now(),t=e-dl;t>Tg&&(Ll-=t,dl=e)}function nP(){for(var e,t=fl,r,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:fl=r);Ei=e,zc(o)}function zc(e){if(!Vo){hi&&(hi=clearTimeout(hi));var t=e-qa;t>24?(e<1/0&&(hi=setTimeout(T_,e-Ci.now()-Ll)),fi&&(fi=clearInterval(fi))):(fi||(dl=Ci.now(),fi=setInterval(tP,Tg)),Vo=1,Ag(T_))}}function A_(e,t,r){var o=new pl;return t=t==null?0:+t,o.restart(i=>{o.stop(),e(i+t)},t,r),o}var rP=Rf("start","end","cancel","interrupt"),aP=[],yg=0,S_=1,jc=2,qs=3,y_=4,Kc=5,Qs=6;function Cl(e,t,r,o,i,s){var u=e.__transition;if(!u)e.__transition={};else if(r in u)return;oP(e,r,{name:t,index:o,group:i,on:rP,tween:aP,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:yg})}function xf(e,t){var r=gr(e,t);if(r.state>yg)throw new Error("too late; already scheduled");return r}function Pr(e,t){var r=gr(e,t);if(r.state>qs)throw new Error("too late; already running");return r}function gr(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function oP(e,t,r){var o=e.__transition,i;o[t]=r,r.timer=Sg(s,0,r.time);function s(_){r.state=S_,r.timer.restart(u,r.delay,r.time),r.delay<=_&&u(_-r.delay)}function u(_){var E,A,S,g;if(r.state!==S_)return p();for(E in o)if(g=o[E],g.name===r.name){if(g.state===qs)return A_(u);g.state===y_?(g.state=Qs,g.timer.stop(),g.on.call("interrupt",e,e.__data__,g.index,g.group),delete o[E]):+Ejc&&o.state=0&&(t=t.slice(0,r)),!t||t==="start"})}function PP(e,t,r){var o,i,s=DP(t)?xf:Pr;return function(){var u=s(this,e),c=u.on;c!==o&&(i=(o=c).copy()).on(t,r),u.on=i}}function UP(e,t){var r=this._id;return arguments.length<2?gr(this.node(),r).on.on(e):this.each(PP(r,e,t))}function kP(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function BP(){return this.on("end.remove",kP(this._id))}function VP(e){var t=this._name,r=this._id;typeof e!="function"&&(e=Of(e));for(var o=this._groups,i=o.length,s=new Array(i),u=0;uVa)if(!(Math.abs(E*c-p*_)>Va)||!i)this._+="L"+(this._x1=e)+","+(this._y1=t);else{var S=r-s,g=o-u,N=c*c+p*p,M=S*S+g*g,V=Math.sqrt(N),C=Math.sqrt(A),J=i*Math.tan((Yc-Math.acos((N+A-M)/(2*V*C)))/2),P=J/C,w=J/V;Math.abs(P-1)>Va&&(this._+="L"+(e+P*_)+","+(t+P*E)),this._+="A"+i+","+i+",0,0,"+ +(E*S>_*g)+","+(this._x1=e+w*c)+","+(this._y1=t+w*p)}},arc:function(e,t,r,o,i,s){e=+e,t=+t,r=+r,s=!!s;var u=r*Math.cos(o),c=r*Math.sin(o),p=e+u,_=t+c,E=1^s,A=s?o-i:i-o;if(r<0)throw new Error("negative radius: "+r);this._x1===null?this._+="M"+p+","+_:(Math.abs(this._x1-p)>Va||Math.abs(this._y1-_)>Va)&&(this._+="L"+p+","+_),r&&(A<0&&(A=A%$c+$c),A>c4?this._+="A"+r+","+r+",0,1,"+E+","+(e-u)+","+(t-c)+"A"+r+","+r+",0,1,"+E+","+(this._x1=p)+","+(this._y1=_):A>Va&&(this._+="A"+r+","+r+",0,"+ +(A>=Yc)+","+E+","+(this._x1=e+r*Math.cos(i))+","+(this._y1=t+r*Math.sin(i))))},rect:function(e,t,r,o){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +o+"h"+-r+"Z"},toString:function(){return this._}};function f4(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function hl(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,o=e.slice(0,r);return[o.length>1?o[0]+o.slice(2):o,+e.slice(r+1)]}function Ho(e){return e=hl(Math.abs(e)),e?e[1]:NaN}function d4(e,t){return function(r,o){for(var i=r.length,s=[],u=0,c=e[0],p=0;i>0&&c>0&&(p+c+1>o&&(c=Math.max(1,o-p)),s.push(r.substring(i-=c,i+c)),!((p+=c+1)>o));)c=e[u=(u+1)%e.length];return s.reverse().join(t)}}function p4(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var h4=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function El(e){if(!(t=h4.exec(e)))throw new Error("invalid format: "+e);var t;return new wf({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}El.prototype=wf.prototype;function wf(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}wf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function E4(e){e:for(var t=e.length,r=1,o=-1,i;r0&&(o=0);break}return o>0?e.slice(0,o)+e.slice(i+1):e}var Ng;function _4(e,t){var r=hl(e,t);if(!r)return e+"";var o=r[0],i=r[1],s=i-(Ng=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,u=o.length;return s===u?o:s>u?o+new Array(s-u+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+hl(e,Math.max(0,t+s-1))[0]}function R_(e,t){var r=hl(e,t);if(!r)return e+"";var o=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")}const O_={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:f4,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>R_(e*100,t),r:R_,s:_4,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function I_(e){return e}var b_=Array.prototype.map,N_=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function m4(e){var t=e.grouping===void 0||e.thousands===void 0?I_:d4(b_.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",o=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",s=e.numerals===void 0?I_:p4(b_.call(e.numerals,String)),u=e.percent===void 0?"%":e.percent+"",c=e.minus===void 0?"−":e.minus+"",p=e.nan===void 0?"NaN":e.nan+"";function _(A){A=El(A);var S=A.fill,g=A.align,N=A.sign,M=A.symbol,V=A.zero,C=A.width,J=A.comma,P=A.precision,w=A.trim,ae=A.type;ae==="n"?(J=!0,ae="g"):O_[ae]||(P===void 0&&(P=12),w=!0,ae="g"),(V||S==="0"&&g==="=")&&(V=!0,S="0",g="=");var W=M==="$"?r:M==="#"&&/[boxX]/.test(ae)?"0"+ae.toLowerCase():"",q=M==="$"?o:/[%p]/.test(ae)?u:"",he=O_[ae],Ue=/[defgprs%]/.test(ae);P=P===void 0?6:/[gprs]/.test(ae)?Math.max(1,Math.min(21,P)):Math.max(0,Math.min(20,P));function Ve(Ae){var I=W,Pe=q,G,K,x;if(ae==="c")Pe=he(Ae)+Pe,Ae="";else{Ae=+Ae;var ce=Ae<0||1/Ae<0;if(Ae=isNaN(Ae)?p:he(Math.abs(Ae),P),w&&(Ae=E4(Ae)),ce&&+Ae==0&&N!=="+"&&(ce=!1),I=(ce?N==="("?N:c:N==="-"||N==="("?"":N)+I,Pe=(ae==="s"?N_[8+Ng/3]:"")+Pe+(ce&&N==="("?")":""),Ue){for(G=-1,K=Ae.length;++Gx||x>57){Pe=(x===46?i+Ae.slice(G+1):Ae.slice(G))+Pe,Ae=Ae.slice(0,G);break}}}J&&!V&&(Ae=t(Ae,1/0));var fe=I.length+Ae.length+Pe.length,_e=fe>1)+I+Ae+Pe+_e.slice(fe);break;default:Ae=_e+I+Ae+Pe;break}return s(Ae)}return Ve.toString=function(){return A+""},Ve}function E(A,S){var g=_((A=El(A),A.type="f",A)),N=Math.max(-8,Math.min(8,Math.floor(Ho(S)/3)))*3,M=Math.pow(10,-N),V=N_[8+N/3];return function(C){return g(M*C)+V}}return{format:_,formatPrefix:E}}var Ws,Lg,Cg;g4({thousands:",",grouping:[3],currency:["$",""]});function g4(e){return Ws=m4(e),Lg=Ws.format,Cg=Ws.formatPrefix,Ws}function v4(e){return Math.max(0,-Ho(Math.abs(e)))}function T4(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Ho(t)/3)))*3-Ho(Math.abs(e)))}function A4(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ho(t)-Ho(e))+1}function S4(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function y4(e){return function(){return e}}function R4(e){return+e}var L_=[0,1];function bo(e){return e}function qc(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:y4(isNaN(t)?NaN:.5)}function O4(e,t){var r;return e>t&&(r=e,e=t,t=r),function(o){return Math.max(e,Math.min(t,o))}}function I4(e,t,r){var o=e[0],i=e[1],s=t[0],u=t[1];return i2?b4:I4,p=_=null,A}function A(S){return S==null||isNaN(S=+S)?s:(p||(p=c(e.map(o),t,r)))(o(u(S)))}return A.invert=function(S){return u(i((_||(_=c(t,e.map(o),hr)))(S)))},A.domain=function(S){return arguments.length?(e=Array.from(S,R4),E()):e.slice()},A.range=function(S){return arguments.length?(t=Array.from(S),E()):t.slice()},A.rangeRound=function(S){return t=Array.from(S),r=G3,E()},A.clamp=function(S){return arguments.length?(u=S?!0:bo,E()):u!==bo},A.interpolate=function(S){return arguments.length?(r=S,E()):r},A.unknown=function(S){return arguments.length?(s=S,A):s},function(S,g){return o=S,i=g,E()}}function C4(){return L4()(bo,bo)}function x4(e,t,r,o){var i=kw(e,t,r),s;switch(o=El(o??",f"),o.type){case"s":{var u=Math.max(Math.abs(e),Math.abs(t));return o.precision==null&&!isNaN(s=T4(i,u))&&(o.precision=s),Cg(o,u)}case"":case"e":case"g":case"p":case"r":{o.precision==null&&!isNaN(s=A4(i,Math.max(Math.abs(e),Math.abs(t))))&&(o.precision=s-(o.type==="e"));break}case"f":case"%":{o.precision==null&&!isNaN(s=v4(i))&&(o.precision=s-(o.type==="%")*2);break}}return Lg(o)}function M4(e){var t=e.domain;return e.ticks=function(r){var o=t();return Uw(o[0],o[o.length-1],r??10)},e.tickFormat=function(r,o){var i=t();return x4(i[0],i[i.length-1],r??10,o)},e.nice=function(r){r==null&&(r=10);var o=t(),i=0,s=o.length-1,u=o[i],c=o[s],p,_,E=10;for(c0;){if(_=eg(u,c,r),_===p)return o[i]=u,o[s]=c,t(o);if(_>0)u=Math.floor(u/_)*_,c=Math.ceil(c/_)*_;else if(_<0)u=Math.ceil(u*_)/_,c=Math.floor(c*_)/_;else break;p=_}return e},e}function xg(){var e=C4();return e.copy=function(){return N4(e,xg())},S4.apply(e,arguments),M4(e)}const Xs=e=>()=>e;function w4(e,{sourceEvent:t,target:r,transform:o,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function $r(e,t,r){this.k=e,this.x=t,this.y=r}$r.prototype={constructor:$r,scale:function(e){return e===1?this:new $r(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new $r(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var _l=new $r(1,0,0);$r.prototype;function fc(e){e.stopImmediatePropagation()}function di(e){e.preventDefault(),e.stopImmediatePropagation()}function D4(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function P4(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function C_(){return this.__zoom||_l}function U4(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function k4(){return navigator.maxTouchPoints||"ontouchstart"in this}function B4(e,t,r){var o=e.invertX(t[0][0])-r[0][0],i=e.invertX(t[1][0])-r[1][0],s=e.invertY(t[0][1])-r[0][1],u=e.invertY(t[1][1])-r[1][1];return e.translate(i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i),u>s?(s+u)/2:Math.min(0,s)||Math.max(0,u))}function V4(){var e=D4,t=P4,r=B4,o=U4,i=k4,s=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],c=250,p=Q3,_=Rf("start","zoom","end"),E,A,S,g=500,N=150,M=0,V=10;function C(G){G.property("__zoom",C_).on("wheel.zoom",he,{passive:!1}).on("mousedown.zoom",Ue).on("dblclick.zoom",Ve).filter(i).on("touchstart.zoom",Ae).on("touchmove.zoom",I).on("touchend.zoom touchcancel.zoom",Pe).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}C.transform=function(G,K,x,ce){var fe=G.selection?G.selection():G;fe.property("__zoom",C_),G!==fe?ae(G,K,x,ce):fe.interrupt().each(function(){W(this,arguments).event(ce).start().zoom(null,typeof K=="function"?K.apply(this,arguments):K).end()})},C.scaleBy=function(G,K,x,ce){C.scaleTo(G,function(){var fe=this.__zoom.k,_e=typeof K=="function"?K.apply(this,arguments):K;return fe*_e},x,ce)},C.scaleTo=function(G,K,x,ce){C.transform(G,function(){var fe=t.apply(this,arguments),_e=this.__zoom,Ie=x==null?w(fe):typeof x=="function"?x.apply(this,arguments):x,j=_e.invert(Ie),U=typeof K=="function"?K.apply(this,arguments):K;return r(P(J(_e,U),Ie,j),fe,u)},x,ce)},C.translateBy=function(G,K,x,ce){C.transform(G,function(){return r(this.__zoom.translate(typeof K=="function"?K.apply(this,arguments):K,typeof x=="function"?x.apply(this,arguments):x),t.apply(this,arguments),u)},null,ce)},C.translateTo=function(G,K,x,ce,fe){C.transform(G,function(){var _e=t.apply(this,arguments),Ie=this.__zoom,j=ce==null?w(_e):typeof ce=="function"?ce.apply(this,arguments):ce;return r(_l.translate(j[0],j[1]).scale(Ie.k).translate(typeof K=="function"?-K.apply(this,arguments):-K,typeof x=="function"?-x.apply(this,arguments):-x),_e,u)},ce,fe)};function J(G,K){return K=Math.max(s[0],Math.min(s[1],K)),K===G.k?G:new $r(K,G.x,G.y)}function P(G,K,x){var ce=K[0]-x[0]*G.k,fe=K[1]-x[1]*G.k;return ce===G.x&&fe===G.y?G:new $r(G.k,ce,fe)}function w(G){return[(+G[0][0]+ +G[1][0])/2,(+G[0][1]+ +G[1][1])/2]}function ae(G,K,x,ce){G.on("start.zoom",function(){W(this,arguments).event(ce).start()}).on("interrupt.zoom end.zoom",function(){W(this,arguments).event(ce).end()}).tween("zoom",function(){var fe=this,_e=arguments,Ie=W(fe,_e).event(ce),j=t.apply(fe,_e),U=x==null?w(j):typeof x=="function"?x.apply(fe,_e):x,R=Math.max(j[1][0]-j[0][0],j[1][1]-j[0][1]),Q=fe.__zoom,ee=typeof K=="function"?K.apply(fe,_e):K,X=p(Q.invert(U).concat(R/Q.k),ee.invert(U).concat(R/ee.k));return function(Y){if(Y===1)Y=ee;else{var de=X(Y),le=R/de[2];Y=new $r(le,U[0]-de[0]*le,U[1]-de[1]*le)}Ie.zoom(null,Y)}})}function W(G,K,x){return!x&&G.__zooming||new q(G,K)}function q(G,K){this.that=G,this.args=K,this.active=0,this.sourceEvent=null,this.extent=t.apply(G,K),this.taps=0}q.prototype={event:function(G){return G&&(this.sourceEvent=G),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(G,K){return this.mouse&&G!=="mouse"&&(this.mouse[1]=K.invert(this.mouse[0])),this.touch0&&G!=="touch"&&(this.touch0[1]=K.invert(this.touch0[0])),this.touch1&&G!=="touch"&&(this.touch1[1]=K.invert(this.touch1[0])),this.that.__zoom=K,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(G){var K=br(this.that).datum();_.call(G,this.that,new w4(G,{sourceEvent:this.sourceEvent,target:C,transform:this.that.__zoom,dispatch:_}),K)}};function he(G,...K){if(!e.apply(this,arguments))return;var x=W(this,K).event(G),ce=this.__zoom,fe=Math.max(s[0],Math.min(s[1],ce.k*Math.pow(2,o.apply(this,arguments)))),_e=Ua(G);if(x.wheel)(x.mouse[0][0]!==_e[0]||x.mouse[0][1]!==_e[1])&&(x.mouse[1]=ce.invert(x.mouse[0]=_e)),clearTimeout(x.wheel);else{if(ce.k===fe)return;x.mouse=[_e,ce.invert(_e)],Zs(this),x.start()}di(G),x.wheel=setTimeout(Ie,N),x.zoom("mouse",r(P(J(ce,fe),x.mouse[0],x.mouse[1]),x.extent,u));function Ie(){x.wheel=null,x.end()}}function Ue(G,...K){if(S||!e.apply(this,arguments))return;var x=G.currentTarget,ce=W(this,K,!0).event(G),fe=br(G.view).on("mousemove.zoom",U,!0).on("mouseup.zoom",R,!0),_e=Ua(G,x),Ie=G.clientX,j=G.clientY;T3(G.view),fc(G),ce.mouse=[_e,this.__zoom.invert(_e)],Zs(this),ce.start();function U(Q){if(di(Q),!ce.moved){var ee=Q.clientX-Ie,X=Q.clientY-j;ce.moved=ee*ee+X*X>M}ce.event(Q).zoom("mouse",r(P(ce.that.__zoom,ce.mouse[0]=Ua(Q,x),ce.mouse[1]),ce.extent,u))}function R(Q){fe.on("mousemove.zoom mouseup.zoom",null),A3(Q.view,ce.moved),di(Q),ce.event(Q).end()}}function Ve(G,...K){if(e.apply(this,arguments)){var x=this.__zoom,ce=Ua(G.changedTouches?G.changedTouches[0]:G,this),fe=x.invert(ce),_e=x.k*(G.shiftKey?.5:2),Ie=r(P(J(x,_e),ce,fe),t.apply(this,K),u);di(G),c>0?br(this).transition().duration(c).call(ae,Ie,ce,G):br(this).call(C.transform,Ie,ce,G)}}function Ae(G,...K){if(e.apply(this,arguments)){var x=G.touches,ce=x.length,fe=W(this,K,G.changedTouches.length===ce).event(G),_e,Ie,j,U;for(fc(G),Ie=0;Ie=0;)t+=r[o].value;e.value=t}function W4(){return this.eachAfter(H4)}function X4(e){var t=this,r,o=[t],i,s,u;do for(r=o.reverse(),o=[];t=r.pop();)if(e(t),i=t.children,i)for(s=0,u=i.length;s=0;--i)r.push(o[i]);return this}function G4(e){for(var t=this,r=[t],o=[],i,s,u;t=r.pop();)if(o.push(t),i=t.children,i)for(s=0,u=i.length;s=0;)r+=o[i].value;t.value=r})}function j4(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function K4(e){for(var t=this,r=Y4(t,e),o=[t];t!==r;)t=t.parent,o.push(t);for(var i=o.length;e!==r;)o.splice(i,0,e),e=e.parent;return o}function Y4(e,t){if(e===t)return e;var r=e.ancestors(),o=t.ancestors(),i=null;for(e=r.pop(),t=o.pop();e===t;)i=e,e=r.pop(),t=o.pop();return i}function $4(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function J4(){var e=[];return this.each(function(t){e.push(t)}),e}function q4(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function Q4(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}function Df(e,t){var r=new ml(e),o=+e.value&&(r.value=e.value),i,s=[r],u,c,p,_;for(t==null&&(t=eU);i=s.pop();)if(o&&(i.value=+i.data.value),(c=t(i.data))&&(_=c.length))for(i.children=new Array(_),p=_-1;p>=0;--p)s.push(u=i.children[p]=new ml(c[p])),u.parent=i,u.depth=i.depth+1;return r.eachBefore(nU)}function Z4(){return Df(this).eachBefore(tU)}function eU(e){return e.children}function tU(e){e.data=e.data.data}function nU(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function ml(e){this.data=e,this.depth=this.height=0,this.parent=null}ml.prototype=Df.prototype={constructor:ml,count:W4,each:X4,eachAfter:G4,eachBefore:F4,sum:z4,sort:j4,path:K4,ancestors:$4,descendants:J4,leaves:q4,links:Q4,copy:Z4};const rU="2.1.2",aU={version:rU},{version:oU}=aU,iU=Object.freeze({children:e=>e.children,nodeSize:e=>e.data.size,spacing:0});function wg(e){const t=Object.assign({},iU,e);function r(c){const p=t[c];return typeof p=="function"?p:()=>p}function o(c){const p=u(s(),c,_=>_.children);return p.update(),p.data}function i(){const c=r("nodeSize"),p=r("spacing");return class Mg extends Df.prototype.constructor{constructor(E){super(E)}copy(){const E=u(this.constructor,this,A=>A.children);return E.each(A=>A.data=A.data.data),E}get size(){return c(this)}spacing(E){return p(this,E)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const E=this.ancestors();return E[E.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((E,A)=>Mg.maxExtents(E,A.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(E,A){return{top:Math.min(E.top,A.top),bottom:Math.max(E.bottom,A.bottom),left:Math.min(E.left,A.left),right:Math.max(E.right,A.right)}}}}function s(){const c=i(),p=r("nodeSize"),_=r("spacing");return class extends c{constructor(E){super(E),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return p(this.data)}spacing(E){return _(this.data,E.data)}get x(){return this.data.x}set x(E){this.data.x=E}get y(){return this.data.y}set y(E){this.data.y=E}update(){return Dg(this),Pg(this),this}}}function u(c,p,_){const E=(A,S)=>{const g=new c(A);Object.assign(g,{parent:S,depth:S===null?0:S.depth+1,height:0,length:1});const N=_(A)||[];return g.children=N.length===0?null:N.map(M=>E(M,g)),g.children&&Object.assign(g,g.children.reduce((M,V)=>({height:Math.max(M.height,V.height+1),length:M.length+V.length}),g)),g};return E(p,null)}return Object.assign(o,{nodeSize(c){return arguments.length?(t.nodeSize=c,o):t.nodeSize},spacing(c){return arguments.length?(t.spacing=c,o):t.spacing},children(c){return arguments.length?(t.children=c,o):t.children},hierarchy(c,p){const _=typeof p>"u"?t.children:p;return u(i(),c,_)},dump(c){const p=r("nodeSize"),_=E=>A=>{const S=E+" ",g=E+" ",{x:N,y:M}=A,V=p(A),C=A.children||[],J=C.length===0?" ":`,${S}children: [${g}${C.map(_(g)).join(g)}${S}],${E}`;return`{ size: [${V.join(", ")}],${S}x: ${N}, y: ${M}${J}},`};return _(` -`)(c)}}),o}wg.version=oU;const Dg=(e,t=0)=>(e.y=t,(e.children||[]).reduce((r,o)=>{const[i,s]=r;Dg(o,e.y+e.ySize);const u=(i===0?o.lExt:o.rExt).bottom;i!==0&&lU(e,i,s);const c=_U(u,i,s);return[i+1,c]},[0,null]),sU(e),EU(e),e),Pg=(e,t,r)=>{typeof t>"u"&&(t=-e.relX-e.prelim,r=0);const o=t+e.relX;return e.relX=o+e.prelim-r,e.prelim=0,e.x=r+e.relX,(e.children||[]).forEach(i=>Pg(i,o,e.x)),e},sU=e=>{(e.children||[]).reduce((t,r)=>{const[o,i]=t,s=o+r.shift,u=i+s+r.change;return r.relX+=u,[s,u]},[0,0])},lU=(e,t,r)=>{const o=e.children[t-1],i=e.children[t];let s=o,u=o.relX,c=i,p=i.relX,_=!0;for(;s&&c;){s.bottom>r.lowY&&(r=r.next);const E=u+s.prelim-(p+c.prelim)+s.xSize/2+c.xSize/2+s.spacing(c);(E>0||E<0&&_)&&(p+=E,uU(i,E),cU(e,t,r.index,E)),_=!1;const A=s.bottom,S=c.bottom;A<=S&&(s=dU(s),s&&(u+=s.relX)),A>=S&&(c=fU(c),c&&(p+=c.relX))}!s&&c?pU(e,t,c,p):s&&!c&&hU(e,t,s,u)},uU=(e,t)=>{e.relX+=t,e.lExtRelX+=t,e.rExtRelX+=t},cU=(e,t,r,o)=>{const i=e.children[t],s=t-r;if(s>1){const u=o/s;e.children[r+1].shift+=u,i.shift-=u,i.change-=o-u}},fU=e=>e.hasChildren?e.firstChild:e.lThr,dU=e=>e.hasChildren?e.lastChild:e.rThr,pU=(e,t,r,o)=>{const i=e.firstChild,s=i.lExt,u=e.children[t];s.lThr=r;const c=o-r.relX-i.lExtRelX;s.relX+=c,s.prelim-=c,i.lExt=u.lExt,i.lExtRelX=u.lExtRelX},hU=(e,t,r,o)=>{const i=e.children[t],s=i.rExt,u=e.children[t-1];s.rThr=r;const c=o-r.relX-i.rExtRelX;s.relX+=c,s.prelim-=c,i.rExt=u.rExt,i.rExtRelX=u.rExtRelX},EU=e=>{if(e.hasChildren){const t=e.firstChild,r=e.lastChild,o=(t.prelim+t.relX-t.xSize/2+r.relX+r.prelim+r.xSize/2)/2;Object.assign(e,{prelim:o,lExt:t.lExt,lExtRelX:t.lExtRelX,rExt:r.rExt,rExtRelX:r.rExtRelX})}},_U=(e,t,r)=>{for(;r!==null&&e>=r.lowY;)r=r.next;return{lowY:e,index:t,next:r}},mU={key:0,class:"flex-grow-1 d-flex justify-content-center"},gU={class:"card align-self-center border-danger w-50"},vU={class:"card-body"},TU={class:"overflow-hidden d-flex w-100 h-100 position-relative mb-3"},AU={class:"overflow-auto flex-grow-1"},SU={class:"small p-2 mb-0",style:{"max-height":"200px"}},yU=["innerHTML"],RU={class:"d-flex align-items-center"},OU={class:"text-secondary"},IU={class:"d-flex align-items-center"},bU={class:"nav nav-pills"},NU={class:"nav-item p-1"},LU={class:"nav-item p-1"},CU={key:0,class:"badge bg-info",style:{"font-size":"0.6em"}},xU={class:"nav-item p-1"},MU={class:"nav-item p-1"},wU={class:"nav-item p-1"},DU={class:"ms-auto me-2 small"},PU={href:"https://github.com/dalibo/pev2",target:"_blank"},UU={class:"tab-content flex-grow-1 d-flex overflow-hidden"},kU={class:"d-flex flex-column flex-grow-1 overflow-hidden"},BU={class:"flex-grow-1 d-flex overflow-hidden"},VU={class:"flex-grow-1 overflow-hidden"},HU={key:0,class:"position-absolute m-1 p-1 bottom-0 end-0 rounded bg-white d-flex"},WU={class:"btn-group btn-group-xs"},XU=["disabled"],FU=["disabled"],GU={width:"100%",height:"100%"},zU=["transform"],jU=["d","stroke-width"],KU=["d","stroke-width"],YU=["x","y","width"],$U=["x","y","width","height"],JU=["d","stroke-width"],qU=["x","y","width"],QU={class:"overflow-hidden d-flex w-100 h-100 flex-column"},ZU={class:"overflow-hidden d-flex w-100 h-100"},ek={class:"overflow-auto flex-grow-1"},tk={class:"small p-2 mb-0"},nk=["innerHTML"],rk={class:"overflow-hidden d-flex w-100 h-100"},ak={class:"overflow-auto flex-grow-1"},ok={class:"small p-2 mb-0"},ik=["innerHTML"],Or=40,x_=.2,lk=Ut({__name:"Plan",props:{planSource:{},planQuery:{}},setup(e){rm({theme:"light"});const t=e,r="1.18.1",o=je(null),i=je(""),s=je(""),u=je(),c=je(),p=Pn({}),_=ge(()=>u.value&&u.value.content.Plan),E=je(NaN),A=je(void 0),S=je(NaN),g=localStorage.getItem("gridIsNotNew"),N=Pn({showHighlightBar:!1,showPlanStats:!0,highlightType:pn.NONE,diagramWidth:20}),M=new Cw,V=je(""),C=je(1),J=ge(()=>xg().domain([0,p.maxRows]).range([1,Or/1.5])),P=V4().scaleExtent([x_,3]).on("zoom",function(j){V.value=j.transform,C.value=j.transform.k}),w=je(null),ae=je([]),W=je([]),q=wg({nodeSize:j=>j.data.size?[j.data.size[0],j.data.size[1]+Or]:[0,0],spacing:(j,U)=>Math.pow(j.path(U).length,1.5)}),he=je(q.hierarchy({}));Qa(()=>{var j;const U=localStorage.getItem("viewOptions");U&&B.assignIn(N,JSON.parse(U));let R;try{R=M.fromSource(t.planSource),ce("plan")}catch{u.value=void 0;return}s.value=R["Query Text"]||t.planQuery,u.value=M.createPlan("",R,s.value);const Q=u.value.content;p.executionTime=Q["Execution Time"]||Q["Total Runtime"]||NaN,p.planningTime=Q["Planning Time"]||NaN,p.maxRows=Q.maxRows||NaN,p.maxCost=Q.maxCost||NaN,p.maxDuration=Q.maxDuration||NaN,p.maxBlocks=Q.maxBlocks||{},p.maxIo=Q.maxIo||NaN,p.maxEstimateFactor=Q.maxEstimateFactor||NaN,p.triggers=Q.Triggers||[],p.jitTime=Q.JIT&&Q.JIT.Timing&&Q.JIT.Timing.Total||NaN,p.settings=Q.Settings,u.value.planStats=p,Fa(()=>{Pe()}),window.addEventListener("hashchange",Pe),_.value&&(he.value=q.hierarchy(_.value,ee=>ee.Plans)),ae.value=[],B.each((j=u.value)==null?void 0:j.ctes,ee=>{const X=q.hierarchy(ee,Y=>Y.Plans);ae.value.push(X)}),Ue()});function Ue(){w.value=q(he.value);const j=fe(w.value),U=[j[0],j[3]+Or];B.each(ae.value,R=>{const Q=q(R),ee=fe(Q),X=ee[1]-ee[0];Q.each(Y=>{Y.x+=U[0]-ee[0],Y.y+=U[1]}),U[0]+=X+Or*2}),W.value=[],B.each(w.value.descendants(),R=>{if(B.has(R.data,f.CTE_NAME)){const Q=B.find(ae.value,ee=>ee.data[f.SUBPLAN_NAME]=="CTE "+R.data[f.CTE_NAME]);Q&&W.value.push({source:R,target:Q})}}),B.each(ae.value,R=>{B.each(R.descendants(),Q=>{if(B.has(Q.data,f.CTE_NAME)){const ee=B.find(ae.value,X=>X.data[f.SUBPLAN_NAME]=="CTE "+Q.data[f.CTE_NAME]);ee&&W.value.push({source:Q,target:ee})}})})}Za(()=>{c.value&&(br(c.value.$el).call(P),Fa(()=>{if(w.value){const j=fe(w.value),U=j[0],R=j[2],Q=j[1],ee=j[3],X=c.value.$el.getBoundingClientRect();br(c.value.$el).transition().call(P.transform,_l.translate(X.width/2,10).scale(Math.min(1,Math.max(x_,.8/Math.max((Q-U)/X.width,(ee-R)/X.height)))).translate(-(U+Q)/2,10))}}))}),Qc(()=>{window.removeEventListener("hashchange",Pe)}),en(N,Ve);function Ve(){localStorage.setItem("viewOptions",JSON.stringify(N))}en(E,Ae);function Ae(j){window.location.hash=j?"plan/node/"+j:"",u.value&&j&&(A.value=rN(u.value,j))}const I=ge(()=>function(j){const U=j.source,R=j.target,Q=Math.abs(R.y-(U.y+U.ySize)-Or),ee=bg();return ee.moveTo(U.x,U.y),ee.lineTo(U.x,U.y+U.ySize-Or),ee.bezierCurveTo(U.x,U.y+U.ySize-Or+Q/2,R.x,R.y-Q/2,R.x,R.y),ee.toString()});function Pe(){const j=/#([a-zA-Z]*)(\/node\/([0-9]*))*/.exec(window.location.hash);if(j){const U=j[1]||"plan";ce(U);const R=parseInt(j[3],0);U=="plan"&&R!==void 0&&R!=E.value&&setTimeout(()=>{G(R,!0)},1)}}on(tl,E),on(gl,S),on("updateNodeSize",Ie);function G(j,U){U=!!U,E.value=j,U&&K(j)}on(Ka,G),on(Ea,N),on(_a,u);function K(j){const U=c.value.$el.getBoundingClientRect(),R=x(j);if(!R)return;let Q=-R.x,ee=-R.y;const X=C.value;Q=Q*X+U.width/2,ee=ee*X+U.height/2,br(c.value.$el).transition().duration(500).call(P.transform,_l.translate(Q,ee).scale(X))}function x(j){const U=[w.value].concat(ae.value);let R;return B.each(U,Q=>(R=B.find(Q?.descendants(),ee=>ee.data.nodeId==j),!R)),R}const ce=j=>{i.value=j};function fe(j){const U=B.min(B.map(j.descendants(),X=>X.x-X.xSize/2))||0,R=B.max(B.map(j.descendants(),X=>X.x+X.xSize/2))||0,Q=B.min(B.map(j.descendants(),X=>X.y))||0,ee=B.max(B.map(j.descendants(),X=>X.y+X.ySize))||0;return[U,R,Q,ee]}function _e(j){return!!p.executionTime&&!j[f.ACTUAL_LOOPS]}en(()=>{const j=[];return j.concat(he.value.descendants().map(U=>U.data.size)),B.each(ae.value,U=>{j.concat(U.descendants().map(R=>R.data.size))}),j},()=>{Ue()});function Ie(j,U){j.size=[U[0]/C.value,U[1]/C.value]}return(j,U)=>u.value?(b(),L("div",{key:1,class:"plan-container d-flex flex-column overflow-hidden flex-grow-1 bg-light",ref_key:"rootEl",ref:o},[T("div",IU,[T("ul",bU,[T("li",NU,[T("a",{class:ye(["nav-link px-2 py-0",{active:i.value==="plan"}]),href:"#plan"},"Plan",2)]),U[17]||(U[17]=m()),T("li",LU,[T("a",{class:ye(["nav-link px-2 py-0 position-relative",{active:i.value==="grid"}]),href:"#grid"},[U[16]||(U[16]=m(`Grid - `,-1)),d(g)?$("",!0):(b(),L("span",CU,` - new - `))],2)]),U[18]||(U[18]=m()),T("li",xU,[T("a",{class:ye(["nav-link px-2 py-0",{active:i.value==="raw"}]),href:"#raw"},"Raw",2)]),U[19]||(U[19]=m()),T("li",MU,[T("a",{class:ye(["nav-link px-2 py-0",{active:i.value==="query",disabled:!s.value}]),href:"#query"},"Query",2)]),U[20]||(U[20]=m()),T("li",wU,[T("a",{class:ye(["nav-link px-2 py-0",{active:i.value==="stats"}]),href:"#stats"},"Stats",2)])]),U[21]||(U[21]=m()),T("div",DU,[T("a",PU,[Te(zh),m(" "+ie(d(r)),1)])])]),U[40]||(U[40]=m()),T("div",UU,[T("div",{class:ye(["tab-pane flex-grow-1 overflow-hidden",{"show active d-flex":i.value==="plan"}])},[T("div",kU,[Te(Kh,{planStats:p,rootNode:_.value,jitDetails:u.value.content.JIT},null,8,["planStats","rootNode","jitDetails"]),U[32]||(U[32]=m()),T("div",BU,[T("div",VU,[Te(d(Py),{class:"default-theme",onResize:U[4]||(U[4]=R=>N.diagramWidth=R[0].size)},{default:yt(()=>[u.value?(b(),mt(d(Gp),{key:0,size:N.diagramWidth,class:"d-flex flex-column"},{default:yt(()=>[Te(SL,{ref:"diagram",class:"d-flex flex-column flex-grow-1 overflow-hidden plan-diagram",ctes:u.value.ctes,planStats:p,rootNode:_.value},null,8,["ctes","planStats","rootNode"])]),_:1},8,["size"])):$("",!0),U[31]||(U[31]=m()),Te(d(Gp),{ref_key:"planEl",ref:c,class:"plan grab-bing position-relative"},{default:yt(()=>{var R,Q;return[u.value?(b(),L("div",HU,[T("div",WU,[T("button",{class:ye(["btn btn-outline-secondary",{active:N.highlightType===d(pn).NONE}]),onClick:U[0]||(U[0]=ee=>N.highlightType=d(pn).NONE)},` - none - `,2),U[22]||(U[22]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:N.highlightType===d(pn).DURATION}]),onClick:U[1]||(U[1]=ee=>N.highlightType=d(pn).DURATION),disabled:!u.value.isAnalyze},` - duration - `,10,XU),U[23]||(U[23]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:N.highlightType===d(pn).ROWS}]),onClick:U[2]||(U[2]=ee=>N.highlightType=d(pn).ROWS),disabled:!_.value||_.value[d(f).ACTUAL_ROWS]===void 0},` - rows - `,10,FU),U[24]||(U[24]=m()),T("button",{class:ye(["btn btn-outline-secondary",{active:N.highlightType===d(pn).COST}]),onClick:U[3]||(U[3]=ee=>N.highlightType=d(pn).COST)},` - cost - `,2)])])):$("",!0),U[30]||(U[30]=m()),(b(),L("svg",GU,[T("g",{transform:V.value},[(b(!0),L(ze,null,Ft(W.value,(ee,X)=>(b(),L("path",{key:`linkcte${X}`,d:I.value(ee),stroke:"#B3D7D7","stroke-width":J.value(ee.target.data[d(f).ACTUAL_ROWS_REVISED]),fill:"none"},null,8,jU))),128)),U[27]||(U[27]=m()),(b(!0),L(ze,null,Ft((R=w.value)==null?void 0:R.links(),(ee,X)=>(b(),L("path",{key:`link${X}`,d:I.value(ee),class:ye({"never-executed":_e(ee.target.data)}),stroke:"grey","stroke-width":J.value(ee.target.data[d(f).ACTUAL_ROWS_REVISED]),"stroke-linecap":"square",fill:"none"},null,10,KU))),128)),U[28]||(U[28]=m()),(b(!0),L(ze,null,Ft((Q=w.value)==null?void 0:Q.descendants(),(ee,X)=>(b(),L("foreignObject",{key:X,x:ee.x-ee.xSize/2,y:ee.y,width:ee.xSize,height:"1",ref_for:!0,ref:"root"},[Te(jh,{node:ee.data,class:"d-flex justify-content-center position-fixed"},null,8,["node"])],8,YU))),128)),U[29]||(U[29]=m()),(b(!0),L(ze,null,Ft(ae.value,ee=>(b(),L("g",{key:ee.data.nodeId},[T("rect",{x:fe(ee)[0]-Or/4,y:fe(ee)[2]-Or/2,width:fe(ee)[1]-fe(ee)[0]+Or/2,height:fe(ee)[3]-fe(ee)[2],stroke:"#cfcfcf","stroke-width":"2",fill:"#cfcfcf","fill-opacity":"10%",rx:"5",ry:"5"},null,8,$U),U[25]||(U[25]=m()),(b(!0),L(ze,null,Ft(ee.links(),(X,Y)=>(b(),L("path",{key:`link${Y}`,d:I.value(X),stroke:"grey","stroke-width":J.value(X.target.data[d(f).ACTUAL_ROWS_REVISED]),"stroke-linecap":"square",fill:"none"},null,8,JU))),128)),U[26]||(U[26]=m()),(b(!0),L(ze,null,Ft(ee.descendants(),(X,Y)=>(b(),L("foreignObject",{key:Y,x:X.x-X.xSize/2,y:X.y,width:X.xSize,height:"1",ref_for:!0,ref:"root"},[Te(jh,{node:X.data,class:"d-flex justify-content-center position-fixed"},null,8,["node"])],8,qU))),128))]))),128))],8,zU)]))]}),_:1},512)]),_:1})])])])],2),U[36]||(U[36]=m()),i.value==="grid"?(b(),L("div",{key:0,class:ye(["tab-pane flex-grow-1 overflow-hidden position-relative",{"show active":i.value==="grid"}])},[T("div",QU,[Te(Kh,{planStats:p,rootNode:_.value,jitDetails:u.value.content.JIT},null,8,["planStats","rootNode","jitDetails"]),U[33]||(U[33]=m()),Te(GC,{class:"flex-grow-1 overflow-auto plan-grid",ctes:u.value.ctes,rootNode:_.value},null,8,["ctes","rootNode"])])],2)):$("",!0),U[37]||(U[37]=m()),T("div",{class:ye(["tab-pane flex-grow-1 overflow-hidden position-relative",{"show active":i.value==="raw"}])},[T("div",ZU,[T("div",ek,[T("pre",tk,[T("code",{innerHTML:d(bN)(e.planSource)},null,8,nk)])]),U[34]||(U[34]=m()),Te(ic,{content:e.planSource},null,8,["content"])])],2),U[38]||(U[38]=m()),s.value?(b(),L("div",{key:1,class:ye(["tab-pane flex-grow-1 overflow-hidden position-relative",{"show active":i.value==="query"}])},[T("div",rk,[T("div",ak,[T("pre",ok,[T("code",{innerHTML:d(IN)(s.value)},null,8,ik)])])]),U[35]||(U[35]=m()),Te(ic,{content:s.value},null,8,["content"])],2)):$("",!0),U[39]||(U[39]=m()),T("div",{class:ye(["tab-pane flex-grow-1 overflow-auto",{"show active":i.value==="stats"}])},[u.value?(b(),mt(bw,{key:0,ctes:u.value.ctes,planStats:p,rootNode:_.value},null,8,["ctes","planStats","rootNode"])):$("",!0)],2)])],512)):(b(),L("div",mU,[T("div",gU,[T("div",vU,[U[9]||(U[9]=T("h5",{class:"card-title text-danger"},"Couldn't parse plan",-1)),U[10]||(U[10]=m()),U[11]||(U[11]=T("h6",{class:"card-subtitle mb-2 text-body-secondary"},` - An error occured while parsing the plan - `,-1)),U[12]||(U[12]=m()),T("div",TU,[T("div",AU,[T("pre",SU,[T("code",{innerHTML:e.planSource},null,8,yU)])]),U[5]||(U[5]=m()),Te(ic,{content:e.planSource},null,8,["content"])]),U[13]||(U[13]=m()),U[14]||(U[14]=T("p",{class:"card-text text-body-dark"},` - The plan you submited couldn't be parsed. This may be a bug. You can - help us fix it by opening a new issue. - `,-1)),U[15]||(U[15]=m()),T("div",RU,[T("span",OU,[Te(zh),U[6]||(U[6]=m(` - PEV2 `,-1)),T("i",null,"version "+ie(d(r)),1)]),U[7]||(U[7]=m()),U[8]||(U[8]=T("a",{href:"https://github.com/dalibo/pev2/issues/new?template=parsing_error.md&labels=parsing&title=Failed+to+parse+plan",target:"_blank",class:"btn btn-primary ms-auto"},"Open an issue on Github",-1))])])])]))}});export{lk as S}; diff --git a/app/static/dist/assets/plan-CoLxfwo8.css b/app/static/dist/assets/plan-CoLxfwo8.css deleted file mode 100644 index 0158381..0000000 --- a/app/static/dist/assets/plan-CoLxfwo8.css +++ /dev/null @@ -1 +0,0 @@ -.btn-group>.btn-tooltip-wrapper[data-v-7b3a5a5b]:not(:last-child){margin-right:-1px}.btn-group>.btn-tooltip-wrapper>.btn[data-v-7b3a5a5b]{border-radius:0}.btn-group>.btn-tooltip-wrapper:first-child>.btn[data-v-7b3a5a5b]{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.btn-group>.btn-tooltip-wrapper:last-child>.btn[data-v-7b3a5a5b]{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}table thead tr.table-group th[data-v-fca44b36]{border-left:1px solid #b5b6b7;border-bottom:0}table thead tr.table-group th:empty+th[data-v-fca44b36]:empty{border-left:0}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{-webkit-user-select:none;user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme .splitpanes--dragging{-webkit-user-select:none;user-select:none;pointer-events:none}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.alert.c-1{background-color:#ccc;color:#454545;font-weight:700}.alert.c-1 .text-secondary{color:#454545!important;font-weight:400}.progress-bar.c-1{background-color:#ccc;border-color:#ccc!important}.text-c-1{color:#ccc}svg circle.c-1{fill:#ccc}.alert.c-2{background-color:#fddb61;color:#454545;font-weight:700}.alert.c-2 .text-secondary{color:#454545!important;font-weight:400}.progress-bar.c-2{background-color:#fddb61;border-color:#fddb61!important}.text-c-2{color:#fddb61}svg circle.c-2{fill:#fddb61}.alert.c-3{background-color:#e80;color:#454545;font-weight:700}.alert.c-3 .text-secondary{color:#454545!important;font-weight:400}.progress-bar.c-3{background-color:#e80;border-color:#e80!important}.text-c-3{color:#e80}svg circle.c-3{fill:#e80}.alert.c-4{background-color:#800;color:#fff;font-weight:700}.alert.c-4 .text-secondary{color:#fff!important;font-weight:400}.progress-bar.c-4{background-color:#800;border-color:#800!important}.text-c-4{color:#800}svg circle.c-4{fill:#800}.bg-hit{background-color:#ccc}.border-hit{border-color:#ccc!important}.bg-read{background-color:#fddb61}.border-read{border-color:#fddb61!important}.bg-dirtied{background-color:#e80}.border-dirtied{border-color:#e80!important}.bg-written{background-color:#800}.border-written{border-color:#800!important}.btn-group-xs .btn,.btn-xs{padding:.25rem .4rem;font-size:12px;border-radius:.2rem}.btn-group-xs .btn,.btn-group-xs .btn .fa,.btn-xs,.btn-xs .fa{line-height:.5}.never-executed,.bg-hatched{background-image:linear-gradient(45deg,#f7f7f7 25%,transparent 25%,transparent 50%,#f7f7f7 50%,#f7f7f7 75%,transparent 75%,transparent);background-size:1rem 1rem}.border-dashed{border-style:dashed!important;background-color:transparent!important}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden}.opacity-20{opacity:.2!important}.bg-secondary-light{background-color:#dedede!important}.plan-container{font-family:Noto Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.plan-container .menu{position:absolute;z-index:1;right:0}.plan-container .menu-hidden ul,.plan-container .menu-hidden h3{display:none}.plan-container .grab-bing{cursor:-webkit-grab;cursor:-moz-grab;cursor:-o-grab;cursor:grab}.plan-container .grab-bing:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:-o-grabbing;cursor:grabbing}.plan-container .text-secondary{color:#ababab!important}.plan-container .cursor-help{cursor:help}.plan-container pre{overflow:initial}.plan-stats{font-size:13px}.plan-stats .stat-dropdown-container{border:1px solid #dedede;padding:10px;background-color:#fff;position:absolute;box-shadow:0 0 10px 2px #0000004d;border-radius:3px;margin-bottom:18px;z-index:6;right:0;width:300px;max-height:70vh;overflow:auto}.plan-stats .stat-dropdown-container h3{font-size:17px;width:93%;text-align:left;border-bottom:1px solid #dedede;padding-bottom:6px;margin-bottom:10px}.tippy-popper .tippy-tooltip{text-align:left}.tippy-popper .text-secondary{color:inherit!important}.splitpanes__pane{transition:none!important}.no-focus-outline:focus{outline:none}.table-nonfluid{width:auto!important}.more-info[title]{text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#ababab;cursor:help}foreignObject{overflow:visible}.never-executed td{background-color:initial!important}.plan-diagram{line-height:.85em;font-family:Noto Sans,sans-serif}.plan-diagram.plan-diagram-top{max-height:30%}.plan-diagram table tr td:nth-child(3){width:50%}.plan-diagram table tr td:nth-child(2){max-width:0;width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-diagram .legend ul li{font-size:13px}.plan-diagram .legend ul li span{display:inline-block;width:8px;height:8px;border-radius:50%}.plan-diagram tbody:after{content:"";display:block;height:10px}.plan-diagram th,.plan-diagram td{margin:0;color:#4d525a;white-space:nowrap}.plan-diagram th.node-index,.plan-diagram th.node-type,.plan-diagram th.subplan,.plan-diagram td.node-index,.plan-diagram td.node-type,.plan-diagram td.subplan{font-size:13px}.plan-diagram th.node-type,.plan-diagram td.node-type{font-weight:700}.plan-diagram th{font-size:13px}.plan-diagram tr.node{cursor:pointer}.plan-diagram tr.selected{outline:1px solid #00b5e2;box-shadow:0 0 5px 2px #00b5e266}.plan-diagram tr.highlight,.plan-diagram tr.selected{background-color:#fff}.plan-diagram table.highlight tr{opacity:50%}.plan-diagram table.highlight tr.highlight{opacity:100%}.plan-diagram .tree-lines{font-family:"monospace"}.plan-grid{background-color:#fff;line-height:.85em}.plan-grid>table{border-collapse:separate;border-spacing:0}.plan-grid>table>tbody>tr>th,.plan-grid>table>tbody>tr>td,.plan-grid>table>thead>tr>th,.plan-grid>table>thead>tr>td,.plan-grid>table>tr>th,.plan-grid>table>tr>td{font-size:11.7px;min-width:20px;padding-left:.5rem;padding-right:.5rem}.plan-grid .detailed{line-height:initial;margin:5px;width:calc(100% - 10px)!important;max-width:700px}.plan-grid .tree-lines{font-family:"monospace"}.plan-grid tr.node{cursor:pointer}.plan-grid .grid-progress-cell{position:relative;background-color:transparent}.plan-grid .grid-progress-cell .grid-progress{margin-top:1px}.plan-grid .grid-progress{position:absolute;width:100%;height:initial;left:calc(.5rem - 2px);top:calc(-3px + .25rem);height:calc(1em + 4px);width:calc(100% - 1rem + 4px);z-index:0;font-size:inherit}.plan-node{cursor:default;text-decoration:none;color:#4d525a;display:inline-block;position:relative;font-size:12px;margin-bottom:4px;overflow-wrap:break-word;word-wrap:break-word;width:240px}.plan-node .plan-node-body{position:relative;border:1px solid #dedede;border-radius:3px;background-color:#fff;box-shadow:1px 1px 3px #0000001a}.plan-node .plan-node-body.card .card-body,.plan-node .plan-node-body.card .card-header{padding:6px 10px}.plan-node .plan-node-body.card .card-header .card-header-tabs{margin:6px 0 -6px}.plan-node .plan-node-body.card .card-header .card-header-tabs .nav-link{padding:3px 10px}.plan-node.parallel .plan-node-body{box-shadow:none}.plan-node header{margin-bottom:6px;overflow:hidden}.plan-node header h4{font-size:13px;font-weight:600;margin:0;line-height:inherit;color:#000!important}.plan-node header .node-duration{float:right;margin-left:10px;font-size:13px}.plan-node .prop-list{color:inherit;table-layout:fixed}.plan-node:hover .plan-node-body,.plan-node.highlight .plan-node-body{box-shadow:1px 1px 5px #0006}.plan-node:hover .workers>div,.plan-node.highlight .workers>div{border-color:#0003}.plan-node.selected .plan-node-body{border-color:#00b5e2;box-shadow:0 0 5px 2px #00b5e266}.plan-node.selected .workers>div{border-color:#00b5e233}.plan-node .node-description{text-align:left;font-style:italic;word-break:normal}.plan-node .node-description .node-type{font-weight:600;background-color:#00b5e2;color:#fff;padding:0 6px}.plan-node .btn-default{border:0}.plan-node .text-secondary{color:#999ea7}.plan-node .plan-query-container{border:1px solid #dedede;padding:18px;background-color:#fff;position:absolute;box-shadow:0 0 10px 2px #0000004d;border-radius:3px;margin-bottom:18px;z-index:1;left:0}.plan-node .plan-query-container h3{font-size:17px;width:93%;text-align:left;border-bottom:1px solid #dedede;padding-bottom:6px;margin-bottom:10px}.plan-node .workers{position:absolute;left:-1px;top:1px;width:100%;height:100%;cursor:pointer}.plan-node .workers>div{border:1px solid #dedede;border-radius:3px;background-color:#fff;width:100%;height:100%;position:absolute}.plan-node .workers-handle{cursor:pointer;position:absolute;top:0;right:-5px}.plan-node .workers-handle>div{position:absolute;top:0;background-color:#fff;border:1px solid #efefef;border-radius:3px}.plan-node .workers-handle>div:hover{background-color:#f7f7f7;border-color:#dedede}.plan-node .subplan-name{background-color:#b3d7d7;border-radius:3px}.plan-node button .fa-chevron-right{display:inline-block}.plan-node button .fa-chevron-down{display:none}.plan-node button[aria-expanded=true] .fa-chevron-right{display:none!important}.plan-node button[aria-expanded=true] .fa-chevron-down{display:inline-block!important}.plan-node.plan-node-detail .text-truncate{overflow:initial;white-space:initial;text-overflow:initial}.node-bar-container{height:5px;margin-top:10px;margin-bottom:3px;border-radius:6px;background-color:#dedede;position:relative}.node-bar-container .node-bar{border-radius:6px;height:100%;text-align:left;position:absolute;left:0;top:0}.node-bar-label{text-align:left;display:block}.detailed{width:400px!important}*>.copy{display:none}*:hover>.copy{display:block}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#2f3337;background:#f6f6f6}.hljs-subst{color:#2f3337}.hljs-comment{color:#656e77}.hljs-keyword,.hljs-selector-tag,.hljs-meta .hljs-keyword,.hljs-doctag,.hljs-section,.hljs-attr{color:#015692}.hljs-attribute{color:#803378}.hljs-name,.hljs-type,.hljs-number,.hljs-selector-id,.hljs-quote,.hljs-template-tag{color:#b75501}.hljs-selector-class{color:#015692}.hljs-string,.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr{color:#54790d}.hljs-meta,.hljs-selector-pseudo{color:#015692}.hljs-built_in,.hljs-title,.hljs-literal{color:#b75501}.hljs-bullet,.hljs-code{color:#535a60}.hljs-meta .hljs-string{color:#54790d}.hljs-deletion{color:#c02d2e}.hljs-addition{color:#2f6f44}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}path{stroke-linecap:butt}path.never-executed{stroke-dasharray:.5em;stroke-opacity:.5} diff --git a/app/static/dist/assets/plan-DKe1sD8E.js b/app/static/dist/assets/plan-DKe1sD8E.js deleted file mode 100644 index 5a021ca..0000000 --- a/app/static/dist/assets/plan-DKe1sD8E.js +++ /dev/null @@ -1 +0,0 @@ -import{l as Bn,a as In,F as $n}from"./about-CKQnskSa.js";import{r as te,c as It,f as jn,g as kn,h as $t,i as Hn,t as Nn,d as tn,b as Tt,n as Vn,w as st,u as nn,a as Un,J as Ee,E as Fn,y as Wn,G as _n,H as pe,I as jt,L as Xn,K as yt}from"./vue-BjHIh3JK.js";import{S as Yn}from"./pev2-DHmpisUd.js";const qn={class:"lh-1"},zn=["title"],Gn={__name:"created",props:["date"],setup(e){const t=e,n=new Date(t.date);te(navigator.language);const r=It(()=>n.toLocaleString(navigator.language,{year:"numeric",month:"short",day:"numeric"})),o=It(()=>n.toLocaleString(navigator.language,{weekday:"short",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}));return(a,s)=>(kn(),jn("small",qn,[$t("small",null,[s[0]||(s[0]=Hn("created ",-1)),$t("span",{title:o.value},"on "+Nn(r.value),9,zn)])]))}};var U="top",X="bottom",Y="right",F="left",Ct="auto",_e=[U,X,Y,F],Pe="start",Ue="end",Kn="clippingParents",rn="viewport",He="popper",Jn="reference",kt=_e.reduce(function(e,t){return e.concat([t+"-"+Pe,t+"-"+Ue])},[]),on=[].concat(_e,[Ct]).reduce(function(e,t){return e.concat([t,t+"-"+Pe,t+"-"+Ue])},[]),Zn="beforeRead",Qn="read",er="afterRead",tr="beforeMain",nr="main",rr="afterMain",ir="beforeWrite",or="write",ar="afterWrite",sr=[Zn,Qn,er,tr,nr,rr,ir,or,ar];function re(e){return e?(e.nodeName||"").toLowerCase():null}function K(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function De(e){var t=K(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=K(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function an(e){if(typeof ShadowRoot>"u")return!1;var t=K(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ur(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!_(a)||!re(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(s){var u=o[s];u===!1?a.removeAttribute(s):a.setAttribute(s,u===!0?"":u)}))})}function fr(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=s.reduce(function(f,d){return f[d]="",f},{});!_(o)||!re(o)||(Object.assign(o.style,u),Object.keys(a).forEach(function(f){o.removeAttribute(f)}))})}}var sn={name:"applyStyles",enabled:!0,phase:"write",fn:ur,effect:fr,requires:["computeStyles"]};function ne(e){return e.split("-")[0]}var be=Math.max,ut=Math.min,Se=Math.round;function Me(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(_(e)&&t){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(r=Se(n.width)/s||1),a>0&&(o=Se(n.height)/a||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function At(e){var t=Me(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function un(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&an(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ie(e){return K(e).getComputedStyle(e)}function lr(e){return["table","td","th"].indexOf(re(e))>=0}function ce(e){return((De(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return re(e)==="html"?e:e.assignedSlot||e.parentNode||(an(e)?e.host:null)||ce(e)}function Ht(e){return!_(e)||ie(e).position==="fixed"?null:e.offsetParent}function pr(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&_(e)){var r=ie(e);if(r.position==="fixed")return null}for(var o=lt(e);_(o)&&["html","body"].indexOf(re(o))<0;){var a=ie(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function Xe(e){for(var t=K(e),n=Ht(e);n&&lr(n)&&ie(n).position==="static";)n=Ht(n);return n&&(re(n)==="html"||re(n)==="body"&&ie(n).position==="static")?t:n||pr(e)||t}function Et(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ne(e,t,n){return be(e,ut(t,n))}function cr(e,t,n){var r=Ne(e,t,n);return r>n?n:r}function fn(){return{top:0,right:0,bottom:0,left:0}}function ln(e){return Object.assign({},fn(),e)}function pn(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var dr=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ln(typeof t!="number"?t:pn(t,_e))};function vr(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,u=ne(n.placement),f=Et(u),d=[F,Y].indexOf(u)>=0,p=d?"height":"width";if(!(!a||!s)){var T=dr(o.padding,n),E=At(a),b=f==="y"?U:F,g=f==="y"?X:Y,y=n.rects.reference[p]+n.rects.reference[f]-s[f]-n.rects.popper[p],C=s[f]-n.rects.reference[f],m=Xe(a),A=m?f==="y"?m.clientHeight||0:m.clientWidth||0:0,D=y/2-C/2,i=T[b],w=A-E[p]-T[g],v=A/2-E[p]/2+D,c=Ne(i,v,w),h=f;n.modifiersData[r]=(t={},t[h]=c,t.centerOffset=c-v,t)}}function mr(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||un(t.elements.popper,o)&&(t.elements.arrow=o))}var gr={name:"arrow",enabled:!0,phase:"main",fn:vr,effect:mr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Le(e){return e.split("-")[1]}var hr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yr(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:Se(t*o)/o||0,y:Se(n*o)/o||0}}function Nt(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,u=e.position,f=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,T=e.isFixed,E=p===!0?yr(s):typeof p=="function"?p(s):s,b=E.x,g=b===void 0?0:b,y=E.y,C=y===void 0?0:y,m=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),D=F,i=U,w=window;if(d){var v=Xe(n),c="clientHeight",h="clientWidth";if(v===K(n)&&(v=ce(n),ie(v).position!=="static"&&u==="absolute"&&(c="scrollHeight",h="scrollWidth")),v=v,o===U||(o===F||o===Y)&&a===Ue){i=X;var M=T&&w.visualViewport?w.visualViewport.height:v[c];C-=M-r.height,C*=f?1:-1}if(o===F||(o===U||o===X)&&a===Ue){D=Y;var B=T&&w.visualViewport?w.visualViewport.width:v[h];g-=B-r.width,g*=f?1:-1}}var I=Object.assign({position:u},d&&hr);if(f){var R;return Object.assign({},I,(R={},R[i]=A?"0":"",R[D]=m?"0":"",R.transform=(w.devicePixelRatio||1)<=1?"translate("+g+"px, "+C+"px)":"translate3d("+g+"px, "+C+"px, 0)",R))}return Object.assign({},I,(t={},t[i]=A?C+"px":"",t[D]=m?g+"px":"",t.transform="",t))}function br(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,s=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,d={placement:ne(t.placement),variation:Le(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Nt(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nt(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var wr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:br,data:{}},rt={passive:!0};function Or(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,s=r.resize,u=s===void 0?!0:s,f=K(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",n.update,rt)}),u&&f.addEventListener("resize",n.update,rt),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",n.update,rt)}),u&&f.removeEventListener("resize",n.update,rt)}}var xr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Or,data:{}},Tr={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e){return e.replace(/left|right|bottom|top/g,function(t){return Tr[t]})}var Cr={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Cr[t]})}function Pt(e){var t=K(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Dt(e){return Me(ce(e)).left+Pt(e).scrollLeft}function Ar(e){var t=K(e),n=ce(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,u=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,u=r.offsetTop)),{width:o,height:a,x:s+Dt(e),y:u}}function Er(e){var t,n=ce(e),r=Pt(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=be(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=be(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Dt(e),f=-r.scrollTop;return ie(o||n).direction==="rtl"&&(u+=be(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:u,y:f}}function St(e){var t=ie(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function cn(e){return["html","body","#document"].indexOf(re(e))>=0?e.ownerDocument.body:_(e)&&St(e)?e:cn(lt(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var r=cn(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=K(r),s=o?[a].concat(a.visualViewport||[],St(r)?r:[]):r,u=t.concat(s);return o?u:u.concat(Ve(lt(s)))}function bt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pr(e){var t=Me(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Ut(e,t){return t===rn?bt(Ar(e)):De(t)?Pr(t):bt(Er(ce(e)))}function Dr(e){var t=Ve(lt(e)),n=["absolute","fixed"].indexOf(ie(e).position)>=0,r=n&&_(e)?Xe(e):e;return De(r)?t.filter(function(o){return De(o)&&un(o,r)&&re(o)!=="body"&&(n?ie(o).position!=="static":!0)}):[]}function Sr(e,t,n){var r=t==="clippingParents"?Dr(e):[].concat(t),o=[].concat(r,[n]),a=o[0],s=o.reduce(function(u,f){var d=Ut(e,f);return u.top=be(d.top,u.top),u.right=ut(d.right,u.right),u.bottom=ut(d.bottom,u.bottom),u.left=be(d.left,u.left),u},Ut(e,a));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function dn(e){var t=e.reference,n=e.element,r=e.placement,o=r?ne(r):null,a=r?Le(r):null,s=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(o){case U:f={x:s,y:t.y-n.height};break;case X:f={x:s,y:t.y+t.height};break;case Y:f={x:t.x+t.width,y:u};break;case F:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var d=o?Et(o):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case Pe:f[d]=f[d]-(t[p]/2-n[p]/2);break;case Ue:f[d]=f[d]+(t[p]/2-n[p]/2);break}}return f}function Fe(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.boundary,s=a===void 0?Kn:a,u=n.rootBoundary,f=u===void 0?rn:u,d=n.elementContext,p=d===void 0?He:d,T=n.altBoundary,E=T===void 0?!1:T,b=n.padding,g=b===void 0?0:b,y=ln(typeof g!="number"?g:pn(g,_e)),C=p===He?Jn:He,m=e.rects.popper,A=e.elements[E?C:p],D=Sr(De(A)?A:A.contextElement||ce(e.elements.popper),s,f),i=Me(e.elements.reference),w=dn({reference:i,element:m,placement:o}),v=bt(Object.assign({},m,w)),c=p===He?v:i,h={top:D.top-c.top+y.top,bottom:c.bottom-D.bottom+y.bottom,left:D.left-c.left+y.left,right:c.right-D.right+y.right},M=e.modifiersData.offset;if(p===He&&M){var B=M[o];Object.keys(h).forEach(function(I){var R=[Y,X].indexOf(I)>=0?1:-1,$=[U,X].indexOf(I)>=0?"y":"x";h[I]+=B[$]*R})}return h}function Mr(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,d=f===void 0?on:f,p=Le(r),T=p?u?kt:kt.filter(function(g){return Le(g)===p}):_e,E=T.filter(function(g){return d.indexOf(g)>=0});E.length===0&&(E=T);var b=E.reduce(function(g,y){return g[y]=Fe(e,{placement:y,boundary:o,rootBoundary:a,padding:s})[ne(y)],g},{});return Object.keys(b).sort(function(g,y){return b[g]-b[y]})}function Lr(e){if(ne(e)===Ct)return[];var t=at(e);return[Vt(e),t,Vt(t)]}function Rr(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,s=n.altAxis,u=s===void 0?!0:s,f=n.fallbackPlacements,d=n.padding,p=n.boundary,T=n.rootBoundary,E=n.altBoundary,b=n.flipVariations,g=b===void 0?!0:b,y=n.allowedAutoPlacements,C=t.options.placement,m=ne(C),A=m===C,D=f||(A||!g?[at(C)]:Lr(C)),i=[C].concat(D).reduce(function(oe,z){return oe.concat(ne(z)===Ct?Mr(t,{placement:z,boundary:p,rootBoundary:T,padding:d,flipVariations:g,allowedAutoPlacements:y}):z)},[]),w=t.rects.reference,v=t.rects.popper,c=new Map,h=!0,M=i[0],B=0;B=0,q=V?"width":"height",k=Fe(t,{placement:I,boundary:p,rootBoundary:T,altBoundary:E,padding:d}),H=V?$?Y:F:$?X:U;w[q]>v[q]&&(H=at(H));var j=at(H),J=[];if(a&&J.push(k[R]<=0),u&&J.push(k[H]<=0,k[j]<=0),J.every(function(oe){return oe})){M=I,h=!1;break}c.set(I,J)}if(h)for(var Z=g?3:1,de=function(z){var ae=i.find(function(Oe){var se=c.get(Oe);if(se)return se.slice(0,z).every(function(xe){return xe})});if(ae)return M=ae,"break"},Q=Z;Q>0;Q--){var ve=de(Q);if(ve==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}var Br={name:"flip",enabled:!0,phase:"main",fn:Rr,requiresIfExists:["offset"],data:{_skip:!1}};function Ft(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Wt(e){return[U,Y,X,F].some(function(t){return e[t]>=0})}function Ir(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=Fe(t,{elementContext:"reference"}),u=Fe(t,{altBoundary:!0}),f=Ft(s,r),d=Ft(u,o,a),p=Wt(f),T=Wt(d);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:T},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":T})}var $r={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ir};function jr(e,t,n){var r=ne(e),o=[F,U].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=a[0],u=a[1];return s=s||0,u=(u||0)*o,[F,Y].indexOf(r)>=0?{x:u,y:s}:{x:s,y:u}}function kr(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,s=on.reduce(function(p,T){return p[T]=jr(T,t.rects,a),p},{}),u=s[t.placement],f=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}var Hr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kr};function Nr(e){var t=e.state,n=e.name;t.modifiersData[n]=dn({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Vr={name:"popperOffsets",enabled:!0,phase:"read",fn:Nr,data:{}};function Ur(e){return e==="x"?"y":"x"}function Fr(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,s=n.altAxis,u=s===void 0?!1:s,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,T=n.padding,E=n.tether,b=E===void 0?!0:E,g=n.tetherOffset,y=g===void 0?0:g,C=Fe(t,{boundary:f,rootBoundary:d,padding:T,altBoundary:p}),m=ne(t.placement),A=Le(t.placement),D=!A,i=Et(m),w=Ur(i),v=t.modifiersData.popperOffsets,c=t.rects.reference,h=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,B=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(v){if(a){var $,V=i==="y"?U:F,q=i==="y"?X:Y,k=i==="y"?"height":"width",H=v[i],j=H+C[V],J=H-C[q],Z=b?-h[k]/2:0,de=A===Pe?c[k]:h[k],Q=A===Pe?-h[k]:-c[k],ve=t.elements.arrow,oe=b&&ve?At(ve):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:fn(),ae=z[V],Oe=z[q],se=Ne(0,c[k],oe[k]),xe=D?c[k]/2-Z-se-ae-B.mainAxis:de-se-ae-B.mainAxis,fe=D?-c[k]/2+Z+se+Oe+B.mainAxis:Q+se+Oe+B.mainAxis,Te=t.elements.arrow&&Xe(t.elements.arrow),Ye=Te?i==="y"?Te.clientTop||0:Te.clientLeft||0:0,Be=($=I?.[i])!=null?$:0,qe=H+xe-Be-Ye,ze=H+fe-Be,Ie=Ne(b?ut(j,qe):j,H,b?be(J,ze):J);v[i]=Ie,R[i]=Ie-H}if(u){var $e,Ge=i==="x"?U:F,Ke=i==="x"?X:Y,ue=v[w],le=w==="y"?"height":"width",je=ue+C[Ge],me=ue-C[Ke],ke=[U,F].indexOf(m)!==-1,Je=($e=I?.[w])!=null?$e:0,Ze=ke?je:ue-c[le]-h[le]-Je+B.altAxis,Qe=ke?ue+c[le]+h[le]-Je-B.altAxis:me,et=b&&ke?cr(Ze,ue,Qe):Ne(b?Ze:je,ue,b?Qe:me);v[w]=et,R[w]=et-ue}t.modifiersData[r]=R}}var Wr={name:"preventOverflow",enabled:!0,phase:"main",fn:Fr,requiresIfExists:["offset"]};function _r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xr(e){return e===K(e)||!_(e)?Pt(e):_r(e)}function Yr(e){var t=e.getBoundingClientRect(),n=Se(t.width)/e.offsetWidth||1,r=Se(t.height)/e.offsetHeight||1;return n!==1||r!==1}function qr(e,t,n){n===void 0&&(n=!1);var r=_(t),o=_(t)&&Yr(t),a=ce(t),s=Me(e,o),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((re(t)!=="body"||St(a))&&(u=Xr(t)),_(t)?(f=Me(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=Dt(a))),{x:s.left+u.scrollLeft-f.x,y:s.top+u.scrollTop-f.y,width:s.width,height:s.height}}function zr(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&o(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function Gr(e){var t=zr(e);return sr.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Kr(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Jr(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var _t={placement:"bottom",modifiers:[],strategy:"absolute"};function Xt(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function bn(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Yt(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function ni(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function ri(e){return e.split(/\s+/).filter(Boolean)}function ye(e){return[].concat(e)}function qt(e,t){e.indexOf(t)===-1&&e.push(t)}function ii(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function wn(e){return e.split("-")[0]}function Re(e){return[].slice.call(e)}function zt(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function we(){return document.createElement("div")}function pt(e){return["Element","Fragment"].some(function(t){return Mt(e,t)})}function oi(e){return Mt(e,"NodeList")}function Lt(e){return Mt(e,"MouseEvent")}function ai(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function si(e){return pt(e)?[e]:oi(e)?Re(e):Array.isArray(e)?e:Re(document.querySelectorAll(e))}function mt(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function We(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function On(e){var t,n=ye(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function ui(e,t){var n=t.clientX,r=t.clientY;return e.every(function(o){var a=o.popperRect,s=o.popperState,u=o.props,f=u.interactiveBorder,d=wn(s.placement),p=s.modifiersData.offset;if(!p)return!0;var T=d==="bottom"?p.top.y:0,E=d==="top"?p.bottom.y:0,b=d==="right"?p.left.x:0,g=d==="left"?p.right.x:0,y=a.top-r+T>f,C=r-a.bottom-E>f,m=a.left-n+b>f,A=n-a.right-g>f;return y||C||m||A})}function gt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[r](o,n)})}function Gt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var ee={isTouch:!1},Kt=0;function fi(){ee.isTouch||(ee.isTouch=!0,window.performance&&document.addEventListener("mousemove",xn))}function xn(){var e=performance.now();e-Kt<20&&(ee.isTouch=!1,document.removeEventListener("mousemove",xn)),Kt=e}function li(){var e=document.activeElement;if(ai(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function pi(){document.addEventListener("touchstart",fi,he),window.addEventListener("blur",li)}var ci=typeof window<"u"&&typeof document<"u",di=ci?!!window.msCrypto:!1,vi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},mi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},G=Object.assign({appendTo:yn,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},vi,mi),gi=Object.keys(G),hi=function(t){var n=Object.keys(t);n.forEach(function(r){G[r]=t[r]})};function Tn(e){var t=e.plugins||[],n=t.reduce(function(r,o){var a=o.name,s=o.defaultValue;if(a){var u;r[a]=e[a]!==void 0?e[a]:(u=G[a])!=null?u:s}return r},{});return Object.assign({},e,n)}function yi(e,t){var n=t?Object.keys(Tn(Object.assign({},G,{plugins:t}))):gi,r=n.reduce(function(o,a){var s=(e.getAttribute("data-tippy-"+a)||"").trim();if(!s)return o;if(a==="content")o[a]=s;else try{o[a]=JSON.parse(s)}catch{o[a]=s}return o},{});return r}function Jt(e,t){var n=Object.assign({},t,{content:bn(t.content,[e])},t.ignoreAttributes?{}:yi(e,t.plugins));return n.aria=Object.assign({},G.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var bi=function(){return"innerHTML"};function wt(e,t){e[bi()]=t}function Zt(e){var t=we();return e===!0?t.className=gn:(t.className=hn,pt(e)?t.appendChild(e):wt(t,e)),t}function Qt(e,t){pt(t.content)?(wt(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?wt(e,t.content):e.textContent=t.content)}function ft(e){var t=e.firstElementChild,n=Re(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(vn)}),arrow:n.find(function(r){return r.classList.contains(gn)||r.classList.contains(hn)}),backdrop:n.find(function(r){return r.classList.contains(mn)})}}function Cn(e){var t=we(),n=we();n.className=ti,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=we();r.className=vn,r.setAttribute("data-state","hidden"),Qt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props);function o(a,s){var u=ft(t),f=u.box,d=u.content,p=u.arrow;s.theme?f.setAttribute("data-theme",s.theme):f.removeAttribute("data-theme"),typeof s.animation=="string"?f.setAttribute("data-animation",s.animation):f.removeAttribute("data-animation"),s.inertia?f.setAttribute("data-inertia",""):f.removeAttribute("data-inertia"),f.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?f.setAttribute("role",s.role):f.removeAttribute("role"),(a.content!==s.content||a.allowHTML!==s.allowHTML)&&Qt(d,e.props),s.arrow?p?a.arrow!==s.arrow&&(f.removeChild(p),f.appendChild(Zt(s.arrow))):f.appendChild(Zt(s.arrow)):p&&f.removeChild(p)}return{popper:t,onUpdate:o}}Cn.$$tippy=!0;var wi=1,it=[],ht=[];function Oi(e,t){var n=Jt(e,Object.assign({},G,Tn(zt(t)))),r,o,a,s=!1,u=!1,f=!1,d=!1,p,T,E,b=[],g=Yt(qe,n.interactiveDebounce),y,C=wi++,m=null,A=ii(n.plugins),D={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},i={id:C,reference:e,popper:we(),popperInstance:m,props:n,state:D,plugins:A,clearDelayTimeouts:Ze,setProps:Qe,setContent:et,show:Pn,hide:Dn,hideWithInteractivity:Sn,enable:ke,disable:Je,unmount:Mn,destroy:Ln};if(!n.render)return i;var w=n.render(i),v=w.popper,c=w.onUpdate;v.setAttribute("data-tippy-root",""),v.id="tippy-"+i.id,i.popper=v,e._tippy=i,v._tippy=i;var h=A.map(function(l){return l.fn(i)}),M=e.hasAttribute("aria-expanded");return Te(),Z(),H(),j("onCreate",[i]),n.showOnCreate&&je(),v.addEventListener("mouseenter",function(){i.props.interactive&&i.state.isVisible&&i.clearDelayTimeouts()}),v.addEventListener("mouseleave",function(){i.props.interactive&&i.props.trigger.indexOf("mouseenter")>=0&&V().addEventListener("mousemove",g)}),i;function B(){var l=i.props.touch;return Array.isArray(l)?l:[l,0]}function I(){return B()[0]==="hold"}function R(){var l;return!!((l=i.props.render)!=null&&l.$$tippy)}function $(){return y||e}function V(){var l=$().parentNode;return l?On(l):document}function q(){return ft(v)}function k(l){return i.state.isMounted&&!i.state.isVisible||ee.isTouch||p&&p.type==="focus"?0:vt(i.props.delay,l?0:1,G.delay)}function H(l){l===void 0&&(l=!1),v.style.pointerEvents=i.props.interactive&&!l?"":"none",v.style.zIndex=""+i.props.zIndex}function j(l,O,P){if(P===void 0&&(P=!0),h.forEach(function(S){S[l]&&S[l].apply(S,O)}),P){var L;(L=i.props)[l].apply(L,O)}}function J(){var l=i.props.aria;if(l.content){var O="aria-"+l.content,P=v.id,L=ye(i.props.triggerTarget||e);L.forEach(function(S){var N=S.getAttribute(O);if(i.state.isVisible)S.setAttribute(O,N?N+" "+P:P);else{var W=N&&N.replace(P,"").trim();W?S.setAttribute(O,W):S.removeAttribute(O)}})}}function Z(){if(!(M||!i.props.aria.expanded)){var l=ye(i.props.triggerTarget||e);l.forEach(function(O){i.props.interactive?O.setAttribute("aria-expanded",i.state.isVisible&&O===$()?"true":"false"):O.removeAttribute("aria-expanded")})}}function de(){V().removeEventListener("mousemove",g),it=it.filter(function(l){return l!==g})}function Q(l){if(!(ee.isTouch&&(f||l.type==="mousedown"))){var O=l.composedPath&&l.composedPath()[0]||l.target;if(!(i.props.interactive&&Gt(v,O))){if(ye(i.props.triggerTarget||e).some(function(P){return Gt(P,O)})){if(ee.isTouch||i.state.isVisible&&i.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[i,l]);i.props.hideOnClick===!0&&(i.clearDelayTimeouts(),i.hide(),u=!0,setTimeout(function(){u=!1}),i.state.isMounted||ae())}}}function ve(){f=!0}function oe(){f=!1}function z(){var l=V();l.addEventListener("mousedown",Q,!0),l.addEventListener("touchend",Q,he),l.addEventListener("touchstart",oe,he),l.addEventListener("touchmove",ve,he)}function ae(){var l=V();l.removeEventListener("mousedown",Q,!0),l.removeEventListener("touchend",Q,he),l.removeEventListener("touchstart",oe,he),l.removeEventListener("touchmove",ve,he)}function Oe(l,O){xe(l,function(){!i.state.isVisible&&v.parentNode&&v.parentNode.contains(v)&&O()})}function se(l,O){xe(l,O)}function xe(l,O){var P=q().box;function L(S){S.target===P&&(gt(P,"remove",L),O())}if(l===0)return O();gt(P,"remove",T),gt(P,"add",L),T=L}function fe(l,O,P){P===void 0&&(P=!1);var L=ye(i.props.triggerTarget||e);L.forEach(function(S){S.addEventListener(l,O,P),b.push({node:S,eventType:l,handler:O,options:P})})}function Te(){I()&&(fe("touchstart",Be,{passive:!0}),fe("touchend",ze,{passive:!0})),ri(i.props.trigger).forEach(function(l){if(l!=="manual")switch(fe(l,Be),l){case"mouseenter":fe("mouseleave",ze);break;case"focus":fe(di?"focusout":"blur",Ie);break;case"focusin":fe("focusout",Ie);break}})}function Ye(){b.forEach(function(l){var O=l.node,P=l.eventType,L=l.handler,S=l.options;O.removeEventListener(P,L,S)}),b=[]}function Be(l){var O,P=!1;if(!(!i.state.isEnabled||$e(l)||u)){var L=((O=p)==null?void 0:O.type)==="focus";p=l,y=l.currentTarget,Z(),!i.state.isVisible&&Lt(l)&&it.forEach(function(S){return S(l)}),l.type==="click"&&(i.props.trigger.indexOf("mouseenter")<0||s)&&i.props.hideOnClick!==!1&&i.state.isVisible?P=!0:je(l),l.type==="click"&&(s=!P),P&&!L&&me(l)}}function qe(l){var O=l.target,P=$().contains(O)||v.contains(O);if(!(l.type==="mousemove"&&P)){var L=le().concat(v).map(function(S){var N,W=S._tippy,Ce=(N=W.popperInstance)==null?void 0:N.state;return Ce?{popperRect:S.getBoundingClientRect(),popperState:Ce,props:n}:null}).filter(Boolean);ui(L,l)&&(de(),me(l))}}function ze(l){var O=$e(l)||i.props.trigger.indexOf("click")>=0&&s;if(!O){if(i.props.interactive){i.hideWithInteractivity(l);return}me(l)}}function Ie(l){i.props.trigger.indexOf("focusin")<0&&l.target!==$()||i.props.interactive&&l.relatedTarget&&v.contains(l.relatedTarget)||me(l)}function $e(l){return ee.isTouch?I()!==l.type.indexOf("touch")>=0:!1}function Ge(){Ke();var l=i.props,O=l.popperOptions,P=l.placement,L=l.offset,S=l.getReferenceClientRect,N=l.moveTransition,W=R()?ft(v).arrow:null,Ce=S?{getBoundingClientRect:S,contextElement:S.contextElement||$()}:e,Bt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(tt){var Ae=tt.state;if(R()){var Rn=q(),dt=Rn.box;["placement","reference-hidden","escaped"].forEach(function(nt){nt==="placement"?dt.setAttribute("data-placement",Ae.placement):Ae.attributes.popper["data-popper-"+nt]?dt.setAttribute("data-"+nt,""):dt.removeAttribute("data-"+nt)}),Ae.attributes.popper={}}}},ge=[{name:"offset",options:{offset:L}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!N}},Bt];R()&&W&&ge.push({name:"arrow",options:{element:W,padding:3}}),ge.push.apply(ge,O?.modifiers||[]),i.popperInstance=ei(Ce,v,Object.assign({},O,{placement:P,onFirstUpdate:E,modifiers:ge}))}function Ke(){i.popperInstance&&(i.popperInstance.destroy(),i.popperInstance=null)}function ue(){var l=i.props.appendTo,O,P=$();i.props.interactive&&l===yn||l==="parent"?O=P.parentNode:O=bn(l,[P]),O.contains(v)||O.appendChild(v),i.state.isMounted=!0,Ge()}function le(){return Re(v.querySelectorAll("[data-tippy-root]"))}function je(l){i.clearDelayTimeouts(),l&&j("onTrigger",[i,l]),z();var O=k(!0),P=B(),L=P[0],S=P[1];ee.isTouch&&L==="hold"&&S&&(O=S),O?r=setTimeout(function(){i.show()},O):i.show()}function me(l){if(i.clearDelayTimeouts(),j("onUntrigger",[i,l]),!i.state.isVisible){ae();return}if(!(i.props.trigger.indexOf("mouseenter")>=0&&i.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(l.type)>=0&&s)){var O=k(!1);O?o=setTimeout(function(){i.state.isVisible&&i.hide()},O):a=requestAnimationFrame(function(){i.hide()})}}function ke(){i.state.isEnabled=!0}function Je(){i.hide(),i.state.isEnabled=!1}function Ze(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(a)}function Qe(l){if(!i.state.isDestroyed){j("onBeforeUpdate",[i,l]),Ye();var O=i.props,P=Jt(e,Object.assign({},O,zt(l),{ignoreAttributes:!0}));i.props=P,Te(),O.interactiveDebounce!==P.interactiveDebounce&&(de(),g=Yt(qe,P.interactiveDebounce)),O.triggerTarget&&!P.triggerTarget?ye(O.triggerTarget).forEach(function(L){L.removeAttribute("aria-expanded")}):P.triggerTarget&&e.removeAttribute("aria-expanded"),Z(),H(),c&&c(O,P),i.popperInstance&&(Ge(),le().forEach(function(L){requestAnimationFrame(L._tippy.popperInstance.forceUpdate)})),j("onAfterUpdate",[i,l])}}function et(l){i.setProps({content:l})}function Pn(){var l=i.state.isVisible,O=i.state.isDestroyed,P=!i.state.isEnabled,L=ee.isTouch&&!i.props.touch,S=vt(i.props.duration,0,G.duration);if(!(l||O||P||L)&&!$().hasAttribute("disabled")&&(j("onShow",[i],!1),i.props.onShow(i)!==!1)){if(i.state.isVisible=!0,R()&&(v.style.visibility="visible"),H(),z(),i.state.isMounted||(v.style.transition="none"),R()){var N=q(),W=N.box,Ce=N.content;mt([W,Ce],0)}E=function(){var ge;if(!(!i.state.isVisible||d)){if(d=!0,v.offsetHeight,v.style.transition=i.props.moveTransition,R()&&i.props.animation){var ct=q(),tt=ct.box,Ae=ct.content;mt([tt,Ae],S),We([tt,Ae],"visible")}J(),Z(),qt(ht,i),(ge=i.popperInstance)==null||ge.forceUpdate(),j("onMount",[i]),i.props.animation&&R()&&se(S,function(){i.state.isShown=!0,j("onShown",[i])})}},ue()}}function Dn(){var l=!i.state.isVisible,O=i.state.isDestroyed,P=!i.state.isEnabled,L=vt(i.props.duration,1,G.duration);if(!(l||O||P)&&(j("onHide",[i],!1),i.props.onHide(i)!==!1)){if(i.state.isVisible=!1,i.state.isShown=!1,d=!1,s=!1,R()&&(v.style.visibility="hidden"),de(),ae(),H(!0),R()){var S=q(),N=S.box,W=S.content;i.props.animation&&(mt([N,W],L),We([N,W],"hidden"))}J(),Z(),i.props.animation?R()&&Oe(L,i.unmount):i.unmount()}}function Sn(l){V().addEventListener("mousemove",g),qt(it,g),g(l)}function Mn(){i.state.isVisible&&i.hide(),i.state.isMounted&&(Ke(),le().forEach(function(l){l._tippy.unmount()}),v.parentNode&&v.parentNode.removeChild(v),ht=ht.filter(function(l){return l!==i}),i.state.isMounted=!1,j("onHidden",[i]))}function Ln(){i.state.isDestroyed||(i.clearDelayTimeouts(),i.unmount(),Ye(),delete e._tippy,i.state.isDestroyed=!0,j("onDestroy",[i]))}}function x(e,t){t===void 0&&(t={});var n=G.plugins.concat(t.plugins||[]);pi();var r=Object.assign({},t,{plugins:n}),o=si(e),a=o.reduce(function(s,u){var f=u&&Oi(u,r);return f&&s.push(f),s},[]);return pt(e)?a[0]:a}x.defaultProps=G;x.setDefaultProps=hi;x.currentInput=ee;var xi=Object.assign({},sn,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Ti=function(t,n){var r;n===void 0&&(n={});var o=t,a=[],s=[],u,f=n.overrides,d=[],p=!1;function T(){s=o.map(function(i){return ye(i.props.triggerTarget||i.reference)}).reduce(function(i,w){return i.concat(w)},[])}function E(){a=o.map(function(i){return i.reference})}function b(i){o.forEach(function(w){i?w.enable():w.disable()})}function g(i){return o.map(function(w){var v=w.setProps;return w.setProps=function(c){v(c),w.reference===u&&i.setProps(c)},function(){w.setProps=v}})}function y(i,w){var v=s.indexOf(w);if(w!==u){u=w;var c=(f||[]).concat("content").reduce(function(h,M){return h[M]=o[v].props[M],h},{});i.setProps(Object.assign({},c,{getReferenceClientRect:typeof c.getReferenceClientRect=="function"?c.getReferenceClientRect:function(){var h;return(h=a[v])==null?void 0:h.getBoundingClientRect()}}))}}b(!1),E(),T();var C={fn:function(){return{onDestroy:function(){b(!0)},onHidden:function(){u=null},onClickOutside:function(v){v.props.showOnCreate&&!p&&(p=!0,u=null)},onShow:function(v){v.props.showOnCreate&&!p&&(p=!0,y(v,a[0]))},onTrigger:function(v,c){y(v,c.currentTarget)}}}},m=x(we(),Object.assign({},ni(n,["overrides"]),{plugins:[C].concat(n.plugins||[]),triggerTarget:s,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[xi])})})),A=m.show;m.show=function(i){if(A(),!u&&i==null)return y(m,a[0]);if(!(u&&i==null)){if(typeof i=="number")return a[i]&&y(m,a[i]);if(o.indexOf(i)>=0){var w=i.reference;return y(m,w)}if(a.indexOf(i)>=0)return y(m,i)}},m.showNext=function(){var i=a[0];if(!u)return m.show(0);var w=a.indexOf(u);m.show(a[w+1]||i)},m.showPrevious=function(){var i=a[a.length-1];if(!u)return m.show(i);var w=a.indexOf(u),v=a[w-1]||i;m.show(v)};var D=m.setProps;return m.setProps=function(i){f=i.overrides||f,D(i)},m.setInstances=function(i){b(!0),d.forEach(function(w){return w()}),o=i,b(!1),E(),T(),d=g(m),m.setProps({triggerTarget:s})},d=g(m),m},Ci={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var r=ft(t.popper),o=r.box,a=r.content,s=t.props.animateFill?Ai():null;return{onCreate:function(){s&&(o.insertBefore(s,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var f=o.style.transitionDuration,d=Number(f.replace("ms",""));a.style.transitionDelay=Math.round(d/10)+"ms",s.style.transitionDuration=f,We([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&We([s],"hidden")}}}};function Ai(){var e=we();return e.className=mn,We([e],"hidden"),e}var Ot={clientX:0,clientY:0},ot=[];function An(e){var t=e.clientX,n=e.clientY;Ot={clientX:t,clientY:n}}function Ei(e){e.addEventListener("mousemove",An)}function Pi(e){e.removeEventListener("mousemove",An)}var Di={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=On(t.props.triggerTarget||n),o=!1,a=!1,s=!0,u=t.props;function f(){return t.props.followCursor==="initial"&&t.state.isVisible}function d(){r.addEventListener("mousemove",E)}function p(){r.removeEventListener("mousemove",E)}function T(){o=!0,t.setProps({getReferenceClientRect:null}),o=!1}function E(y){var C=y.target?n.contains(y.target):!0,m=t.props.followCursor,A=y.clientX,D=y.clientY,i=n.getBoundingClientRect(),w=A-i.left,v=D-i.top;(C||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var h=n.getBoundingClientRect(),M=A,B=D;m==="initial"&&(M=h.left+w,B=h.top+v);var I=m==="horizontal"?h.top:B,R=m==="vertical"?h.right:M,$=m==="horizontal"?h.bottom:B,V=m==="vertical"?h.left:M;return{width:R-V,height:$-I,top:I,right:R,bottom:$,left:V}}})}function b(){t.props.followCursor&&(ot.push({instance:t,doc:r}),Ei(r))}function g(){ot=ot.filter(function(y){return y.instance!==t}),ot.filter(function(y){return y.doc===r}).length===0&&Pi(r)}return{onCreate:b,onDestroy:g,onBeforeUpdate:function(){u=t.props},onAfterUpdate:function(C,m){var A=m.followCursor;o||A!==void 0&&u.followCursor!==A&&(g(),A?(b(),t.state.isMounted&&!a&&!f()&&d()):(p(),T()))},onMount:function(){t.props.followCursor&&!a&&(s&&(E(Ot),s=!1),f()||d())},onTrigger:function(C,m){Lt(m)&&(Ot={clientX:m.clientX,clientY:m.clientY}),a=m.type==="focus"},onHidden:function(){t.props.followCursor&&(T(),p(),s=!0)}}}};function Si(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var o=r.name;return o!==t.name}),[t])})}}var Mi={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function r(){return!!t.props.inlinePositioning}var o,a=-1,s=!1,u=[],f={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(b){var g=b.state;r()&&(u.indexOf(g.placement)!==-1&&(u=[]),o!==g.placement&&u.indexOf(g.placement)===-1&&(u.push(g.placement),t.setProps({getReferenceClientRect:function(){return d(g.placement)}})),o=g.placement)}};function d(E){return Li(wn(E),n.getBoundingClientRect(),Re(n.getClientRects()),a)}function p(E){s=!0,t.setProps(E),s=!1}function T(){s||p(Si(t.props,f))}return{onCreate:T,onAfterUpdate:T,onTrigger:function(b,g){if(Lt(g)){var y=Re(t.reference.getClientRects()),C=y.find(function(A){return A.left-2<=g.clientX&&A.right+2>=g.clientX&&A.top-2<=g.clientY&&A.bottom+2>=g.clientY}),m=y.indexOf(C);a=m>-1?m:a}},onHidden:function(){a=-1}}}};function Li(e,t,n,r){if(n.length<2||e===null)return t;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":{var o=n[0],a=n[n.length-1],s=e==="top",u=o.top,f=a.bottom,d=s?o.left:a.left,p=s?o.right:a.right,T=p-d,E=f-u;return{top:u,bottom:f,left:d,right:p,width:T,height:E}}case"left":case"right":{var b=Math.min.apply(Math,n.map(function(v){return v.left})),g=Math.max.apply(Math,n.map(function(v){return v.right})),y=n.filter(function(v){return e==="left"?v.left===b:v.right===g}),C=y[0].top,m=y[y.length-1].bottom,A=b,D=g,i=D-A,w=m-C;return{top:C,bottom:m,left:A,right:D,width:i,height:w}}default:return t}}var Ri={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function o(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function a(d){return t.props.sticky===!0||t.props.sticky===d}var s=null,u=null;function f(){var d=a("reference")?o().getBoundingClientRect():null,p=a("popper")?r.getBoundingClientRect():null;(d&&en(s,d)||p&&en(u,p))&&t.popperInstance&&t.popperInstance.update(),s=d,u=p,t.state.isMounted&&requestAnimationFrame(f)}return{onMount:function(){t.props.sticky&&f()}}}};function en(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}x.setDefaultProps({render:Cn});x.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const Bi=e=>e instanceof Object&&"$"in e&&"$el"in e;function En(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=Wn(),o=te(),a=te({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),s=Fn();let u=null;const f=()=>u||(u=document.createDocumentFragment(),u),d=c=>{let h,M=pe(c)?c.value:c;return Xn(M)?(s.value||(s.value=yt({name:n.appName,setup:()=>()=>pe(c)?c.value:c}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(f())),h=()=>f()):typeof M=="object"?(s.value||(s.value=yt({name:n.appName,setup:()=>()=>Ee(pe(c)?c.value:c)}),r&&Object.assign(s.value._context,r.appContext),s.value.mount(f())),h=()=>f()):h=M,h},p=c=>{let h={};return pe(c)?h=c.value||{}:jt(c)?h={...c}:h={...c},h.content&&(h.content=d(h.content)),h.triggerTarget&&(h.triggerTarget=pe(h.triggerTarget)?h.triggerTarget.value:h.triggerTarget),(!h.plugins||!Array.isArray(h.plugins))&&(h.plugins=[]),h.plugins=h.plugins.filter(M=>M.name!=="vueTippyReactiveState"),h.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){a.value.isEnabled=!0},onMount(){a.value.isMounted=!0},onShow(){a.value.isMounted=!0,a.value.isVisible=!0},onShown(){a.value.isShown=!0},onHide(){a.value.isMounted=!1,a.value.isVisible=!1},onHidden(){a.value.isShown=!1},onUnmounted(){a.value.isMounted=!1},onDestroy(){a.value.isDestroyed=!0}})}),h},T=()=>{o.value&&o.value.setProps(p(t))},E=()=>{!o.value||!t.content||o.value.setContent(d(t.content))},b=c=>{var h;(h=o.value)===null||h===void 0||h.setContent(d(c))},g=c=>{var h;(h=o.value)===null||h===void 0||h.setProps(p(c))},y=()=>{var c;o.value&&(o.value.destroy(),o.value=void 0),u=null,(c=s.value)===null||c===void 0||c.unmount(),s.value=void 0},C=()=>{var c;(c=o.value)===null||c===void 0||c.show()},m=()=>{var c;(c=o.value)===null||c===void 0||c.hide()},A=()=>{var c;(c=o.value)===null||c===void 0||c.disable(),a.value.isEnabled=!1},D=()=>{var c;(c=o.value)===null||c===void 0||c.enable(),a.value.isEnabled=!0},i=()=>{var c;(c=o.value)===null||c===void 0||c.unmount()},w=()=>{if(!e)return;let c=pe(e)?e.value:e;typeof c=="function"&&(c=c()),Bi(c)&&(c=c.$el),c&&(o.value=x(c,p(t)),c.$tippy=v)},v={tippy:o,refresh:T,refreshContent:E,setContent:b,setProps:g,destroy:y,hide:m,show:C,disable:A,enable:D,unmount:i,mount:w,state:a};return n.mount&&(r?r.isMounted?w():Tt(w):w()),r&&_n(()=>{y()}),pe(t)||jt(t)?st(t,T,{immediate:!1}):pe(t.content)&&st(t.content,E,{immediate:!1}),v}function Ii(e,t){const n=te();return Tt(()=>{const o=(Array.isArray(e)?e.map(a=>a.value):typeof e=="function"?e():e.value).map(a=>a instanceof Element?a._tippy:a).filter(Boolean);n.value=Ti(o,t?{allowHTML:!0,...t}:{allowHTML:!0})}),{singleton:n}}function $i(e){return typeof e=="function"?e():nn(e)}function ji(e){var t,n;const r=$i(e);return(n=(t=r)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:r}const ki=tn({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>x.defaultProps.appendTo},aria:{default:()=>x.defaultProps.aria},delay:{default:()=>x.defaultProps.delay},duration:{default:()=>x.defaultProps.duration},getReferenceClientRect:{default:()=>x.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>x.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>x.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>x.defaultProps.interactive},interactiveBorder:{default:()=>x.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>x.defaultProps.interactiveDebounce},moveTransition:{default:()=>x.defaultProps.moveTransition},offset:{default:()=>x.defaultProps.offset},onAfterUpdate:{default:()=>x.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>x.defaultProps.onBeforeUpdate},onCreate:{default:()=>x.defaultProps.onCreate},onDestroy:{default:()=>x.defaultProps.onDestroy},onHidden:{default:()=>x.defaultProps.onHidden},onHide:{default:()=>x.defaultProps.onHide},onMount:{default:()=>x.defaultProps.onMount},onShow:{default:()=>x.defaultProps.onShow},onShown:{default:()=>x.defaultProps.onShown},onTrigger:{default:()=>x.defaultProps.onTrigger},onUntrigger:{default:()=>x.defaultProps.onUntrigger},onClickOutside:{default:()=>x.defaultProps.onClickOutside},placement:{default:()=>x.defaultProps.placement},plugins:{default:()=>x.defaultProps.plugins},popperOptions:{default:()=>x.defaultProps.popperOptions},render:{default:()=>x.defaultProps.render},showOnCreate:{type:Boolean,default:()=>x.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>x.defaultProps.touch},trigger:{default:()=>x.defaultProps.trigger},triggerTarget:{default:()=>x.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>x.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>x.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>x.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>x.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>x.defaultProps.allowHTML},animation:{default:()=>x.defaultProps.animation},arrow:{default:()=>x.defaultProps.arrow},content:{default:()=>x.defaultProps.content},inertia:{default:()=>x.defaultProps.inertia},maxWidth:{default:()=>x.defaultProps.maxWidth},role:{default:()=>x.defaultProps.role},theme:{default:()=>x.defaultProps.theme},zIndex:{default:()=>x.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const o=te(),a=te(),s=te(),u=te(!1),f=()=>{let b={...e};for(const g of["to","tag","contentTag","contentClass"])b.hasOwnProperty(g)&&delete b[g];return b};let d=()=>ji(o);e.to&&(typeof Element<"u"&&e.to instanceof Element?d=()=>e.to:e.to==="parent"?d=()=>{let b=o.value;return b||(b=o.value=a.value.parentElement),b}:(typeof e.to=="string"||e.to instanceof String)&&(d=()=>document.querySelector(e.to)));const p=En(d,f());let T=t.content;!T&&e.to==="parent"&&(T=t.default),Tt(()=>{u.value=!0,Vn(()=>{T&&p.setContent(()=>s.value)})}),st(p.state,()=>{n("state",nn(p.state))},{immediate:!0,deep:!0}),st(()=>e,()=>{p.setProps(f()),T&&p.setContent(()=>s.value)},{deep:!0});let E=Un({elem:o,contentElem:s,mounted:u,...p});return r(E),()=>{const b=(typeof e.contentTag=="string",e.contentTag),g=T?Ee(b,{ref:s,style:{display:u.value?"inherit":"none"},class:e.contentClass},T(E)):null;if(e.to==="parent"){const m=[];if(!o.value){const A=Ee("span",{ref:a,"data-v-tippy":"",style:{display:"none"}});m.push(A)}return g&&m.push(g),m}const y=t.default?t.default(E):[];if(!e.tag){const m=Ee(y[0],{ref:o,"data-v-tippy":""});return g?[m,g]:m}const C=(typeof e.tag=="string",e.tag);return Ee(C,{ref:o,"data-v-tippy":""},g?[y,g]:y)}}}),Hi=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let xt={};Object.keys(x.defaultProps).forEach(e=>{Hi.includes(e)?xt[e]={type:Boolean,default:function(){return x.defaultProps[e]}}:xt[e]={default:function(){return x.defaultProps[e]}}});const Ni=tn({props:xt,setup(e){const t=te([]),{singleton:n}=Ii(t,e);return{instances:t,singleton:n}},mounted(){var e;const n=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map(r=>r._tippy).filter(Boolean),(e=this.singleton)===null||e===void 0||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return Ee(()=>e)}}),Vi={mounted(e,t,n){const r=typeof t.value=="string"?{content:t.value}:t.value||{},o=Object.keys(t.modifiers||{}),a=o.find(u=>u!=="arrow"),s=o.findIndex(u=>u==="arrow")!==-1;a&&(r.placement=r.placement||a),s&&(r.arrow=r.arrow!==void 0?r.arrow:!0),n.props&&n.props.onTippyShow&&(r.onShow=function(...u){var f;return(f=n.props)===null||f===void 0?void 0:f.onTippyShow(...u)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...u){var f;return(f=n.props)===null||f===void 0?void 0:f.onTippyShown(...u)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...u){var f;return(f=n.props)===null||f===void 0?void 0:f.onTippyHidden(...u)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...u){var f;return(f=n.props)===null||f===void 0?void 0:f.onTippyHide(...u)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...u){var f;return(f=n.props)===null||f===void 0?void 0:f.onTippyMount(...u)}),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),En(e,r)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};n.content||(n.content=null),e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},Ui={install(e,t={}){x.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",Vi),e.component(t.component||"tippy",ki),e.component(t.componentSingleton||"tippy-singleton",Ni)}},Fi=x.setDefaultProps;Fi({ignoreAttributes:!0,plugins:[Ri,Mi,Di,Ci]});Bn.add(In);const Rt=yt({setup(){return{plan:te(planData)}},components:{pev2:Yn,created:Gn}});Rt.use(Ui,{defaultProps:{theme:"light"}});Rt.component("font-awesome-icon",$n);Rt.mount("#app"); diff --git a/app/static/dist/assets/vue-BjHIh3JK.js b/app/static/dist/assets/vue-BjHIh3JK.js deleted file mode 100644 index c0e066f..0000000 --- a/app/static/dist/assets/vue-BjHIh3JK.js +++ /dev/null @@ -1,23 +0,0 @@ -function Le(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},Sn=[],Ne=()=>{},_n=()=>!1,an=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Dr=e=>e.startsWith("onUpdate:"),Q=Object.assign,Fr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gf=Object.prototype.hasOwnProperty,ie=(e,t)=>Gf.call(e,t),H=Array.isArray,vn=e=>Dn(e)==="[object Map]",fn=e=>Dn(e)==="[object Set]",Fo=e=>Dn(e)==="[object Date]",Jf=e=>Dn(e)==="[object RegExp]",q=e=>typeof e=="function",z=e=>typeof e=="string",qe=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Vr=e=>(oe(e)||q(e))&&q(e.then)&&q(e.catch),Gl=Object.prototype.toString,Dn=e=>Gl.call(e),zf=e=>Dn(e).slice(8,-1),Si=e=>Dn(e)==="[object Object]",$r=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Le(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yf=Le("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),vi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xf=/-\w/g,he=vi(e=>e.replace(Xf,t=>t.slice(1).toUpperCase())),Zf=/\B([A-Z])/g,$e=vi(e=>e.replace(Zf,"-$1").toLowerCase()),un=vi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tn=vi(e=>e?`on${un(e)}`:""),Fe=(e,t)=>!Object.is(e,t),En=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},qs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gs=e=>{const t=z(e)?Number(e):NaN;return isNaN(t)?e:t};let Vo;const Ti=()=>Vo||(Vo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qf(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const eu="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",tu=Le(eu);function Fn(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(su);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ru(e){if(!e)return"";if(z(e))return e;let t="";for(const n in e){const s=e[n];if(z(s)||typeof s=="number"){const i=n.startsWith("--")?n:$e(n);t+=`${i}:${s};`}}return t}function Vn(e){let t="";if(z(e))t=e;else if(H(e))for(let n=0;n?@[\\\]^`{|}~]/g;function Su(e,t){return e.replace(_u,n=>`\\${n}`)}function vu(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&sjt(n,t))}const Xl=e=>!!(e&&e.__v_isRef===!0),Zl=e=>z(e)?e:e==null?"":H(e)||oe(e)&&(e.toString===Gl||!q(e.toString))?Xl(e)?Zl(e.value):JSON.stringify(e,Ql,2):String(e),Ql=(e,t)=>Xl(t)?Ql(e,t.value):vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Ji(s,r)+" =>"]=i,n),{})}:fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ji(n))}:qe(t)?Ji(t):oe(t)&&!H(t)&&!Si(t)?String(t):t,Ji=(e,t="")=>{var n;return qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function ec(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Oe;class Br{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Oe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Jn){let t=Jn;for(Jn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gn;){let t=Gn;for(Gn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ic(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function rc(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Kr(s),Cu(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ss)||(e.globalVersion=ss,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ar(e))))return;e.flags|=2;const t=e.dep,n=fe,s=ct;fe=e,ct=!0;try{ic(e);const i=e.fn(e._value);(t.version===0||Fe(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{fe=n,ct=s,rc(e),e.flags&=-3}}function Kr(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Kr(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Cu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Au(e,t){e.effect instanceof ns&&(e=e.effect.fn);const n=new ns(e);t&&Q(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function xu(e){e.effect.stop()}let ct=!0;const lc=[];function gt(){lc.push(ct),ct=!1}function mt(){const e=lc.pop();ct=e===void 0?!0:e}function Ho(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let ss=0;class Nu{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ci{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!fe||!ct||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new Nu(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,cc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,ss++,this.notify(t)}notify(t){Ur();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{jr()}}}function cc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)cc(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Js=new WeakMap,Zt=Symbol(""),fr=Symbol(""),is=Symbol("");function ke(e,t,n){if(ct&&fe){let s=Js.get(e);s||Js.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new Ci),i.map=s,i.key=n),i.track()}}function Et(e,t,n,s,i,r){const o=Js.get(e);if(!o){ss++;return}const l=c=>{c&&c.trigger()};if(Ur(),t==="clear")o.forEach(l);else{const c=H(e),f=c&&$r(n);if(c&&n==="length"){const a=Number(s);o.forEach((u,d)=>{(d==="length"||d===is||!qe(d)&&d>=a)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(is)),t){case"add":c?f&&l(o.get("length")):(l(o.get(Zt)),vn(e)&&l(o.get(fr)));break;case"delete":c||(l(o.get(Zt)),vn(e)&&l(o.get(fr)));break;case"set":vn(e)&&l(o.get(Zt));break}}jr()}function wu(e,t){const n=Js.get(e);return n&&n.get(t)}function gn(e){const t=te(e);return t===e?t:(ke(t,"iterate",is),Ze(e)?t:t.map(Ce))}function Ai(e){return ke(e=te(e),"iterate",is),e}const Iu={__proto__:null,[Symbol.iterator](){return Yi(this,Symbol.iterator,Ce)},concat(...e){return gn(this).concat(...e.map(t=>H(t)?gn(t):t))},entries(){return Yi(this,"entries",e=>(e[1]=Ce(e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,n=>n.map(Ce),arguments)},find(e,t){return bt(this,"find",e,t,Ce,arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,Ce,arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xi(this,"includes",e)},indexOf(...e){return Xi(this,"indexOf",e)},join(e){return gn(this).join(e)},lastIndexOf(...e){return Xi(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return Bn(this,"pop")},push(...e){return Bn(this,"push",e)},reduce(e,...t){return Bo(this,"reduce",e,t)},reduceRight(e,...t){return Bo(this,"reduceRight",e,t)},shift(){return Bn(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return Bn(this,"splice",e)},toReversed(){return gn(this).toReversed()},toSorted(e){return gn(this).toSorted(e)},toSpliced(...e){return gn(this).toSpliced(...e)},unshift(...e){return Bn(this,"unshift",e)},values(){return Yi(this,"values",Ce)}};function Yi(e,t,n){const s=Ai(e),i=s[t]();return s!==e&&!Ze(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const Ou=Array.prototype;function bt(e,t,n,s,i,r){const o=Ai(e),l=o!==e&&!Ze(e),c=o[t];if(c!==Ou[t]){const u=c.apply(e,r);return l?Ce(u):u}let f=n;o!==e&&(l?f=function(u,d){return n.call(this,Ce(u),d,e)}:n.length>2&&(f=function(u,d){return n.call(this,u,d,e)}));const a=c.call(o,f,s);return l&&i?i(a):a}function Bo(e,t,n,s){const i=Ai(e);let r=n;return i!==e&&(Ze(e)?n.length>3&&(r=function(o,l,c){return n.call(this,o,l,c,e)}):r=function(o,l,c){return n.call(this,o,Ce(l),c,e)}),i[t](r,...s)}function Xi(e,t,n){const s=te(e);ke(s,"iterate",is);const i=s[t](...n);return(i===-1||i===!1)&&Ii(n[0])?(n[0]=te(n[0]),s[t](...n)):i}function Bn(e,t,n=[]){gt(),Ur();const s=te(e)[t].apply(e,n);return jr(),mt(),s}const Ru=Le("__proto__,__v_isRef,__isVue"),ac=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe));function ku(e){qe(e)||(e=String(e));const t=te(this);return ke(t,"has",e),t.hasOwnProperty(e)}class fc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?mc:gc:r?pc:dc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!i){let c;if(o&&(c=Iu[n]))return c;if(n==="hasOwnProperty")return ku}const l=Reflect.get(t,n,_e(t)?t:s);if((qe(n)?ac.has(n):Ru(n))||(i||ke(t,"get",n),r))return l;if(_e(l)){const c=o&&$r(n)?l:l.value;return i&&oe(c)?zs(c):c}return oe(l)?i?zs(l):Ni(l):l}}class uc extends fc{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];if(!this._isShallow){const c=Nt(r);if(!Ze(s)&&!Nt(s)&&(r=te(r),s=te(s)),!H(t)&&_e(r)&&!_e(s))return c||(r.value=s),!0}const o=H(t)&&$r(n)?Number(n)e,xs=e=>Reflect.getPrototypeOf(e);function Fu(e,t,n){return function(...s){const i=this.__v_raw,r=te(i),o=vn(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=i[e](...s),a=n?ur:t?Ys:Ce;return!t&&ke(r,"iterate",c?fr:Zt),{next(){const{value:u,done:d}=f.next();return d?{value:u,done:d}:{value:l?[a(u[0]),a(u[1])]:a(u),done:d}},[Symbol.iterator](){return this}}}}function Ns(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vu(e,t){const n={get(i){const r=this.__v_raw,o=te(r),l=te(i);e||(Fe(i,l)&&ke(o,"get",i),ke(o,"get",l));const{has:c}=xs(o),f=t?ur:e?Ys:Ce;if(c.call(o,i))return f(r.get(i));if(c.call(o,l))return f(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ke(te(i),"iterate",Zt),i.size},has(i){const r=this.__v_raw,o=te(r),l=te(i);return e||(Fe(i,l)&&ke(o,"has",i),ke(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=te(l),f=t?ur:e?Ys:Ce;return!e&&ke(c,"iterate",Zt),l.forEach((a,u)=>i.call(r,f(a),f(u),o))}};return Q(n,e?{add:Ns("add"),set:Ns("set"),delete:Ns("delete"),clear:Ns("clear")}:{add(i){!t&&!Ze(i)&&!Nt(i)&&(i=te(i));const r=te(this);return xs(r).has.call(r,i)||(r.add(i),Et(r,"add",i,i)),this},set(i,r){!t&&!Ze(r)&&!Nt(r)&&(r=te(r));const o=te(this),{has:l,get:c}=xs(o);let f=l.call(o,i);f||(i=te(i),f=l.call(o,i));const a=c.call(o,i);return o.set(i,r),f?Fe(r,a)&&Et(o,"set",i,r):Et(o,"add",i,r),this},delete(i){const r=te(this),{has:o,get:l}=xs(r);let c=o.call(r,i);c||(i=te(i),c=o.call(r,i)),l&&l.call(r,i);const f=r.delete(i);return c&&Et(r,"delete",i,void 0),f},clear(){const i=te(this),r=i.size!==0,o=i.clear();return r&&Et(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Fu(i,e,t)}),n}function xi(e,t){const n=Vu(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ie(n,i)&&i in s?n:s,i,r)}const $u={get:xi(!1,!1)},Hu={get:xi(!1,!0)},Bu={get:xi(!0,!1)},Uu={get:xi(!0,!0)},dc=new WeakMap,pc=new WeakMap,gc=new WeakMap,mc=new WeakMap;function ju(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ku(e){return e.__v_skip||!Object.isExtensible(e)?0:ju(zf(e))}function Ni(e){return Nt(e)?e:wi(e,!1,Mu,$u,dc)}function yc(e){return wi(e,!1,Lu,Hu,pc)}function zs(e){return wi(e,!0,Pu,Bu,gc)}function Wu(e){return wi(e,!0,Du,Uu,mc)}function wi(e,t,n,s,i){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Ku(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function Qt(e){return Nt(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Nt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function Ii(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function bc(e){return!ie(e,"__v_skip")&&Object.isExtensible(e)&&Jl(e,"__v_skip",!0),e}const Ce=e=>oe(e)?Ni(e):e,Ys=e=>oe(e)?zs(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function zn(e){return Sc(e,!1)}function _c(e){return Sc(e,!0)}function Sc(e,t){return _e(e)?e:new qu(e,t)}class qu{constructor(t,n){this.dep=new Ci,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:Ce(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ze(t)||Nt(t);t=s?t:te(t),Fe(t,n)&&(this._rawValue=t,this._value=s?t:Ce(t),this.dep.trigger())}}function Gu(e){e.dep&&e.dep.trigger()}function Oi(e){return _e(e)?e.value:e}function Ju(e){return q(e)?e():Oi(e)}const zu={get:(e,t,n)=>t==="__v_raw"?e:Oi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return _e(i)&&!_e(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Wr(e){return Qt(e)?e:new Proxy(e,zu)}class Yu{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ci,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function vc(e){return new Yu(e)}function Xu(e){const t=H(e)?new Array(e.length):{};for(const n in e)t[n]=Tc(e,n);return t}class Zu{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wu(te(this._object),this._key)}}class Qu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function eh(e,t,n){return _e(e)?e:q(e)?new Qu(e):oe(e)&&arguments.length>1?Tc(e,t,n):zn(e)}function Tc(e,t,n){const s=e[t];return _e(s)?s:new Zu(e,t,n)}class th{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ci(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ss-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return sc(this,!0),!0}get value(){const t=this.dep.track();return oc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nh(e,t,n=!1){let s,i;return q(e)?s=e:(s=e.get,i=e.set),new th(s,i,n)}const sh={GET:"get",HAS:"has",ITERATE:"iterate"},ih={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ws={},Xs=new WeakMap;let Lt;function rh(){return Lt}function Ec(e,t=!1,n=Lt){if(n){let s=Xs.get(n);s||Xs.set(n,s=[]),s.push(e)}}function oh(e,t,n=ne){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=n,f=y=>i?y:Ze(y)||i===!1||i===0?Ct(y,1):Ct(y);let a,u,d,g,b=!1,_=!1;if(_e(e)?(u=()=>e.value,b=Ze(e)):Qt(e)?(u=()=>f(e),b=!0):H(e)?(_=!0,b=e.some(y=>Qt(y)||Ze(y)),u=()=>e.map(y=>{if(_e(y))return y.value;if(Qt(y))return f(y);if(q(y))return c?c(y,2):y()})):q(e)?t?u=c?()=>c(e,2):e:u=()=>{if(d){gt();try{d()}finally{mt()}}const y=Lt;Lt=a;try{return c?c(e,3,[g]):e(g)}finally{Lt=y}}:u=Ne,t&&i){const y=u,v=i===!0?1/0:i;u=()=>Ct(y(),v)}const O=tc(),x=()=>{a.stop(),O&&O.active&&Fr(O.effects,a)};if(r&&t){const y=t;t=(...v)=>{y(...v),x()}}let C=_?new Array(e.length).fill(ws):ws;const p=y=>{if(!(!(a.flags&1)||!a.dirty&&!y))if(t){const v=a.run();if(i||b||(_?v.some((w,V)=>Fe(w,C[V])):Fe(v,C))){d&&d();const w=Lt;Lt=a;try{const V=[v,C===ws?void 0:_&&C[0]===ws?[]:C,g];C=v,c?c(t,3,V):t(...V)}finally{Lt=w}}}else a.run()};return l&&l(p),a=new ns(u),a.scheduler=o?()=>o(p,!1):p,g=y=>Ec(y,!1,a),d=a.onStop=()=>{const y=Xs.get(a);if(y){if(c)c(y,4);else for(const v of y)v();Xs.delete(a)}},t?s?p(!0):C=a.run():o?o(p.bind(null,!0),!0):a.run(),x.pause=a.pause.bind(a),x.resume=a.resume.bind(a),x.stop=x,x}function Ct(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))Ct(e.value,t,n);else if(H(e))for(let s=0;s{Ct(s,t,n)});else if(Si(e)){for(const s in e)Ct(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ct(e[s],t,n)}return e}const en=[];function lh(e){en.push(e)}function ch(){en.pop()}let Zi=!1;function Mt(e,...t){if(Zi)return;Zi=!0,gt();const n=en.length?en[en.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=ah();if(s)hn(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${Oa(n,r.type)}>`).join(` -`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(` -`,...fh(i)),console.warn(...r)}mt(),Zi=!1}function ah(){let e=en[en.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function fh(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` -`],...uh(n))}),t}function uh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${Oa(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...hh(e.props),r]:[i+r]}function hh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...Cc(s,e[s]))}),n.length>3&&t.push(" ..."),t}function Cc(e,t,n){return z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:_e(t)?(t=Cc(e,te(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=te(t),n?t:[`${e}=`,t])}function dh(e,t){}const ph={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},gh={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function hn(e,t,n,s){try{return s?e(...s):e()}catch(i){dn(i,t,n)}}function it(e,t,n,s){if(q(e)){const i=hn(e,t,n,s);return i&&Vr(i)&&i.catch(r=>{dn(r,t,n)}),i}if(H(e)){const i=[];for(let r=0;r>>1,i=Ve[s],r=os(i);r=os(n)?Ve.push(e):Ve.splice(yh(t),0,e),e.flags|=1,xc()}}function xc(){Zs||(Zs=Ac.then(Nc))}function rs(e){H(e)?Cn.push(...e):Dt&&e.id===-1?Dt.splice(yn+1,0,e):e.flags&1||(Cn.push(e),e.flags|=1),xc()}function Uo(e,t,n=dt+1){for(;nos(n)-os(s));if(Cn.length=0,Dt){Dt.push(...t);return}for(Dt=t,yn=0;yne.id==null?e.flags&2?-1:1/0:e.id;function Nc(e){try{for(dt=0;dtbn.emit(i,...r)),Is=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{wc(r,t)}),setTimeout(()=>{bn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Is=[])},3e3)):Is=[]}let xe=null,ki=null;function ls(e){const t=xe;return xe=e,ki=e&&e.type.__scopeId||null,t}function bh(e){ki=e}function _h(){ki=null}const Sh=e=>Gr;function Gr(e,t=xe,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&us(-1);const r=ls(t);let o;try{o=e(...i)}finally{ls(r),s._d&&us(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function vh(e,t){if(xe===null)return e;const n=vs(xe),s=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,Yn=e=>e&&(e.disabled||e.disabled===""),jo=e=>e&&(e.defer||e.defer===""),Ko=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,hr=(e,t)=>{const n=e&&e.to;return z(n)?t?t(n):null:n},Rc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,c,f){const{mc:a,pc:u,pbc:d,o:{insert:g,querySelector:b,createText:_,createComment:O}}=f,x=Yn(t.props);let{shapeFlag:C,children:p,dynamicChildren:y}=t;if(e==null){const v=t.el=_(""),w=t.anchor=_("");g(v,n,s),g(w,n,s);const V=(S,A)=>{C&16&&a(p,S,A,i,r,o,l,c)},R=()=>{const S=t.target=hr(t.props,b),A=kc(S,t,_,g);S&&(o!=="svg"&&Ko(S)?o="svg":o!=="mathml"&&Wo(S)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(S),x||(V(S,A),Vs(t,!1)))};x&&(V(n,w),Vs(t,!0)),jo(t.props)?(t.el.__isMounted=!1,Se(()=>{R(),delete t.el.__isMounted},r)):R()}else{if(jo(t.props)&&e.el.__isMounted===!1){Se(()=>{Rc.process(e,t,n,s,i,r,o,l,c,f)},r);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,w=t.target=e.target,V=t.targetAnchor=e.targetAnchor,R=Yn(e.props),S=R?n:w,A=R?v:V;if(o==="svg"||Ko(w)?o="svg":(o==="mathml"||Wo(w))&&(o="mathml"),y?(d(e.dynamicChildren,y,S,i,r,o,l),ro(e,t,!0)):c||u(e,t,S,A,i,r,o,l,!1),x)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Os(t,n,v,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=hr(t.props,b);P&&Os(t,P,null,f,0)}else R&&Os(t,w,V,f,1);Vs(t,x)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:u,props:d}=e;if(u&&(i(f),i(a)),r&&i(c),o&16){const g=r||!Yn(d);for(let b=0;b{e.isMounted=!0}),Di(()=>{e.isUnmounting=!0}),e}const et=[Function,Array],zr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:et,onEnter:et,onAfterEnter:et,onEnterCancelled:et,onBeforeLeave:et,onLeave:et,onAfterLeave:et,onLeaveCancelled:et,onBeforeAppear:et,onAppear:et,onAfterAppear:et,onAppearCancelled:et},Mc=e=>{const t=e.subTree;return t.component?Mc(t.component):t},Ch={name:"BaseTransition",props:zr,setup(e,{slots:t}){const n=Ge(),s=Jr();return()=>{const i=t.default&&Mi(t.default(),!0);if(!i||!i.length)return;const r=Pc(i),o=te(e),{mode:l}=o;if(s.isLeaving)return Qi(r);const c=qo(r);if(!c)return Qi(r);let f=wn(c,o,s,n,u=>f=u);c.type!==ye&&wt(c,f);let a=n.subTree&&qo(n.subTree);if(a&&a.type!==ye&&!lt(a,c)&&Mc(n).type!==ye){let u=wn(a,o,s,n);if(wt(a,u),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,u.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,a=void 0},Qi(r);l==="in-out"&&c.type!==ye?u.delayLeave=(d,g,b)=>{const _=Dc(s,a);_[String(a.key)]=a,d[Tt]=()=>{g(),d[Tt]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{b(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return r}}};function Pc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Lc=Ch;function Dc(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function wn(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:b,onLeaveCancelled:_,onBeforeAppear:O,onAppear:x,onAfterAppear:C,onAppearCancelled:p}=t,y=String(e.key),v=Dc(n,e),w=(S,A)=>{S&&it(S,s,9,A)},V=(S,A)=>{const P=A[1];w(S,A),H(S)?S.every(E=>E.length<=1)&&P():S.length<=1&&P()},R={mode:o,persisted:l,beforeEnter(S){let A=c;if(!n.isMounted)if(r)A=O||c;else return;S[Tt]&&S[Tt](!0);const P=v[y];P&<(e,P)&&P.el[Tt]&&P.el[Tt](),w(A,[S])},enter(S){let A=f,P=a,E=u;if(!n.isMounted)if(r)A=x||f,P=C||a,E=p||u;else return;let L=!1;const j=S[Rs]=G=>{L||(L=!0,G?w(E,[S]):w(P,[S]),R.delayedLeave&&R.delayedLeave(),S[Rs]=void 0)};A?V(A,[S,j]):j()},leave(S,A){const P=String(e.key);if(S[Rs]&&S[Rs](!0),n.isUnmounting)return A();w(d,[S]);let E=!1;const L=S[Tt]=j=>{E||(E=!0,A(),j?w(_,[S]):w(b,[S]),S[Tt]=void 0,v[P]===e&&delete v[P])};v[P]=e,g?V(g,[S,L]):L()},clone(S){const A=wn(S,t,n,s,i);return i&&i(A),A}};return R}function Qi(e){if(bs(e))return e=yt(e),e.children=null,e}function qo(e){if(!bs(e))return Oc(e.type)&&e.children?Pc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function wt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,wt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mi(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;rn.value,set:r=>n.value=r})}return n}const ei=new WeakMap;function An(e,t,n,s,i=!1){if(H(e)){e.forEach((b,_)=>An(b,t&&(H(t)?t[_]:t),n,s,i));return}if(Ht(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&An(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?vs(s.component):s.el,o=i?null:r,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,u=l.setupState,d=te(u),g=u===ne?_n:b=>ie(d,b);if(f!=null&&f!==c){if(Go(t),z(f))a[f]=null,g(f)&&(u[f]=null);else if(_e(f)){f.value=null;const b=t;b.k&&(a[b.k]=null)}}if(q(c))hn(c,l,12,[o,a]);else{const b=z(c),_=_e(c);if(b||_){const O=()=>{if(e.f){const x=b?g(c)?u[c]:a[c]:c.value;if(i)H(x)&&Fr(x,r);else if(H(x))x.includes(r)||x.push(r);else if(b)a[c]=[r],g(c)&&(u[c]=a[c]);else{const C=[r];c.value=C,e.k&&(a[e.k]=C)}}else b?(a[c]=o,g(c)&&(u[c]=o)):_&&(c.value=o,e.k&&(a[e.k]=o))};if(o){const x=()=>{O(),ei.delete(e)};x.id=-1,ei.set(e,x),Se(x,n)}else Go(e),O()}}}function Go(e){const t=ei.get(e);t&&(t.flags|=8,ei.delete(e))}let Jo=!1;const Wt=()=>{Jo||(console.error("Hydration completed but contains mismatches."),Jo=!0)},Nh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",wh=e=>e.namespaceURI.includes("MathML"),ks=e=>{if(e.nodeType===1){if(Nh(e))return"svg";if(wh(e))return"mathml"}},zt=e=>e.nodeType===8;function Ih(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,y)=>{if(!y.hasChildNodes()){Mt("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,p,y),Qs(),y._vnode=p;return}u(y.firstChild,p,null,null,null),Qs(),y._vnode=p},u=(p,y,v,w,V,R=!1)=>{R=R||!!y.dynamicChildren;const S=zt(p)&&p.data==="[",A=()=>_(p,y,v,w,V,S),{type:P,ref:E,shapeFlag:L,patchFlag:j}=y;let G=p.nodeType;y.el=p,j===-2&&(R=!1,y.dynamicChildren=null);let U=null;switch(P){case Bt:G!==3?y.children===""?(c(y.el=i(""),o(p),p),U=p):U=A():(p.data!==y.children&&(Mt("Hydration text mismatch in",p.parentNode,` - - rendered on server: ${JSON.stringify(p.data)} - - expected on client: ${JSON.stringify(y.children)}`),Wt(),p.data=y.children),U=r(p));break;case ye:C(p)?(U=r(p),x(y.el=p.content.firstChild,p,v)):G!==8||S?U=A():U=r(p);break;case nn:if(S&&(p=r(p),G=p.nodeType),G===1||G===3){U=p;const Y=!y.children.length;for(let K=0;K{R=R||!!y.dynamicChildren;const{type:S,props:A,patchFlag:P,shapeFlag:E,dirs:L,transition:j}=y,G=S==="input"||S==="option";if(G||P!==-1){L&&pt(y,null,v,"created");let U=!1;if(C(p)){U=aa(null,j)&&v&&v.vnode.props&&v.vnode.props.appear;const K=p.content.firstChild;if(U){const ce=K.getAttribute("class");ce&&(K.$cls=ce),j.beforeEnter(K)}x(K,p,v),y.el=p=K}if(E&16&&!(A&&(A.innerHTML||A.textContent))){let K=g(p.firstChild,y,p,v,w,V,R),ce=!1;for(;K;){Kn(p,1)||(ce||(Mt("Hydration children mismatch on",p,` -Server rendered element contains more child nodes than client vdom.`),ce=!0),Wt());const He=K;K=K.nextSibling,l(He)}}else if(E&8){let K=y.children;K[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(K=K.slice(1)),p.textContent!==K&&(Kn(p,0)||(Mt("Hydration text content mismatch on",p,` - - rendered on server: ${p.textContent} - - expected on client: ${y.children}`),Wt()),p.textContent=y.children)}if(A){const K=p.tagName.includes("-");for(const ce in A)!(L&&L.some(He=>He.dir.created))&&Oh(p,ce,A[ce],y,v)&&Wt(),(G&&(ce.endsWith("value")||ce==="indeterminate")||an(ce)&&!$t(ce)||ce[0]==="."||K)&&s(p,ce,null,A[ce],void 0,v)}let Y;(Y=A&&A.onVnodeBeforeMount)&&je(Y,v,y),L&&pt(y,null,v,"beforeMount"),((Y=A&&A.onVnodeMounted)||L||U)&&ba(()=>{Y&&je(Y,v,y),U&&j.enter(p),L&&pt(y,null,v,"mounted")},w)}return p.nextSibling},g=(p,y,v,w,V,R,S)=>{S=S||!!y.dynamicChildren;const A=y.children,P=A.length;let E=!1;for(let L=0;L{const{slotScopeIds:S}=y;S&&(V=V?V.concat(S):S);const A=o(p),P=g(r(p),y,A,v,w,V,R);return P&&zt(P)&&P.data==="]"?r(y.anchor=P):(Wt(),c(y.anchor=f("]"),A,P),P)},_=(p,y,v,w,V,R)=>{if(Kn(p.parentElement,1)||(Mt(`Hydration node mismatch: -- rendered on server:`,p,p.nodeType===3?"(text)":zt(p)&&p.data==="["?"(start of fragment)":"",` -- expected on client:`,y.type),Wt()),y.el=null,R){const P=O(p);for(;;){const E=r(p);if(E&&E!==P)l(E);else break}}const S=r(p),A=o(p);return l(p),n(null,y,A,S,v,w,ks(A),V),v&&(v.vnode.el=y.el,$i(v,y.el)),S},O=(p,y="[",v="]")=>{let w=0;for(;p;)if(p=r(p),p&&zt(p)&&(p.data===y&&w++,p.data===v)){if(w===0)return r(p);w--}return p},x=(p,y,v)=>{const w=y.parentNode;w&&w.replaceChild(p,y);let V=v;for(;V;)V.vnode.el===y&&(V.vnode.el=V.subTree.el=p),V=V.parent},C=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,u]}function Oh(e,t,n,s,i){let r,o,l,c;if(t==="class")e.$cls?(l=e.$cls,delete e.$cls):l=e.getAttribute("class"),c=Vn(n),Rh(zo(l||""),zo(c))||(r=2,o="class");else if(t==="style"){l=e.getAttribute("style")||"",c=z(n)?n:ru(Fn(n));const f=Yo(l),a=Yo(c);if(s.dirs)for(const{dir:u,value:d}of s.dirs)u.name==="show"&&!d&&a.set("display","none");i&&Fc(i,s,a),kh(f,a)||(r=3,o="style")}else(e instanceof SVGElement&&yu(t)||e instanceof HTMLElement&&($o(t)||mu(t)))&&($o(t)?(l=e.hasAttribute(t),c=Hr(n)):n==null?(l=e.hasAttribute(t),c=!1):(e.hasAttribute(t)?l=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?l=e.value:l=!1,c=bu(n)?String(n):!1),l!==c&&(r=4,o=t));if(r!=null&&!Kn(e,r)){const f=d=>d===!1?"(not rendered)":`${o}="${d}"`,a=`Hydration ${Vc[r]} mismatch on`,u=` - - rendered on server: ${f(l)} - - expected on client: ${f(c)} - Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead. - You should fix the source of the mismatch.`;return Mt(a,e,u),!0}return!1}function zo(e){return new Set(e.trim().split(/\s+/))}function Rh(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function Yo(e){const t=new Map;for(const n of e.split(";")){let[s,i]=n.split(":");s=s.trim(),i=i&&i.trim(),s&&i&&t.set(s,i)}return t}function kh(e,t){if(e.size!==t.size)return!1;for(const[n,s]of e)if(s!==t.get(n))return!1;return!0}function Fc(e,t,n){const s=e.subTree;if(e.getCssVars&&(t===s||s&&s.type===ve&&s.children.includes(t))){const i=e.getCssVars();for(const r in i){const o=ec(i[r]);n.set(`--${Su(r)}`,o)}}t===s&&e.parent&&Fc(e.parent,e.vnode,n)}const Xo="data-allow-mismatch",Vc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Kn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Xo);)e=e.parentElement;const n=e&&e.getAttribute(Xo);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(Vc[t])}}const Mh=Ti().requestIdleCallback||(e=>setTimeout(e,1)),Ph=Ti().cancelIdleCallback||(e=>clearTimeout(e)),Lh=(e=1e4)=>t=>{const n=Mh(t,{timeout:e});return()=>Ph(n)};function Dh(e){const{top:t,left:n,bottom:s,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t0&&s0&&n0&&i(t,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(Dh(i))return t(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},Vh=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},$h=(e=[])=>(t,n)=>{z(e)&&(e=[e]);let s=!1;const i=o=>{s||(s=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const l of e)o.removeEventListener(l,i)})};return n(o=>{for(const l of e)o.addEventListener(l,i,{once:!0})}),r};function Hh(e,t){if(zt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(zt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Ht=e=>!!e.type.__asyncLoader;function Bh(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,u=0;const d=()=>(u++,f=null,g()),g=()=>{let b;return f||(b=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((O,x)=>{c(_,()=>O(d()),()=>x(_),u+1)});throw _}).then(_=>b!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return Yr({name:"AsyncComponentWrapper",__asyncLoader:g,__asyncHydrate(b,_,O){let x=!1;(_.bu||(_.bu=[])).push(()=>x=!0);const C=()=>{x||O()},p=r?()=>{const y=r(C,v=>Hh(b,v));y&&(_.bum||(_.bum=[])).push(y)}:C;a?p():g().then(()=>!_.isUnmounted&&p())},get __asyncResolved(){return a},setup(){const b=Ae;if(Xr(b),a)return()=>er(a,b);const _=p=>{f=null,dn(p,b,13,!s)};if(l&&b.suspense||In)return g().then(p=>()=>er(p,b)).catch(p=>(_(p),()=>s?ue(s,{error:p}):null));const O=zn(!1),x=zn(),C=zn(!!i);return i&&setTimeout(()=>{C.value=!1},i),o!=null&&setTimeout(()=>{if(!O.value&&!x.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),x.value=p}},o),g().then(()=>{O.value=!0,b.parent&&bs(b.parent.vnode)&&b.parent.update()}).catch(p=>{_(p),x.value=p}),()=>{if(O.value&&a)return er(a,b);if(x.value&&s)return ue(s,{error:x.value});if(n&&!C.value)return ue(n)}}})}function er(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=ue(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const bs=e=>e.type.__isKeepAlive,Uh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ge(),s=n.ctx;if(!s.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const i=new Map,r=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:f,um:a,o:{createElement:u}}}=s,d=u("div");s.activate=(C,p,y,v,w)=>{const V=C.component;f(C,p,y,0,l),c(V.vnode,C,p,y,V,l,v,C.slotScopeIds,w),Se(()=>{V.isDeactivated=!1,V.a&&En(V.a);const R=C.props&&C.props.onVnodeMounted;R&&je(R,V.parent,C)},l)},s.deactivate=C=>{const p=C.component;ni(p.m),ni(p.a),f(C,d,null,1,l),Se(()=>{p.da&&En(p.da);const y=C.props&&C.props.onVnodeUnmounted;y&&je(y,p.parent,C),p.isDeactivated=!0},l)};function g(C){tr(C),a(C,n,l,!0)}function b(C){i.forEach((p,y)=>{const v=li(p.type);v&&!C(v)&&_(y)})}function _(C){const p=i.get(C);p&&(!o||!lt(p,o))?g(p):o&&tr(o),i.delete(C),r.delete(C)}xn(()=>[e.include,e.exclude],([C,p])=>{C&&b(y=>Wn(C,y)),p&&b(y=>!Wn(p,y))},{flush:"post",deep:!0});let O=null;const x=()=>{O!=null&&(si(n.subTree.type)?Se(()=>{i.set(O,Ms(n.subTree))},n.subTree.suspense):i.set(O,Ms(n.subTree)))};return _s(x),Li(x),Di(()=>{i.forEach(C=>{const{subTree:p,suspense:y}=n,v=Ms(p);if(C.type===v.type&&C.key===v.key){tr(v);const w=v.component.da;w&&Se(w,y);return}g(C)})}),()=>{if(O=null,!t.default)return o=null;const C=t.default(),p=C[0];if(C.length>1)return o=null,C;if(!It(p)||!(p.shapeFlag&4)&&!(p.shapeFlag&128))return o=null,p;let y=Ms(p);if(y.type===ye)return o=null,y;const v=y.type,w=li(Ht(y)?y.type.__asyncResolved||{}:v),{include:V,exclude:R,max:S}=e;if(V&&(!w||!Wn(V,w))||R&&w&&Wn(R,w))return y.shapeFlag&=-257,o=y,p;const A=y.key==null?v:y.key,P=i.get(A);return y.el&&(y=yt(y),p.shapeFlag&128&&(p.ssContent=y)),O=A,P?(y.el=P.el,y.component=P.component,y.transition&&wt(y,y.transition),y.shapeFlag|=512,r.delete(A),r.add(A)):(r.add(A),S&&r.size>parseInt(S,10)&&_(r.values().next().value)),y.shapeFlag|=256,o=y,si(p.type)?p:y}}},jh=Uh;function Wn(e,t){return H(e)?e.some(n=>Wn(n,t)):z(e)?e.split(",").includes(t):Jf(e)?(e.lastIndex=0,e.test(t)):!1}function $c(e,t){Bc(e,"a",t)}function Hc(e,t){Bc(e,"da",t)}function Bc(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Pi(t,s,n),n){let i=n.parent;for(;i&&i.parent;)bs(i.parent.vnode)&&Kh(s,t,n,i),i=i.parent}}function Kh(e,t,n,s){const i=Pi(t,e,s,!0);Fi(()=>{Fr(s[t],i)},n)}function tr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ms(e){return e.shapeFlag&128?e.ssContent:e}function Pi(e,t,n=Ae,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{gt();const l=ln(n),c=it(t,n,e,o);return l(),mt(),c});return s?i.unshift(r):i.push(r),r}}const Ot=e=>(t,n=Ae)=>{(!In||e==="sp")&&Pi(e,(...s)=>t(...s),n)},Uc=Ot("bm"),_s=Ot("m"),Zr=Ot("bu"),Li=Ot("u"),Di=Ot("bum"),Fi=Ot("um"),jc=Ot("sp"),Kc=Ot("rtg"),Wc=Ot("rtc");function qc(e,t=Ae){Pi("ec",e,t)}const Qr="components",Wh="directives";function qh(e,t){return eo(Qr,e,!0,t)||e}const Gc=Symbol.for("v-ndc");function Gh(e){return z(e)?eo(Qr,e,!1)||e:e||Gc}function Jh(e){return eo(Wh,e)}function eo(e,t,n=!0,s=!1){const i=xe||Ae;if(i){const r=i.type;if(e===Qr){const l=li(r,!1);if(l&&(l===t||l===he(t)||l===un(he(t))))return r}const o=Zo(i[e]||r[e],t)||Zo(i.appContext[e],t);return!o&&s?r:o}}function Zo(e,t){return e&&(e[t]||e[he(t)]||e[un(he(t))])}function zh(e,t,n,s){let i;const r=n&&n[s],o=H(e);if(o||z(e)){const l=o&&Qt(e);let c=!1,f=!1;l&&(c=!Ze(e),f=Nt(e),e=Ai(e)),i=new Array(e.length);for(let a=0,u=e.length;at(l,c,void 0,r&&r[c]));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,f=l.length;c{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Xh(e,t,n={},s,i){if(xe.ce||xe.parent&&Ht(xe.parent)&&xe.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),fs(),ii(ve,null,[ue("slot",n,s&&s())],f?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),fs();const o=r&&to(r(n)),l=n.key||o&&o.key,c=ii(ve,{key:(l&&!qe(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function to(e){return e.some(t=>It(t)?!(t.type===ye||t.type===ve&&!to(t.children)):!0)?e:null}function Zh(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Tn(s)]=e[s];return n}const dr=e=>e?Aa(e)?vs(e):dr(e.parent):null,Xn=Q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>dr(e.parent),$root:e=>dr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>no(e),$forceUpdate:e=>e.f||(e.f=()=>{qr(e.update)}),$nextTick:e=>e.n||(e.n=Ri.bind(e.proxy)),$watch:e=>Od.bind(e)}),nr=(e,t)=>e!==ne&&!e.__isScriptSetup&&ie(e,t),pr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(nr(s,t))return o[t]=1,s[t];if(i!==ne&&ie(i,t))return o[t]=2,i[t];if((f=e.propsOptions[0])&&ie(f,t))return o[t]=3,r[t];if(n!==ne&&ie(n,t))return o[t]=4,n[t];gr&&(o[t]=0)}}const a=Xn[t];let u,d;if(a)return t==="$attrs"&&ke(e.attrs,"get",""),a(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ne&&ie(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,ie(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return nr(i,t)?(i[t]=n,!0):s!==ne&&ie(s,t)?(s[t]=n,!0):ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:r,type:o}},l){let c,f;return!!(n[l]||e!==ne&&l[0]!=="$"&&ie(e,l)||nr(t,l)||(c=r[0])&&ie(c,l)||ie(s,l)||ie(Xn,l)||ie(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Qh=Q({},pr,{get(e,t){if(t!==Symbol.unscopables)return pr.get(e,t,e)},has(e,t){return t[0]!=="_"&&!tu(t)}});function ed(){return null}function td(){return null}function nd(e){}function sd(e){}function id(){return null}function rd(){}function od(e,t){return null}function ld(){return Jc().slots}function cd(){return Jc().attrs}function Jc(e){const t=Ge();return t.setupContext||(t.setupContext=Ia(t))}function cs(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ad(e,t){const n=cs(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?H(i)||q(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null&&(i=n[s]={default:t[s]}),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function fd(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):Q({},cs(e),cs(t))}function ud(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function hd(e){const t=Ge();let n=e();return Sr(),Vr(n)&&(n=n.catch(s=>{throw ln(t),s})),[n,()=>ln(t)]}let gr=!0;function dd(e){const t=no(e),n=e.proxy,s=e.ctx;gr=!1,t.beforeCreate&&Qo(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:u,mounted:d,beforeUpdate:g,updated:b,activated:_,deactivated:O,beforeDestroy:x,beforeUnmount:C,destroyed:p,unmounted:y,render:v,renderTracked:w,renderTriggered:V,errorCaptured:R,serverPrefetch:S,expose:A,inheritAttrs:P,components:E,directives:L,filters:j}=t;if(f&&pd(f,s,null),o)for(const Y in o){const K=o[Y];q(K)&&(s[Y]=K.bind(n))}if(i){const Y=i.call(n,n);oe(Y)&&(e.data=Ni(Y))}if(gr=!0,r)for(const Y in r){const K=r[Y],ce=q(K)?K.bind(n,n):q(K.get)?K.get.bind(n,n):Ne,He=!q(K)&&q(K.set)?K.set.bind(n):Ne,rt=Ra({get:ce,set:He});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>rt.value,set:ft=>rt.value=ft})}if(l)for(const Y in l)zc(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(K=>{Xc(K,Y[K])})}a&&Qo(a,e,"c");function U(Y,K){H(K)?K.forEach(ce=>Y(ce.bind(n))):K&&Y(K.bind(n))}if(U(Uc,u),U(_s,d),U(Zr,g),U(Li,b),U($c,_),U(Hc,O),U(qc,R),U(Wc,w),U(Kc,V),U(Di,C),U(Fi,y),U(jc,S),H(A))if(A.length){const Y=e.exposed||(e.exposed={});A.forEach(K=>{Object.defineProperty(Y,K,{get:()=>n[K],set:ce=>n[K]=ce,enumerable:!0})})}else e.exposed||(e.exposed={});v&&e.render===Ne&&(e.render=v),P!=null&&(e.inheritAttrs=P),E&&(e.components=E),L&&(e.directives=L),S&&Xr(e)}function pd(e,t,n=Ne){H(e)&&(e=mr(e));for(const s in e){const i=e[s];let r;oe(i)?"default"in i?r=Zn(i.from||s,i.default,!0):r=Zn(i.from||s):r=Zn(i),_e(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function Qo(e,t,n){it(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zc(e,t,n,s){let i=s.includes(".")?pa(n,s):()=>n[s];if(z(e)){const r=t[e];q(r)&&xn(i,r)}else if(q(e))xn(i,e.bind(n));else if(oe(e))if(H(e))e.forEach(r=>zc(r,t,n,s));else{const r=q(e.handler)?e.handler.bind(n):t[e.handler];q(r)&&xn(i,r,e)}}function no(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(f=>ti(c,f,o,!0)),ti(c,t,o)),oe(t)&&r.set(t,c),c}function ti(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&ti(e,r,n,!0),i&&i.forEach(o=>ti(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=gd[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const gd={data:el,props:tl,emits:tl,methods:qn,computed:qn,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:qn,directives:qn,watch:yd,provide:el,inject:md};function el(e,t){return t?e?function(){return Q(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function md(e,t){return qn(mr(e),mr(t))}function mr(e){if(H(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}function Sd(){return!!(Ge()||tn)}const Zc={},Qc=()=>Object.create(Zc),ea=e=>Object.getPrototypeOf(e)===Zc;function vd(e,t,n,s=!1){const i={},r=Qc();e.propsDefaults=Object.create(null),ta(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:yc(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Td(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=te(i),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let u=0;u{c=!0;const[d,g]=na(u,t,!0);Q(o,d),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!c)return oe(e)&&s.set(e,Sn),Sn;if(H(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",io=e=>H(e)?e.map(Ke):[Ke(e)],Cd=(e,t,n)=>{if(t._n)return t;const s=Gr((...i)=>io(t(...i)),n);return s._c=!1,s},sa=(e,t,n)=>{const s=e._ctx;for(const i in e){if(so(i))continue;const r=e[i];if(q(r))t[i]=Cd(i,r,s);else if(r!=null){const o=io(r);t[i]=()=>o}}},ia=(e,t)=>{const n=io(t);e.slots.default=()=>n},ra=(e,t,n)=>{for(const s in t)(n||!so(s))&&(e[s]=t[s])},Ad=(e,t,n)=>{const s=e.slots=Qc();if(e.vnode.shapeFlag&32){const i=t._;i?(ra(s,t,n),n&&Jl(s,"_",i,!0)):sa(t,s)}else t&&ia(e,t)},xd=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:ra(i,t,n):(r=!t.$stable,sa(t,i)),o=t}else t&&(ia(e,t),o={default:1});if(r)for(const l in i)!so(l)&&o[l]==null&&delete i[l]},Se=ba;function oa(e){return ca(e)}function la(e){return ca(e,Ih)}function ca(e,t){const n=Ti();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:u,nextSibling:d,setScopeId:g=Ne,insertStaticContent:b}=e,_=(h,m,T,k=null,N=null,I=null,$=void 0,F=null,D=!!m.dynamicChildren)=>{if(h===m)return;h&&!lt(h,m)&&(k=As(h),ft(h,N,I,!0),h=null),m.patchFlag===-2&&(D=!1,m.dynamicChildren=null);const{type:M,ref:J,shapeFlag:B}=m;switch(M){case Bt:O(h,m,T,k);break;case ye:x(h,m,T,k);break;case nn:h==null&&C(m,T,k,$);break;case ve:E(h,m,T,k,N,I,$,F,D);break;default:B&1?v(h,m,T,k,N,I,$,F,D):B&6?L(h,m,T,k,N,I,$,F,D):(B&64||B&128)&&M.process(h,m,T,k,N,I,$,F,D,pn)}J!=null&&N?An(J,h&&h.ref,I,m||h,!m):J==null&&h&&h.ref!=null&&An(h.ref,null,I,h,!0)},O=(h,m,T,k)=>{if(h==null)s(m.el=l(m.children),T,k);else{const N=m.el=h.el;m.children!==h.children&&f(N,m.children)}},x=(h,m,T,k)=>{h==null?s(m.el=c(m.children||""),T,k):m.el=h.el},C=(h,m,T,k)=>{[h.el,h.anchor]=b(h.children,m,T,k,h.el,h.anchor)},p=({el:h,anchor:m},T,k)=>{let N;for(;h&&h!==m;)N=d(h),s(h,T,k),h=N;s(m,T,k)},y=({el:h,anchor:m})=>{let T;for(;h&&h!==m;)T=d(h),i(h),h=T;i(m)},v=(h,m,T,k,N,I,$,F,D)=>{m.type==="svg"?$="svg":m.type==="math"&&($="mathml"),h==null?w(m,T,k,N,I,$,F,D):S(h,m,N,I,$,F,D)},w=(h,m,T,k,N,I,$,F)=>{let D,M;const{props:J,shapeFlag:B,transition:W,dirs:X}=h;if(D=h.el=o(h.type,I,J&&J.is,J),B&8?a(D,h.children):B&16&&R(h.children,D,null,k,N,sr(h,I),$,F),X&&pt(h,null,k,"created"),V(D,h,h.scopeId,$,k),J){for(const ae in J)ae!=="value"&&!$t(ae)&&r(D,ae,null,J[ae],I,k);"value"in J&&r(D,"value",null,J.value,I),(M=J.onVnodeBeforeMount)&&je(M,k,h)}X&&pt(h,null,k,"beforeMount");const se=aa(N,W);se&&W.beforeEnter(D),s(D,m,T),((M=J&&J.onVnodeMounted)||se||X)&&Se(()=>{M&&je(M,k,h),se&&W.enter(D),X&&pt(h,null,k,"mounted")},N)},V=(h,m,T,k,N)=>{if(T&&g(h,T),k)for(let I=0;I{for(let M=D;M{const F=m.el=h.el;let{patchFlag:D,dynamicChildren:M,dirs:J}=m;D|=h.patchFlag&16;const B=h.props||ne,W=m.props||ne;let X;if(T&&qt(T,!1),(X=W.onVnodeBeforeUpdate)&&je(X,T,m,h),J&&pt(m,h,T,"beforeUpdate"),T&&qt(T,!0),(B.innerHTML&&W.innerHTML==null||B.textContent&&W.textContent==null)&&a(F,""),M?A(h.dynamicChildren,M,F,T,k,sr(m,N),I):$||K(h,m,F,null,T,k,sr(m,N),I,!1),D>0){if(D&16)P(F,B,W,T,N);else if(D&2&&B.class!==W.class&&r(F,"class",null,W.class,N),D&4&&r(F,"style",B.style,W.style,N),D&8){const se=m.dynamicProps;for(let ae=0;ae{X&&je(X,T,m,h),J&&pt(m,h,T,"updated")},k)},A=(h,m,T,k,N,I,$)=>{for(let F=0;F{if(m!==T){if(m!==ne)for(const I in m)!$t(I)&&!(I in T)&&r(h,I,m[I],null,N,k);for(const I in T){if($t(I))continue;const $=T[I],F=m[I];$!==F&&I!=="value"&&r(h,I,F,$,N,k)}"value"in T&&r(h,"value",m.value,T.value,N)}},E=(h,m,T,k,N,I,$,F,D)=>{const M=m.el=h?h.el:l(""),J=m.anchor=h?h.anchor:l("");let{patchFlag:B,dynamicChildren:W,slotScopeIds:X}=m;X&&(F=F?F.concat(X):X),h==null?(s(M,T,k),s(J,T,k),R(m.children||[],T,J,N,I,$,F,D)):B>0&&B&64&&W&&h.dynamicChildren?(A(h.dynamicChildren,W,T,N,I,$,F),(m.key!=null||N&&m===N.subTree)&&ro(h,m,!0)):K(h,m,T,J,N,I,$,F,D)},L=(h,m,T,k,N,I,$,F,D)=>{m.slotScopeIds=F,h==null?m.shapeFlag&512?N.ctx.activate(m,T,k,$,D):j(m,T,k,N,I,$,D):G(h,m,D)},j=(h,m,T,k,N,I,$)=>{const F=h.component=Ca(h,k,N);if(bs(h)&&(F.ctx.renderer=pn),xa(F,!1,$),F.asyncDep){if(N&&N.registerDep(F,U,$),!h.el){const D=F.subTree=ue(ye);x(null,D,m,T),h.placeholder=D.el}}else U(F,h,m,T,N,I,$)},G=(h,m,T)=>{const k=m.component=h.component;if(Fd(h,m,T))if(k.asyncDep&&!k.asyncResolved){Y(k,m,T);return}else k.next=m,k.update();else m.el=h.el,k.vnode=m},U=(h,m,T,k,N,I,$)=>{const F=()=>{if(h.isMounted){let{next:B,bu:W,u:X,parent:se,vnode:ae}=h;{const Je=fa(h);if(Je){B&&(B.el=ae.el,Y(h,B,$)),Je.asyncDep.then(()=>{h.isUnmounted||F()});return}}let le=B,Be;qt(h,!1),B?(B.el=ae.el,Y(h,B,$)):B=ae,W&&En(W),(Be=B.props&&B.props.onVnodeBeforeUpdate)&&je(Be,se,B,ae),qt(h,!0);const we=$s(h),ot=h.subTree;h.subTree=we,_(ot,we,u(ot.el),As(ot),h,N,I),B.el=we.el,le===null&&$i(h,we.el),X&&Se(X,N),(Be=B.props&&B.props.onVnodeUpdated)&&Se(()=>je(Be,se,B,ae),N)}else{let B;const{el:W,props:X}=m,{bm:se,m:ae,parent:le,root:Be,type:we}=h,ot=Ht(m);if(qt(h,!1),se&&En(se),!ot&&(B=X&&X.onVnodeBeforeMount)&&je(B,le,m),qt(h,!0),W&&Gi){const Je=()=>{h.subTree=$s(h),Gi(W,h.subTree,h,N,null)};ot&&we.__asyncHydrate?we.__asyncHydrate(W,h,Je):Je()}else{Be.ce&&Be.ce._def.shadowRoot!==!1&&Be.ce._injectChildStyle(we);const Je=h.subTree=$s(h);_(null,Je,T,k,h,N,I),m.el=Je.el}if(ae&&Se(ae,N),!ot&&(B=X&&X.onVnodeMounted)){const Je=m;Se(()=>je(B,le,Je),N)}(m.shapeFlag&256||le&&Ht(le.vnode)&&le.vnode.shapeFlag&256)&&h.a&&Se(h.a,N),h.isMounted=!0,m=T=k=null}};h.scope.on();const D=h.effect=new ns(F);h.scope.off();const M=h.update=D.run.bind(D),J=h.job=D.runIfDirty.bind(D);J.i=h,J.id=h.uid,D.scheduler=()=>qr(J),qt(h,!0),M()},Y=(h,m,T)=>{m.component=h;const k=h.vnode.props;h.vnode=m,h.next=null,Td(h,m.props,k,T),xd(h,m.children,T),gt(),Uo(h),mt()},K=(h,m,T,k,N,I,$,F,D=!1)=>{const M=h&&h.children,J=h?h.shapeFlag:0,B=m.children,{patchFlag:W,shapeFlag:X}=m;if(W>0){if(W&128){He(M,B,T,k,N,I,$,F,D);return}else if(W&256){ce(M,B,T,k,N,I,$,F,D);return}}X&8?(J&16&&$n(M,N,I),B!==M&&a(T,B)):J&16?X&16?He(M,B,T,k,N,I,$,F,D):$n(M,N,I,!0):(J&8&&a(T,""),X&16&&R(B,T,k,N,I,$,F,D))},ce=(h,m,T,k,N,I,$,F,D)=>{h=h||Sn,m=m||Sn;const M=h.length,J=m.length,B=Math.min(M,J);let W;for(W=0;WJ?$n(h,N,I,!0,!1,B):R(m,T,k,N,I,$,F,D,B)},He=(h,m,T,k,N,I,$,F,D)=>{let M=0;const J=m.length;let B=h.length-1,W=J-1;for(;M<=B&&M<=W;){const X=h[M],se=m[M]=D?Ft(m[M]):Ke(m[M]);if(lt(X,se))_(X,se,T,null,N,I,$,F,D);else break;M++}for(;M<=B&&M<=W;){const X=h[B],se=m[W]=D?Ft(m[W]):Ke(m[W]);if(lt(X,se))_(X,se,T,null,N,I,$,F,D);else break;B--,W--}if(M>B){if(M<=W){const X=W+1,se=XW)for(;M<=B;)ft(h[M],N,I,!0),M++;else{const X=M,se=M,ae=new Map;for(M=se;M<=W;M++){const ze=m[M]=D?Ft(m[M]):Ke(m[M]);ze.key!=null&&ae.set(ze.key,M)}let le,Be=0;const we=W-se+1;let ot=!1,Je=0;const Hn=new Array(we);for(M=0;M=we){ft(ze,N,I,!0);continue}let ut;if(ze.key!=null)ut=ae.get(ze.key);else for(le=se;le<=W;le++)if(Hn[le-se]===0&<(ze,m[le])){ut=le;break}ut===void 0?ft(ze,N,I,!0):(Hn[ut-se]=M+1,ut>=Je?Je=ut:ot=!0,_(ze,m[ut],T,null,N,I,$,F,D),Be++)}const Po=ot?Nd(Hn):Sn;for(le=Po.length-1,M=we-1;M>=0;M--){const ze=se+M,ut=m[ze],Lo=m[ze+1],Do=ze+1{const{el:I,type:$,transition:F,children:D,shapeFlag:M}=h;if(M&6){rt(h.component.subTree,m,T,k);return}if(M&128){h.suspense.move(m,T,k);return}if(M&64){$.move(h,m,T,pn);return}if($===ve){s(I,m,T);for(let B=0;BF.enter(I),N);else{const{leave:B,delayLeave:W,afterLeave:X}=F,se=()=>{h.ctx.isUnmounted?i(I):s(I,m,T)},ae=()=>{I._isLeaving&&I[Tt](!0),B(I,()=>{se(),X&&X()})};W?W(I,se,ae):ae()}else s(I,m,T)},ft=(h,m,T,k=!1,N=!1)=>{const{type:I,props:$,ref:F,children:D,dynamicChildren:M,shapeFlag:J,patchFlag:B,dirs:W,cacheIndex:X}=h;if(B===-2&&(N=!1),F!=null&&(gt(),An(F,null,T,h,!0),mt()),X!=null&&(m.renderCache[X]=void 0),J&256){m.ctx.deactivate(h);return}const se=J&1&&W,ae=!Ht(h);let le;if(ae&&(le=$&&$.onVnodeBeforeUnmount)&&je(le,m,h),J&6)qf(h.component,T,k);else{if(J&128){h.suspense.unmount(T,k);return}se&&pt(h,null,m,"beforeUnmount"),J&64?h.type.remove(h,m,T,pn,k):M&&!M.hasOnce&&(I!==ve||B>0&&B&64)?$n(M,m,T,!1,!0):(I===ve&&B&384||!N&&J&16)&&$n(D,m,T),k&&ko(h)}(ae&&(le=$&&$.onVnodeUnmounted)||se)&&Se(()=>{le&&je(le,m,h),se&&pt(h,null,m,"unmounted")},T)},ko=h=>{const{type:m,el:T,anchor:k,transition:N}=h;if(m===ve){Wf(T,k);return}if(m===nn){y(h);return}const I=()=>{i(T),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(h.shapeFlag&1&&N&&!N.persisted){const{leave:$,delayLeave:F}=N,D=()=>$(T,I);F?F(h.el,I,D):D()}else I()},Wf=(h,m)=>{let T;for(;h!==m;)T=d(h),i(h),h=T;i(m)},qf=(h,m,T)=>{const{bum:k,scope:N,job:I,subTree:$,um:F,m:D,a:M}=h;ni(D),ni(M),k&&En(k),N.stop(),I&&(I.flags|=8,ft($,h,m,T)),F&&Se(F,m),Se(()=>{h.isUnmounted=!0},m)},$n=(h,m,T,k=!1,N=!1,I=0)=>{for(let $=I;${if(h.shapeFlag&6)return As(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const m=d(h.anchor||h.el),T=m&&m[Ic];return T?d(T):m};let Wi=!1;const Mo=(h,m,T)=>{h==null?m._vnode&&ft(m._vnode,null,null,!0):_(m._vnode||null,h,m,null,null,null,T),m._vnode=h,Wi||(Wi=!0,Uo(),Qs(),Wi=!1)},pn={p:_,um:ft,m:rt,r:ko,mt:j,mc:R,pc:K,pbc:A,n:As,o:e};let qi,Gi;return t&&([qi,Gi]=t(pn)),{render:Mo,hydrate:qi,createApp:_d(Mo,qi)}}function sr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function aa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ro(e,t,n=!1){const s=e.children,i=t.children;if(H(s)&&H(i))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function fa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fa(t)}function ni(e){if(e)for(let t=0;tZn(ua);function wd(e,t){return Ss(e,null,t)}function Id(e,t){return Ss(e,null,{flush:"post"})}function da(e,t){return Ss(e,null,{flush:"sync"})}function xn(e,t,n){return Ss(e,t,n)}function Ss(e,t,n=ne){const{immediate:s,deep:i,flush:r,once:o}=n,l=Q({},n),c=t&&s||!t&&r!=="post";let f;if(In){if(r==="sync"){const g=ha();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=Ne,g.resume=Ne,g.pause=Ne,g}}const a=Ae;l.call=(g,b,_)=>it(g,a,b,_);let u=!1;r==="post"?l.scheduler=g=>{Se(g,a&&a.suspense)}:r!=="sync"&&(u=!0,l.scheduler=(g,b)=>{b?g():qr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),u&&(g.flags|=2,a&&(g.id=a.uid,g.i=a))};const d=oh(e,t,l);return In&&(f?f.push(d):c&&d()),d}function Od(e,t,n){const s=this.proxy,i=z(e)?e.includes(".")?pa(s,e):()=>s[e]:e.bind(s,s);let r;q(t)?r=t:(r=t.handler,n=t);const o=ln(this),l=Ss(i,r.bind(s),n);return o(),l}function pa(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{let a,u=ne,d;return da(()=>{const g=e[i];Fe(a,g)&&(a=g,f())}),{get(){return c(),n.get?n.get(a):a},set(g){const b=n.set?n.set(g):g;if(!Fe(b,a)&&!(u!==ne&&Fe(g,u)))return;const _=s.vnode.props;_&&(t in _||i in _||r in _)&&(`onUpdate:${t}`in _||`onUpdate:${i}`in _||`onUpdate:${r}`in _)||(a=g,f()),s.emit(`update:${t}`,b),Fe(g,b)&&Fe(g,u)&&!Fe(b,d)&&f(),u=g,d=b}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||ne:l,done:!1}:{done:!0}}}},l}const ga=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${he(t)}Modifiers`]||e[`${$e(t)}Modifiers`];function kd(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let i=n;const r=t.startsWith("update:"),o=r&&ga(s,t.slice(7));o&&(o.trim&&(i=n.map(a=>z(a)?a.trim():a)),o.number&&(i=n.map(qs)));let l,c=s[l=Tn(t)]||s[l=Tn(he(t))];!c&&r&&(c=s[l=Tn($e(t))]),c&&it(c,e,6,i);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,it(f,e,6,i)}}const Md=new WeakMap;function ma(e,t,n=!1){const s=n?Md:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=ma(f,t,!0);a&&(l=!0,Q(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(oe(e)&&s.set(e,null),null):(H(r)?r.forEach(c=>o[c]=null):Q(o,r),oe(e)&&s.set(e,o),o)}function Vi(e,t){return!e||!an(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,$e(t))||ie(e,t))}function $s(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:u,data:d,setupState:g,ctx:b,inheritAttrs:_}=e,O=ls(e);let x,C;try{if(n.shapeFlag&4){const y=i||s,v=y;x=Ke(f.call(v,y,a,u,g,d,b)),C=l}else{const y=t;x=Ke(y.length>1?y(u,{attrs:l,slots:o,emit:c}):y(u,null)),C=t.props?l:Ld(l)}}catch(y){Qn.length=0,dn(y,e,1),x=ue(ye)}let p=x;if(C&&_!==!1){const y=Object.keys(C),{shapeFlag:v}=p;y.length&&v&7&&(r&&y.some(Dr)&&(C=Dd(C,r)),p=yt(p,C,!1,!0))}return n.dirs&&(p=yt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&wt(p,n.transition),x=p,ls(O),x}function Pd(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||an(n))&&((t||(t={}))[n]=e[n]);return t},Dd=(e,t)=>{const n={};for(const s in e)(!Dr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Fd(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?sl(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let u=0;ue.__isSuspense;let br=0;const Vd={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,c,f){if(e==null)Hd(t,n,s,i,r,o,l,c,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Bd(e,t,n,s,i,o,l,c,f)}},hydrate:Ud,normalize:jd},$d=Vd;function as(e,t){const n=e.props&&e.props[t];q(n)&&n()}function Hd(e,t,n,s,i,r,o,l,c){const{p:f,o:{createElement:a}}=c,u=a("div"),d=e.suspense=ya(e,i,s,t,u,n,r,o,l,c);f(null,d.pendingBranch=e.ssContent,u,null,s,d,r,o),d.deps>0?(as(e,"onPending"),as(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,o),Nn(d,e.ssFallback)):d.resolve(!1,!0)}function Bd(e,t,n,s,i,r,o,l,{p:c,um:f,o:{createElement:a}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:b,pendingBranch:_,isInFallback:O,isHydrating:x}=u;if(_)u.pendingBranch=d,lt(_,d)?(c(_,d,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0?u.resolve():O&&(x||(c(b,g,n,s,i,null,r,o,l),Nn(u,g)))):(u.pendingId=br++,x?(u.isHydrating=!1,u.activeBranch=_):f(_,i,u),u.deps=0,u.effects.length=0,u.hiddenContainer=a("div"),O?(c(null,d,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0?u.resolve():(c(b,g,n,s,i,null,r,o,l),Nn(u,g))):b&<(b,d)?(c(b,d,n,s,i,u,r,o,l),u.resolve(!0)):(c(null,d,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0&&u.resolve()));else if(b&<(b,d))c(b,d,n,s,i,u,r,o,l),Nn(u,d);else if(as(t,"onPending"),u.pendingBranch=d,d.shapeFlag&512?u.pendingId=d.component.suspenseId:u.pendingId=br++,c(null,d,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0)u.resolve();else{const{timeout:C,pendingId:p}=u;C>0?setTimeout(()=>{u.pendingId===p&&u.fallback(g)},C):C===0&&u.fallback(g)}}function ya(e,t,n,s,i,r,o,l,c,f,a=!1){const{p:u,m:d,um:g,n:b,o:{parentNode:_,remove:O}}=f;let x;const C=Kd(e);C&&t&&t.pendingBranch&&(x=t.pendingId,t.deps++);const p=e.props?Gs(e.props.timeout):void 0,y=r,v={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:br++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(w=!1,V=!1){const{vnode:R,activeBranch:S,pendingBranch:A,pendingId:P,effects:E,parentComponent:L,container:j}=v;let G=!1;v.isHydrating?v.isHydrating=!1:w||(G=S&&A.transition&&A.transition.mode==="out-in",G&&(S.transition.afterLeave=()=>{P===v.pendingId&&(d(A,j,r===y?b(S):r,0),rs(E))}),S&&(_(S.el)===j&&(r=b(S)),g(S,L,v,!0)),G||d(A,j,r,0)),Nn(v,A),v.pendingBranch=null,v.isInFallback=!1;let U=v.parent,Y=!1;for(;U;){if(U.pendingBranch){U.effects.push(...E),Y=!0;break}U=U.parent}!Y&&!G&&rs(E),v.effects=[],C&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),as(R,"onResolve")},fallback(w){if(!v.pendingBranch)return;const{vnode:V,activeBranch:R,parentComponent:S,container:A,namespace:P}=v;as(V,"onFallback");const E=b(R),L=()=>{v.isInFallback&&(u(null,w,A,E,S,null,P,l,c),Nn(v,w))},j=w.transition&&w.transition.mode==="out-in";j&&(R.transition.afterLeave=L),v.isInFallback=!0,g(R,S,null,!0),j||L()},move(w,V,R){v.activeBranch&&d(v.activeBranch,w,V,R),v.container=w},next(){return v.activeBranch&&b(v.activeBranch)},registerDep(w,V,R){const S=!!v.pendingBranch;S&&v.deps++;const A=w.vnode.el;w.asyncDep.catch(P=>{dn(P,w,0)}).then(P=>{if(w.isUnmounted||v.isUnmounted||v.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:E}=w;vr(w,P,!1),A&&(E.el=A);const L=!A&&w.subTree.el;V(w,E,_(A||w.subTree.el),A?null:b(w.subTree),v,o,R),L&&O(L),$i(w,E.el),S&&--v.deps===0&&v.resolve()})},unmount(w,V){v.isUnmounted=!0,v.activeBranch&&g(v.activeBranch,n,w,V),v.pendingBranch&&g(v.pendingBranch,n,w,V)}};return v}function Ud(e,t,n,s,i,r,o,l,c){const f=t.suspense=ya(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),a=c(e,f.pendingBranch=t.ssContent,n,f,r,o);return f.deps===0&&f.resolve(!1,!0),a}function jd(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=il(s?n.default:n),e.ssFallback=s?il(n.fallback):ue(ye)}function il(e){let t;if(q(e)){const n=on&&e._c;n&&(e._d=!1,fs()),e=e(),n&&(e._d=!0,t=Me,_a())}return H(e)&&(e=Pd(e)),e=Ke(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ba(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):rs(e)}function Nn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,$i(s,i))}function Kd(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ve=Symbol.for("v-fgt"),Bt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),nn=Symbol.for("v-stc"),Qn=[];let Me=null;function fs(e=!1){Qn.push(Me=e?null:[])}function _a(){Qn.pop(),Me=Qn[Qn.length-1]||null}let on=1;function us(e,t=!1){on+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function Sa(e){return e.dynamicChildren=on>0?Me||Sn:null,_a(),on>0&&Me&&Me.push(e),e}function Wd(e,t,n,s,i,r){return Sa(oo(e,t,n,s,i,r,!0))}function ii(e,t,n,s,i){return Sa(ue(e,t,n,s,i,!0))}function It(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}function qd(e){}const va=({key:e})=>e??null,Hs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||_e(e)||q(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function oo(e,t=null,n=null,s=0,i=null,r=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&va(t),ref:t&&Hs(t),scopeId:ki,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return l?(co(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=z(n)?8:16),on>0&&!o&&Me&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Me.push(c),c}const ue=Gd;function Gd(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Gc)&&(e=ye),It(e)){const l=yt(e,t,!0);return n&&co(l,n),on>0&&!r&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag=-2,l}if(sp(e)&&(e=e.__vccOpts),t){t=Ta(t);let{class:l,style:c}=t;l&&!z(l)&&(t.class=Vn(l)),oe(c)&&(Ii(c)&&!H(c)&&(c=Q({},c)),t.style=Fn(c))}const o=z(e)?1:si(e)?128:Oc(e)?64:oe(e)?4:q(e)?2:0;return oo(e,t,n,s,i,o,r,!0)}function Ta(e){return e?Ii(e)||ea(e)?Q({},e):e:null}function yt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,f=t?Ea(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&va(f),ref:t&&t.ref?n&&r?H(r)?r.concat(Hs(t)):[r,Hs(t)]:Hs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&wt(a,c.clone(a)),a}function lo(e=" ",t=0){return ue(Bt,null,e,t)}function Jd(e,t){const n=ue(nn,null,e);return n.staticCount=t,n}function zd(e="",t=!1){return t?(fs(),ii(ye,null,e)):ue(ye,null,e)}function Ke(e){return e==null||typeof e=="boolean"?ue(ye):H(e)?ue(ve,null,e.slice()):It(e)?Ft(e):ue(Bt,null,String(e))}function Ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function co(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),co(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!ea(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[lo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ea(...e){const t={};for(let n=0;nAe||xe;let ri,_r;{const e=Ti(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};ri=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),_r=t("__VUE_SSR_SETTERS__",n=>In=n)}const ln=e=>{const t=Ae;return ri(e),e.scope.on(),()=>{e.scope.off(),ri(t)}},Sr=()=>{Ae&&Ae.scope.off(),ri(null)};function Aa(e){return e.vnode.shapeFlag&4}let In=!1;function xa(e,t=!1,n=!1){t&&_r(t);const{props:s,children:i}=e.vnode,r=Aa(e);vd(e,s,r,t),Ad(e,i,n||t);const o=r?Zd(e,t):void 0;return t&&_r(!1),o}function Zd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pr);const{setup:s}=n;if(s){gt();const i=e.setupContext=s.length>1?Ia(e):null,r=ln(e),o=hn(s,e,0,[e.props,i]),l=Vr(o);if(mt(),r(),(l||e.sp)&&!Ht(e)&&Xr(e),l){if(o.then(Sr,Sr),t)return o.then(c=>{vr(e,c,t)}).catch(c=>{dn(c,e,0)});e.asyncDep=o}else vr(e,o,t)}else wa(e,t)}function vr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=Wr(t)),wa(e,n)}let oi,Tr;function Na(e){oi=e,Tr=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Qh))}}const Qd=()=>!oi;function wa(e,t,n){const s=e.type;if(!e.render){if(!t&&oi&&!s.render){const i=s.template||no(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=Q(Q({isCustomElement:r,delimiters:l},o),c);s.render=oi(i,f)}}e.render=s.render||Ne,Tr&&Tr(e)}{const i=ln(e);gt();try{dd(e)}finally{mt(),i()}}}const ep={get(e,t){return ke(e,"get",""),e[t]}};function Ia(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ep),slots:e.slots,emit:e.emit,expose:t}}function vs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wr(bc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xn)return Xn[n](e)},has(t,n){return n in t||n in Xn}})):e.proxy}const tp=/(?:^|[-_])\w/g,np=e=>e.replace(tp,t=>t.toUpperCase()).replace(/[-_]/g,"");function li(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Oa(e,t,n=!1){let s=li(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e&&e.parent){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components||e.parent.type.components)||i(e.appContext.components)}return s?np(s):n?"App":"Anonymous"}function sp(e){return q(e)&&"__vccOpts"in e}const Ra=(e,t)=>nh(e,t,In);function ka(e,t,n){try{us(-1);const s=arguments.length;return s===2?oe(t)&&!H(t)?It(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&It(n)&&(n=[n]),ue(e,t,n))}finally{us(1)}}function ip(){}function rp(e,t,n,s){const i=n[s];if(i&&Ma(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Ma(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s0&&Me&&Me.push(e),!0}const Pa="3.5.22",op=Ne,lp=gh,cp=bn,ap=wc,fp={createComponentInstance:Ca,setupComponent:xa,renderComponentRoot:$s,setCurrentRenderingInstance:ls,isVNode:It,normalizeVNode:Ke,getComponentPublicInstance:vs,ensureValidVNode:to,pushWarningContext:lh,popWarningContext:ch},up=fp,hp=null,dp=null,pp=null;let Er;const rl=typeof window<"u"&&window.trustedTypes;if(rl)try{Er=rl.createPolicy("vue",{createHTML:e=>e})}catch{}const La=Er?e=>Er.createHTML(e):e=>e,gp="http://www.w3.org/2000/svg",mp="http://www.w3.org/1998/Math/MathML",vt=typeof document<"u"?document:null,ol=vt&&vt.createElement("template"),yp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?vt.createElementNS(gp,e):t==="mathml"?vt.createElementNS(mp,e):n?vt.createElement(e,{is:n}):vt.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{ol.innerHTML=La(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=ol.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Un="animation",On=Symbol("_vtc"),Da={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Fa=Q({},zr,Da),bp=e=>(e.displayName="Transition",e.props=Fa,e),_p=bp((e,{slots:t})=>ka(Lc,Va(e),t)),Gt=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},ll=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function Va(e){const t={};for(const E in e)E in Da||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,b=Sp(i),_=b&&b[0],O=b&&b[1],{onBeforeEnter:x,onEnter:C,onEnterCancelled:p,onLeave:y,onLeaveCancelled:v,onBeforeAppear:w=x,onAppear:V=C,onAppearCancelled:R=p}=t,S=(E,L,j,G)=>{E._enterCancelled=G,Pt(E,L?a:l),Pt(E,L?f:o),j&&j()},A=(E,L)=>{E._isLeaving=!1,Pt(E,u),Pt(E,g),Pt(E,d),L&&L()},P=E=>(L,j)=>{const G=E?V:C,U=()=>S(L,E,j);Gt(G,[L,U]),cl(()=>{Pt(L,E?c:r),ht(L,E?a:l),ll(G)||al(L,s,_,U)})};return Q(t,{onBeforeEnter(E){Gt(x,[E]),ht(E,r),ht(E,o)},onBeforeAppear(E){Gt(w,[E]),ht(E,c),ht(E,f)},onEnter:P(!1),onAppear:P(!0),onLeave(E,L){E._isLeaving=!0;const j=()=>A(E,L);ht(E,u),E._enterCancelled?(ht(E,d),Cr(E)):(Cr(E),ht(E,d)),cl(()=>{E._isLeaving&&(Pt(E,u),ht(E,g),ll(y)||al(E,s,O,j))}),Gt(y,[E,j])},onEnterCancelled(E){S(E,!1,void 0,!0),Gt(p,[E])},onAppearCancelled(E){S(E,!0,void 0,!0),Gt(R,[E])},onLeaveCancelled(E){A(E),Gt(v,[E])}})}function Sp(e){if(e==null)return null;if(oe(e))return[ir(e.enter),ir(e.leave)];{const t=ir(e);return[t,t]}}function ir(e){return Gs(e)}function ht(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[On]||(e[On]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[On];n&&(n.delete(t),n.size||(e[On]=void 0))}function cl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vp=0;function al(e,t,n,s){const i=e._endId=++vp,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:c}=$a(e,t);if(!o)return s();const f=o+"end";let a=0;const u=()=>{e.removeEventListener(f,d),r()},d=g=>{g.target===e&&++a>=c&&u()};setTimeout(()=>{a(n[b]||"").split(", "),i=s(`${Rt}Delay`),r=s(`${Rt}Duration`),o=fl(i,r),l=s(`${Un}Delay`),c=s(`${Un}Duration`),f=fl(l,c);let a=null,u=0,d=0;t===Rt?o>0&&(a=Rt,u=o,d=r.length):t===Un?f>0&&(a=Un,u=f,d=c.length):(u=Math.max(o,f),a=u>0?o>f?Rt:Un:null,d=a?a===Rt?r.length:c.length:0);const g=a===Rt&&/\b(?:transform|all)(?:,|$)/.test(s(`${Rt}Property`).toString());return{type:a,timeout:u,propCount:d,hasTransform:g}}function fl(e,t){for(;e.lengthul(n)+ul(e[s])))}function ul(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Cr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Tp(e,t,n){const s=e[On];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ci=Symbol("_vod"),Ha=Symbol("_vsh"),Ba={name:"show",beforeMount(e,{value:t},{transition:n}){e[ci]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),jn(e,!0),s.enter(e)):s.leave(e,()=>{jn(e,!1)}):jn(e,t))},beforeUnmount(e,{value:t}){jn(e,t)}};function jn(e,t){e.style.display=t?e[ci]:"none",e[Ha]=!t}function Ep(){Ba.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Ua=Symbol("");function Cp(e){const t=Ge();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>ai(r,i))},s=()=>{const i=e(t.proxy);t.ce?ai(t.ce,i):Ar(t.subTree,i),n(i)};Zr(()=>{rs(s)}),_s(()=>{xn(s,Ne,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),Fi(()=>i.disconnect())})}function Ar(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ar(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ai(e.el,t);else if(e.type===ve)e.children.forEach(n=>Ar(n,t));else if(e.type===nn){let{el:n,anchor:s}=e;for(;n&&(ai(n,t),n!==s);)n=n.nextSibling}}function ai(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=ec(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[Ua]=s}}const Ap=/(?:^|;)\s*display\s*:/;function xp(e,t,n){const s=e.style,i=z(n);let r=!1;if(n&&!i){if(t)if(z(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Bs(s,l,"")}else for(const o in t)n[o]==null&&Bs(s,o,"");for(const o in n)o==="display"&&(r=!0),Bs(s,o,n[o])}else if(i){if(t!==n){const o=s[Ua];o&&(n+=";"+o),s.cssText=n,r=Ap.test(n)}}else t&&e.removeAttribute("style");ci in e&&(e[ci]=r?s.display:"",e[Ha]&&(s.display="none"))}const hl=/\s*!important$/;function Bs(e,t,n){if(H(n))n.forEach(s=>Bs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Np(e,t);hl.test(n)?e.setProperty($e(s),n.replace(hl,""),"important"):e[s]=n}}const dl=["Webkit","Moz","ms"],rr={};function Np(e,t){const n=rr[t];if(n)return n;let s=he(t);if(s!=="filter"&&s in e)return rr[t]=s;s=un(s);for(let i=0;ior||(Rp.then(()=>or=0),or=Date.now());function Mp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;it(Pp(s,n.value),t,5,[s])};return n.value=e,n.attached=kp(),n}function Pp(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const _l=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lp=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Tp(e,s,o):t==="style"?xp(e,n,s):an(t)?Dr(t)||Ip(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Dp(e,t,s,o))?(ml(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gl(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!z(s))?ml(e,he(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),gl(e,t,s,o))};function Dp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_l(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return _l(t)&&z(n)?!1:t in e}const Sl={};function ja(e,t,n){let s=Yr(e,t);Si(s)&&(s=Q({},s,t));class i extends Hi{constructor(o){super(s,o,n)}}return i.def=s,i}const Fp=(e,t)=>ja(e,t,tf),Vp=typeof HTMLElement<"u"?HTMLElement:class{};class Hi extends Vp{constructor(t,n={},s=xr){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==xr?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Q({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Hi){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Ri(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!H(r))for(const c in r){const f=r[c];(f===Number||f&&f.type===Number)&&(c in this._props&&(this._props[c]=Gs(this._props[c])),(l||(l=Object.create(null)))[he(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)ie(this,s)||Object.defineProperty(this,s,{get:()=>Oi(n[s])})}_resolveProps(t){const{props:n}=t,s=H(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(he))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Sl;const i=he(t);n&&this._numberProps&&this._numberProps[i]&&(s=Gs(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(n===Sl?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute($e(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($e(t),n+""):n||this.removeAttribute($e(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ef(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ue(this._def,Q(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,Si(o[0])?Q({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),$e(r)!==r&&i($e(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s(n.push(...Array.from(s.querySelectorAll("slot"))),n),[])}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Ka(e){const t=Ge(),n=t&&t.ce;return n||null}function $p(){const e=Ka();return e&&e.shadowRoot}function Hp(e="$style"){{const t=Ge();if(!t)return ne;const n=t.type.__cssModules;if(!n)return ne;const s=n[e];return s||ne}}const Wa=new WeakMap,qa=new WeakMap,fi=Symbol("_moveCb"),vl=Symbol("_enterCb"),Bp=e=>(delete e.props.mode,e),Up=Bp({name:"TransitionGroup",props:Q({},Fa,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ge(),s=Jr();let i,r;return Li(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Gp(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Kp),i.forEach(Wp);const l=i.filter(qp);Cr(n.vnode.el),l.forEach(c=>{const f=c.el,a=f.style;ht(f,o),a.transform=a.webkitTransform=a.transitionDuration="";const u=f[fi]=d=>{d&&d.target!==f||(!d||d.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",u),f[fi]=null,Pt(f,o))};f.addEventListener("transitionend",u)}),i=[]}),()=>{const o=te(e),l=Va(o);let c=o.tag||ve;if(i=[],r)for(let f=0;f{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=$a(s);return r.removeChild(s),o}const Kt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>En(t,n):t};function Jp(e){e.target.composing=!0}function Tl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const st=Symbol("_assign"),ui={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[st]=Kt(i);const r=s||i.props&&i.props.type==="number";At(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=qs(l)),e[st](l)}),n&&At(e,"change",()=>{e.value=e.value.trim()}),t||(At(e,"compositionstart",Jp),At(e,"compositionend",Tl),At(e,"change",Tl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[st]=Kt(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?qs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c))}},ao={deep:!0,created(e,t,n){e[st]=Kt(n),At(e,"change",()=>{const s=e._modelValue,i=Rn(e),r=e.checked,o=e[st];if(H(s)){const l=Ei(s,i),c=l!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const f=[...s];f.splice(l,1),o(f)}}else if(fn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Ja(e,r))})},mounted:El,beforeUpdate(e,t,n){e[st]=Kt(n),El(e,t,n)}};function El(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(H(t))i=Ei(t,s.props.value)>-1;else if(fn(t))i=t.has(s.props.value);else{if(t===n)return;i=jt(t,Ja(e,!0))}e.checked!==i&&(e.checked=i)}const fo={created(e,{value:t},n){e.checked=jt(t,n.props.value),e[st]=Kt(n),At(e,"change",()=>{e[st](Rn(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[st]=Kt(s),t!==n&&(e.checked=jt(t,s.props.value))}},Ga={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=fn(t);At(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?qs(Rn(o)):Rn(o));e[st](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Ri(()=>{e._assigning=!1})}),e[st]=Kt(s)},mounted(e,{value:t}){Cl(e,t)},beforeUpdate(e,t,n){e[st]=Kt(n)},updated(e,{value:t}){e._assigning||Cl(e,t)}};function Cl(e,t){const n=e.multiple,s=H(t);if(!(n&&!s&&!fn(t))){for(let i=0,r=e.options.length;iString(f)===String(l)):o.selected=Ei(t,l)>-1}else o.selected=t.has(l);else if(jt(Rn(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rn(e){return"_value"in e?e._value:e.value}function Ja(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const za={created(e,t,n){Ps(e,t,n,null,"created")},mounted(e,t,n){Ps(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ps(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ps(e,t,n,s,"updated")}};function Ya(e,t){switch(e){case"SELECT":return Ga;case"TEXTAREA":return ui;default:switch(t){case"checkbox":return ao;case"radio":return fo;default:return ui}}}function Ps(e,t,n,s,i){const o=Ya(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function zp(){ui.getSSRProps=({value:e})=>({value:e}),fo.getSSRProps=({value:e},t)=>{if(t.props&&jt(t.props.value,e))return{checked:!0}},ao.getSSRProps=({value:e},t)=>{if(H(e)){if(t.props&&Ei(e,t.props.value)>-1)return{checked:!0}}else if(fn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},za.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Ya(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Yp=["ctrl","shift","alt","meta"],Xp={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Yp.some(n=>e[`${n}Key`]&&!t.includes(n))},Zp=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...r)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const r=$e(i.key);if(t.some(o=>o===r||Qp[o]===r))return e(i)})},Xa=Q({patchProp:Lp},yp);let es,Al=!1;function Za(){return es||(es=oa(Xa))}function Qa(){return es=Al?es:la(Xa),Al=!0,es}const ef=(...e)=>{Za().render(...e)},tg=(...e)=>{Qa().hydrate(...e)},xr=(...e)=>{const t=Za().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=sf(s);if(!i)return;const r=t._component;!q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,nf(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},tf=(...e)=>{const t=Qa().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=sf(s);if(i)return n(i,!0,nf(i))},t};function nf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sf(e){return z(e)?document.querySelector(e):e}let xl=!1;const ng=()=>{xl||(xl=!0,zp(),Ep())},sg=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Lc,BaseTransitionPropsValidators:zr,Comment:ye,DeprecationTypes:pp,EffectScope:Br,ErrorCodes:ph,ErrorTypeStrings:lp,Fragment:ve,KeepAlive:jh,ReactiveEffect:ns,Static:nn,Suspense:$d,Teleport:Eh,Text:Bt,TrackOpTypes:sh,Transition:_p,TransitionGroup:jp,TriggerOpTypes:ih,VueElement:Hi,assertNumber:dh,callWithAsyncErrorHandling:it,callWithErrorHandling:hn,camelize:he,capitalize:un,cloneVNode:yt,compatUtils:dp,computed:Ra,createApp:xr,createBlock:ii,createCommentVNode:zd,createElementBlock:Wd,createElementVNode:oo,createHydrationRenderer:la,createPropsRestProxy:ud,createRenderer:oa,createSSRApp:tf,createSlots:Yh,createStaticVNode:Jd,createTextVNode:lo,createVNode:ue,customRef:vc,defineAsyncComponent:Bh,defineComponent:Yr,defineCustomElement:ja,defineEmits:td,defineExpose:nd,defineModel:rd,defineOptions:sd,defineProps:ed,defineSSRCustomElement:Fp,defineSlots:id,devtools:cp,effect:Au,effectScope:Tu,getCurrentInstance:Ge,getCurrentScope:tc,getCurrentWatcher:rh,getTransitionRawChildren:Mi,guardReactiveProps:Ta,h:ka,handleError:dn,hasInjectionContext:Sd,hydrate:tg,hydrateOnIdle:Lh,hydrateOnInteraction:$h,hydrateOnMediaQuery:Vh,hydrateOnVisible:Fh,initCustomFormatter:ip,initDirectivesForSSR:ng,inject:Zn,isMemoSame:Ma,isProxy:Ii,isReactive:Qt,isReadonly:Nt,isRef:_e,isRuntimeOnly:Qd,isShallow:Ze,isVNode:It,markRaw:bc,mergeDefaults:ad,mergeModels:fd,mergeProps:Ea,nextTick:Ri,normalizeClass:Vn,normalizeProps:ou,normalizeStyle:Fn,onActivated:$c,onBeforeMount:Uc,onBeforeUnmount:Di,onBeforeUpdate:Zr,onDeactivated:Hc,onErrorCaptured:qc,onMounted:_s,onRenderTracked:Wc,onRenderTriggered:Kc,onScopeDispose:Eu,onServerPrefetch:jc,onUnmounted:Fi,onUpdated:Li,onWatcherCleanup:Ec,openBlock:fs,popScopeId:_h,provide:Xc,proxyRefs:Wr,pushScopeId:bh,queuePostFlushCb:rs,reactive:Ni,readonly:zs,ref:zn,registerRuntimeCompiler:Na,render:ef,renderList:zh,renderSlot:Xh,resolveComponent:qh,resolveDirective:Jh,resolveDynamicComponent:Gh,resolveFilter:hp,resolveTransitionHooks:wn,setBlockTracking:us,setDevtoolsHook:ap,setTransitionHooks:wt,shallowReactive:yc,shallowReadonly:Wu,shallowRef:_c,ssrContextKey:ua,ssrUtils:up,stop:xu,toDisplayString:Zl,toHandlerKey:Tn,toHandlers:Zh,toRaw:te,toRef:eh,toRefs:Xu,toValue:Ju,transformVNodeArgs:qd,triggerRef:Gu,unref:Oi,useAttrs:cd,useCssModule:Hp,useCssVars:Cp,useHost:Ka,useId:Ah,useModel:Rd,useSSRContext:ha,useShadowRoot:$p,useSlots:ld,useTemplateRef:xh,useTransitionState:Jr,vModelCheckbox:ao,vModelDynamic:za,vModelRadio:fo,vModelSelect:Ga,vModelText:ui,vShow:Ba,version:Pa,warn:op,watch:xn,watchEffect:wd,watchPostEffect:Id,watchSyncEffect:da,withAsyncContext:hd,withCtx:Gr,withDefaults:od,withDirectives:vh,withKeys:eg,withMemo:rp,withModifiers:Zp,withScopeId:Sh},Symbol.toStringTag,{value:"Module"}));const hs=Symbol(""),ts=Symbol(""),uo=Symbol(""),hi=Symbol(""),rf=Symbol(""),cn=Symbol(""),of=Symbol(""),lf=Symbol(""),ho=Symbol(""),po=Symbol(""),Ts=Symbol(""),go=Symbol(""),cf=Symbol(""),mo=Symbol(""),yo=Symbol(""),bo=Symbol(""),_o=Symbol(""),So=Symbol(""),vo=Symbol(""),af=Symbol(""),ff=Symbol(""),Bi=Symbol(""),di=Symbol(""),To=Symbol(""),Eo=Symbol(""),ds=Symbol(""),Es=Symbol(""),Co=Symbol(""),Nr=Symbol(""),ig=Symbol(""),wr=Symbol(""),pi=Symbol(""),rg=Symbol(""),og=Symbol(""),Ao=Symbol(""),lg=Symbol(""),cg=Symbol(""),xo=Symbol(""),uf=Symbol(""),kn={[hs]:"Fragment",[ts]:"Teleport",[uo]:"Suspense",[hi]:"KeepAlive",[rf]:"BaseTransition",[cn]:"openBlock",[of]:"createBlock",[lf]:"createElementBlock",[ho]:"createVNode",[po]:"createElementVNode",[Ts]:"createCommentVNode",[go]:"createTextVNode",[cf]:"createStaticVNode",[mo]:"resolveComponent",[yo]:"resolveDynamicComponent",[bo]:"resolveDirective",[_o]:"resolveFilter",[So]:"withDirectives",[vo]:"renderList",[af]:"renderSlot",[ff]:"createSlots",[Bi]:"toDisplayString",[di]:"mergeProps",[To]:"normalizeClass",[Eo]:"normalizeStyle",[ds]:"normalizeProps",[Es]:"guardReactiveProps",[Co]:"toHandlers",[Nr]:"camelize",[ig]:"capitalize",[wr]:"toHandlerKey",[pi]:"setBlockTracking",[rg]:"pushScopeId",[og]:"popScopeId",[Ao]:"withCtx",[lg]:"unref",[cg]:"isRef",[xo]:"withMemo",[uf]:"isMemoSame"};function ag(e){Object.getOwnPropertySymbols(e).forEach(t=>{kn[t]=e[t]})}const Qe={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function fg(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Qe}}function ps(e,t,n,s,i,r,o,l=!1,c=!1,f=!1,a=Qe){return e&&(l?(e.helper(cn),e.helper(Ln(e.inSSR,f))):e.helper(Pn(e.inSSR,f)),o&&e.helper(So)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:c,isComponent:f,loc:a}}function sn(e,t=Qe){return{type:17,loc:t,elements:e}}function nt(e,t=Qe){return{type:15,loc:t,properties:e}}function be(e,t){return{type:16,loc:Qe,key:z(e)?Z(e,!0):e,value:t}}function Z(e,t=!1,n=Qe,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function at(e,t=Qe){return{type:8,loc:t,children:e}}function Te(e,t=[],n=Qe){return{type:14,loc:n,callee:e,arguments:t}}function Mn(e,t=void 0,n=!1,s=!1,i=Qe){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Ir(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Qe}}function ug(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Qe}}function hg(e){return{type:21,body:e,loc:Qe}}function Pn(e,t){return e||t?ho:po}function Ln(e,t){return e||t?of:lf}function No(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(Pn(s,e.isComponent)),t(cn),t(Ln(s,e.isComponent)))}const Nl=new Uint8Array([123,123]),wl=new Uint8Array([125,125]);function Il(e){return e>=97&&e<=122||e>=65&&e<=90}function Ye(e){return e===32||e===10||e===9||e===12||e===13}function kt(e){return e===47||e===62||Ye(e)}function gi(e){const t=new Uint8Array(e.length);for(let n=0;n=0;i--){const r=this.newlines[i];if(t>r){n=i+2,s=t-r;break}}return{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?kt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Ye(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart=t||(this.state===28?this.currentSequence===Ie.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function Ol(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function rn(e,t){const n=Ol("MODE",t),s=Ol(e,t);return n===3?s===!0:s!==!1}function gs(e,t,n,...s){return rn(e,t)}function wo(e){throw e}function hf(e){}function pe(e,t,n,s){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const We=e=>e.type===4&&e.isStatic;function df(e){switch(e){case"Teleport":case"teleport":return ts;case"Suspense":case"suspense":return uo;case"KeepAlive":case"keep-alive":return hi;case"BaseTransition":case"base-transition":return rf}}const pg=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Io=e=>!pg.test(e),pf=/[A-Za-z_$\xA0-\uFFFF]/,gg=/[\.\?\w$\xA0-\uFFFF]/,mg=/\s+[.[]\s*|\s*[.[]\s+/g,gf=e=>e.type===4?e.content:e.loc.source,yg=e=>{const t=gf(e).trim().replace(mg,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,_g=e=>bg.test(gf(e)),Sg=_g;function tt(e,t,n=!1){for(let s=0;st.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function lr(e){return e.type===5||e.type===2}function Rl(e){return e.type===7&&e.name==="pre"}function Tg(e){return e.type===7&&e.name==="slot"}function mi(e){return e.type===1&&e.tagType===3}function yi(e){return e.type===1&&e.tagType===2}const Eg=new Set([ds,Es]);function yf(e,t=[]){if(e&&!z(e)&&e.type===14){const n=e.callee;if(!z(n)&&Eg.has(n))return yf(e.arguments[0],t.concat(e))}return[e,t]}function bi(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!z(i)&&i.type===14){const l=yf(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||z(i))s=nt([t]);else if(i.type===14){const l=i.arguments[0];!z(l)&&l.type===15?kl(t,l)||l.properties.unshift(t):i.callee===Co?s=Te(n.helper(di),[nt([t]),i]):i.arguments.unshift(nt([t])),!s&&(s=i)}else i.type===15?(kl(t,i)||i.properties.unshift(t),s=i):(s=Te(n.helper(di),[nt([t]),i]),o&&o.callee===Es&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function kl(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function ms(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Cg(e){return e.type===14&&e.callee===xo?e.arguments[1].returns:e}const Ag=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,bf={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:_n,isPreTag:_n,isIgnoreNewlineTag:_n,isCustomElement:_n,onError:wo,onWarn:hf,comments:!1,prefixIdentifiers:!1};let re=bf,ys=null,xt="",Re=null,ee=null,Ue="",St=-1,Jt=-1,Oo=0,Vt=!1,Or=null;const de=[],ge=new dg(de,{onerr:_t,ontext(e,t){Ls(Ee(e,t),e,t)},ontextentity(e,t,n){Ls(e,t,n)},oninterpolation(e,t){if(Vt)return Ls(Ee(e,t),e,t);let n=e+ge.delimiterOpen.length,s=t-ge.delimiterClose.length;for(;Ye(xt.charCodeAt(n));)n++;for(;Ye(xt.charCodeAt(s-1));)s--;let i=Ee(n,s);i.includes("&")&&(i=re.decodeEntities(i,!1)),Rr({type:5,content:js(i,!1,me(n,s)),loc:me(e,t)})},onopentagname(e,t){const n=Ee(e,t);Re={type:1,tag:n,ns:re.getNamespace(n,de[0],re.ns),tagType:0,props:[],children:[],loc:me(e-1,t),codegenNode:void 0}},onopentagend(e){Pl(e)},onclosetag(e,t){const n=Ee(e,t);if(!re.isVoidTag(n)){let s=!1;for(let i=0;i0&&_t(24,de[0].loc.start.offset);for(let o=0;o<=i;o++){const l=de.shift();Us(l,t,o(s.type===7?s.rawName:s.name)===n)&&_t(2,t)},onattribend(e,t){if(Re&&ee){if(Xt(ee.loc,t),e!==0)if(Ue.includes("&")&&(Ue=re.decodeEntities(Ue,!0)),ee.type===6)ee.name==="class"&&(Ue=vf(Ue).trim()),e===1&&!Ue&&_t(13,t),ee.value={type:2,content:Ue,loc:e===1?me(St,Jt):me(St-1,Jt+1)},ge.inSFCRoot&&Re.tag==="template"&&ee.name==="lang"&&Ue&&Ue!=="html"&&ge.enterRCDATA(gi("i.content==="sync"))>-1&&gs("COMPILER_V_BIND_SYNC",re,ee.loc,ee.arg.loc.source)&&(ee.name="model",ee.modifiers.splice(s,1))}(ee.type!==7||ee.name!=="pre")&&Re.props.push(ee)}Ue="",St=Jt=-1},oncomment(e,t){re.comments&&Rr({type:3,content:Ee(e,t),loc:me(e-4,t+3)})},onend(){const e=xt.length;for(let t=0;t{const b=t.start.offset+d,_=b+u.length;return js(u,!1,me(b,_),0,g?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(xg,"").trim();const f=i.indexOf(c),a=c.match(Ml);if(a){c=c.replace(Ml,"").trim();const u=a[1].trim();let d;if(u&&(d=n.indexOf(u,f+c.length),l.key=o(u,d,!0)),a[2]){const g=a[2].trim();g&&(l.index=o(g,n.indexOf(g,l.key?d+u.length:f+c.length),!0))}}return c&&(l.value=o(c,f,!0)),l}function Ee(e,t){return xt.slice(e,t)}function Pl(e){ge.inSFCRoot&&(Re.innerLoc=me(e+1,e+1)),Rr(Re);const{tag:t,ns:n}=Re;n===0&&re.isPreTag(t)&&Oo++,re.isVoidTag(t)?Us(Re,e):(de.unshift(Re),(n===1||n===2)&&(ge.inXML=!0)),Re=null}function Ls(e,t,n){{const r=de[0]&&de[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=re.decodeEntities(e,!1))}const s=de[0]||ys,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Xt(i.loc,n)):s.children.push({type:2,content:e,loc:me(t,n)})}function Us(e,t,n=!1){n?Xt(e.loc,_f(t,60)):Xt(e.loc,wg(t,62)+1),ge.inSFCRoot&&(e.children.length?e.innerLoc.end=Q({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Q({},e.innerLoc.start),e.innerLoc.source=Ee(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(Vt||(s==="slot"?e.tagType=2:Ll(e)?e.tagType=3:Og(e)&&(e.tagType=1)),ge.inRCDATA||(e.children=Sf(r)),i===0&&re.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&re.isPreTag(s)&&Oo--,Or===e&&(Vt=ge.inVPre=!1,Or=null),ge.inXML&&(de[0]?de[0].ns:re.ns)===0&&(ge.inXML=!1);{const o=e.props;if(!ge.inSFCRoot&&rn("COMPILER_NATIVE_TEMPLATE",re)&&e.tag==="template"&&!Ll(e)){const c=de[0]||ys,f=c.children.indexOf(e);c.children.splice(f,1,...e.children)}const l=o.find(c=>c.type===6&&c.name==="inline-template");l&&gs("COMPILER_INLINE_TEMPLATE",re,l.loc)&&e.children.length&&(l.value={type:2,content:Ee(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function wg(e,t){let n=e;for(;xt.charCodeAt(n)!==t&&n=0;)n--;return n}const Ig=new Set(["if","else","else-if","for","slot"]);function Ll({tag:e,props:t}){if(e==="template"){for(let n=0;n64&&e<91}const kg=/\r\n/g;function Sf(e){const t=re.whitespace!=="preserve";let n=!1;for(let s=0;sn.type!==3);return t.length===1&&t[0].type===1&&!yi(t[0])?t[0]:null}function Ks(e,t,n,s=!1,i=!1){const{children:r}=e,o=[];for(let a=0;a0){if(d>=2){u.codegenNode.patchFlag=-1,o.push(u);continue}}else{const g=u.codegenNode;if(g.type===13){const b=g.patchFlag;if((b===void 0||b===512||b===1)&&Cf(u,n)>=2){const _=Af(u);_&&(g.props=n.hoist(_))}g.dynamicProps&&(g.dynamicProps=n.hoist(g.dynamicProps))}}}else if(u.type===12&&(s?0:Xe(u,n))>=2){u.codegenNode.type===14&&u.codegenNode.arguments.length>0&&u.codegenNode.arguments.push("-1"),o.push(u);continue}if(u.type===1){const d=u.tagType===1;d&&n.scopes.vSlot++,Ks(u,e,n,!1,i),d&&n.scopes.vSlot--}else if(u.type===11)Ks(u,e,n,u.children.length===1,!0);else if(u.type===9)for(let d=0;dg.key===u||g.key.content===u);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function Xe(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=Cf(e,t);if(l===0)return n.set(e,0),0;l1)for(let c=0;cP&&(R.childIndex--,R.onNodeRemoved()),R.parent.children.splice(P,1)},onNodeRemoved:Ne,addIdentifiers(S){},removeIdentifiers(S){},hoist(S){z(S)&&(S=Z(S)),R.hoists.push(S);const A=Z(`_hoisted_${R.hoists.length}`,!1,S.loc,2);return A.hoisted=S,A},cache(S,A=!1,P=!1){const E=ug(R.cached.length,S,A,P);return R.cached.push(E),E}};return R.filters=new Set,R}function Ug(e,t){const n=Bg(e,t);ji(e,n),t.hoistStatic&&$g(e,n),t.ssr||jg(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function jg(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=Tf(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&No(r,t),e.codegenNode=r}else e.codegenNode=s[0]}else if(s.length>1){let i=64;e.codegenNode=ps(t,n(hs),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Kg(e,t){let n=0;const s=()=>{n--};for(;ns===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Tg))return;const o=[];for(let l=0;l`${kn[e]}: _${kn[e]}`;function Wg(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:f="vue/server-renderer",ssr:a=!1,isTS:u=!1,inSSR:d=!1}){const g={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:c,ssrRuntimeModuleName:f,ssr:a,isTS:u,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(_){return`_${kn[_]}`},push(_,O=-2,x){g.code+=_},indent(){b(++g.indentLevel)},deindent(_=!1){_?--g.indentLevel:b(--g.indentLevel)},newline(){b(g.indentLevel)}};function b(_){g.push(` -`+" ".repeat(_),0)}return g}function qg(e,t={}){const n=Wg(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:c,scopeId:f,ssr:a}=n,u=Array.from(e.helpers),d=u.length>0,g=!r&&s!=="module";Gg(e,n);const _=a?"ssrRender":"render",x=(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${_}(${x}) {`),o(),g&&(i("with (_ctx) {"),o(),d&&(i(`const { ${u.map(Nf).join(", ")} } = _Vue -`,-1),c())),e.components.length&&(cr(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(cr(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),cr(e.filters,"filter",n),c()),e.temps>0){i("let ");for(let C=0;C0?", ":""}_temp${C}`)}return(e.components.length||e.directives.length||e.temps)&&(i(` -`,0),c()),a||i("return "),e.codegenNode?Pe(e.codegenNode,n):i("null"),g&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Gg(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:c}=t,f=l,a=Array.from(e.helpers);if(a.length>0&&(i(`const _Vue = ${f} -`,-1),e.hoists.length)){const u=[ho,po,Ts,go,cf].filter(d=>a.includes(d)).map(Nf).join(", ");i(`const { ${u} } = _Vue -`,-1)}Jg(e.hoists,t),r(),i("return ")}function cr(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?_o:t==="component"?mo:bo);for(let l=0;l3||!1;t.push("["),n&&t.indent(),Cs(e,t,n),n&&t.deindent(),t.push("]")}function Cs(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;on||"null")}function tm(e,t){const{push:n,helper:s,pure:i}=t,r=z(e.callee)?e.callee:s(e.callee);i&&n(Ki),n(r+"(",-2,e),Cs(e.arguments,t),n(")")}function nm(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||!1;n(l?"{":"{ "),l&&s();for(let c=0;c "),(c||l)&&(n("{"),s()),o?(c&&n("return "),H(o)?Ro(o,t):Pe(o,t)):l&&Pe(l,t),(c||l)&&(i(),n("}")),f&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function rm(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:f}=t;if(n.type===4){const u=!Io(n.content);u&&o("("),wf(n,t),u&&o(")")}else o("("),Pe(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),Pe(s,t),t.indentLevel--,r&&f(),r||o(" "),o(": ");const a=i.type===19;a||t.indentLevel++,Pe(i,t),a||t.indentLevel--,r&&c(!0)}function om(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(pi)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),Pe(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(pi)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const lm=xf(/^(?:if|else|else-if)$/,(e,t,n)=>cm(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const f=o[l];f&&f.type===9&&(c+=f.branches.length)}return()=>{if(r)s.codegenNode=Fl(i,c,n);else{const f=am(s.codegenNode);f.alternate=Fl(i,c+s.branches.length-1,n)}}}));function cm(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(pe(28,t.loc)),t.exp=Z("true",!1,i)}if(t.name==="if"){const i=Dl(e,t),r={type:9,loc:Lg(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&n.onError(pe(30,e.loc)),n.removeNode();const l=Dl(e,t);o.branches.push(l);const c=s&&s(o,l,!1);ji(l,n),c&&c(),n.currentNode=null}else n.onError(pe(30,e.loc));break}}}function Dl(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!tt(e,"for")?e.children:[e],userKey:Ui(e,"key"),isTemplateIf:n}}function Fl(e,t,n){return e.condition?Ir(e.condition,Vl(e,t,n),Te(n.helper(Ts),['""',"true"])):Vl(e,t,n)}function Vl(e,t,n){const{helper:s}=n,i=be("key",Z(`${t}`,!1,Qe,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return bi(c,i,n),c}else return ps(n,s(hs),nt([i]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const c=o.codegenNode,f=Cg(c);return f.type===13&&No(f,n),bi(f,i,n),c}}function am(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const fm=xf("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return um(e,t,n,r=>{const o=Te(s(vo),[r.source]),l=mi(e),c=tt(e,"memo"),f=Ui(e,"key",!1,!0);f&&f.type;let a=f&&(f.type===6?f.value?Z(f.value.content,!0):void 0:f.exp);const u=f&&a?be("key",a):null,d=r.source.type===4&&r.source.constType>0,g=d?64:f?128:256;return r.codegenNode=ps(n,s(hs),void 0,o,g,void 0,void 0,!0,!d,!1,e.loc),()=>{let b;const{children:_}=r,O=_.length!==1||_[0].type!==1,x=yi(e)?e:l&&e.children.length===1&&yi(e.children[0])?e.children[0]:null;if(x?(b=x.codegenNode,l&&u&&bi(b,u,n)):O?b=ps(n,s(hs),u?nt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=_[0].codegenNode,l&&u&&bi(b,u,n),b.isBlock!==!d&&(b.isBlock?(i(cn),i(Ln(n.inSSR,b.isComponent))):i(Pn(n.inSSR,b.isComponent))),b.isBlock=!d,b.isBlock?(s(cn),s(Ln(n.inSSR,b.isComponent))):s(Pn(n.inSSR,b.isComponent))),c){const C=Mn(kr(r.parseResult,[Z("_cached")]));C.body=hg([at(["const _memo = (",c.exp,")"]),at(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(uf)}(_cached, _memo)) return _cached`]),at(["const _item = ",b]),Z("_item.memo = _memo"),Z("return _item")]),o.arguments.push(C,Z("_cache"),Z(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Mn(kr(r.parseResult),b,!0))}})});function um(e,t,n,s){if(!t.exp){n.onError(pe(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(pe(32,t.loc));return}Of(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:f,key:a,index:u}=i,d={type:11,loc:t.loc,source:c,valueAlias:f,keyAlias:a,objectIndexAlias:u,parseResult:i,children:mi(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const g=s&&s(d);return()=>{l.vFor--,g&&g()}}function Of(e,t){e.finalized||(e.finalized=!0)}function kr({value:e,key:t,index:n},s=[]){return hm([e,t,n,...s])}function hm(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||Z("_".repeat(s+1),!1))}const $l=Z("undefined",!1),dm=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=tt(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},pm=(e,t,n,s)=>Mn(e,n,!1,!0,n.length?n[0].loc:s);function gm(e,t,n=pm){t.helper(Ao);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=tt(e,"slot",!0);if(c){const{arg:O,exp:x}=c;O&&!We(O)&&(l=!0),r.push(be(O||Z("default",!0),n(x,void 0,s,i)))}let f=!1,a=!1;const u=[],d=new Set;let g=0;for(let O=0;O{const p=n(x,void 0,C,i);return t.compatConfig&&(p.isNonScopedSlot=!0),be("default",p)};f?u.length&&u.some(x=>Mr(x))&&(a?t.onError(pe(39,u[0].loc)):r.push(O(void 0,u))):r.push(O(void 0,s))}const b=l?2:Ws(e.children)?3:1;let _=nt(r.concat(be("_",Z(b+"",!1))),i);return o.length&&(_=Te(t.helper(ff),[_,sn(o)])),{slots:_,hasDynamicSlots:l}}function Ds(e,t,n){const s=[be("name",e),be("fn",t)];return n!=null&&s.push(be("key",Z(String(n),!0))),nt(s)}function Ws(e){for(let t=0;tfunction(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?ym(e,t):`"${s}"`;const l=oe(o)&&o.callee===yo;let c,f,a=0,u,d,g,b=l||o===ts||o===uo||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const _=kf(e,t,void 0,r,l);c=_.props,a=_.patchFlag,d=_.dynamicPropNames;const O=_.directives;g=O&&O.length?sn(O.map(x=>_m(x,t))):void 0,_.shouldUseBlock&&(b=!0)}if(e.children.length>0)if(o===hi&&(b=!0,a|=1024),r&&o!==ts&&o!==hi){const{slots:O,hasDynamicSlots:x}=gm(e,t);f=O,x&&(a|=1024)}else if(e.children.length===1&&o!==ts){const O=e.children[0],x=O.type,C=x===5||x===8;C&&Xe(O,t)===0&&(a|=1),C||x===2?f=O:f=e.children}else f=e.children;d&&d.length&&(u=Sm(d)),e.codegenNode=ps(t,o,c,f,a===0?void 0:a,u,g,!!b,!1,r,e.loc)};function ym(e,t,n=!1){let{tag:s}=e;const i=Pr(s),r=Ui(e,"is",!1,!0);if(r)if(i||rn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&Z(r.value.content,!0):(l=r.exp,l||(l=Z("is",!1,r.arg.loc))),l)return Te(t.helper(yo),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=df(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(mo),t.components.add(s),ms(s,"component"))}function kf(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let f=[];const a=[],u=[],d=c.length>0;let g=!1,b=0,_=!1,O=!1,x=!1,C=!1,p=!1,y=!1;const v=[],w=A=>{f.length&&(a.push(nt(Hl(f),l)),f=[]),A&&a.push(A)},V=()=>{t.scopes.vFor>0&&f.push(be(Z("ref_for",!0),Z("true")))},R=({key:A,value:P})=>{if(We(A)){const E=A.content,L=an(E);if(L&&(!s||i)&&E.toLowerCase()!=="onclick"&&E!=="onUpdate:modelValue"&&!$t(E)&&(C=!0),L&&$t(E)&&(y=!0),L&&P.type===14&&(P=P.arguments[0]),P.type===20||(P.type===4||P.type===8)&&Xe(P,t)>0)return;E==="ref"?_=!0:E==="class"?O=!0:E==="style"?x=!0:E!=="key"&&!v.includes(E)&&v.push(E),s&&(E==="class"||E==="style")&&!v.includes(E)&&v.push(E)}else p=!0};for(let A=0;AHe.content==="prop")&&(b|=32);const ce=t.directiveTransforms[E];if(ce){const{props:He,needRuntime:rt}=ce(P,e,t);!r&&He.forEach(R),K&&L&&!We(L)?w(nt(He,l)):f.push(...He),rt&&(u.push(P),qe(rt)&&Rf.set(P,rt))}else Yf(E)||(u.push(P),d&&(g=!0))}}let S;if(a.length?(w(),a.length>1?S=Te(t.helper(di),a,l):S=a[0]):f.length&&(S=nt(Hl(f),l)),p?b|=16:(O&&!s&&(b|=2),x&&!s&&(b|=4),v.length&&(b|=8),C&&(b|=32)),!g&&(b===0||b===32)&&(_||y||u.length>0)&&(b|=512),!t.inSSR&&S)switch(S.type){case 15:let A=-1,P=-1,E=!1;for(let G=0;Gbe(o,r)),i))}return sn(n,e.loc)}function Sm(e){let t="[";for(let n=0,s=e.length;n{if(yi(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=Tm(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Mn([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=Te(t.helper(af),o,s)}};function Tm(e,t){let n='"default"',s;const i=[];for(let r=0;r0){const{props:r,directives:o}=kf(e,t,i,!1,!1);s=r,o.length&&t.onError(pe(36,o[0].loc))}return{slotName:n,slotProps:s}}const Mf=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(pe(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const d=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?Tn(he(u)):`on:${u}`;l=Z(d,!0,o.loc)}else l=at([`${n.helperString(wr)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(wr)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let f=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=mf(c),d=!(u||Sg(c)),g=c.content.includes(";");(d||f&&u)&&(c=at([`${d?"$event":"(...args)"} => ${g?"{":"("}`,c,g?"}":")"]))}let a={props:[be(l,c||Z("() => {}",!1,i))]};return s&&(a=s(a)),f&&(a.props[0].value=n.cache(a.props[0].value)),a.props.forEach(u=>u.key.isHandlerKey=!0),a},Em=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=he(r.content):r.content=`${n.helperString(Nr)}(${r.content})`:(r.children.unshift(`${n.helperString(Nr)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&Bl(r,"."),s.some(l=>l.content==="attr")&&Bl(r,"^")),{props:[be(r,o)]}},Bl=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Cm=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;rr.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r{if(e.type===1&&tt(e,"once",!0))return Ul.has(e)||t.inVOnce||t.inSSR?void 0:(Ul.add(e),t.inVOnce=!0,t.helper(pi),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},Pf=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(pe(41,e.loc)),Fs();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(pe(44,s.loc)),Fs();if(!o.trim()||!mf(s))return n.onError(pe(42,s.loc)),Fs();const c=i||Z("modelValue",!0),f=i?We(i)?`onUpdate:${he(i.content)}`:at(['"onUpdate:" + ',i]):"onUpdate:modelValue";let a;const u=n.isTS?"($event: any)":"$event";a=at([`${u} => ((`,s,") = $event)"]);const d=[be(c,e.exp),be(f,a)];if(e.modifiers.length&&t.tagType===1){const g=e.modifiers.map(_=>_.content).map(_=>(Io(_)?_:JSON.stringify(_))+": true").join(", "),b=i?We(i)?`${i.content}Modifiers`:at([i,' + "Modifiers"']):"modelModifiers";d.push(be(b,Z(`{ ${g} }`,!1,e.loc,2)))}return Fs(d)};function Fs(e=[]){return{props:e}}const xm=/[\w).+\-_$\]]/,Nm=(e,t)=>{rn("COMPILER_FILTERS",t)&&(e.type===5?_i(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&_i(n.exp,t)}))};function _i(e,t){if(e.type===4)jl(e,t);else for(let n=0;n=0&&(C=n.charAt(x),C===" ");x--);(!C||!xm.test(C))&&(o=!0)}}b===void 0?b=n.slice(0,g).trim():a!==0&&O();function O(){_.push(n.slice(a,g).trim()),a=g+1}if(_.length){for(g=0;g<_.length;g++)b=wm(b,_[g],t);e.content=b,e.ast=void 0}}function wm(e,t,n){n.helper(_o);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ms(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ms(i,"filter")}(${e}${r!==")"?","+r:r}`}}const Kl=new WeakSet,Im=(e,t)=>{if(e.type===1){const n=tt(e,"memo");return!n||Kl.has(e)||t.inSSR?void 0:(Kl.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&No(s,t),e.codegenNode=Te(t.helper(xo),[n.exp,Mn(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},Om=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&!n.exp){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(pe(52,s.loc)),n.exp=Z("",!0,s.loc);else{const i=he(s.content);(pf.test(i[0])||i[0]==="-")&&(n.exp=Z(i,!1,s.loc))}}}};function Rm(e){return[[Om,Am,lm,Im,fm,Nm,vm,mm,dm,Cm],{on:Mf,bind:Em,model:Pf}]}function km(e,t={}){const n=t.onError||wo,s=t.mode==="module";t.prefixIdentifiers===!0?n(pe(47)):s&&n(pe(48));const i=!1;t.cacheHandlers&&n(pe(49)),t.scopeId&&!s&&n(pe(50));const r=Q({},t,{prefixIdentifiers:i}),o=z(e)?Vg(e,r):e,[l,c]=Rm();return Ug(o,Q({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:Q({},c,t.directiveTransforms||{})})),qg(o,r)}const Mm=()=>({props:[]});const Lf=Symbol(""),Df=Symbol(""),Ff=Symbol(""),Vf=Symbol(""),Lr=Symbol(""),$f=Symbol(""),Hf=Symbol(""),Bf=Symbol(""),Uf=Symbol(""),jf=Symbol("");ag({[Lf]:"vModelRadio",[Df]:"vModelCheckbox",[Ff]:"vModelText",[Vf]:"vModelSelect",[Lr]:"vModelDynamic",[$f]:"withModifiers",[Hf]:"withKeys",[Bf]:"vShow",[Uf]:"Transition",[jf]:"TransitionGroup"});let mn;function Pm(e,t=!1){return mn||(mn=document.createElement("div")),t?(mn.innerHTML=`
`,mn.children[0].getAttribute("foo")):(mn.innerHTML=e,mn.textContent)}const Lm={parseMode:"html",isVoidTag:pu,isNativeTag:e=>uu(e)||hu(e)||du(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Pm,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Uf;if(e==="TransitionGroup"||e==="transition-group")return jf},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},Dm=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:Z("style",!0,t.loc),exp:Fm(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Fm=(e,t)=>{const n=zl(e);return Z(JSON.stringify(n),!1,t,3)};function Ut(e,t){return pe(e,t)}const Vm=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(53,i)),t.children.length&&(n.onError(Ut(54,i)),t.children.length=0),{props:[be(Z("innerHTML",!0,i),s||Z("",!0))]}},$m=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(55,i)),t.children.length&&(n.onError(Ut(56,i)),t.children.length=0),{props:[be(Z("textContent",!0),s?Xe(s,n)>0?s:Te(n.helperString(Bi),[s],i):Z("",!0))]}},Hm=(e,t,n)=>{const s=Pf(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Ut(58,e.arg.loc));const{tag:i}=t,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=Ff,l=!1;if(i==="input"||r){const c=Ui(t,"type");if(c){if(c.type===7)o=Lr;else if(c.value)switch(c.value.content){case"radio":o=Lf;break;case"checkbox":o=Df;break;case"file":l=!0,n.onError(Ut(59,e.loc));break}}else vg(t)&&(o=Lr)}else i==="select"&&(o=Vf);l||(s.needRuntime=n.helper(o))}else n.onError(Ut(57,e.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},Bm=Le("passive,once,capture"),Um=Le("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),jm=Le("left,right"),Kf=Le("onkeyup,onkeydown,onkeypress"),Km=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;lWe(e)&&e.content.toLowerCase()==="onclick"?Z(t,!0):e.type!==4?at(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Wm=(e,t,n)=>Mf(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:c,eventOptionModifiers:f}=Km(r,i,n,e.loc);if(c.includes("right")&&(r=Wl(r,"onContextmenu")),c.includes("middle")&&(r=Wl(r,"onMouseup")),c.length&&(o=Te(n.helper($f),[o,JSON.stringify(c)])),l.length&&(!We(r)||Kf(r.content.toLowerCase()))&&(o=Te(n.helper(Hf),[o,JSON.stringify(l)])),f.length){const a=f.map(un).join("");r=We(r)?Z(`${r.content}${a}`,!0):at(["(",r,`) + "${a}"`])}return{props:[be(r,o)]}}),qm=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Ut(61,i)),{props:[],needRuntime:n.helper(Bf)}},Gm=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Jm=[Dm],zm={cloak:Mm,html:Vm,text:$m,model:Hm,on:Wm,show:qm};function Ym(e,t={}){return km(e,Q({},Lm,t,{nodeTransforms:[Gm,...Jm,...t.nodeTransforms||[]],directiveTransforms:Q({},zm,t.directiveTransforms||{}),transformHoist:null}))}const ql=Object.create(null);function Xm(e,t){if(!z(e))if(e.nodeType)e=e.innerHTML;else return Ne;const n=Qf(e,t),s=ql[n];if(s)return s;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=Q({hoistStatic:!0,onError:void 0,onWarn:Ne},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:r}=Ym(e,i),o=new Function("Vue",r)(sg);return o._rc=!0,ql[n]=o}Na(Xm);export{Fn as A,ld as B,Xc as C,Gh as D,_c as E,ve as F,Fi as G,_e as H,Qt as I,ka as J,xr as K,It as L,Ni as a,_s as b,Ra as c,Yr as d,Di as e,Wd as f,fs as g,oo as h,lo as i,Vn as j,zd as k,ue as l,Gr as m,Ri as n,Uc as o,ii as p,zh as q,zn as r,vh as s,Zl as t,Oi as u,Zp as v,xn as w,Zn as x,Ge as y,Xh as z}; diff --git a/package-lock.json b/package-lock.json index ce000db..96b539f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "axios": "^1.8.3", "bootstrap": "^5.3.8", "moment": "^2.29.4", - "pev2": "^1.18.1", + "pev2": "^1.19.0", "popper.js": "^1.15.0", "vue-timeago3": "^2.3.0" }, @@ -34,21 +34,21 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", - "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", + "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", "license": "MIT", "dependencies": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.5" }, "bin": { "parser": "bin/babel-parser.js" @@ -58,13 +58,13 @@ } }, "node_modules/@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", + "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -882,6 +882,12 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/web-bluetooth": { + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz", + "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==", + "license": "MIT" + }, "node_modules/@vitejs/plugin-vue": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.1.tgz", @@ -900,105 +906,143 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.22.tgz", - "integrity": "sha512-jQ0pFPmZwTEiRNSb+i9Ow/I/cHv2tXYqsnHKKyCQ08irI2kdF5qmYedmF8si8mA7zepUFmJ2hqzS8CQmNOWOkQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.25.tgz", + "integrity": "sha512-vay5/oQJdsNHmliWoZfHPoVZZRmnSWhug0BYT34njkYTPqClh3DNWLkZNJBVSjsNMrg0CCrBfoKkjZQPM/QVUw==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.4", - "@vue/shared": "3.5.22", + "@babel/parser": "^7.28.5", + "@vue/shared": "3.5.25", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-dom": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.22.tgz", - "integrity": "sha512-W8RknzUM1BLkypvdz10OVsGxnMAuSIZs9Wdx1vzA3mL5fNMN15rhrSCLiTm6blWeACwUwizzPVqGJgOGBEN/hA==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.25.tgz", + "integrity": "sha512-4We0OAcMZsKgYoGlMjzYvaoErltdFI2/25wqanuTu+S4gismOTRTBPi4IASOjxWdzIwrYSjnqONfKvuqkXzE2Q==", "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-core": "3.5.25", + "@vue/shared": "3.5.25" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.22.tgz", - "integrity": "sha512-tbTR1zKGce4Lj+JLzFXDq36K4vcSZbJ1RBu8FxcDv1IGRz//Dh2EBqksyGVypz3kXpshIfWKGOCcqpSbyGWRJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.25.tgz", + "integrity": "sha512-PUgKp2rn8fFsI++lF2sO7gwO2d9Yj57Utr5yEsDf3GNaQcowCLKL7sf+LvVFvtJDXUp/03+dC6f2+LCv5aK1ag==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.4", - "@vue/compiler-core": "3.5.22", - "@vue/compiler-dom": "3.5.22", - "@vue/compiler-ssr": "3.5.22", - "@vue/shared": "3.5.22", + "@babel/parser": "^7.28.5", + "@vue/compiler-core": "3.5.25", + "@vue/compiler-dom": "3.5.25", + "@vue/compiler-ssr": "3.5.25", + "@vue/shared": "3.5.25", "estree-walker": "^2.0.2", - "magic-string": "^0.30.19", + "magic-string": "^0.30.21", "postcss": "^8.5.6", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.22.tgz", - "integrity": "sha512-GdgyLvg4R+7T8Nk2Mlighx7XGxq/fJf9jaVofc3IL0EPesTE86cP/8DD1lT3h1JeZr2ySBvyqKQJgbS54IX1Ww==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.25.tgz", + "integrity": "sha512-ritPSKLBcParnsKYi+GNtbdbrIE1mtuFEJ4U1sWeuOMlIziK5GtOL85t5RhsNy4uWIXPgk+OUdpnXiTdzn8o3A==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-dom": "3.5.25", + "@vue/shared": "3.5.25" } }, "node_modules/@vue/reactivity": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.22.tgz", - "integrity": "sha512-f2Wux4v/Z2pqc9+4SmgZC1p73Z53fyD90NFWXiX9AKVnVBEvLFOWCEgJD3GdGnlxPZt01PSlfmLqbLYzY/Fw4A==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.25.tgz", + "integrity": "sha512-5xfAypCQepv4Jog1U4zn8cZIcbKKFka3AgWHEFQeK65OW+Ys4XybP6z2kKgws4YB43KGpqp5D/K3go2UPPunLA==", "license": "MIT", "dependencies": { - "@vue/shared": "3.5.22" + "@vue/shared": "3.5.25" } }, "node_modules/@vue/runtime-core": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.22.tgz", - "integrity": "sha512-EHo4W/eiYeAzRTN5PCextDUZ0dMs9I8mQ2Fy+OkzvRPUYQEyK9yAjbasrMCXbLNhF7P0OUyivLjIy0yc6VrLJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.25.tgz", + "integrity": "sha512-Z751v203YWwYzy460bzsYQISDfPjHTl+6Zzwo/a3CsAf+0ccEjQ8c+0CdX1WsumRTHeywvyUFtW6KvNukT/smA==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/reactivity": "3.5.25", + "@vue/shared": "3.5.25" } }, "node_modules/@vue/runtime-dom": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.22.tgz", - "integrity": "sha512-Av60jsryAkI023PlN7LsqrfPvwfxOd2yAwtReCjeuugTJTkgrksYJJstg1e12qle0NarkfhfFu1ox2D+cQotww==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.25.tgz", + "integrity": "sha512-a4WrkYFbb19i9pjkz38zJBg8wa/rboNERq3+hRRb0dHiJh13c+6kAbgqCPfMaJ2gg4weWD3APZswASOfmKwamA==", "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.22", - "@vue/runtime-core": "3.5.22", - "@vue/shared": "3.5.22", + "@vue/reactivity": "3.5.25", + "@vue/runtime-core": "3.5.25", + "@vue/shared": "3.5.25", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.22.tgz", - "integrity": "sha512-gXjo+ao0oHYTSswF+a3KRHZ1WszxIqO7u6XwNHqcqb9JfyIL/pbWrrh/xLv7jeDqla9u+LK7yfZKHih1e1RKAQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.25.tgz", + "integrity": "sha512-UJaXR54vMG61i8XNIzTSf2Q7MOqZHpp8+x3XLGtE3+fL+nQd+k7O5+X3D/uWrnQXOdMw5VPih+Uremcw+u1woQ==", "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-ssr": "3.5.25", + "@vue/shared": "3.5.25" }, "peerDependencies": { - "vue": "3.5.22" + "vue": "3.5.25" } }, "node_modules/@vue/shared": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.22.tgz", - "integrity": "sha512-F4yc6palwq3TT0u+FYf0Ns4Tfl9GRFURDN2gWG7L1ecIaS/4fCIuFOjMTnCyjsu/OK6vaDKLCrGAa+KvvH+h4w==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.25.tgz", + "integrity": "sha512-AbOPdQQnAnzs58H2FrrDxYj/TJfmeS2jdfEEhgiKINy+bnOANmVizIEgq1r+C5zsbs6l1CCQxtcj71rwNQ4jWg==", "license": "MIT" }, + "node_modules/@vueuse/core": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-14.1.0.tgz", + "integrity": "sha512-rgBinKs07hAYyPF834mDTigH7BtPqvZ3Pryuzt1SD/lg5wEcWqvwzXXYGEDb2/cP0Sj5zSvHl3WkmMELr5kfWw==", + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.21", + "@vueuse/metadata": "14.1.0", + "@vueuse/shared": "14.1.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vue": "^3.5.0" + } + }, + "node_modules/@vueuse/metadata": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-14.1.0.tgz", + "integrity": "sha512-7hK4g015rWn2PhKcZ99NyT+ZD9sbwm7SGvp7k+k+rKGWnLjS/oQozoIZzWfCewSUeBmnJkIb+CNr7Zc/EyRnnA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-14.1.0.tgz", + "integrity": "sha512-EcKxtYvn6gx1F8z9J5/rsg3+lTQnvOruQd8fUecW99DCK04BkWD7z5KQ/wTAx+DazyoEE9dJt/zV8OIEQbM6kw==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "vue": "^3.5.0" + } + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1087,9 +1131,9 @@ } }, "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "license": "MIT" }, "node_modules/d3": { @@ -1712,6 +1756,33 @@ "node": ">= 6" } }, + "node_modules/framer-motion": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.12.tgz", + "integrity": "sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==", + "license": "MIT", + "dependencies": { + "motion-dom": "^12.23.12", + "motion-utils": "^12.23.6", + "tslib": "^2.4.0" + }, + "peerDependencies": { + "@emotion/is-prop-valid": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/is-prop-valid": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + } + } + }, "node_modules/fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", @@ -1861,6 +1932,12 @@ "node": ">= 0.4" } }, + "node_modules/hey-listen": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz", + "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==", + "license": "MIT" + }, "node_modules/highlight.js": { "version": "11.11.1", "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", @@ -1922,9 +1999,9 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/magic-string": { - "version": "0.30.19", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz", - "integrity": "sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" @@ -1968,6 +2045,36 @@ "node": "*" } }, + "node_modules/motion-dom": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.12.tgz", + "integrity": "sha512-RcR4fvMCTESQBD/uKQe49D5RUeDOokkGRmz4ceaJKDBgHYtZtntC/s2vLvY38gqGaytinij/yi3hMcWVcEF5Kw==", + "license": "MIT", + "dependencies": { + "motion-utils": "^12.23.6" + } + }, + "node_modules/motion-utils": { + "version": "12.23.6", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz", + "integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==", + "license": "MIT" + }, + "node_modules/motion-v": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/motion-v/-/motion-v-1.7.4.tgz", + "integrity": "sha512-YNDUAsany04wfI7YtHxQK3kxzNvh+OdFUk9GpA3+hMt7j6P+5WrVAAgr8kmPPoVza9EsJiAVhqoN3YYFN0Twrw==", + "license": "MIT", + "dependencies": { + "framer-motion": "12.23.12", + "hey-listen": "^1.0.8", + "motion-dom": "12.23.12" + }, + "peerDependencies": { + "@vueuse/core": ">=10.0.0", + "vue": ">=3.0.0" + } + }, "node_modules/nanoid": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", @@ -1987,22 +2094,24 @@ } }, "node_modules/pev2": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/pev2/-/pev2-1.18.1.tgz", - "integrity": "sha512-sk/HMzxl2BI3jMkbd7w3sDvxDkv6Rd8MWmaPx3sFHFRNzxCF8JNBtXHWhjO2nXDdKNJJd01MHUKk2HBDRMFLXw==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/pev2/-/pev2-1.19.0.tgz", + "integrity": "sha512-atHedIYeq/nJTvXDX+FQEDQJEc/R428LFt1FJhjW4BrimmNQTX8zbmXkDrxKEIrfnES5E9epufk1b9BsGXUfnw==", "license": "PostgreSQL license", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.7.2", "@fortawesome/free-solid-svg-icons": "^6.7.2", - "@fortawesome/vue-fontawesome": "^3.1.1", + "@fortawesome/vue-fontawesome": "^3.1.2", + "@vueuse/core": "^14.1.0", "bootstrap": "^5.3.8", "d3": "^7.9.0", "d3-flextree": "^2.1.2", "highlight.js": "^11.11.1", - "humanize-duration": "^3.33.0", + "humanize-duration": "^3.33.1", "lodash": "^4.17.21", + "motion-v": "^1.7.4", "splitpanes": "^3.2.0", - "vue": "^3.5.22", + "vue": "^3.5.25", "vue-clipboard3": "^2.0.0", "vue-tippy": "^6.7.1" } @@ -2601,7 +2710,6 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, "license": "0BSD" }, "node_modules/universalify": { @@ -2738,16 +2846,16 @@ } }, "node_modules/vue": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.22.tgz", - "integrity": "sha512-toaZjQ3a/G/mYaLSbV+QsQhIdMo9x5rrqIpYRObsJ6T/J+RyCSFwN2LHNVH9v8uIcljDNa3QzPVdv3Y6b9hAJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.25.tgz", + "integrity": "sha512-YLVdgv2K13WJ6n+kD5owehKtEXwdwXuj2TTyJMsO7pSeKw2bfRNZGjhB7YzrpbMYj5b5QsUebHpOqR3R3ziy/g==", "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.22", - "@vue/compiler-sfc": "3.5.22", - "@vue/runtime-dom": "3.5.22", - "@vue/server-renderer": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-dom": "3.5.25", + "@vue/compiler-sfc": "3.5.25", + "@vue/runtime-dom": "3.5.25", + "@vue/server-renderer": "3.5.25", + "@vue/shared": "3.5.25" }, "peerDependencies": { "typescript": "*" @@ -2797,25 +2905,25 @@ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==" }, "@babel/helper-validator-identifier": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", - "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==" + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==" }, "@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz", + "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==", "requires": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.5" } }, "@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz", + "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==", "requires": { "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5" } }, "@bufbuild/protobuf": { @@ -3202,6 +3310,11 @@ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "dev": true }, + "@types/web-bluetooth": { + "version": "0.0.21", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz", + "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==" + }, "@vitejs/plugin-vue": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.1.tgz", @@ -3212,92 +3325,113 @@ } }, "@vue/compiler-core": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.22.tgz", - "integrity": "sha512-jQ0pFPmZwTEiRNSb+i9Ow/I/cHv2tXYqsnHKKyCQ08irI2kdF5qmYedmF8si8mA7zepUFmJ2hqzS8CQmNOWOkQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.25.tgz", + "integrity": "sha512-vay5/oQJdsNHmliWoZfHPoVZZRmnSWhug0BYT34njkYTPqClh3DNWLkZNJBVSjsNMrg0CCrBfoKkjZQPM/QVUw==", "requires": { - "@babel/parser": "^7.28.4", - "@vue/shared": "3.5.22", + "@babel/parser": "^7.28.5", + "@vue/shared": "3.5.25", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "@vue/compiler-dom": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.22.tgz", - "integrity": "sha512-W8RknzUM1BLkypvdz10OVsGxnMAuSIZs9Wdx1vzA3mL5fNMN15rhrSCLiTm6blWeACwUwizzPVqGJgOGBEN/hA==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.25.tgz", + "integrity": "sha512-4We0OAcMZsKgYoGlMjzYvaoErltdFI2/25wqanuTu+S4gismOTRTBPi4IASOjxWdzIwrYSjnqONfKvuqkXzE2Q==", "requires": { - "@vue/compiler-core": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-core": "3.5.25", + "@vue/shared": "3.5.25" } }, "@vue/compiler-sfc": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.22.tgz", - "integrity": "sha512-tbTR1zKGce4Lj+JLzFXDq36K4vcSZbJ1RBu8FxcDv1IGRz//Dh2EBqksyGVypz3kXpshIfWKGOCcqpSbyGWRJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.25.tgz", + "integrity": "sha512-PUgKp2rn8fFsI++lF2sO7gwO2d9Yj57Utr5yEsDf3GNaQcowCLKL7sf+LvVFvtJDXUp/03+dC6f2+LCv5aK1ag==", "requires": { - "@babel/parser": "^7.28.4", - "@vue/compiler-core": "3.5.22", - "@vue/compiler-dom": "3.5.22", - "@vue/compiler-ssr": "3.5.22", - "@vue/shared": "3.5.22", + "@babel/parser": "^7.28.5", + "@vue/compiler-core": "3.5.25", + "@vue/compiler-dom": "3.5.25", + "@vue/compiler-ssr": "3.5.25", + "@vue/shared": "3.5.25", "estree-walker": "^2.0.2", - "magic-string": "^0.30.19", + "magic-string": "^0.30.21", "postcss": "^8.5.6", "source-map-js": "^1.2.1" } }, "@vue/compiler-ssr": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.22.tgz", - "integrity": "sha512-GdgyLvg4R+7T8Nk2Mlighx7XGxq/fJf9jaVofc3IL0EPesTE86cP/8DD1lT3h1JeZr2ySBvyqKQJgbS54IX1Ww==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.25.tgz", + "integrity": "sha512-ritPSKLBcParnsKYi+GNtbdbrIE1mtuFEJ4U1sWeuOMlIziK5GtOL85t5RhsNy4uWIXPgk+OUdpnXiTdzn8o3A==", "requires": { - "@vue/compiler-dom": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-dom": "3.5.25", + "@vue/shared": "3.5.25" } }, "@vue/reactivity": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.22.tgz", - "integrity": "sha512-f2Wux4v/Z2pqc9+4SmgZC1p73Z53fyD90NFWXiX9AKVnVBEvLFOWCEgJD3GdGnlxPZt01PSlfmLqbLYzY/Fw4A==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.25.tgz", + "integrity": "sha512-5xfAypCQepv4Jog1U4zn8cZIcbKKFka3AgWHEFQeK65OW+Ys4XybP6z2kKgws4YB43KGpqp5D/K3go2UPPunLA==", "requires": { - "@vue/shared": "3.5.22" + "@vue/shared": "3.5.25" } }, "@vue/runtime-core": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.22.tgz", - "integrity": "sha512-EHo4W/eiYeAzRTN5PCextDUZ0dMs9I8mQ2Fy+OkzvRPUYQEyK9yAjbasrMCXbLNhF7P0OUyivLjIy0yc6VrLJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.25.tgz", + "integrity": "sha512-Z751v203YWwYzy460bzsYQISDfPjHTl+6Zzwo/a3CsAf+0ccEjQ8c+0CdX1WsumRTHeywvyUFtW6KvNukT/smA==", "requires": { - "@vue/reactivity": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/reactivity": "3.5.25", + "@vue/shared": "3.5.25" } }, "@vue/runtime-dom": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.22.tgz", - "integrity": "sha512-Av60jsryAkI023PlN7LsqrfPvwfxOd2yAwtReCjeuugTJTkgrksYJJstg1e12qle0NarkfhfFu1ox2D+cQotww==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.25.tgz", + "integrity": "sha512-a4WrkYFbb19i9pjkz38zJBg8wa/rboNERq3+hRRb0dHiJh13c+6kAbgqCPfMaJ2gg4weWD3APZswASOfmKwamA==", "requires": { - "@vue/reactivity": "3.5.22", - "@vue/runtime-core": "3.5.22", - "@vue/shared": "3.5.22", + "@vue/reactivity": "3.5.25", + "@vue/runtime-core": "3.5.25", + "@vue/shared": "3.5.25", "csstype": "^3.1.3" } }, "@vue/server-renderer": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.22.tgz", - "integrity": "sha512-gXjo+ao0oHYTSswF+a3KRHZ1WszxIqO7u6XwNHqcqb9JfyIL/pbWrrh/xLv7jeDqla9u+LK7yfZKHih1e1RKAQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.25.tgz", + "integrity": "sha512-UJaXR54vMG61i8XNIzTSf2Q7MOqZHpp8+x3XLGtE3+fL+nQd+k7O5+X3D/uWrnQXOdMw5VPih+Uremcw+u1woQ==", "requires": { - "@vue/compiler-ssr": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-ssr": "3.5.25", + "@vue/shared": "3.5.25" } }, "@vue/shared": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.22.tgz", - "integrity": "sha512-F4yc6palwq3TT0u+FYf0Ns4Tfl9GRFURDN2gWG7L1ecIaS/4fCIuFOjMTnCyjsu/OK6vaDKLCrGAa+KvvH+h4w==" + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.25.tgz", + "integrity": "sha512-AbOPdQQnAnzs58H2FrrDxYj/TJfmeS2jdfEEhgiKINy+bnOANmVizIEgq1r+C5zsbs6l1CCQxtcj71rwNQ4jWg==" + }, + "@vueuse/core": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-14.1.0.tgz", + "integrity": "sha512-rgBinKs07hAYyPF834mDTigH7BtPqvZ3Pryuzt1SD/lg5wEcWqvwzXXYGEDb2/cP0Sj5zSvHl3WkmMELr5kfWw==", + "requires": { + "@types/web-bluetooth": "^0.0.21", + "@vueuse/metadata": "14.1.0", + "@vueuse/shared": "14.1.0" + } + }, + "@vueuse/metadata": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-14.1.0.tgz", + "integrity": "sha512-7hK4g015rWn2PhKcZ99NyT+ZD9sbwm7SGvp7k+k+rKGWnLjS/oQozoIZzWfCewSUeBmnJkIb+CNr7Zc/EyRnnA==" + }, + "@vueuse/shared": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-14.1.0.tgz", + "integrity": "sha512-EcKxtYvn6gx1F8z9J5/rsg3+lTQnvOruQd8fUecW99DCK04BkWD7z5KQ/wTAx+DazyoEE9dJt/zV8OIEQbM6kw==", + "requires": {} }, "asynckit": { "version": "0.4.0", @@ -3359,9 +3493,9 @@ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" }, "csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==" }, "d3": { "version": "7.9.0", @@ -3770,6 +3904,16 @@ "mime-types": "^2.1.12" } }, + "framer-motion": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.23.12.tgz", + "integrity": "sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==", + "requires": { + "motion-dom": "^12.23.12", + "motion-utils": "^12.23.6", + "tslib": "^2.4.0" + } + }, "fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", @@ -3865,6 +4009,11 @@ "function-bind": "^1.1.2" } }, + "hey-listen": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz", + "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q==" + }, "highlight.js": { "version": "11.11.1", "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", @@ -3909,9 +4058,9 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "magic-string": { - "version": "0.30.19", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.19.tgz", - "integrity": "sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "requires": { "@jridgewell/sourcemap-codec": "^1.5.5" } @@ -3939,27 +4088,52 @@ "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" }, + "motion-dom": { + "version": "12.23.12", + "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.23.12.tgz", + "integrity": "sha512-RcR4fvMCTESQBD/uKQe49D5RUeDOokkGRmz4ceaJKDBgHYtZtntC/s2vLvY38gqGaytinij/yi3hMcWVcEF5Kw==", + "requires": { + "motion-utils": "^12.23.6" + } + }, + "motion-utils": { + "version": "12.23.6", + "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.23.6.tgz", + "integrity": "sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==" + }, + "motion-v": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/motion-v/-/motion-v-1.7.4.tgz", + "integrity": "sha512-YNDUAsany04wfI7YtHxQK3kxzNvh+OdFUk9GpA3+hMt7j6P+5WrVAAgr8kmPPoVza9EsJiAVhqoN3YYFN0Twrw==", + "requires": { + "framer-motion": "12.23.12", + "hey-listen": "^1.0.8", + "motion-dom": "12.23.12" + } + }, "nanoid": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==" }, "pev2": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/pev2/-/pev2-1.18.1.tgz", - "integrity": "sha512-sk/HMzxl2BI3jMkbd7w3sDvxDkv6Rd8MWmaPx3sFHFRNzxCF8JNBtXHWhjO2nXDdKNJJd01MHUKk2HBDRMFLXw==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/pev2/-/pev2-1.19.0.tgz", + "integrity": "sha512-atHedIYeq/nJTvXDX+FQEDQJEc/R428LFt1FJhjW4BrimmNQTX8zbmXkDrxKEIrfnES5E9epufk1b9BsGXUfnw==", "requires": { "@fortawesome/fontawesome-svg-core": "^6.7.2", "@fortawesome/free-solid-svg-icons": "^6.7.2", - "@fortawesome/vue-fontawesome": "^3.1.1", + "@fortawesome/vue-fontawesome": "^3.1.2", + "@vueuse/core": "^14.1.0", "bootstrap": "^5.3.8", "d3": "^7.9.0", "d3-flextree": "^2.1.2", "highlight.js": "^11.11.1", - "humanize-duration": "^3.33.0", + "humanize-duration": "^3.33.1", "lodash": "^4.17.21", + "motion-v": "^1.7.4", "splitpanes": "^3.2.0", - "vue": "^3.5.22", + "vue": "^3.5.25", "vue-clipboard3": "^2.0.0", "vue-tippy": "^6.7.1" } @@ -4269,8 +4443,7 @@ "tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "universalify": { "version": "0.1.2", @@ -4334,15 +4507,15 @@ } }, "vue": { - "version": "3.5.22", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.22.tgz", - "integrity": "sha512-toaZjQ3a/G/mYaLSbV+QsQhIdMo9x5rrqIpYRObsJ6T/J+RyCSFwN2LHNVH9v8uIcljDNa3QzPVdv3Y6b9hAJQ==", + "version": "3.5.25", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.25.tgz", + "integrity": "sha512-YLVdgv2K13WJ6n+kD5owehKtEXwdwXuj2TTyJMsO7pSeKw2bfRNZGjhB7YzrpbMYj5b5QsUebHpOqR3R3ziy/g==", "requires": { - "@vue/compiler-dom": "3.5.22", - "@vue/compiler-sfc": "3.5.22", - "@vue/runtime-dom": "3.5.22", - "@vue/server-renderer": "3.5.22", - "@vue/shared": "3.5.22" + "@vue/compiler-dom": "3.5.25", + "@vue/compiler-sfc": "3.5.25", + "@vue/runtime-dom": "3.5.25", + "@vue/server-renderer": "3.5.25", + "@vue/shared": "3.5.25" } }, "vue-clipboard3": { diff --git a/package.json b/package.json index b1bed18..98ec989 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "axios": "^1.8.3", "bootstrap": "^5.3.8", "moment": "^2.29.4", - "pev2": "^1.18.1", + "pev2": "^1.19.0", "popper.js": "^1.15.0", "vue-timeago3": "^2.3.0" }
${ne}:`,t[ne]&&(Ce+=`${Tn(t[ne],!0)}